1 2006-02-04 Darin Adler <darin@apple.com>
3 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
4 Configuration files that say Development or Deployment in them.
6 2006-02-04 Darin Adler <darin@apple.com>
8 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
9 wrapper already in the directory.
10 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
11 these haven't been working at all.
12 * Scripts/svn-unapply: Ditto.
14 2006-02-03 Timothy Hatcher <timothy@apple.com>
18 Renamed configuration names to Debug, Release and Production.
20 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
21 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
22 * Scripts/set-webkit-configuration:
23 * Scripts/webkitdirs.pm:
25 2006-02-02 Justin Garcia <justin.garcia@apple.com>
29 Enabled spell checking for layout tests.
31 * DumpRenderTree/DumpRenderTree.m:
34 2006-01-29 Darin Adler <darin@apple.com>
36 * Scripts/svn-apply: Added comments about things we should do to improve.
37 * Scripts/svn-create-patch: Ditto.
38 * Scripts/svn-unapply: Ditto.
40 2006-01-28 Darin Adler <darin@apple.com>
42 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
43 already there, even if the checksum is correct.
45 2006-01-27 Eric Seidel <eseidel@apple.com>
49 * Scripts/run-webkit-tests: make new tests use absolute urls
51 2006-01-27 Eric Seidel <eseidel@apple.com>
55 make run-webkit-tests output total leaks count
57 * Scripts/run-webkit-tests:
59 2006-01-27 Eric Seidel <eseidel@apple.com>
63 run-webkit-test --leaks crashes (malloc logging runs out of memory)
64 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
66 * Scripts/run-webkit-tests: fix --leaks to not crash
68 2006-01-26 Eric Seidel <eseidel@apple.com>
72 run-webkit-tests should produce a self-contained results directory
73 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
75 * Scripts/run-webkit-tests: copy failing items to results dir.
77 2006-01-23 Darin Adler <darin@apple.com>
79 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
80 need script to update localizable strings file in WebKit
82 * Scripts/update-webkit-localizable-strings: Added.
84 2006-01-23 Darin Adler <darin@apple.com>
86 - added a couple of scripts -- more about these two soon
88 * Scripts/extract-localizable-strings: Added.
89 * Scripts/merge-changelog: Added.
91 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
95 Build fix. build-webkit dies with "invalid build action: (empty string)"
97 * Scripts/build-webkit:
98 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
100 2006-01-22 Eric Seidel <eseidel@apple.com>
104 Fix --no-svg option to use XCode flags instead of gcc flags.
106 * Scripts/build-webkit:
108 2006-01-22 Eric Seidel <eseidel@apple.com>
112 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
114 * Scripts/build-webkit:
116 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
120 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
121 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
123 * Scripts/build-drawtest: Changed bareword 'true' to 1.
124 * Scripts/run-drawtest: Changed bareword 'true' to 1.
126 2006-01-19 Darin Adler <darin@apple.com>
128 * Scripts/report-include-statistics: Added a new script.
130 2006-01-19 Timothy Hatcher <timothy@apple.com>
132 * Scripts/build-webkit: include JavaScriptGlue in the build
134 2006-01-19 Darin Adler <darin@apple.com>
136 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
137 spaces in it by using the form of open that treats each argument as a string
138 rather than backtick syntax for reading the output of the nm tool.
140 2006-01-12 Maciej Stachowiak <mjs@apple.com>
144 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
145 detect if there are any new tests
147 * Scripts/prepare-ChangeLog:
149 2006-01-12 Darin Adler <darin@apple.com>
151 - removed some of the cvs-specific scripts -- not needed for this project any more
153 * Scripts/cvs-abandon: Removed.
154 * Scripts/cvs-apply: Removed.
155 * Scripts/cvs-create-patch: Removed.
156 * Scripts/cvs-unapply: Removed.
158 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
160 Reviewed by eseidel. Committed by eseidel.
162 - run-webkit-tests always launches Safari when tests fail
163 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
165 * Scripts/run-webkit-tests:
166 Add a command-line flag to prevent Safari being launched to display failed
167 tests. Always exit with non-zero status when tests have failed.
169 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
171 Reviewed by eseidel. Committed by eseidel.
173 - build-webkit should exit with non-zero status when build fails
174 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
176 * Scripts/build-webkit:
177 Use correct bits of subprocess exit code when passing back through
178 as build-webkit's exit code.
180 2006-01-10 Eric Seidel <eseidel@apple.com>
182 Restored corrupted nibs from TOT CVS.
184 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
185 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
186 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
187 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
188 * DrawTest/English.lproj/Inspector.nib: Replaced.
189 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
190 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
191 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
192 * DrawTest/English.lproj/MainMenu.nib: Replaced.
193 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
194 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
195 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
196 * DrawTest/English.lproj/TestViewer.nib: Replaced.
197 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
198 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
199 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
201 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
203 Reviewed by eseidel. Committed by eseidel.
205 DrawTestView now subclasses WebView instead of DrawView.
207 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
208 * DrawTest/DrawTestDocument.h:
209 * DrawTest/DrawTestDocument.m:
210 (-[DrawTestDocument dealloc]):
211 (-[DrawTestDocument readFromFile:ofType:]):
212 (-[DrawTestDocument windowControllerDidLoadNib:]):
213 (-[DrawTestDocument dumpSVGToConsole:]):
214 (-[DrawTestDocument openSourceForSelection:]):
215 (-[DrawTestDocument dataRepresentationOfType:]):
216 * DrawTest/DrawTestToolbarController.h:
217 * DrawTest/DrawTestToolbarController.m:
218 (-[DrawTestToolbarController initWithDrawView:]):
219 (-[DrawTestToolbarController clickedToolbarItem:]):
220 (-[DrawTestToolbarController validateToolbarItem:]):
221 * DrawTest/DrawTestView.h:
222 * DrawTest/DrawTestView.m:
223 (-[DrawTestView initWithFrame:]):
224 (-[DrawTestView setDocument:]):
225 * DrawTest/SVGTest.h:
226 * DrawTest/SVGTest.m:
227 (+[SVGTest sharedDrawView]):
228 (-[SVGTest generateCompositeIfNecessary]):
229 * DrawTest/TestController.h:
230 * DrawTest/TestController.m:
231 (-[TestController awakeFromNib]):
232 (-[TestController setSelectedTest:]):
233 (-[TestController openTestViewerForSelection:]):
234 (-[TestController toggleViewersScaleRule:]):
235 * DrawTest/TestViewerSplitView.m:
236 (-[TestViewerSplitView drawRect:]):
238 2006-01-10 Anders Carlsson <andersca@mac.com>
242 * DumpRenderTree/DumpRenderTree.m:
243 (main): Set the default language to "en", so language tests will work.
245 2006-01-08 Maciej Stachowiak <mjs@apple.com>
249 - script to generate HTML wrappers for JS tests
250 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
252 * Scripts/make-js-test-wrappers: Added.
254 2006-01-08 Maciej Stachowiak <mjs@apple.com>
258 * Scripts/svn-create-patch: Fix to work when passed directory names.
260 2006-01-08 Geoffrey Garen <ggaren@apple.com>
264 - Added back/forward navigation support to DumpRenderTree. Hopefully we
265 can start writing automated loader tests now. I have one in the works.
267 * DumpRenderTree/DumpRenderTree.m:
268 (main): Construct global navigationController on entry, destroy on exit.
269 Set frame to nil on exit too, to match all the other global objects.
270 (Probably academic, since the process is exiting, anyway.)
271 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
272 navigationController, in case it wants to kick off a load.
273 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
274 the navigationController to scripting.
276 New class, should be straightforward:
278 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
279 * DumpRenderTree/NavigationController.h: Added.
280 * DumpRenderTree/NavigationController.m: Added.
282 (+[NavigationController isSelectorExcludedFromWebScript:]):
283 (+[NavigationController webScriptNameForSelector:]):
284 (-[NavigationController setPendingScript:]):
285 (-[NavigationController setPendingRequest:]):
286 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
287 (-[NavigationController webView:didFinishLoadForFrame:]):
288 (-[NavigationController dealloc]):
290 2006-01-08 Timothy Hatcher <timothy@apple.com>
292 Removed this script, no longer needs with the Subversion switch.
296 2006-01-08 Timothy Hatcher <timothy@apple.com>
298 Removes some stray tabs.
300 * Scripts/update-webkit:
302 2005-01-07 Eric Seidel <eseidel@apple.com>
306 build-webkit should pass on build arguments from command line
307 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
309 * Scripts/build-webkit:
311 2006-01-07 Eric Seidel <eseidel@apple.com>
313 Reviewed by mjs & xenon.
315 * Scripts/update-webkit: support Internal updates as well
317 2006-01-06 Geoffrey Garen <ggaren@apple.com>
319 Temporarily rolling out plugin support from DumpRenderTree because it
320 caused lots of layout test regressions.
322 * DumpRenderTree/DumpRenderTree.m:
323 (main): Remove invisible window added to support plugins.
325 2006-01-06 Geoffrey Garen <ggaren@apple.com>
329 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
330 Add plugin support to DumpRenderTree
332 Also wrote first test plugin.
334 * DumpRenderTree/DumpRenderTree.m:
336 (1) Put the WebView in an invisible window, because PlugIns are
337 optimized not to load if there's no parent window.
338 (2) Tell WebKit to load any PlugIns in the directory from which we
339 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
340 and they'll load automagically during layout testing, but they won't be
341 added to the user's system, hosing apps like Safari.
343 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
344 test PlugIn to project.
346 PlugIn added to project:
348 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
349 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
351 (initializeIdentifiers):
357 (pluginInvokeDefault):
361 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
362 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
380 2006-01-04 Timothy Hatcher <timothy@apple.com>
384 Tweaked and tested by me.
386 New scripts to work with Subversion when the switch happens.
387 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
389 * Scripts/svn-apply: Added.
390 * Scripts/svn-create-patch: Added.
391 * Scripts/svn-unapply: Added.
393 2005-12-30 Eric Seidel <eseidel@apple.com>
397 Move WebView width/height logic into DumpRenderTree to support
398 running the W3C SVG 1.1 tests along side other tests. The W3C
399 SVG 1.1 tests require a 480x360 view.
401 * DumpRenderTree/DumpRenderTree.m:
402 (main): don't accept width/height
403 (dump): override width/height for SVG/W3C
404 * Scripts/run-webkit-tests: don't pass width/height
406 2005-12-30 Eric Seidel <eseidel@apple.com>
408 No review, only removing dead code.
410 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
411 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
413 2005-12-30 Eric Seidel <eseidel@apple.com>
417 DumpRenderTree should set a consistent color profile while running
418 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
420 Creates consistent colormatched renderings on every test machine
421 using the only way possible with Tiger APIs: by setting the
422 system color profile on the test machine for the duration of the
423 tests. This will (unfortunately) cause colors to change while
424 running DumpRenderTree. This can also cause "permanent" color
425 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
426 This is far from ideal, but it's be best way we've found to deal
427 with the issue for now.
429 * DumpRenderTree/DumpRenderTree.m:
431 (setDefaultColorProfileToRGB):
434 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
436 Reviewed by Darin Adler.
438 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
439 cvs-create-patch --include produces incorrect paths
441 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
443 2005-12-19 Eric Seidel <eseidel@apple.com>
447 * Scripts/run-webkit-tests: stop /etc/catalog warnings
449 2005-12-19 Darin Adler <darin@apple.com>
451 Reviewed by Eric Seidel.
453 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
454 WebKit needs to use a local pasteboard during testing
456 * DumpRenderTree/DumpRenderTree.m:
457 (main): Call poseAs to substitute our NSPasteboard class for the default one.
458 Create a local pasteboard (really a global one with a unique name) and release
459 it when exiting from the function so we don't leave it in the pasteboard server.
460 (dumpRenderTree): Added an autorelease pool around one small bit of code that
461 ddn't have one. Fixed a leak in an unlikely error case.
462 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
463 of this method to return our local pasteboard.
465 2005-12-15 Eric Seidel <eseidel@apple.com>
467 Reviewed by Tim Hatcher.
469 * Scripts/build-webkit: --svg is now default!
471 2005-12-15 Eric Seidel <eseidel@apple.com>
475 Don't run svg test automatically if +SVG is built (yet).
477 * Scripts/run-webkit-tests:
479 2005-12-15 Darin Adler <darin@apple.com>
481 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
482 support is not compiled in. Report the 10 slowest tests if "--slowest" is
483 passed on the command line.
485 2005-12-06 John Sullivan <sullivan@apple.com>
487 Reviewed by Darin Adler.
489 * Scripts/prepare-ChangeLog:
490 Remove special-case handling for nib files. This avoided trouble with cvs diff
491 when we were using wrappers for nib files. Now that we aren't using wrappers,
492 there's no reason to avoid adding the modified nib files to the file list that
495 2005-12-05 Eric Seidel <eseidel@apple.com>
499 Script updates for SVG files move (remove references to SVGSupport)
501 * Scripts/build-webkit: remove SVGSupport
502 * Scripts/run-webkit-tests: Resources -> resources for --svg
503 * Scripts/update-webkit: remove SVGSupport
505 2005-12-05 Eric Seidel <eseidel@apple.com>
509 * checkout: remove --svg support, SVG is now checked out by default
511 2005-11-29 Eric Seidel <eseidel@apple.com>
515 Update scripts to run SVG tests automatically (w/o --svg) if
516 WebCore is built with SVG support.
518 * Scripts/build-drawtest: SVG support required
519 * Scripts/build-dumpkcanvastree: Removed.
520 * Scripts/run-drawtest: SVG support required to run
521 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
522 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
524 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
526 Reviewed by Darin. Committed by Maciej.
528 - fixed "DumpRenderTree should test for Ahem before doing anything else"
529 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
531 * DumpRenderTree/DumpRenderTree.m:
534 2005-11-28 Eric Seidel <eseidel@apple.com>
536 Reviewed by sullivan and GGAREN.
538 Minor additions to make error messages more clear from cvs-apply.
540 * Scripts/cvs-apply: make errors more clear
542 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
544 Reviewed and committed by Maciej.
546 - fixed cvs-create-patch --include produces incorrect paths
547 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
549 * Scripts/cvs-create-patch: produce proper paths for new files.
551 2005-11-21 Eric Seidel <eseidel@apple.com>
555 Some simple fixes to the build/test scripts now that SVG uses the
556 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
557 or symlinks for KDOM.
559 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
560 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
561 * Scripts/run-webkit-tests: now runs SVG tests using DRT
562 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
563 * checkout: no longer symlink kdom
565 2005-11-10 Eric Seidel <eseidel@apple.com>
569 * Scripts/build-webkit: Pass through options to xcodebuild
571 2005-11-07 Darin Adler <darin@apple.com>
573 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
575 2005-11-03 John Sullivan <sullivan@apple.com>
579 * Scripts/run-safari:
580 changed message to say "Starting Safari" instead of odd "Start Safari"
581 * Scripts/run-webkit-tests:
582 changed the way we pass the file parameter to use -NSOpen rather than relying on
583 unlabeled arguments being treated as files. This was failing on some machines that
584 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
586 2005-10-27 Geoffrey Garen <ggaren@apple.com>
588 Patch by Alexey Proskuryakov.
592 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
593 TextInputController should support attributed strings
595 * DumpRenderTree/TextInputController.m:
596 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
597 (+[NSMutableAttributedString webScriptNameForSelector:]):
598 (-[NSMutableAttributedString getLength]):
599 (-[NSMutableAttributedString attributeNamesAtIndex:]):
600 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
601 (-[NSMutableAttributedString addAttribute:value:]):
602 (-[NSMutableAttributedString addAttribute:value:from:length:]):
603 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
604 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
605 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
606 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
607 (+[TextInputController isSelectorExcludedFromWebScript:]):
608 (+[TextInputController webScriptNameForSelector:]):
609 (-[TextInputController insertText:]):
610 (-[TextInputController attributedSubstringFrom:length:]):
611 (-[TextInputController attributedStringWithString:]):
613 2005-10-11 Eric Seidel <eseidel@apple.com>
617 Checks for leaks in ImageDiff too.
619 * Scripts/run-webkit-tests:
621 2005-10-09 Darin Adler <darin@apple.com>
623 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
624 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
625 * Scripts/cvs-unapply: Ditto.
626 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
628 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
630 Reviewed, rearranged and landed by Darin.
632 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
633 Need a way to automatically test for regressions in NSTextInput implementation
635 * DumpRenderTree/DumpRenderTree.m:
636 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
637 Create a text input controller and put it in a property of the window object.
639 * DumpRenderTree/TextInputController.h: Added.
640 * DumpRenderTree/TextInputController.m: Added.
641 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
643 2005-10-06 Darin Adler <darin@apple.com>
645 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
646 are controlled by cvs, or when changes cross multiple repositories.
647 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
649 2005-10-03 Eric Seidel <eseidel@apple.com>
653 Make mouseDown and mouseUp force layout before acting.
654 This is used by a new test case for 4233558.
656 * DumpRenderTree/DumpRenderTree.m:
657 (-[EventSendingController mouseDown]): force layout
658 (-[EventSendingController mouseUp]): force layout
660 2005-09-30 Eric Seidel <eseidel@apple.com>
664 Updated all the scripts for the move:
665 WebCore/layout-tests -> LayoutTests
667 * Scripts/check-dom-results:
668 * Scripts/prepare-ChangeLog:
669 * Scripts/run-webkit-tests:
670 * Scripts/update-webkit: added --no-tests
671 * checkout: added --no-tests
673 2005-09-28 Darin Adler <darin@apple.com>
675 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
676 pixel test should run even if render trees differ
678 * Scripts/run-webkit-tests: Don't check if the text dump matches.
680 2005-09-27 Eric Seidel <eseidel@apple.com>
682 No review needed, SVG build fix only.
684 * DumpKCanvasTree/DumpKCanvasTree.m:
685 Missed one in my previous checkin.
686 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
688 2005-09-26 Eric Seidel <eseidel@apple.com>
690 No review needed, SVG build fix only.
692 * DrawTest/DrawTestDocument.m:
693 * DrawTest/DrawTestToolbarController.m:
694 * DrawTest/DrawTestView.h:
695 * DrawTest/DrawTestView.m:
696 * DrawTest/SVGTest.m:
697 * DrawTest/TestController.m:
698 Updated for WebCore+SVG -> WebCore rename.
699 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
701 2005-09-26 Eric Seidel <eseidel@apple.com>
705 * DumpRenderTree/DumpRenderTree.m:
706 (dump): updated error message
707 * Scripts/check-dom-results: now includes xhtml
708 Tool updates for xhtml.
709 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
711 2005-09-22 Duncan Wilcox <duncan@mclink.it>
716 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
717 "Would like to simulate human interaction with webview"
719 * DumpRenderTree/DumpRenderTree.m:
720 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
721 (+[EventSendingController isSelectorExcludedFromWebScript:]):
722 (+[EventSendingController webScriptNameForSelector:]):
723 (-[EventSendingController init]):
724 (-[EventSendingController mouseDown]):
725 (-[EventSendingController mouseUp]):
726 (-[EventSendingController mouseMoveToX:Y:]):
727 Add eventSender javascript object, that sends fake mouse events to the webview.
729 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
730 link with Carbon.framework
732 2005-09-22 Eric Seidel <eseidel@apple.com>
736 Update tools for WebCore+SVG -> WebCore rename.
737 Also fold several SVG specific tools into their original
738 WebCore counterparts.
739 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
741 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
742 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
743 * Scripts/build-drawtest:
744 * Scripts/build-dumpkcanvastree:
745 * Scripts/build-webcore-svg: Removed.
746 * Scripts/build-webkit: added --svg option
747 * Scripts/run-drawtest:
748 * Scripts/run-webkit-tests:
749 * Scripts/webkitdirs.pm: various additions.
750 * checkout: added --svg option
751 * checkout-svg: Removed.
753 2005-09-19 Eric Seidel <eseidel@apple.com>
757 * Scripts/run-webkit-tests: added --guard-malloc option
758 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
760 2005-09-16 Justin Garcia <justin.garcia@apple.com>
764 Removed a script that is only used by apple internal developers
766 * Scripts/update-webkitsysteminterface: Removed.
768 2005-09-16 Adele Peterson <adele@apple.com>
772 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
774 2005-09-14 Darin Adler <darin@apple.com>
776 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
777 dumpAsText doesn't work with XHTML documents
779 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
780 rather than of the body element. This works with typical XHTML documents. We can probably
781 do something even better in the long run, but this fixes the immediate issue.
785 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
786 run-safari instead of just using "open", which often runs another copy of Safari instead.
788 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
790 Reviewed, tweaked, and landed by Darin.
792 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
793 .Mac prefpane crashes when Safari using CVS WebKit is running
795 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
796 * Scripts/run-webkit-app: Ditto.
798 2005-09-11 Darin Adler <darin@apple.com>
800 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
802 2005-09-11 Darin Adler <darin@apple.com>
806 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
807 two ways: 1) puts all files in a directory before any files in a subdirectory, and
808 2) sort file names with numeric digits in them in a logical way, so test-33 will come
811 2005-09-08 Justin Garcia <justin.garcia@apple.com>
815 * Scripts/update-webkitsysteminterface: Added.
816 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
818 2005-09-01 John Sullivan <sullivan@apple.com>
820 * Scripts/run-webkit-tests:
821 Excluded a known system leak to reduce noise; added comments about which leaks
824 2005-09-01 Tim Omernick <tomernick@apple.com>
826 Change made by Darin, reviewed by John and myself.
828 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
830 * Scripts/prepare-ChangeLog:
832 2005-08-31 Maciej Stachowiak <mjs@apple.com>
836 - set color variant and font settings to a consistent value.
837 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
839 * DumpRenderTree/DumpRenderTree.m:
842 2005-08-30 Eric Seidel <eseidel@apple.com>
846 * Scripts/build-svg2png: Removed.
847 * svg2png/ImageDiff.h: Removed.
848 * svg2png/ImageDiff.m: Removed.
849 * svg2png/svg2png.m: Removed.
850 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
851 * svg2png/svg2png_Prefix.pch: Removed.
852 svg2png is no longer needed.
854 2005-08-30 Darin Adler <darin@apple.com>
856 * Scripts/check-dom-results: Special case 100% to say something nice.
857 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
858 applying the patch (need a better name).
859 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
861 2005-08-30 Darin Adler <darin@apple.com>
863 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
865 2005-08-29 Maciej Stachowiak <mjs@apple.com>
869 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
870 (some pixel tests fail when AA settings are changed)
872 * DumpRenderTree/DumpRenderTree.m:
873 (main): set AA settings to the default values
875 2005-08-29 Darin Adler <darin@apple.com>
877 Reviewed by John Sullivan.
879 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
880 executable -- much slower but can help pinpoint leaks. Changed formatting of some
883 2005-08-28 Maciej Stachowiak <mjs@apple.com>
887 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
888 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
890 * DumpRenderTree/DumpRenderTree.m:
891 (main): set scrollbar arrow setting to a consistent value
893 2005-08-27 Jussi Hagman <juhagman@abo.fi>
895 Reviewed and landed by Darin.
897 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
898 output of update-webkit is too verbose
900 * Scripts/update-webkit:
901 Added option --quiet (-q) to decrease the amount of output.
903 2005-08-27 Darin Adler <darin@apple.com>
905 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
906 cvs-create-patch --include-unknowns should ignore hidden files
908 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
910 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
912 Reviewed, tweaked, and landed by Darin.
914 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
915 update-webkit doesn't notice when you have SVGSupport and update properly
917 * Scripts/update-webkit: Build SVGSupport directory if it's present.
919 2005-08-25 Anders Carlsson <andersca@mac.com>
921 Reviewed and landed by Darin.
923 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
924 layout test machinery can't handle tests with applets that have code attributes
926 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
928 2005-08-24 Darin Adler <darin@apple.com>
932 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
933 DumpRenderTree --pixel-tests crash
934 - landed some other small changes I had sitting in my tree
936 * DumpRenderTree/DumpRenderTree.m:
937 (main): Don't bother saving and restoring the preferences. Not sure
938 why this was ever done since the preferences are specific to DumpRenderTree.
939 Clear delegates before releasing the WebView, because you can't count on the
940 order of object deallocation.
941 (dumpRenderTree): Fix code that releases a string before storing it in a
944 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
945 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
947 2005-08-23 Eric Seidel <eseidel@apple.com>
951 * Scripts/run-webkit-tests:
952 Made --leaks option more readable by printing to a file.
953 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
955 2005-08-22 Eric Seidel <eseidel@apple.com>
956 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
960 * Scripts/run-webkit-tests: hides "expected actual diffs" links
961 when they are not needed (for pixel-only failures)
962 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
964 2005-08-22 Eric Seidel <eseidel@apple.com>
968 * Scripts/run-webkit-tests: Added the ability to display more than
969 just two images as part of the image-diff "slideshow".
970 Added display of "-w3c.png" baseline images for SVG.
971 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
974 2005-08-20 Eric Seidel <eseidel@apple.com>
976 * Scripts/run-webkit-tests:
977 "build" fix after committing incorrect version.
979 2005-08-20 Eric Seidel <eseidel@apple.com>
983 * DumpRenderTree/DumpRenderTree.m:
984 (main): cleans up delegates
985 (dumpRenderTree): closes CFString/CFURL leak
986 * Scripts/run-webkit-tests:
987 Adds --leaks option to run-webkit-tests
988 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
990 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
994 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
995 new files to be included in the patch even without "cvs add".
997 2005-08-19 Darin Adler <darin@apple.com>
999 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
1000 non-cvs-generated patches. Anders has been creating these, so it's bad that
1001 the script can't handle them.
1002 * Scripts/cvs-unapply: Ditto.
1004 2005-08-18 Darin Adler <darin@apple.com>
1006 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
1007 "." in them -- based on complaint by someone here at Apple.
1009 2005-08-18 Eric Seidel <eseidel@apple.com>
1013 * Scripts/run-webkit-tests:
1014 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
1016 2005-08-17 Maciej Stachowiak <mjs@apple.com>
1018 - add file that I forgot in the last checkin
1020 * DumpRenderTree/ImageDiff.m: Added.
1022 (getImageFromStdin):
1024 (getDifferenceBitmap):
1025 (computePercentageDifferent):
1027 2005-08-17 Maciej Stachowiak <mjs@apple.com>
1029 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
1030 somewhat by me, and also tweaked by me a little bit.
1032 - better support for pixel-dumping
1033 - use checksums of the images so the tests are fast
1034 - change output format to make the tests run faster
1035 - don't dump pixel results for tests that dump as text
1037 * DumpKCanvasTree/DumpKCanvasTree.m:
1040 (md5HashStringForBitmap):
1042 (constrainSizeToMaximum):
1043 (getBitmapImageRepForSVGDocument):
1044 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
1045 * DumpRenderTree/DumpRenderTree.m:
1049 (md5HashStringForBitmap):
1050 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1051 * Scripts/run-webkit-tests:
1053 2005-08-17 Maciej Stachowiak <mjs@apple.com>
1057 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
1059 * DumpRenderTree/DumpRenderTree.m:
1062 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
1064 Reviewed and landed by Darin.
1066 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
1067 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
1069 * Scripts/run-safari: Pass arguments through to Safari on command line.
1070 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
1072 2005-08-11 Eric Seidel <eseidel@apple.com>
1073 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
1075 Reviewed by eseidel.
1077 * DrawTest/TestController.m:
1078 (-[TestController imagePathForSVGPath:]):
1079 Fixed support for using TextViewer with the layout-tests.
1080 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
1082 2005-08-11 Maciej Stachowiak <mjs@apple.com>
1084 At Least Roughly Glanced At by Anders.
1086 - fix change with totally breaks the layout tests.
1088 * DumpRenderTree/DumpRenderTree.m:
1089 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
1090 load, to avoid dumping twice accidentally.
1092 2005-08-10 Eric Seidel <eseidel@apple.com>
1093 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
1097 * DumpRenderTree/DumpRenderTree.m:
1098 Added support for rendering to a PNG file.
1099 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
1101 2005-08-07 Eric Seidel <eseidel@apple.com>
1105 * Scripts/run-webkit-tests: added --svg option
1106 * Scripts/run-webkit-tests-svg: Removed.
1107 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
1109 2005-08-07 Eric Seidel <eseidel@apple.com>
1110 Changes by Ben La Monica <ben.lamonica@gmail.com>
1114 * svg2png/ImageDiff.h: Added.
1115 * svg2png/ImageDiff.m: Added.
1116 (getDifferenceBitmap):
1117 (computePercentageDifferent):
1118 (saveAnimatedGIFToFile):
1119 * svg2png/svg2png.m:
1120 (usage): added several new options
1121 (getBitmapForSVG): added NSBitmapImageRep generation
1122 (main): various argument changes.
1123 * svg2png/svg2png.xcodeproj/project.pbxproj:
1124 Several additions to provide image differencing functionality.
1125 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
1127 2005-08-07 Eric Seidel <eseidel@apple.com>
1131 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
1132 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
1133 Adding the first SVG layout tests:
1134 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
1136 2005-08-07 Darin Adler <darin@apple.com>
1138 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
1140 2005-08-06 Eric Seidel <eseidel@apple.com>
1144 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
1145 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
1146 * Scripts/build-dumpkcanvastree: Added.
1147 * Scripts/run-webkit-tests-svg: Added.
1148 Adds a DumpRenderTree-like tool for SVG which allows us to do
1149 text-based layout regression testing. This (like most of the
1150 SVG specific stuff) is temporary and will be replaced by
1151 DumpRenderTree once the DOMs and RenderTrees merge.
1152 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
1154 2005-08-06 Eric Seidel <eseidel@apple.com>
1158 * DrawTest/DrawTestView.m:
1159 (-[DrawTestView toggleFilterSupport:]): missing negation.
1160 One half of fix for toggling filter support.
1161 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
1163 2005-08-04 Eric Seidel <eseidel@apple.com>
1167 * Scripts/build-drawtest:
1168 * Scripts/build-dumprendertree:
1169 * Scripts/build-svg2png:
1170 * Scripts/build-webcore-svg:
1171 * Scripts/build-webkit:
1172 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
1173 Added checkRequiredSystemConfig and made all the build-* scripts
1174 use it to print a pretty warning when trying to compile on an
1175 unsupported system (less than 10.4, Xcode 2.1).
1176 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
1178 2005-08-04 Darin Adler <darin@apple.com>
1180 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
1181 the dead. It was removed by accident when someone was trying to work on the branch.
1183 2005-07-31 Darin Adler <darin@apple.com>
1185 - a little tools cleanup
1187 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
1188 project as a whole. Removed unused Default configuration.
1190 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
1192 2005-07-31 Duncan Wilcox <duncan@mclink.it>
1194 Reviewed and landed by Darin Adler.
1196 Add logging of editing delegate calls for regression checking.
1198 * DumpRenderTree/DumpRenderTree.m:
1200 setup editing delegate
1202 (-[DOMNode dumpPath]):
1204 utility for editing delegate logging
1206 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1207 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1208 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1209 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1210 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1211 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1212 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1213 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1214 (-[EditingDelegate webViewDidBeginEditing:]):
1215 (-[EditingDelegate webViewDidChange:]):
1216 (-[EditingDelegate webViewDidEndEditing:]):
1217 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1218 log corresponding editing delegate methods
1220 (-[EditingDelegate webViewDidChangeSelection:]):
1221 log selection except when clearing selection after end of test (uses existing "done" flag)
1224 added clearing of selection after test
1226 2005-07-31 Eric Seidel <eseidel@apple.com>
1230 * Scripts/build-drawtest: Added.
1231 * Scripts/build-svg2png: Added.
1232 * Scripts/build-webcore-svg: Added.
1233 * Scripts/run-drawtest: Added.
1234 * Scripts/webkitdirs.pm: added checkSVGFrameworks
1235 Made it much easier to build WebCore+SVG.
1236 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
1238 2005-07-29 Eric Seidel <eseidel@apple.com>
1242 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1243 Build fix. Removed bad path.
1245 2005-07-29 Eric Seidel <eseidel@apple.com>
1247 Reviewed by sullivan.
1249 * DrawTest/AppDelegate.h: Added.
1250 * DrawTest/AppDelegate.m: Added.
1251 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
1252 * DrawTest/DrawTestDocument.h: Added.
1253 * DrawTest/DrawTestDocument.m: Added.
1254 * DrawTest/DrawTestInspectorController.h: Added.
1255 * DrawTest/DrawTestInspectorController.m: Added.
1256 * DrawTest/DrawTestToolbarController.h: Added.
1257 * DrawTest/DrawTestToolbarController.m: Added.
1258 * DrawTest/DrawTestView.h: Added.
1259 * DrawTest/DrawTestView.m: Added.
1260 * DrawTest/DrawTest_Prefix.pch: Added.
1261 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
1262 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
1263 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
1264 * DrawTest/English.lproj/InfoPlist.strings: Added.
1265 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
1266 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
1267 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
1268 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
1269 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
1270 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1271 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
1272 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
1273 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
1274 * DrawTest/Info.plist: Added.
1275 * DrawTest/SVGTest.h: Added.
1276 * DrawTest/SVGTest.m: Added.
1277 * DrawTest/ScalingImageView.h: Added.
1278 * DrawTest/ScalingImageView.m: Added.
1279 * DrawTest/TestController.h: Added.
1280 * DrawTest/TestController.m: Added.
1281 * DrawTest/TestViewerSplitView.h: Added.
1282 * DrawTest/TestViewerSplitView.m: Added.
1283 * DrawTest/main.m: Added.
1284 Adding simple cocoa app for testing SVG rendering, interaction.
1285 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
1287 2005-07-28 Eric Seidel <eseidel@apple.com>
1291 * svg2png/svg2png.m: Added.
1292 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
1293 * svg2png/svg2png_Prefix.pch: Added.
1294 Added a simple test tool which dumps a PNG from an SVG using
1295 WebCore+SVG's SVG rendering support.
1296 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
1298 2005-07-26 Maciej Stachowiak <mjs@apple.com>
1302 - new script to review the DOM layout test results and see where we stand
1303 on actual success and failure
1305 * Scripts/check-dom-results: Added.
1307 2005-07-25 Darin Adler <darin@apple.com>
1309 * Scripts/webkitdirs.pm: Check in missing line of code.
1311 2005-07-25 Darin Adler <darin@apple.com>
1313 - fixed problem that was causing JavaScriptCore test to fail
1314 (except for people who had set DYLD_FRAMEWORK_PATH)
1316 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
1317 Add code to parse configuration parameter so you can pass --deployment if you like.
1318 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
1320 * Scripts/update-javascriptcore-test-results: Add license header.
1322 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
1323 from @ARGV. This lets us use this option in commands that take other options and
1324 pass them along to a subsequent tool.
1326 2005-07-25 Darin Adler <darin@apple.com>
1328 Reviewed by Geoff Garen.
1330 - Fixed run-safari and gdb-safari to use the Safari application in the build results
1331 directory, if any, falling back to the one in the Applications directory otherwise.
1332 Does no harm for open source contributors who don't build Safari, and helps out the
1333 Safari team, since we do build Safari.
1335 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
1336 variable, and if that's not present, looks in either the build results directory or
1337 /Applications; factors code that was in both scripts before into a shared function.
1338 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
1339 now in Xcode 2.1 format and incompatible with older versions of Xcode.
1341 * Scripts/gdb-safari: Use safariPath.
1342 * Scripts/run-safari: Use safariPath.
1344 2005-07-22 Geoffrey Garen <ggaren@apple.com>
1346 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
1347 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
1349 Moved Tools/Scripts/update-mozilla-js-test-results to
1350 WebKitTools/Scripts/update-javascriptcore-test-results.
1354 * Scripts/run-javascriptcore-tests: Added.
1356 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1360 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
1362 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1364 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
1366 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1368 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
1370 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1372 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
1374 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1376 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
1378 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1380 * Scripts/build-webkit:
1382 2005-07-12 Eric Seidel <eseidel@apple.com>
1386 * checkout-svg: Fixed error with symlink creation.
1388 2005-07-12 Eric Seidel <eseidel@apple.com>
1392 * checkout-svg: Added.
1393 Script to check out WebCore+SVG
1395 2005-06-30 Darin Adler <darin@apple.com>
1397 Changes based on input from Michael Kahl.
1399 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
1400 specify different style of "diff".
1401 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
1402 determineConfigurationProductDir works in all cases.
1404 2005-06-29 Darin Adler <darin@apple.com>
1406 - fixed bug which would result in multiple unwanted dumps in a single layout test
1408 * DumpRenderTree/DumpRenderTree.m:
1409 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
1411 (-[LayoutTestController waitUntilDone]): Update for name change.
1412 (-[LayoutTestController notifyDone]): Dump only if ready.
1413 (dumpRenderTree): Set up new boolean and update for name change.
1415 2005-06-29 Darin Adler <darin@apple.com>
1417 Changes by Timothy Hatcher.
1420 * Scripts/run-webkit-app: Added script to open an arbritrary application with
1421 a CVS built WebKit. Example: ./run-webkit-app Colloquy
1423 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
1424 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
1425 * Scripts/run-safari: Ditto.
1427 2005-06-26 Darin Adler <darin@apple.com>
1429 * Scripts/build-dumprendertree: Pass -project option so that having a second
1430 copy of the project (like the one Xcode 2.1 offers to make for you) that's
1431 out of date won't screw you up.
1432 * Scripts/build-webkit: Ditto.
1434 2005-06-23 Darin Adler <darin@apple.com>
1436 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
1438 2005-06-23 Darin Adler <darin@apple.com>
1440 Changes based on input from Michael Kahl.
1442 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
1443 directory passed in.
1445 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
1446 getcwd() in the code to find the base product dir. Added code to handle unusual
1447 base product directory values that use SRCROOT.
1449 2005-06-22 Darin Adler <darin@apple.com>
1451 Change by Anders Carlsson.
1453 - added support for dumping title changes
1455 * DumpRenderTree/DumpRenderTree.m:
1456 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
1457 if requested by JavaScript.
1458 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
1459 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
1460 (dumpRenderTree): Start flag as NO.
1462 2005-06-20 Darin Adler <darin@apple.com>
1464 Reviewed by Justin Garcia.
1466 * Scripts/run-webkit-tests: Report number of tests when they succeed.
1468 2005-06-18 Darin Adler <darin@apple.com>
1470 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
1471 in the hope of making the tool use less memory and run faster.
1473 2005-06-18 Darin Adler <darin@apple.com>
1475 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
1476 * Scripts/cvs-unapply: Ditto.
1478 2005-06-17 Maciej Stachowiak <mjs@apple.com>
1480 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
1481 benefit of all WebKit hackerdom
1483 * Scripts/prepare-ChangeLog: Added.
1485 2005-06-16 Darin Adler <darin@apple.com>
1487 - recent changes to XcodeOptions made it depend on the current directory
1488 The intent was to have the WebKitBuild directory be next to WebKitTools,
1489 not inside the various build directories. Workaround for now is to call
1490 XcodeOptions when the directory is set to the WebKit directory.
1492 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
1493 at the start of the script.
1494 * Scripts/build-webkit: Ditto.
1496 2005-06-15 Darin Adler <darin@apple.com>
1498 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
1500 2005-06-14 Darin Adler <darin@apple.com>
1502 Changes by Anders Carlsson.
1505 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
1506 Add gdb-safari script to launch Safari under gdb
1508 * Scripts/gdb-safari: Added.
1510 2005-06-12 Darin Adler <darin@apple.com>
1512 Changes by Stuart Morgan.
1515 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
1516 * Scripts/cvs-apply: Ditto.
1517 * Scripts/cvs-create-patch: Ditto.
1518 * Scripts/cvs-unapply: Ditto.
1519 * Scripts/run-webkit-tests: Ditto.
1520 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
1522 2005-06-12 Darin Adler <darin@apple.com>
1524 * Scripts/cvs-apply: Handle case of an empty patch better.
1525 * Scripts/cvs-unapply: Ditto.
1527 2005-06-12 Darin Adler <darin@apple.com>
1529 Changes by Michael Gaiman.
1532 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
1533 WebKit no longer builds after configuration supporting build changes
1535 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
1537 2005-06-12 Darin Adler <darin@apple.com>
1539 * Scripts/update-webkit: Make this script work when called from any directory.
1541 2005-06-12 Darin Adler <darin@apple.com>
1544 Includes changes by Stuart Morgan as well as my own.
1546 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
1547 symrootXcodeOptions to set the -buildstyle option.
1548 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
1549 The new --development option does the same thing.
1550 * Scripts/run-safari: Ditto.
1551 * Scripts/run-webkit-tests: Ditto.
1552 * Scripts/update-webkit: Ditto.
1553 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
1555 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
1556 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
1557 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
1558 product directory. Read the default configuration from a file, overridable by a passed-in command-line
1561 2005-06-11 Darin Adler <darin@apple.com>
1563 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
1564 to execute the cvs diff commands.
1566 2005-06-11 Darin Adler <darin@apple.com>
1568 - added first cuts at some cvs scripts
1570 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
1571 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
1572 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
1573 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
1575 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
1577 * Scripts/cvs-abandon: Added.
1578 * Scripts/cvs-apply: Added.
1579 * Scripts/cvs-create-patch: Added.
1580 * Scripts/cvs-unapply: Added.
1582 2005-06-09 Darin Adler <darin@apple.com>
1586 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
1587 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
1589 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
1590 for Foundation.framework. How was it ever wrong?
1592 - finally, I tested making the default build directory work; it works now
1594 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
1595 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
1596 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
1597 * Scripts/build-dumprendertree: Ditto.
1599 2005-06-09 Darin Adler <darin@apple.com>
1601 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
1602 work. Someone should try building without setting the Xcode build product directory now,
1603 and let me know if it works.
1605 2005-06-08 Darin Adler <darin@apple.com>
1607 - quick fix to try to get build scripts working again
1609 * Scripts/build-dumprendertree: Add FindBin.
1610 * Scripts/build-webkit: Ditto.
1611 * Scripts/run-safari: Ditto.
1612 * Scripts/run-webkit-tests: Ditto.
1613 * Scripts/update-webkit: Ditto.
1615 2005-06-08 Darin Adler <darin@apple.com>
1619 - some build script enhancements
1621 * Scripts/build-dumprendertree: Changed to use webkitdirs.
1622 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
1624 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
1625 before Deplyment in that case.
1626 * Scripts/run-webkit-tests: Changed to use webkitdirs.
1627 * Scripts/update-webkit: Changed to use webkitdirs.
1629 * Scripts/webkitdirs.pm: Added.
1631 2005-06-08 Maciej Stachowiak <mjs@apple.com>
1633 Code change by Toby Peterson <toby@opendarwin.org>
1636 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
1637 get confused because build-webkit now makes even 2.0 build directories look
1640 2005-06-07 Darin Adler <darin@apple.com>
1642 Reviewed by Adele Peterson.
1644 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
1645 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
1646 so we can run tests with Xcode 2.1.
1648 2005-06-07 Darin Adler <darin@apple.com>
1650 Reviewed by Adele Peterson.
1652 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
1653 layout-tests directory to include additional sets of tests.
1655 2005-06-07 Darin Adler <darin@apple.com>
1657 * checkout: Added license.
1658 * Scripts/build-dumprendertree: Ditto.
1659 * Scripts/run-webkit-tests: Ditto.
1660 * Scripts/update-webkit: Ditto.
1662 2005-06-07 Darin Adler <darin@apple.com>
1664 Change by Toby Peterson <toby@opendarwin.org>.
1667 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
1668 * Scripts/run-safari: Ditto.
1670 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1672 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
1674 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1676 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
1678 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1680 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
1682 2005-06-05 Darin Adler <darin@apple.com>
1684 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
1685 * Scripts/build-dumprendertree: Added.
1686 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
1687 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
1689 2005-06-05 Darin Adler <darin@apple.com>
1691 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
1693 2005-06-05 Darin Adler <darin@apple.com>
1695 - add run-webkit-tests script; not working yet but the pieces are there
1697 * Scripts/run-webkit-tests: Added.
1699 * DumpRenderTree/DumpRenderTree.m: Added.
1700 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
1701 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
1702 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
1704 2005-06-05 Darin Adler <darin@apple.com>
1706 - created module, first cut at Web Kit Open Source Project scripts
1709 * Scripts/build-webkit: Added.
1710 * Scripts/run-safari: Added.
1711 * Scripts/update-webkit: Added.
1714 === creation of WebKitTools module ===