1 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
5 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
6 DumpRenderTree should be able to load files via HTTP
8 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
9 Handle tests starting with "http://" as real URLs, not file system paths.
11 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
15 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
16 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
18 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
20 2006-02-18 Darin Adler <darin@apple.com>
22 * Scripts/commit-log-editor: Added.
24 2006-02-17 Eric Seidel <eseidel@apple.com>
28 Make Win32 have the same default "WebKitBuild" directory behavior.
30 * Scripts/build-webkit:
31 * Scripts/webkitdirs.pm:
33 2006-02-17 Eric Seidel <eseidel@apple.com>
37 * Scripts/build-webkit: make win32 actually report errors
39 2006-02-17 Eric Seidel <eseidel@apple.com>
43 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
45 2006-02-17 Eric Seidel <eseidel@apple.com>
49 * Scripts/run-webkit-tests: Ignore flash leaks
51 2006-02-15 Justin Garcia <justin.garcia@apple.com>
55 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
56 Add drag and drop support to DumpRenderTree
58 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
59 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
61 * DumpRenderTree/DumpRenderTree.m:
63 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
64 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
65 (-[WaitUntilDoneDelegate webViewFocus:]):
66 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
67 (+[LayoutTestController webScriptNameForSelector:]):
68 (-[LayoutTestController setWindowIsKey:]):
69 (-[LayoutTestController setMainFrameIsFirstResponder:]):
70 (-[EventSendingController init]):
71 (-[EventSendingController mouseDown]):
72 (-[EventSendingController mouseUp]):
73 (-[EventSendingController mouseMoveToX:Y:]):
75 (-[DumpRenderTreeWindow isKeyWindow]):
76 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
77 (-[DumpRenderTreeDraggingInfo dealloc]):
78 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
79 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
80 (-[DumpRenderTreeDraggingInfo draggingLocation]):
81 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
82 (-[DumpRenderTreeDraggingInfo draggedImage]):
83 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
84 (-[DumpRenderTreeDraggingInfo draggingSource]):
85 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
86 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
87 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
88 * DumpRenderTree/TextInputController.m:
89 (-[TextInputController firstRectForCharactersFrom:length:]):
90 (-[TextInputController characterIndexForPointX:Y:]):
92 2006-02-15 Geoffrey Garen <ggaren@apple.com>
96 * DumpRenderTree/DumpRenderTree.m:
97 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
98 Added a dummy method for the sake of LayoutTests/plugins/
99 undefined-property-crash.html. (It tests a crash due to fallback
100 object use. WebCore won't create a fallback object if the method is
103 2006-02-14 Eric Seidel <eseidel@apple.com>
107 * Scripts/run-webkit-tests: added --results-directory (-o) option
109 2006-02-09 Eric Seidel <eseidel@apple.com>
111 Rubber-stamped by mjs.
113 Renamed split-class to split-file-by-class.
115 * Scripts/build-webkit: Updated copyright.
116 * Scripts/split-class: Removed.
117 * Scripts/split-file-by-class: Added.
119 2006-02-08 Eric Seidel <eseidel@apple.com>
121 Rubber-stamped by mjs.
123 Adding new script for splitting multi-class files.
124 Also adding supporting perl module with space removing heuristics.
126 * Scripts/SpacingHeuristics.pm: Added.
127 * Scripts/build-drawtest: updated copyright header
128 * Scripts/split-class: Added.
130 2006-02-08 Justin Garcia <justin.garcia@apple.com>
134 Changes to test fix for:
135 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
136 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
138 * DumpRenderTree/DumpRenderTree.m:
139 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
140 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
141 (+[LayoutTestController webScriptNameForSelector:]):
142 (-[LayoutTestController setWindowHasFocus:]):
143 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
145 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
149 Support automated testing of AppleScript "do JavaScript" command
150 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
152 * DumpRenderTree/AppleScriptController.h: Added.
153 * DumpRenderTree/AppleScriptController.m: Added.
154 * DumpRenderTree/DumpRenderTree.m:
155 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
156 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
158 2006-02-06 Eric Seidel <eseidel@apple.com>
162 Fix build-webkit for use on win32 (unblocks buildbot usage).
163 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
165 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
166 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
168 2006-02-06 Eric Seidel <eseidel@apple.com>
170 Rubber-stamped by darin & mjs.
172 Added new support directory for build slave scripts.
173 Committing the first script, for use by the PLT's build slave.
174 This script is used to kick of the PLT (Page Load Test) slave.
176 * BuildSlaveSupport: Added.
177 * BuildSlaveSupport/run-performance-tests: Added.
179 2006-02-06 Eric Seidel <eseidel@apple.com>
181 Rubber-stamped by darin.
183 Adding setSourceDir for scripts stored in non-standard locations.
185 * Scripts/webkitdirs.pm:
187 2006-02-04 Darin Adler <darin@apple.com>
189 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
190 Configuration files that say Development or Deployment in them.
192 2006-02-04 Darin Adler <darin@apple.com>
194 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
195 wrapper already in the directory.
196 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
197 these haven't been working at all.
198 * Scripts/svn-unapply: Ditto.
200 2006-02-03 Timothy Hatcher <timothy@apple.com>
204 Renamed configuration names to Debug, Release and Production.
206 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
207 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
208 * Scripts/set-webkit-configuration:
209 * Scripts/webkitdirs.pm:
211 2006-02-02 Justin Garcia <justin.garcia@apple.com>
215 Enabled spell checking for layout tests.
217 * DumpRenderTree/DumpRenderTree.m:
220 2006-01-29 Darin Adler <darin@apple.com>
222 * Scripts/svn-apply: Added comments about things we should do to improve.
223 * Scripts/svn-create-patch: Ditto.
224 * Scripts/svn-unapply: Ditto.
226 2006-01-28 Darin Adler <darin@apple.com>
228 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
229 already there, even if the checksum is correct.
231 2006-01-27 Eric Seidel <eseidel@apple.com>
235 * Scripts/run-webkit-tests: make new tests use absolute urls
237 2006-01-27 Eric Seidel <eseidel@apple.com>
241 make run-webkit-tests output total leaks count
243 * Scripts/run-webkit-tests:
245 2006-01-27 Eric Seidel <eseidel@apple.com>
249 run-webkit-test --leaks crashes (malloc logging runs out of memory)
250 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
252 * Scripts/run-webkit-tests: fix --leaks to not crash
254 2006-01-26 Eric Seidel <eseidel@apple.com>
258 run-webkit-tests should produce a self-contained results directory
259 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
261 * Scripts/run-webkit-tests: copy failing items to results dir.
263 2006-01-23 Darin Adler <darin@apple.com>
265 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
266 need script to update localizable strings file in WebKit
268 * Scripts/update-webkit-localizable-strings: Added.
270 2006-01-23 Darin Adler <darin@apple.com>
272 - added a couple of scripts -- more about these two soon
274 * Scripts/extract-localizable-strings: Added.
275 * Scripts/merge-changelog: Added.
277 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
281 Build fix. build-webkit dies with "invalid build action: (empty string)"
283 * Scripts/build-webkit:
284 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
286 2006-01-22 Eric Seidel <eseidel@apple.com>
290 Fix --no-svg option to use XCode flags instead of gcc flags.
292 * Scripts/build-webkit:
294 2006-01-22 Eric Seidel <eseidel@apple.com>
298 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
300 * Scripts/build-webkit:
302 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
306 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
307 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
309 * Scripts/build-drawtest: Changed bareword 'true' to 1.
310 * Scripts/run-drawtest: Changed bareword 'true' to 1.
312 2006-01-19 Darin Adler <darin@apple.com>
314 * Scripts/report-include-statistics: Added a new script.
316 2006-01-19 Timothy Hatcher <timothy@apple.com>
318 * Scripts/build-webkit: include JavaScriptGlue in the build
320 2006-01-19 Darin Adler <darin@apple.com>
322 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
323 spaces in it by using the form of open that treats each argument as a string
324 rather than backtick syntax for reading the output of the nm tool.
326 2006-01-12 Maciej Stachowiak <mjs@apple.com>
330 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
331 detect if there are any new tests
333 * Scripts/prepare-ChangeLog:
335 2006-01-12 Darin Adler <darin@apple.com>
337 - removed some of the cvs-specific scripts -- not needed for this project any more
339 * Scripts/cvs-abandon: Removed.
340 * Scripts/cvs-apply: Removed.
341 * Scripts/cvs-create-patch: Removed.
342 * Scripts/cvs-unapply: Removed.
344 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
346 Reviewed by eseidel. Committed by eseidel.
348 - run-webkit-tests always launches Safari when tests fail
349 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
351 * Scripts/run-webkit-tests:
352 Add a command-line flag to prevent Safari being launched to display failed
353 tests. Always exit with non-zero status when tests have failed.
355 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
357 Reviewed by eseidel. Committed by eseidel.
359 - build-webkit should exit with non-zero status when build fails
360 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
362 * Scripts/build-webkit:
363 Use correct bits of subprocess exit code when passing back through
364 as build-webkit's exit code.
366 2006-01-10 Eric Seidel <eseidel@apple.com>
368 Restored corrupted nibs from TOT CVS.
370 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
371 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
372 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
373 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
374 * DrawTest/English.lproj/Inspector.nib: Replaced.
375 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
376 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
377 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
378 * DrawTest/English.lproj/MainMenu.nib: Replaced.
379 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
380 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
381 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
382 * DrawTest/English.lproj/TestViewer.nib: Replaced.
383 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
384 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
385 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
387 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
389 Reviewed by eseidel. Committed by eseidel.
391 DrawTestView now subclasses WebView instead of DrawView.
393 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
394 * DrawTest/DrawTestDocument.h:
395 * DrawTest/DrawTestDocument.m:
396 (-[DrawTestDocument dealloc]):
397 (-[DrawTestDocument readFromFile:ofType:]):
398 (-[DrawTestDocument windowControllerDidLoadNib:]):
399 (-[DrawTestDocument dumpSVGToConsole:]):
400 (-[DrawTestDocument openSourceForSelection:]):
401 (-[DrawTestDocument dataRepresentationOfType:]):
402 * DrawTest/DrawTestToolbarController.h:
403 * DrawTest/DrawTestToolbarController.m:
404 (-[DrawTestToolbarController initWithDrawView:]):
405 (-[DrawTestToolbarController clickedToolbarItem:]):
406 (-[DrawTestToolbarController validateToolbarItem:]):
407 * DrawTest/DrawTestView.h:
408 * DrawTest/DrawTestView.m:
409 (-[DrawTestView initWithFrame:]):
410 (-[DrawTestView setDocument:]):
411 * DrawTest/SVGTest.h:
412 * DrawTest/SVGTest.m:
413 (+[SVGTest sharedDrawView]):
414 (-[SVGTest generateCompositeIfNecessary]):
415 * DrawTest/TestController.h:
416 * DrawTest/TestController.m:
417 (-[TestController awakeFromNib]):
418 (-[TestController setSelectedTest:]):
419 (-[TestController openTestViewerForSelection:]):
420 (-[TestController toggleViewersScaleRule:]):
421 * DrawTest/TestViewerSplitView.m:
422 (-[TestViewerSplitView drawRect:]):
424 2006-01-10 Anders Carlsson <andersca@mac.com>
428 * DumpRenderTree/DumpRenderTree.m:
429 (main): Set the default language to "en", so language tests will work.
431 2006-01-08 Maciej Stachowiak <mjs@apple.com>
435 - script to generate HTML wrappers for JS tests
436 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
438 * Scripts/make-js-test-wrappers: Added.
440 2006-01-08 Maciej Stachowiak <mjs@apple.com>
444 * Scripts/svn-create-patch: Fix to work when passed directory names.
446 2006-01-08 Geoffrey Garen <ggaren@apple.com>
450 - Added back/forward navigation support to DumpRenderTree. Hopefully we
451 can start writing automated loader tests now. I have one in the works.
453 * DumpRenderTree/DumpRenderTree.m:
454 (main): Construct global navigationController on entry, destroy on exit.
455 Set frame to nil on exit too, to match all the other global objects.
456 (Probably academic, since the process is exiting, anyway.)
457 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
458 navigationController, in case it wants to kick off a load.
459 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
460 the navigationController to scripting.
462 New class, should be straightforward:
464 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
465 * DumpRenderTree/NavigationController.h: Added.
466 * DumpRenderTree/NavigationController.m: Added.
468 (+[NavigationController isSelectorExcludedFromWebScript:]):
469 (+[NavigationController webScriptNameForSelector:]):
470 (-[NavigationController setPendingScript:]):
471 (-[NavigationController setPendingRequest:]):
472 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
473 (-[NavigationController webView:didFinishLoadForFrame:]):
474 (-[NavigationController dealloc]):
476 2006-01-08 Timothy Hatcher <timothy@apple.com>
478 Removed this script, no longer needs with the Subversion switch.
482 2006-01-08 Timothy Hatcher <timothy@apple.com>
484 Removes some stray tabs.
486 * Scripts/update-webkit:
488 2005-01-07 Eric Seidel <eseidel@apple.com>
492 build-webkit should pass on build arguments from command line
493 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
495 * Scripts/build-webkit:
497 2006-01-07 Eric Seidel <eseidel@apple.com>
499 Reviewed by mjs & xenon.
501 * Scripts/update-webkit: support Internal updates as well
503 2006-01-06 Geoffrey Garen <ggaren@apple.com>
505 Temporarily rolling out plugin support from DumpRenderTree because it
506 caused lots of layout test regressions.
508 * DumpRenderTree/DumpRenderTree.m:
509 (main): Remove invisible window added to support plugins.
511 2006-01-06 Geoffrey Garen <ggaren@apple.com>
515 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
516 Add plugin support to DumpRenderTree
518 Also wrote first test plugin.
520 * DumpRenderTree/DumpRenderTree.m:
522 (1) Put the WebView in an invisible window, because PlugIns are
523 optimized not to load if there's no parent window.
524 (2) Tell WebKit to load any PlugIns in the directory from which we
525 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
526 and they'll load automagically during layout testing, but they won't be
527 added to the user's system, hosing apps like Safari.
529 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
530 test PlugIn to project.
532 PlugIn added to project:
534 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
535 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
537 (initializeIdentifiers):
543 (pluginInvokeDefault):
547 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
548 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
566 2006-01-04 Timothy Hatcher <timothy@apple.com>
570 Tweaked and tested by me.
572 New scripts to work with Subversion when the switch happens.
573 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
575 * Scripts/svn-apply: Added.
576 * Scripts/svn-create-patch: Added.
577 * Scripts/svn-unapply: Added.
579 2005-12-30 Eric Seidel <eseidel@apple.com>
583 Move WebView width/height logic into DumpRenderTree to support
584 running the W3C SVG 1.1 tests along side other tests. The W3C
585 SVG 1.1 tests require a 480x360 view.
587 * DumpRenderTree/DumpRenderTree.m:
588 (main): don't accept width/height
589 (dump): override width/height for SVG/W3C
590 * Scripts/run-webkit-tests: don't pass width/height
592 2005-12-30 Eric Seidel <eseidel@apple.com>
594 No review, only removing dead code.
596 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
597 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
599 2005-12-30 Eric Seidel <eseidel@apple.com>
603 DumpRenderTree should set a consistent color profile while running
604 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
606 Creates consistent colormatched renderings on every test machine
607 using the only way possible with Tiger APIs: by setting the
608 system color profile on the test machine for the duration of the
609 tests. This will (unfortunately) cause colors to change while
610 running DumpRenderTree. This can also cause "permanent" color
611 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
612 This is far from ideal, but it's be best way we've found to deal
613 with the issue for now.
615 * DumpRenderTree/DumpRenderTree.m:
617 (setDefaultColorProfileToRGB):
620 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
622 Reviewed by Darin Adler.
624 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
625 cvs-create-patch --include produces incorrect paths
627 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
629 2005-12-19 Eric Seidel <eseidel@apple.com>
633 * Scripts/run-webkit-tests: stop /etc/catalog warnings
635 2005-12-19 Darin Adler <darin@apple.com>
637 Reviewed by Eric Seidel.
639 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
640 WebKit needs to use a local pasteboard during testing
642 * DumpRenderTree/DumpRenderTree.m:
643 (main): Call poseAs to substitute our NSPasteboard class for the default one.
644 Create a local pasteboard (really a global one with a unique name) and release
645 it when exiting from the function so we don't leave it in the pasteboard server.
646 (dumpRenderTree): Added an autorelease pool around one small bit of code that
647 ddn't have one. Fixed a leak in an unlikely error case.
648 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
649 of this method to return our local pasteboard.
651 2005-12-15 Eric Seidel <eseidel@apple.com>
653 Reviewed by Tim Hatcher.
655 * Scripts/build-webkit: --svg is now default!
657 2005-12-15 Eric Seidel <eseidel@apple.com>
661 Don't run svg test automatically if +SVG is built (yet).
663 * Scripts/run-webkit-tests:
665 2005-12-15 Darin Adler <darin@apple.com>
667 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
668 support is not compiled in. Report the 10 slowest tests if "--slowest" is
669 passed on the command line.
671 2005-12-06 John Sullivan <sullivan@apple.com>
673 Reviewed by Darin Adler.
675 * Scripts/prepare-ChangeLog:
676 Remove special-case handling for nib files. This avoided trouble with cvs diff
677 when we were using wrappers for nib files. Now that we aren't using wrappers,
678 there's no reason to avoid adding the modified nib files to the file list that
681 2005-12-05 Eric Seidel <eseidel@apple.com>
685 Script updates for SVG files move (remove references to SVGSupport)
687 * Scripts/build-webkit: remove SVGSupport
688 * Scripts/run-webkit-tests: Resources -> resources for --svg
689 * Scripts/update-webkit: remove SVGSupport
691 2005-12-05 Eric Seidel <eseidel@apple.com>
695 * checkout: remove --svg support, SVG is now checked out by default
697 2005-11-29 Eric Seidel <eseidel@apple.com>
701 Update scripts to run SVG tests automatically (w/o --svg) if
702 WebCore is built with SVG support.
704 * Scripts/build-drawtest: SVG support required
705 * Scripts/build-dumpkcanvastree: Removed.
706 * Scripts/run-drawtest: SVG support required to run
707 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
708 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
710 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
712 Reviewed by Darin. Committed by Maciej.
714 - fixed "DumpRenderTree should test for Ahem before doing anything else"
715 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
717 * DumpRenderTree/DumpRenderTree.m:
720 2005-11-28 Eric Seidel <eseidel@apple.com>
722 Reviewed by sullivan and GGAREN.
724 Minor additions to make error messages more clear from cvs-apply.
726 * Scripts/cvs-apply: make errors more clear
728 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
730 Reviewed and committed by Maciej.
732 - fixed cvs-create-patch --include produces incorrect paths
733 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
735 * Scripts/cvs-create-patch: produce proper paths for new files.
737 2005-11-21 Eric Seidel <eseidel@apple.com>
741 Some simple fixes to the build/test scripts now that SVG uses the
742 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
743 or symlinks for KDOM.
745 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
746 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
747 * Scripts/run-webkit-tests: now runs SVG tests using DRT
748 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
749 * checkout: no longer symlink kdom
751 2005-11-10 Eric Seidel <eseidel@apple.com>
755 * Scripts/build-webkit: Pass through options to xcodebuild
757 2005-11-07 Darin Adler <darin@apple.com>
759 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
761 2005-11-03 John Sullivan <sullivan@apple.com>
765 * Scripts/run-safari:
766 changed message to say "Starting Safari" instead of odd "Start Safari"
767 * Scripts/run-webkit-tests:
768 changed the way we pass the file parameter to use -NSOpen rather than relying on
769 unlabeled arguments being treated as files. This was failing on some machines that
770 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
772 2005-10-27 Geoffrey Garen <ggaren@apple.com>
774 Patch by Alexey Proskuryakov.
778 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
779 TextInputController should support attributed strings
781 * DumpRenderTree/TextInputController.m:
782 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
783 (+[NSMutableAttributedString webScriptNameForSelector:]):
784 (-[NSMutableAttributedString getLength]):
785 (-[NSMutableAttributedString attributeNamesAtIndex:]):
786 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
787 (-[NSMutableAttributedString addAttribute:value:]):
788 (-[NSMutableAttributedString addAttribute:value:from:length:]):
789 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
790 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
791 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
792 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
793 (+[TextInputController isSelectorExcludedFromWebScript:]):
794 (+[TextInputController webScriptNameForSelector:]):
795 (-[TextInputController insertText:]):
796 (-[TextInputController attributedSubstringFrom:length:]):
797 (-[TextInputController attributedStringWithString:]):
799 2005-10-11 Eric Seidel <eseidel@apple.com>
803 Checks for leaks in ImageDiff too.
805 * Scripts/run-webkit-tests:
807 2005-10-09 Darin Adler <darin@apple.com>
809 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
810 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
811 * Scripts/cvs-unapply: Ditto.
812 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
814 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
816 Reviewed, rearranged and landed by Darin.
818 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
819 Need a way to automatically test for regressions in NSTextInput implementation
821 * DumpRenderTree/DumpRenderTree.m:
822 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
823 Create a text input controller and put it in a property of the window object.
825 * DumpRenderTree/TextInputController.h: Added.
826 * DumpRenderTree/TextInputController.m: Added.
827 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
829 2005-10-06 Darin Adler <darin@apple.com>
831 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
832 are controlled by cvs, or when changes cross multiple repositories.
833 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
835 2005-10-03 Eric Seidel <eseidel@apple.com>
839 Make mouseDown and mouseUp force layout before acting.
840 This is used by a new test case for 4233558.
842 * DumpRenderTree/DumpRenderTree.m:
843 (-[EventSendingController mouseDown]): force layout
844 (-[EventSendingController mouseUp]): force layout
846 2005-09-30 Eric Seidel <eseidel@apple.com>
850 Updated all the scripts for the move:
851 WebCore/layout-tests -> LayoutTests
853 * Scripts/check-dom-results:
854 * Scripts/prepare-ChangeLog:
855 * Scripts/run-webkit-tests:
856 * Scripts/update-webkit: added --no-tests
857 * checkout: added --no-tests
859 2005-09-28 Darin Adler <darin@apple.com>
861 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
862 pixel test should run even if render trees differ
864 * Scripts/run-webkit-tests: Don't check if the text dump matches.
866 2005-09-27 Eric Seidel <eseidel@apple.com>
868 No review needed, SVG build fix only.
870 * DumpKCanvasTree/DumpKCanvasTree.m:
871 Missed one in my previous checkin.
872 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
874 2005-09-26 Eric Seidel <eseidel@apple.com>
876 No review needed, SVG build fix only.
878 * DrawTest/DrawTestDocument.m:
879 * DrawTest/DrawTestToolbarController.m:
880 * DrawTest/DrawTestView.h:
881 * DrawTest/DrawTestView.m:
882 * DrawTest/SVGTest.m:
883 * DrawTest/TestController.m:
884 Updated for WebCore+SVG -> WebCore rename.
885 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
887 2005-09-26 Eric Seidel <eseidel@apple.com>
891 * DumpRenderTree/DumpRenderTree.m:
892 (dump): updated error message
893 * Scripts/check-dom-results: now includes xhtml
894 Tool updates for xhtml.
895 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
897 2005-09-22 Duncan Wilcox <duncan@mclink.it>
902 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
903 "Would like to simulate human interaction with webview"
905 * DumpRenderTree/DumpRenderTree.m:
906 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
907 (+[EventSendingController isSelectorExcludedFromWebScript:]):
908 (+[EventSendingController webScriptNameForSelector:]):
909 (-[EventSendingController init]):
910 (-[EventSendingController mouseDown]):
911 (-[EventSendingController mouseUp]):
912 (-[EventSendingController mouseMoveToX:Y:]):
913 Add eventSender javascript object, that sends fake mouse events to the webview.
915 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
916 link with Carbon.framework
918 2005-09-22 Eric Seidel <eseidel@apple.com>
922 Update tools for WebCore+SVG -> WebCore rename.
923 Also fold several SVG specific tools into their original
924 WebCore counterparts.
925 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
927 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
928 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
929 * Scripts/build-drawtest:
930 * Scripts/build-dumpkcanvastree:
931 * Scripts/build-webcore-svg: Removed.
932 * Scripts/build-webkit: added --svg option
933 * Scripts/run-drawtest:
934 * Scripts/run-webkit-tests:
935 * Scripts/webkitdirs.pm: various additions.
936 * checkout: added --svg option
937 * checkout-svg: Removed.
939 2005-09-19 Eric Seidel <eseidel@apple.com>
943 * Scripts/run-webkit-tests: added --guard-malloc option
944 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
946 2005-09-16 Justin Garcia <justin.garcia@apple.com>
950 Removed a script that is only used by apple internal developers
952 * Scripts/update-webkitsysteminterface: Removed.
954 2005-09-16 Adele Peterson <adele@apple.com>
958 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
960 2005-09-14 Darin Adler <darin@apple.com>
962 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
963 dumpAsText doesn't work with XHTML documents
965 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
966 rather than of the body element. This works with typical XHTML documents. We can probably
967 do something even better in the long run, but this fixes the immediate issue.
971 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
972 run-safari instead of just using "open", which often runs another copy of Safari instead.
974 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
976 Reviewed, tweaked, and landed by Darin.
978 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
979 .Mac prefpane crashes when Safari using CVS WebKit is running
981 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
982 * Scripts/run-webkit-app: Ditto.
984 2005-09-11 Darin Adler <darin@apple.com>
986 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
988 2005-09-11 Darin Adler <darin@apple.com>
992 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
993 two ways: 1) puts all files in a directory before any files in a subdirectory, and
994 2) sort file names with numeric digits in them in a logical way, so test-33 will come
997 2005-09-08 Justin Garcia <justin.garcia@apple.com>
1001 * Scripts/update-webkitsysteminterface: Added.
1002 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
1004 2005-09-01 John Sullivan <sullivan@apple.com>
1006 * Scripts/run-webkit-tests:
1007 Excluded a known system leak to reduce noise; added comments about which leaks
1010 2005-09-01 Tim Omernick <tomernick@apple.com>
1012 Change made by Darin, reviewed by John and myself.
1014 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
1016 * Scripts/prepare-ChangeLog:
1018 2005-08-31 Maciej Stachowiak <mjs@apple.com>
1022 - set color variant and font settings to a consistent value.
1023 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
1025 * DumpRenderTree/DumpRenderTree.m:
1028 2005-08-30 Eric Seidel <eseidel@apple.com>
1032 * Scripts/build-svg2png: Removed.
1033 * svg2png/ImageDiff.h: Removed.
1034 * svg2png/ImageDiff.m: Removed.
1035 * svg2png/svg2png.m: Removed.
1036 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
1037 * svg2png/svg2png_Prefix.pch: Removed.
1038 svg2png is no longer needed.
1040 2005-08-30 Darin Adler <darin@apple.com>
1042 * Scripts/check-dom-results: Special case 100% to say something nice.
1043 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
1044 applying the patch (need a better name).
1045 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
1047 2005-08-30 Darin Adler <darin@apple.com>
1049 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
1051 2005-08-29 Maciej Stachowiak <mjs@apple.com>
1055 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
1056 (some pixel tests fail when AA settings are changed)
1058 * DumpRenderTree/DumpRenderTree.m:
1059 (main): set AA settings to the default values
1061 2005-08-29 Darin Adler <darin@apple.com>
1063 Reviewed by John Sullivan.
1065 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
1066 executable -- much slower but can help pinpoint leaks. Changed formatting of some
1069 2005-08-28 Maciej Stachowiak <mjs@apple.com>
1073 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
1074 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
1076 * DumpRenderTree/DumpRenderTree.m:
1077 (main): set scrollbar arrow setting to a consistent value
1079 2005-08-27 Jussi Hagman <juhagman@abo.fi>
1081 Reviewed and landed by Darin.
1083 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
1084 output of update-webkit is too verbose
1086 * Scripts/update-webkit:
1087 Added option --quiet (-q) to decrease the amount of output.
1089 2005-08-27 Darin Adler <darin@apple.com>
1091 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
1092 cvs-create-patch --include-unknowns should ignore hidden files
1094 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
1096 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
1098 Reviewed, tweaked, and landed by Darin.
1100 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
1101 update-webkit doesn't notice when you have SVGSupport and update properly
1103 * Scripts/update-webkit: Build SVGSupport directory if it's present.
1105 2005-08-25 Anders Carlsson <andersca@mac.com>
1107 Reviewed and landed by Darin.
1109 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
1110 layout test machinery can't handle tests with applets that have code attributes
1112 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
1114 2005-08-24 Darin Adler <darin@apple.com>
1118 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
1119 DumpRenderTree --pixel-tests crash
1120 - landed some other small changes I had sitting in my tree
1122 * DumpRenderTree/DumpRenderTree.m:
1123 (main): Don't bother saving and restoring the preferences. Not sure
1124 why this was ever done since the preferences are specific to DumpRenderTree.
1125 Clear delegates before releasing the WebView, because you can't count on the
1126 order of object deallocation.
1127 (dumpRenderTree): Fix code that releases a string before storing it in a
1130 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
1131 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
1133 2005-08-23 Eric Seidel <eseidel@apple.com>
1137 * Scripts/run-webkit-tests:
1138 Made --leaks option more readable by printing to a file.
1139 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
1141 2005-08-22 Eric Seidel <eseidel@apple.com>
1142 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
1146 * Scripts/run-webkit-tests: hides "expected actual diffs" links
1147 when they are not needed (for pixel-only failures)
1148 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
1150 2005-08-22 Eric Seidel <eseidel@apple.com>
1154 * Scripts/run-webkit-tests: Added the ability to display more than
1155 just two images as part of the image-diff "slideshow".
1156 Added display of "-w3c.png" baseline images for SVG.
1157 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
1160 2005-08-20 Eric Seidel <eseidel@apple.com>
1162 * Scripts/run-webkit-tests:
1163 "build" fix after committing incorrect version.
1165 2005-08-20 Eric Seidel <eseidel@apple.com>
1169 * DumpRenderTree/DumpRenderTree.m:
1170 (main): cleans up delegates
1171 (dumpRenderTree): closes CFString/CFURL leak
1172 * Scripts/run-webkit-tests:
1173 Adds --leaks option to run-webkit-tests
1174 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
1176 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
1180 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
1181 new files to be included in the patch even without "cvs add".
1183 2005-08-19 Darin Adler <darin@apple.com>
1185 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
1186 non-cvs-generated patches. Anders has been creating these, so it's bad that
1187 the script can't handle them.
1188 * Scripts/cvs-unapply: Ditto.
1190 2005-08-18 Darin Adler <darin@apple.com>
1192 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
1193 "." in them -- based on complaint by someone here at Apple.
1195 2005-08-18 Eric Seidel <eseidel@apple.com>
1199 * Scripts/run-webkit-tests:
1200 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
1202 2005-08-17 Maciej Stachowiak <mjs@apple.com>
1204 - add file that I forgot in the last checkin
1206 * DumpRenderTree/ImageDiff.m: Added.
1208 (getImageFromStdin):
1210 (getDifferenceBitmap):
1211 (computePercentageDifferent):
1213 2005-08-17 Maciej Stachowiak <mjs@apple.com>
1215 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
1216 somewhat by me, and also tweaked by me a little bit.
1218 - better support for pixel-dumping
1219 - use checksums of the images so the tests are fast
1220 - change output format to make the tests run faster
1221 - don't dump pixel results for tests that dump as text
1223 * DumpKCanvasTree/DumpKCanvasTree.m:
1226 (md5HashStringForBitmap):
1228 (constrainSizeToMaximum):
1229 (getBitmapImageRepForSVGDocument):
1230 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
1231 * DumpRenderTree/DumpRenderTree.m:
1235 (md5HashStringForBitmap):
1236 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1237 * Scripts/run-webkit-tests:
1239 2005-08-17 Maciej Stachowiak <mjs@apple.com>
1243 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
1245 * DumpRenderTree/DumpRenderTree.m:
1248 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
1250 Reviewed and landed by Darin.
1252 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
1253 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
1255 * Scripts/run-safari: Pass arguments through to Safari on command line.
1256 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
1258 2005-08-11 Eric Seidel <eseidel@apple.com>
1259 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
1261 Reviewed by eseidel.
1263 * DrawTest/TestController.m:
1264 (-[TestController imagePathForSVGPath:]):
1265 Fixed support for using TextViewer with the layout-tests.
1266 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
1268 2005-08-11 Maciej Stachowiak <mjs@apple.com>
1270 At Least Roughly Glanced At by Anders.
1272 - fix change with totally breaks the layout tests.
1274 * DumpRenderTree/DumpRenderTree.m:
1275 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
1276 load, to avoid dumping twice accidentally.
1278 2005-08-10 Eric Seidel <eseidel@apple.com>
1279 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
1283 * DumpRenderTree/DumpRenderTree.m:
1284 Added support for rendering to a PNG file.
1285 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
1287 2005-08-07 Eric Seidel <eseidel@apple.com>
1291 * Scripts/run-webkit-tests: added --svg option
1292 * Scripts/run-webkit-tests-svg: Removed.
1293 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
1295 2005-08-07 Eric Seidel <eseidel@apple.com>
1296 Changes by Ben La Monica <ben.lamonica@gmail.com>
1300 * svg2png/ImageDiff.h: Added.
1301 * svg2png/ImageDiff.m: Added.
1302 (getDifferenceBitmap):
1303 (computePercentageDifferent):
1304 (saveAnimatedGIFToFile):
1305 * svg2png/svg2png.m:
1306 (usage): added several new options
1307 (getBitmapForSVG): added NSBitmapImageRep generation
1308 (main): various argument changes.
1309 * svg2png/svg2png.xcodeproj/project.pbxproj:
1310 Several additions to provide image differencing functionality.
1311 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
1313 2005-08-07 Eric Seidel <eseidel@apple.com>
1317 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
1318 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
1319 Adding the first SVG layout tests:
1320 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
1322 2005-08-07 Darin Adler <darin@apple.com>
1324 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
1326 2005-08-06 Eric Seidel <eseidel@apple.com>
1330 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
1331 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
1332 * Scripts/build-dumpkcanvastree: Added.
1333 * Scripts/run-webkit-tests-svg: Added.
1334 Adds a DumpRenderTree-like tool for SVG which allows us to do
1335 text-based layout regression testing. This (like most of the
1336 SVG specific stuff) is temporary and will be replaced by
1337 DumpRenderTree once the DOMs and RenderTrees merge.
1338 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
1340 2005-08-06 Eric Seidel <eseidel@apple.com>
1344 * DrawTest/DrawTestView.m:
1345 (-[DrawTestView toggleFilterSupport:]): missing negation.
1346 One half of fix for toggling filter support.
1347 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
1349 2005-08-04 Eric Seidel <eseidel@apple.com>
1353 * Scripts/build-drawtest:
1354 * Scripts/build-dumprendertree:
1355 * Scripts/build-svg2png:
1356 * Scripts/build-webcore-svg:
1357 * Scripts/build-webkit:
1358 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
1359 Added checkRequiredSystemConfig and made all the build-* scripts
1360 use it to print a pretty warning when trying to compile on an
1361 unsupported system (less than 10.4, Xcode 2.1).
1362 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
1364 2005-08-04 Darin Adler <darin@apple.com>
1366 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
1367 the dead. It was removed by accident when someone was trying to work on the branch.
1369 2005-07-31 Darin Adler <darin@apple.com>
1371 - a little tools cleanup
1373 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
1374 project as a whole. Removed unused Default configuration.
1376 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
1378 2005-07-31 Duncan Wilcox <duncan@mclink.it>
1380 Reviewed and landed by Darin Adler.
1382 Add logging of editing delegate calls for regression checking.
1384 * DumpRenderTree/DumpRenderTree.m:
1386 setup editing delegate
1388 (-[DOMNode dumpPath]):
1390 utility for editing delegate logging
1392 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1393 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1394 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1395 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1396 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1397 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1398 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1399 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1400 (-[EditingDelegate webViewDidBeginEditing:]):
1401 (-[EditingDelegate webViewDidChange:]):
1402 (-[EditingDelegate webViewDidEndEditing:]):
1403 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1404 log corresponding editing delegate methods
1406 (-[EditingDelegate webViewDidChangeSelection:]):
1407 log selection except when clearing selection after end of test (uses existing "done" flag)
1410 added clearing of selection after test
1412 2005-07-31 Eric Seidel <eseidel@apple.com>
1416 * Scripts/build-drawtest: Added.
1417 * Scripts/build-svg2png: Added.
1418 * Scripts/build-webcore-svg: Added.
1419 * Scripts/run-drawtest: Added.
1420 * Scripts/webkitdirs.pm: added checkSVGFrameworks
1421 Made it much easier to build WebCore+SVG.
1422 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
1424 2005-07-29 Eric Seidel <eseidel@apple.com>
1428 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1429 Build fix. Removed bad path.
1431 2005-07-29 Eric Seidel <eseidel@apple.com>
1433 Reviewed by sullivan.
1435 * DrawTest/AppDelegate.h: Added.
1436 * DrawTest/AppDelegate.m: Added.
1437 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
1438 * DrawTest/DrawTestDocument.h: Added.
1439 * DrawTest/DrawTestDocument.m: Added.
1440 * DrawTest/DrawTestInspectorController.h: Added.
1441 * DrawTest/DrawTestInspectorController.m: Added.
1442 * DrawTest/DrawTestToolbarController.h: Added.
1443 * DrawTest/DrawTestToolbarController.m: Added.
1444 * DrawTest/DrawTestView.h: Added.
1445 * DrawTest/DrawTestView.m: Added.
1446 * DrawTest/DrawTest_Prefix.pch: Added.
1447 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
1448 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
1449 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
1450 * DrawTest/English.lproj/InfoPlist.strings: Added.
1451 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
1452 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
1453 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
1454 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
1455 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
1456 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1457 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
1458 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
1459 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
1460 * DrawTest/Info.plist: Added.
1461 * DrawTest/SVGTest.h: Added.
1462 * DrawTest/SVGTest.m: Added.
1463 * DrawTest/ScalingImageView.h: Added.
1464 * DrawTest/ScalingImageView.m: Added.
1465 * DrawTest/TestController.h: Added.
1466 * DrawTest/TestController.m: Added.
1467 * DrawTest/TestViewerSplitView.h: Added.
1468 * DrawTest/TestViewerSplitView.m: Added.
1469 * DrawTest/main.m: Added.
1470 Adding simple cocoa app for testing SVG rendering, interaction.
1471 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
1473 2005-07-28 Eric Seidel <eseidel@apple.com>
1477 * svg2png/svg2png.m: Added.
1478 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
1479 * svg2png/svg2png_Prefix.pch: Added.
1480 Added a simple test tool which dumps a PNG from an SVG using
1481 WebCore+SVG's SVG rendering support.
1482 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
1484 2005-07-26 Maciej Stachowiak <mjs@apple.com>
1488 - new script to review the DOM layout test results and see where we stand
1489 on actual success and failure
1491 * Scripts/check-dom-results: Added.
1493 2005-07-25 Darin Adler <darin@apple.com>
1495 * Scripts/webkitdirs.pm: Check in missing line of code.
1497 2005-07-25 Darin Adler <darin@apple.com>
1499 - fixed problem that was causing JavaScriptCore test to fail
1500 (except for people who had set DYLD_FRAMEWORK_PATH)
1502 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
1503 Add code to parse configuration parameter so you can pass --deployment if you like.
1504 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
1506 * Scripts/update-javascriptcore-test-results: Add license header.
1508 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
1509 from @ARGV. This lets us use this option in commands that take other options and
1510 pass them along to a subsequent tool.
1512 2005-07-25 Darin Adler <darin@apple.com>
1514 Reviewed by Geoff Garen.
1516 - Fixed run-safari and gdb-safari to use the Safari application in the build results
1517 directory, if any, falling back to the one in the Applications directory otherwise.
1518 Does no harm for open source contributors who don't build Safari, and helps out the
1519 Safari team, since we do build Safari.
1521 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
1522 variable, and if that's not present, looks in either the build results directory or
1523 /Applications; factors code that was in both scripts before into a shared function.
1524 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
1525 now in Xcode 2.1 format and incompatible with older versions of Xcode.
1527 * Scripts/gdb-safari: Use safariPath.
1528 * Scripts/run-safari: Use safariPath.
1530 2005-07-22 Geoffrey Garen <ggaren@apple.com>
1532 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
1533 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
1535 Moved Tools/Scripts/update-mozilla-js-test-results to
1536 WebKitTools/Scripts/update-javascriptcore-test-results.
1540 * Scripts/run-javascriptcore-tests: Added.
1542 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1546 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
1548 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1550 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
1552 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1554 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
1556 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1558 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
1560 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1562 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
1564 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1566 * Scripts/build-webkit:
1568 2005-07-12 Eric Seidel <eseidel@apple.com>
1572 * checkout-svg: Fixed error with symlink creation.
1574 2005-07-12 Eric Seidel <eseidel@apple.com>
1578 * checkout-svg: Added.
1579 Script to check out WebCore+SVG
1581 2005-06-30 Darin Adler <darin@apple.com>
1583 Changes based on input from Michael Kahl.
1585 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
1586 specify different style of "diff".
1587 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
1588 determineConfigurationProductDir works in all cases.
1590 2005-06-29 Darin Adler <darin@apple.com>
1592 - fixed bug which would result in multiple unwanted dumps in a single layout test
1594 * DumpRenderTree/DumpRenderTree.m:
1595 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
1597 (-[LayoutTestController waitUntilDone]): Update for name change.
1598 (-[LayoutTestController notifyDone]): Dump only if ready.
1599 (dumpRenderTree): Set up new boolean and update for name change.
1601 2005-06-29 Darin Adler <darin@apple.com>
1603 Changes by Timothy Hatcher.
1606 * Scripts/run-webkit-app: Added script to open an arbritrary application with
1607 a CVS built WebKit. Example: ./run-webkit-app Colloquy
1609 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
1610 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
1611 * Scripts/run-safari: Ditto.
1613 2005-06-26 Darin Adler <darin@apple.com>
1615 * Scripts/build-dumprendertree: Pass -project option so that having a second
1616 copy of the project (like the one Xcode 2.1 offers to make for you) that's
1617 out of date won't screw you up.
1618 * Scripts/build-webkit: Ditto.
1620 2005-06-23 Darin Adler <darin@apple.com>
1622 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
1624 2005-06-23 Darin Adler <darin@apple.com>
1626 Changes based on input from Michael Kahl.
1628 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
1629 directory passed in.
1631 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
1632 getcwd() in the code to find the base product dir. Added code to handle unusual
1633 base product directory values that use SRCROOT.
1635 2005-06-22 Darin Adler <darin@apple.com>
1637 Change by Anders Carlsson.
1639 - added support for dumping title changes
1641 * DumpRenderTree/DumpRenderTree.m:
1642 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
1643 if requested by JavaScript.
1644 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
1645 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
1646 (dumpRenderTree): Start flag as NO.
1648 2005-06-20 Darin Adler <darin@apple.com>
1650 Reviewed by Justin Garcia.
1652 * Scripts/run-webkit-tests: Report number of tests when they succeed.
1654 2005-06-18 Darin Adler <darin@apple.com>
1656 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
1657 in the hope of making the tool use less memory and run faster.
1659 2005-06-18 Darin Adler <darin@apple.com>
1661 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
1662 * Scripts/cvs-unapply: Ditto.
1664 2005-06-17 Maciej Stachowiak <mjs@apple.com>
1666 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
1667 benefit of all WebKit hackerdom
1669 * Scripts/prepare-ChangeLog: Added.
1671 2005-06-16 Darin Adler <darin@apple.com>
1673 - recent changes to XcodeOptions made it depend on the current directory
1674 The intent was to have the WebKitBuild directory be next to WebKitTools,
1675 not inside the various build directories. Workaround for now is to call
1676 XcodeOptions when the directory is set to the WebKit directory.
1678 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
1679 at the start of the script.
1680 * Scripts/build-webkit: Ditto.
1682 2005-06-15 Darin Adler <darin@apple.com>
1684 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
1686 2005-06-14 Darin Adler <darin@apple.com>
1688 Changes by Anders Carlsson.
1691 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
1692 Add gdb-safari script to launch Safari under gdb
1694 * Scripts/gdb-safari: Added.
1696 2005-06-12 Darin Adler <darin@apple.com>
1698 Changes by Stuart Morgan.
1701 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
1702 * Scripts/cvs-apply: Ditto.
1703 * Scripts/cvs-create-patch: Ditto.
1704 * Scripts/cvs-unapply: Ditto.
1705 * Scripts/run-webkit-tests: Ditto.
1706 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
1708 2005-06-12 Darin Adler <darin@apple.com>
1710 * Scripts/cvs-apply: Handle case of an empty patch better.
1711 * Scripts/cvs-unapply: Ditto.
1713 2005-06-12 Darin Adler <darin@apple.com>
1715 Changes by Michael Gaiman.
1718 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
1719 WebKit no longer builds after configuration supporting build changes
1721 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
1723 2005-06-12 Darin Adler <darin@apple.com>
1725 * Scripts/update-webkit: Make this script work when called from any directory.
1727 2005-06-12 Darin Adler <darin@apple.com>
1730 Includes changes by Stuart Morgan as well as my own.
1732 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
1733 symrootXcodeOptions to set the -buildstyle option.
1734 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
1735 The new --development option does the same thing.
1736 * Scripts/run-safari: Ditto.
1737 * Scripts/run-webkit-tests: Ditto.
1738 * Scripts/update-webkit: Ditto.
1739 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
1741 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
1742 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
1743 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
1744 product directory. Read the default configuration from a file, overridable by a passed-in command-line
1747 2005-06-11 Darin Adler <darin@apple.com>
1749 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
1750 to execute the cvs diff commands.
1752 2005-06-11 Darin Adler <darin@apple.com>
1754 - added first cuts at some cvs scripts
1756 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
1757 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
1758 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
1759 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
1761 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
1763 * Scripts/cvs-abandon: Added.
1764 * Scripts/cvs-apply: Added.
1765 * Scripts/cvs-create-patch: Added.
1766 * Scripts/cvs-unapply: Added.
1768 2005-06-09 Darin Adler <darin@apple.com>
1772 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
1773 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
1775 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
1776 for Foundation.framework. How was it ever wrong?
1778 - finally, I tested making the default build directory work; it works now
1780 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
1781 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
1782 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
1783 * Scripts/build-dumprendertree: Ditto.
1785 2005-06-09 Darin Adler <darin@apple.com>
1787 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
1788 work. Someone should try building without setting the Xcode build product directory now,
1789 and let me know if it works.
1791 2005-06-08 Darin Adler <darin@apple.com>
1793 - quick fix to try to get build scripts working again
1795 * Scripts/build-dumprendertree: Add FindBin.
1796 * Scripts/build-webkit: Ditto.
1797 * Scripts/run-safari: Ditto.
1798 * Scripts/run-webkit-tests: Ditto.
1799 * Scripts/update-webkit: Ditto.
1801 2005-06-08 Darin Adler <darin@apple.com>
1805 - some build script enhancements
1807 * Scripts/build-dumprendertree: Changed to use webkitdirs.
1808 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
1810 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
1811 before Deplyment in that case.
1812 * Scripts/run-webkit-tests: Changed to use webkitdirs.
1813 * Scripts/update-webkit: Changed to use webkitdirs.
1815 * Scripts/webkitdirs.pm: Added.
1817 2005-06-08 Maciej Stachowiak <mjs@apple.com>
1819 Code change by Toby Peterson <toby@opendarwin.org>
1822 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
1823 get confused because build-webkit now makes even 2.0 build directories look
1826 2005-06-07 Darin Adler <darin@apple.com>
1828 Reviewed by Adele Peterson.
1830 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
1831 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
1832 so we can run tests with Xcode 2.1.
1834 2005-06-07 Darin Adler <darin@apple.com>
1836 Reviewed by Adele Peterson.
1838 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
1839 layout-tests directory to include additional sets of tests.
1841 2005-06-07 Darin Adler <darin@apple.com>
1843 * checkout: Added license.
1844 * Scripts/build-dumprendertree: Ditto.
1845 * Scripts/run-webkit-tests: Ditto.
1846 * Scripts/update-webkit: Ditto.
1848 2005-06-07 Darin Adler <darin@apple.com>
1850 Change by Toby Peterson <toby@opendarwin.org>.
1853 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
1854 * Scripts/run-safari: Ditto.
1856 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1858 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
1860 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1862 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
1864 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1866 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
1868 2005-06-05 Darin Adler <darin@apple.com>
1870 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
1871 * Scripts/build-dumprendertree: Added.
1872 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
1873 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
1875 2005-06-05 Darin Adler <darin@apple.com>
1877 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
1879 2005-06-05 Darin Adler <darin@apple.com>
1881 - add run-webkit-tests script; not working yet but the pieces are there
1883 * Scripts/run-webkit-tests: Added.
1885 * DumpRenderTree/DumpRenderTree.m: Added.
1886 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
1887 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
1888 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
1890 2005-06-05 Darin Adler <darin@apple.com>
1892 - created module, first cut at Web Kit Open Source Project scripts
1895 * Scripts/build-webkit: Added.
1896 * Scripts/run-safari: Added.
1897 * Scripts/update-webkit: Added.
1900 === creation of WebKitTools module ===