1 2006-02-18 Maciej Stachowiak <mjs@apple.com>
5 - Added install-win-extras script which installs some extra
6 programs and libraries, and does Windows first-time setup.
8 * Scripts/build-webkit: Add a newline between build results.
9 * Scripts/install-win-extras: Added.
11 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
15 - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
16 DumpRenderTree should be able to load files via HTTP
18 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
19 Handle tests starting with "http://" as real URLs, not file system paths.
21 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
25 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
26 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
28 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
30 2006-02-18 Darin Adler <darin@apple.com>
32 * Scripts/commit-log-editor: Added.
34 2006-02-17 Eric Seidel <eseidel@apple.com>
38 Make Win32 have the same default "WebKitBuild" directory behavior.
40 * Scripts/build-webkit:
41 * Scripts/webkitdirs.pm:
43 2006-02-17 Eric Seidel <eseidel@apple.com>
47 * Scripts/build-webkit: make win32 actually report errors
49 2006-02-17 Eric Seidel <eseidel@apple.com>
53 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
55 2006-02-17 Eric Seidel <eseidel@apple.com>
59 * Scripts/run-webkit-tests: Ignore flash leaks
61 2006-02-15 Justin Garcia <justin.garcia@apple.com>
65 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
66 Add drag and drop support to DumpRenderTree
68 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
69 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
71 * DumpRenderTree/DumpRenderTree.m:
73 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
74 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
75 (-[WaitUntilDoneDelegate webViewFocus:]):
76 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
77 (+[LayoutTestController webScriptNameForSelector:]):
78 (-[LayoutTestController setWindowIsKey:]):
79 (-[LayoutTestController setMainFrameIsFirstResponder:]):
80 (-[EventSendingController init]):
81 (-[EventSendingController mouseDown]):
82 (-[EventSendingController mouseUp]):
83 (-[EventSendingController mouseMoveToX:Y:]):
85 (-[DumpRenderTreeWindow isKeyWindow]):
86 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
87 (-[DumpRenderTreeDraggingInfo dealloc]):
88 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
89 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
90 (-[DumpRenderTreeDraggingInfo draggingLocation]):
91 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
92 (-[DumpRenderTreeDraggingInfo draggedImage]):
93 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
94 (-[DumpRenderTreeDraggingInfo draggingSource]):
95 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
96 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
97 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
98 * DumpRenderTree/TextInputController.m:
99 (-[TextInputController firstRectForCharactersFrom:length:]):
100 (-[TextInputController characterIndexForPointX:Y:]):
102 2006-02-15 Geoffrey Garen <ggaren@apple.com>
106 * DumpRenderTree/DumpRenderTree.m:
107 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
108 Added a dummy method for the sake of LayoutTests/plugins/
109 undefined-property-crash.html. (It tests a crash due to fallback
110 object use. WebCore won't create a fallback object if the method is
113 2006-02-14 Eric Seidel <eseidel@apple.com>
117 * Scripts/run-webkit-tests: added --results-directory (-o) option
119 2006-02-09 Eric Seidel <eseidel@apple.com>
121 Rubber-stamped by mjs.
123 Renamed split-class to split-file-by-class.
125 * Scripts/build-webkit: Updated copyright.
126 * Scripts/split-class: Removed.
127 * Scripts/split-file-by-class: Added.
129 2006-02-08 Eric Seidel <eseidel@apple.com>
131 Rubber-stamped by mjs.
133 Adding new script for splitting multi-class files.
134 Also adding supporting perl module with space removing heuristics.
136 * Scripts/SpacingHeuristics.pm: Added.
137 * Scripts/build-drawtest: updated copyright header
138 * Scripts/split-class: Added.
140 2006-02-08 Justin Garcia <justin.garcia@apple.com>
144 Changes to test fix for:
145 <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
146 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
148 * DumpRenderTree/DumpRenderTree.m:
149 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
150 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
151 (+[LayoutTestController webScriptNameForSelector:]):
152 (-[LayoutTestController setWindowHasFocus:]):
153 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
155 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
159 Support automated testing of AppleScript "do JavaScript" command
160 http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
162 * DumpRenderTree/AppleScriptController.h: Added.
163 * DumpRenderTree/AppleScriptController.m: Added.
164 * DumpRenderTree/DumpRenderTree.m:
165 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
166 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
168 2006-02-06 Eric Seidel <eseidel@apple.com>
172 Fix build-webkit for use on win32 (unblocks buildbot usage).
173 http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
175 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
176 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
178 2006-02-06 Eric Seidel <eseidel@apple.com>
180 Rubber-stamped by darin & mjs.
182 Added new support directory for build slave scripts.
183 Committing the first script, for use by the PLT's build slave.
184 This script is used to kick of the PLT (Page Load Test) slave.
186 * BuildSlaveSupport: Added.
187 * BuildSlaveSupport/run-performance-tests: Added.
189 2006-02-06 Eric Seidel <eseidel@apple.com>
191 Rubber-stamped by darin.
193 Adding setSourceDir for scripts stored in non-standard locations.
195 * Scripts/webkitdirs.pm:
197 2006-02-04 Darin Adler <darin@apple.com>
199 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
200 Configuration files that say Development or Deployment in them.
202 2006-02-04 Darin Adler <darin@apple.com>
204 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
205 wrapper already in the directory.
206 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
207 these haven't been working at all.
208 * Scripts/svn-unapply: Ditto.
210 2006-02-03 Timothy Hatcher <timothy@apple.com>
214 Renamed configuration names to Debug, Release and Production.
216 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
217 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
218 * Scripts/set-webkit-configuration:
219 * Scripts/webkitdirs.pm:
221 2006-02-02 Justin Garcia <justin.garcia@apple.com>
225 Enabled spell checking for layout tests.
227 * DumpRenderTree/DumpRenderTree.m:
230 2006-01-29 Darin Adler <darin@apple.com>
232 * Scripts/svn-apply: Added comments about things we should do to improve.
233 * Scripts/svn-create-patch: Ditto.
234 * Scripts/svn-unapply: Ditto.
236 2006-01-28 Darin Adler <darin@apple.com>
238 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
239 already there, even if the checksum is correct.
241 2006-01-27 Eric Seidel <eseidel@apple.com>
245 * Scripts/run-webkit-tests: make new tests use absolute urls
247 2006-01-27 Eric Seidel <eseidel@apple.com>
251 make run-webkit-tests output total leaks count
253 * Scripts/run-webkit-tests:
255 2006-01-27 Eric Seidel <eseidel@apple.com>
259 run-webkit-test --leaks crashes (malloc logging runs out of memory)
260 http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
262 * Scripts/run-webkit-tests: fix --leaks to not crash
264 2006-01-26 Eric Seidel <eseidel@apple.com>
268 run-webkit-tests should produce a self-contained results directory
269 http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
271 * Scripts/run-webkit-tests: copy failing items to results dir.
273 2006-01-23 Darin Adler <darin@apple.com>
275 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
276 need script to update localizable strings file in WebKit
278 * Scripts/update-webkit-localizable-strings: Added.
280 2006-01-23 Darin Adler <darin@apple.com>
282 - added a couple of scripts -- more about these two soon
284 * Scripts/extract-localizable-strings: Added.
285 * Scripts/merge-changelog: Added.
287 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
291 Build fix. build-webkit dies with "invalid build action: (empty string)"
293 * Scripts/build-webkit:
294 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
296 2006-01-22 Eric Seidel <eseidel@apple.com>
300 Fix --no-svg option to use XCode flags instead of gcc flags.
302 * Scripts/build-webkit:
304 2006-01-22 Eric Seidel <eseidel@apple.com>
308 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
310 * Scripts/build-webkit:
312 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
316 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
317 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
319 * Scripts/build-drawtest: Changed bareword 'true' to 1.
320 * Scripts/run-drawtest: Changed bareword 'true' to 1.
322 2006-01-19 Darin Adler <darin@apple.com>
324 * Scripts/report-include-statistics: Added a new script.
326 2006-01-19 Timothy Hatcher <timothy@apple.com>
328 * Scripts/build-webkit: include JavaScriptGlue in the build
330 2006-01-19 Darin Adler <darin@apple.com>
332 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
333 spaces in it by using the form of open that treats each argument as a string
334 rather than backtick syntax for reading the output of the nm tool.
336 2006-01-12 Maciej Stachowiak <mjs@apple.com>
340 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
341 detect if there are any new tests
343 * Scripts/prepare-ChangeLog:
345 2006-01-12 Darin Adler <darin@apple.com>
347 - removed some of the cvs-specific scripts -- not needed for this project any more
349 * Scripts/cvs-abandon: Removed.
350 * Scripts/cvs-apply: Removed.
351 * Scripts/cvs-create-patch: Removed.
352 * Scripts/cvs-unapply: Removed.
354 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
356 Reviewed by eseidel. Committed by eseidel.
358 - run-webkit-tests always launches Safari when tests fail
359 http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
361 * Scripts/run-webkit-tests:
362 Add a command-line flag to prevent Safari being launched to display failed
363 tests. Always exit with non-zero status when tests have failed.
365 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
367 Reviewed by eseidel. Committed by eseidel.
369 - build-webkit should exit with non-zero status when build fails
370 http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
372 * Scripts/build-webkit:
373 Use correct bits of subprocess exit code when passing back through
374 as build-webkit's exit code.
376 2006-01-10 Eric Seidel <eseidel@apple.com>
378 Restored corrupted nibs from TOT CVS.
380 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
381 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
382 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
383 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
384 * DrawTest/English.lproj/Inspector.nib: Replaced.
385 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
386 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
387 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
388 * DrawTest/English.lproj/MainMenu.nib: Replaced.
389 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
390 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
391 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
392 * DrawTest/English.lproj/TestViewer.nib: Replaced.
393 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
394 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
395 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
397 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
399 Reviewed by eseidel. Committed by eseidel.
401 DrawTestView now subclasses WebView instead of DrawView.
403 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
404 * DrawTest/DrawTestDocument.h:
405 * DrawTest/DrawTestDocument.m:
406 (-[DrawTestDocument dealloc]):
407 (-[DrawTestDocument readFromFile:ofType:]):
408 (-[DrawTestDocument windowControllerDidLoadNib:]):
409 (-[DrawTestDocument dumpSVGToConsole:]):
410 (-[DrawTestDocument openSourceForSelection:]):
411 (-[DrawTestDocument dataRepresentationOfType:]):
412 * DrawTest/DrawTestToolbarController.h:
413 * DrawTest/DrawTestToolbarController.m:
414 (-[DrawTestToolbarController initWithDrawView:]):
415 (-[DrawTestToolbarController clickedToolbarItem:]):
416 (-[DrawTestToolbarController validateToolbarItem:]):
417 * DrawTest/DrawTestView.h:
418 * DrawTest/DrawTestView.m:
419 (-[DrawTestView initWithFrame:]):
420 (-[DrawTestView setDocument:]):
421 * DrawTest/SVGTest.h:
422 * DrawTest/SVGTest.m:
423 (+[SVGTest sharedDrawView]):
424 (-[SVGTest generateCompositeIfNecessary]):
425 * DrawTest/TestController.h:
426 * DrawTest/TestController.m:
427 (-[TestController awakeFromNib]):
428 (-[TestController setSelectedTest:]):
429 (-[TestController openTestViewerForSelection:]):
430 (-[TestController toggleViewersScaleRule:]):
431 * DrawTest/TestViewerSplitView.m:
432 (-[TestViewerSplitView drawRect:]):
434 2006-01-10 Anders Carlsson <andersca@mac.com>
438 * DumpRenderTree/DumpRenderTree.m:
439 (main): Set the default language to "en", so language tests will work.
441 2006-01-08 Maciej Stachowiak <mjs@apple.com>
445 - script to generate HTML wrappers for JS tests
446 http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
448 * Scripts/make-js-test-wrappers: Added.
450 2006-01-08 Maciej Stachowiak <mjs@apple.com>
454 * Scripts/svn-create-patch: Fix to work when passed directory names.
456 2006-01-08 Geoffrey Garen <ggaren@apple.com>
460 - Added back/forward navigation support to DumpRenderTree. Hopefully we
461 can start writing automated loader tests now. I have one in the works.
463 * DumpRenderTree/DumpRenderTree.m:
464 (main): Construct global navigationController on entry, destroy on exit.
465 Set frame to nil on exit too, to match all the other global objects.
466 (Probably academic, since the process is exiting, anyway.)
467 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
468 navigationController, in case it wants to kick off a load.
469 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
470 the navigationController to scripting.
472 New class, should be straightforward:
474 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
475 * DumpRenderTree/NavigationController.h: Added.
476 * DumpRenderTree/NavigationController.m: Added.
478 (+[NavigationController isSelectorExcludedFromWebScript:]):
479 (+[NavigationController webScriptNameForSelector:]):
480 (-[NavigationController setPendingScript:]):
481 (-[NavigationController setPendingRequest:]):
482 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
483 (-[NavigationController webView:didFinishLoadForFrame:]):
484 (-[NavigationController dealloc]):
486 2006-01-08 Timothy Hatcher <timothy@apple.com>
488 Removed this script, no longer needs with the Subversion switch.
492 2006-01-08 Timothy Hatcher <timothy@apple.com>
494 Removes some stray tabs.
496 * Scripts/update-webkit:
498 2005-01-07 Eric Seidel <eseidel@apple.com>
502 build-webkit should pass on build arguments from command line
503 http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
505 * Scripts/build-webkit:
507 2006-01-07 Eric Seidel <eseidel@apple.com>
509 Reviewed by mjs & xenon.
511 * Scripts/update-webkit: support Internal updates as well
513 2006-01-06 Geoffrey Garen <ggaren@apple.com>
515 Temporarily rolling out plugin support from DumpRenderTree because it
516 caused lots of layout test regressions.
518 * DumpRenderTree/DumpRenderTree.m:
519 (main): Remove invisible window added to support plugins.
521 2006-01-06 Geoffrey Garen <ggaren@apple.com>
525 - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
526 Add plugin support to DumpRenderTree
528 Also wrote first test plugin.
530 * DumpRenderTree/DumpRenderTree.m:
532 (1) Put the WebView in an invisible window, because PlugIns are
533 optimized not to load if there's no parent window.
534 (2) Tell WebKit to load any PlugIns in the directory from which we
535 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
536 and they'll load automagically during layout testing, but they won't be
537 added to the user's system, hosing apps like Safari.
539 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
540 test PlugIn to project.
542 PlugIn added to project:
544 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
545 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
547 (initializeIdentifiers):
553 (pluginInvokeDefault):
557 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
558 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
576 2006-01-04 Timothy Hatcher <timothy@apple.com>
580 Tweaked and tested by me.
582 New scripts to work with Subversion when the switch happens.
583 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
585 * Scripts/svn-apply: Added.
586 * Scripts/svn-create-patch: Added.
587 * Scripts/svn-unapply: Added.
589 2005-12-30 Eric Seidel <eseidel@apple.com>
593 Move WebView width/height logic into DumpRenderTree to support
594 running the W3C SVG 1.1 tests along side other tests. The W3C
595 SVG 1.1 tests require a 480x360 view.
597 * DumpRenderTree/DumpRenderTree.m:
598 (main): don't accept width/height
599 (dump): override width/height for SVG/W3C
600 * Scripts/run-webkit-tests: don't pass width/height
602 2005-12-30 Eric Seidel <eseidel@apple.com>
604 No review, only removing dead code.
606 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
607 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
609 2005-12-30 Eric Seidel <eseidel@apple.com>
613 DumpRenderTree should set a consistent color profile while running
614 http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
616 Creates consistent colormatched renderings on every test machine
617 using the only way possible with Tiger APIs: by setting the
618 system color profile on the test machine for the duration of the
619 tests. This will (unfortunately) cause colors to change while
620 running DumpRenderTree. This can also cause "permanent" color
621 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
622 This is far from ideal, but it's be best way we've found to deal
623 with the issue for now.
625 * DumpRenderTree/DumpRenderTree.m:
627 (setDefaultColorProfileToRGB):
630 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
632 Reviewed by Darin Adler.
634 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
635 cvs-create-patch --include produces incorrect paths
637 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
639 2005-12-19 Eric Seidel <eseidel@apple.com>
643 * Scripts/run-webkit-tests: stop /etc/catalog warnings
645 2005-12-19 Darin Adler <darin@apple.com>
647 Reviewed by Eric Seidel.
649 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
650 WebKit needs to use a local pasteboard during testing
652 * DumpRenderTree/DumpRenderTree.m:
653 (main): Call poseAs to substitute our NSPasteboard class for the default one.
654 Create a local pasteboard (really a global one with a unique name) and release
655 it when exiting from the function so we don't leave it in the pasteboard server.
656 (dumpRenderTree): Added an autorelease pool around one small bit of code that
657 ddn't have one. Fixed a leak in an unlikely error case.
658 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
659 of this method to return our local pasteboard.
661 2005-12-15 Eric Seidel <eseidel@apple.com>
663 Reviewed by Tim Hatcher.
665 * Scripts/build-webkit: --svg is now default!
667 2005-12-15 Eric Seidel <eseidel@apple.com>
671 Don't run svg test automatically if +SVG is built (yet).
673 * Scripts/run-webkit-tests:
675 2005-12-15 Darin Adler <darin@apple.com>
677 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
678 support is not compiled in. Report the 10 slowest tests if "--slowest" is
679 passed on the command line.
681 2005-12-06 John Sullivan <sullivan@apple.com>
683 Reviewed by Darin Adler.
685 * Scripts/prepare-ChangeLog:
686 Remove special-case handling for nib files. This avoided trouble with cvs diff
687 when we were using wrappers for nib files. Now that we aren't using wrappers,
688 there's no reason to avoid adding the modified nib files to the file list that
691 2005-12-05 Eric Seidel <eseidel@apple.com>
695 Script updates for SVG files move (remove references to SVGSupport)
697 * Scripts/build-webkit: remove SVGSupport
698 * Scripts/run-webkit-tests: Resources -> resources for --svg
699 * Scripts/update-webkit: remove SVGSupport
701 2005-12-05 Eric Seidel <eseidel@apple.com>
705 * checkout: remove --svg support, SVG is now checked out by default
707 2005-11-29 Eric Seidel <eseidel@apple.com>
711 Update scripts to run SVG tests automatically (w/o --svg) if
712 WebCore is built with SVG support.
714 * Scripts/build-drawtest: SVG support required
715 * Scripts/build-dumpkcanvastree: Removed.
716 * Scripts/run-drawtest: SVG support required to run
717 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
718 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
720 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
722 Reviewed by Darin. Committed by Maciej.
724 - fixed "DumpRenderTree should test for Ahem before doing anything else"
725 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
727 * DumpRenderTree/DumpRenderTree.m:
730 2005-11-28 Eric Seidel <eseidel@apple.com>
732 Reviewed by sullivan and GGAREN.
734 Minor additions to make error messages more clear from cvs-apply.
736 * Scripts/cvs-apply: make errors more clear
738 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
740 Reviewed and committed by Maciej.
742 - fixed cvs-create-patch --include produces incorrect paths
743 (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
745 * Scripts/cvs-create-patch: produce proper paths for new files.
747 2005-11-21 Eric Seidel <eseidel@apple.com>
751 Some simple fixes to the build/test scripts now that SVG uses the
752 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
753 or symlinks for KDOM.
755 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
756 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
757 * Scripts/run-webkit-tests: now runs SVG tests using DRT
758 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
759 * checkout: no longer symlink kdom
761 2005-11-10 Eric Seidel <eseidel@apple.com>
765 * Scripts/build-webkit: Pass through options to xcodebuild
767 2005-11-07 Darin Adler <darin@apple.com>
769 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
771 2005-11-03 John Sullivan <sullivan@apple.com>
775 * Scripts/run-safari:
776 changed message to say "Starting Safari" instead of odd "Start Safari"
777 * Scripts/run-webkit-tests:
778 changed the way we pass the file parameter to use -NSOpen rather than relying on
779 unlabeled arguments being treated as files. This was failing on some machines that
780 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
782 2005-10-27 Geoffrey Garen <ggaren@apple.com>
784 Patch by Alexey Proskuryakov.
788 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
789 TextInputController should support attributed strings
791 * DumpRenderTree/TextInputController.m:
792 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
793 (+[NSMutableAttributedString webScriptNameForSelector:]):
794 (-[NSMutableAttributedString getLength]):
795 (-[NSMutableAttributedString attributeNamesAtIndex:]):
796 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
797 (-[NSMutableAttributedString addAttribute:value:]):
798 (-[NSMutableAttributedString addAttribute:value:from:length:]):
799 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
800 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
801 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
802 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
803 (+[TextInputController isSelectorExcludedFromWebScript:]):
804 (+[TextInputController webScriptNameForSelector:]):
805 (-[TextInputController insertText:]):
806 (-[TextInputController attributedSubstringFrom:length:]):
807 (-[TextInputController attributedStringWithString:]):
809 2005-10-11 Eric Seidel <eseidel@apple.com>
813 Checks for leaks in ImageDiff too.
815 * Scripts/run-webkit-tests:
817 2005-10-09 Darin Adler <darin@apple.com>
819 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
820 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
821 * Scripts/cvs-unapply: Ditto.
822 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
824 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
826 Reviewed, rearranged and landed by Darin.
828 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
829 Need a way to automatically test for regressions in NSTextInput implementation
831 * DumpRenderTree/DumpRenderTree.m:
832 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
833 Create a text input controller and put it in a property of the window object.
835 * DumpRenderTree/TextInputController.h: Added.
836 * DumpRenderTree/TextInputController.m: Added.
837 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
839 2005-10-06 Darin Adler <darin@apple.com>
841 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
842 are controlled by cvs, or when changes cross multiple repositories.
843 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
845 2005-10-03 Eric Seidel <eseidel@apple.com>
849 Make mouseDown and mouseUp force layout before acting.
850 This is used by a new test case for 4233558.
852 * DumpRenderTree/DumpRenderTree.m:
853 (-[EventSendingController mouseDown]): force layout
854 (-[EventSendingController mouseUp]): force layout
856 2005-09-30 Eric Seidel <eseidel@apple.com>
860 Updated all the scripts for the move:
861 WebCore/layout-tests -> LayoutTests
863 * Scripts/check-dom-results:
864 * Scripts/prepare-ChangeLog:
865 * Scripts/run-webkit-tests:
866 * Scripts/update-webkit: added --no-tests
867 * checkout: added --no-tests
869 2005-09-28 Darin Adler <darin@apple.com>
871 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
872 pixel test should run even if render trees differ
874 * Scripts/run-webkit-tests: Don't check if the text dump matches.
876 2005-09-27 Eric Seidel <eseidel@apple.com>
878 No review needed, SVG build fix only.
880 * DumpKCanvasTree/DumpKCanvasTree.m:
881 Missed one in my previous checkin.
882 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
884 2005-09-26 Eric Seidel <eseidel@apple.com>
886 No review needed, SVG build fix only.
888 * DrawTest/DrawTestDocument.m:
889 * DrawTest/DrawTestToolbarController.m:
890 * DrawTest/DrawTestView.h:
891 * DrawTest/DrawTestView.m:
892 * DrawTest/SVGTest.m:
893 * DrawTest/TestController.m:
894 Updated for WebCore+SVG -> WebCore rename.
895 http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
897 2005-09-26 Eric Seidel <eseidel@apple.com>
901 * DumpRenderTree/DumpRenderTree.m:
902 (dump): updated error message
903 * Scripts/check-dom-results: now includes xhtml
904 Tool updates for xhtml.
905 http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
907 2005-09-22 Duncan Wilcox <duncan@mclink.it>
912 - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
913 "Would like to simulate human interaction with webview"
915 * DumpRenderTree/DumpRenderTree.m:
916 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
917 (+[EventSendingController isSelectorExcludedFromWebScript:]):
918 (+[EventSendingController webScriptNameForSelector:]):
919 (-[EventSendingController init]):
920 (-[EventSendingController mouseDown]):
921 (-[EventSendingController mouseUp]):
922 (-[EventSendingController mouseMoveToX:Y:]):
923 Add eventSender javascript object, that sends fake mouse events to the webview.
925 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
926 link with Carbon.framework
928 2005-09-22 Eric Seidel <eseidel@apple.com>
932 Update tools for WebCore+SVG -> WebCore rename.
933 Also fold several SVG specific tools into their original
934 WebCore counterparts.
935 http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
937 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
938 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
939 * Scripts/build-drawtest:
940 * Scripts/build-dumpkcanvastree:
941 * Scripts/build-webcore-svg: Removed.
942 * Scripts/build-webkit: added --svg option
943 * Scripts/run-drawtest:
944 * Scripts/run-webkit-tests:
945 * Scripts/webkitdirs.pm: various additions.
946 * checkout: added --svg option
947 * checkout-svg: Removed.
949 2005-09-19 Eric Seidel <eseidel@apple.com>
953 * Scripts/run-webkit-tests: added --guard-malloc option
954 http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
956 2005-09-16 Justin Garcia <justin.garcia@apple.com>
960 Removed a script that is only used by apple internal developers
962 * Scripts/update-webkitsysteminterface: Removed.
964 2005-09-16 Adele Peterson <adele@apple.com>
968 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
970 2005-09-14 Darin Adler <darin@apple.com>
972 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
973 dumpAsText doesn't work with XHTML documents
975 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
976 rather than of the body element. This works with typical XHTML documents. We can probably
977 do something even better in the long run, but this fixes the immediate issue.
981 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
982 run-safari instead of just using "open", which often runs another copy of Safari instead.
984 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
986 Reviewed, tweaked, and landed by Darin.
988 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
989 .Mac prefpane crashes when Safari using CVS WebKit is running
991 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
992 * Scripts/run-webkit-app: Ditto.
994 2005-09-11 Darin Adler <darin@apple.com>
996 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
998 2005-09-11 Darin Adler <darin@apple.com>
1002 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
1003 two ways: 1) puts all files in a directory before any files in a subdirectory, and
1004 2) sort file names with numeric digits in them in a logical way, so test-33 will come
1007 2005-09-08 Justin Garcia <justin.garcia@apple.com>
1011 * Scripts/update-webkitsysteminterface: Added.
1012 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
1014 2005-09-01 John Sullivan <sullivan@apple.com>
1016 * Scripts/run-webkit-tests:
1017 Excluded a known system leak to reduce noise; added comments about which leaks
1020 2005-09-01 Tim Omernick <tomernick@apple.com>
1022 Change made by Darin, reviewed by John and myself.
1024 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
1026 * Scripts/prepare-ChangeLog:
1028 2005-08-31 Maciej Stachowiak <mjs@apple.com>
1032 - set color variant and font settings to a consistent value.
1033 (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
1035 * DumpRenderTree/DumpRenderTree.m:
1038 2005-08-30 Eric Seidel <eseidel@apple.com>
1042 * Scripts/build-svg2png: Removed.
1043 * svg2png/ImageDiff.h: Removed.
1044 * svg2png/ImageDiff.m: Removed.
1045 * svg2png/svg2png.m: Removed.
1046 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
1047 * svg2png/svg2png_Prefix.pch: Removed.
1048 svg2png is no longer needed.
1050 2005-08-30 Darin Adler <darin@apple.com>
1052 * Scripts/check-dom-results: Special case 100% to say something nice.
1053 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
1054 applying the patch (need a better name).
1055 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
1057 2005-08-30 Darin Adler <darin@apple.com>
1059 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
1061 2005-08-29 Maciej Stachowiak <mjs@apple.com>
1065 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
1066 (some pixel tests fail when AA settings are changed)
1068 * DumpRenderTree/DumpRenderTree.m:
1069 (main): set AA settings to the default values
1071 2005-08-29 Darin Adler <darin@apple.com>
1073 Reviewed by John Sullivan.
1075 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
1076 executable -- much slower but can help pinpoint leaks. Changed formatting of some
1079 2005-08-28 Maciej Stachowiak <mjs@apple.com>
1083 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
1084 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
1086 * DumpRenderTree/DumpRenderTree.m:
1087 (main): set scrollbar arrow setting to a consistent value
1089 2005-08-27 Jussi Hagman <juhagman@abo.fi>
1091 Reviewed and landed by Darin.
1093 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
1094 output of update-webkit is too verbose
1096 * Scripts/update-webkit:
1097 Added option --quiet (-q) to decrease the amount of output.
1099 2005-08-27 Darin Adler <darin@apple.com>
1101 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
1102 cvs-create-patch --include-unknowns should ignore hidden files
1104 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
1106 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
1108 Reviewed, tweaked, and landed by Darin.
1110 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
1111 update-webkit doesn't notice when you have SVGSupport and update properly
1113 * Scripts/update-webkit: Build SVGSupport directory if it's present.
1115 2005-08-25 Anders Carlsson <andersca@mac.com>
1117 Reviewed and landed by Darin.
1119 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
1120 layout test machinery can't handle tests with applets that have code attributes
1122 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
1124 2005-08-24 Darin Adler <darin@apple.com>
1128 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
1129 DumpRenderTree --pixel-tests crash
1130 - landed some other small changes I had sitting in my tree
1132 * DumpRenderTree/DumpRenderTree.m:
1133 (main): Don't bother saving and restoring the preferences. Not sure
1134 why this was ever done since the preferences are specific to DumpRenderTree.
1135 Clear delegates before releasing the WebView, because you can't count on the
1136 order of object deallocation.
1137 (dumpRenderTree): Fix code that releases a string before storing it in a
1140 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
1141 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
1143 2005-08-23 Eric Seidel <eseidel@apple.com>
1147 * Scripts/run-webkit-tests:
1148 Made --leaks option more readable by printing to a file.
1149 http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
1151 2005-08-22 Eric Seidel <eseidel@apple.com>
1152 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
1156 * Scripts/run-webkit-tests: hides "expected actual diffs" links
1157 when they are not needed (for pixel-only failures)
1158 http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
1160 2005-08-22 Eric Seidel <eseidel@apple.com>
1164 * Scripts/run-webkit-tests: Added the ability to display more than
1165 just two images as part of the image-diff "slideshow".
1166 Added display of "-w3c.png" baseline images for SVG.
1167 http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
1170 2005-08-20 Eric Seidel <eseidel@apple.com>
1172 * Scripts/run-webkit-tests:
1173 "build" fix after committing incorrect version.
1175 2005-08-20 Eric Seidel <eseidel@apple.com>
1179 * DumpRenderTree/DumpRenderTree.m:
1180 (main): cleans up delegates
1181 (dumpRenderTree): closes CFString/CFURL leak
1182 * Scripts/run-webkit-tests:
1183 Adds --leaks option to run-webkit-tests
1184 http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
1186 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
1190 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
1191 new files to be included in the patch even without "cvs add".
1193 2005-08-19 Darin Adler <darin@apple.com>
1195 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
1196 non-cvs-generated patches. Anders has been creating these, so it's bad that
1197 the script can't handle them.
1198 * Scripts/cvs-unapply: Ditto.
1200 2005-08-18 Darin Adler <darin@apple.com>
1202 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
1203 "." in them -- based on complaint by someone here at Apple.
1205 2005-08-18 Eric Seidel <eseidel@apple.com>
1209 * Scripts/run-webkit-tests:
1210 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
1212 2005-08-17 Maciej Stachowiak <mjs@apple.com>
1214 - add file that I forgot in the last checkin
1216 * DumpRenderTree/ImageDiff.m: Added.
1218 (getImageFromStdin):
1220 (getDifferenceBitmap):
1221 (computePercentageDifferent):
1223 2005-08-17 Maciej Stachowiak <mjs@apple.com>
1225 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
1226 somewhat by me, and also tweaked by me a little bit.
1228 - better support for pixel-dumping
1229 - use checksums of the images so the tests are fast
1230 - change output format to make the tests run faster
1231 - don't dump pixel results for tests that dump as text
1233 * DumpKCanvasTree/DumpKCanvasTree.m:
1236 (md5HashStringForBitmap):
1238 (constrainSizeToMaximum):
1239 (getBitmapImageRepForSVGDocument):
1240 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
1241 * DumpRenderTree/DumpRenderTree.m:
1245 (md5HashStringForBitmap):
1246 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1247 * Scripts/run-webkit-tests:
1249 2005-08-17 Maciej Stachowiak <mjs@apple.com>
1253 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
1255 * DumpRenderTree/DumpRenderTree.m:
1258 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
1260 Reviewed and landed by Darin.
1262 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
1263 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
1265 * Scripts/run-safari: Pass arguments through to Safari on command line.
1266 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
1268 2005-08-11 Eric Seidel <eseidel@apple.com>
1269 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
1271 Reviewed by eseidel.
1273 * DrawTest/TestController.m:
1274 (-[TestController imagePathForSVGPath:]):
1275 Fixed support for using TextViewer with the layout-tests.
1276 http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
1278 2005-08-11 Maciej Stachowiak <mjs@apple.com>
1280 At Least Roughly Glanced At by Anders.
1282 - fix change with totally breaks the layout tests.
1284 * DumpRenderTree/DumpRenderTree.m:
1285 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
1286 load, to avoid dumping twice accidentally.
1288 2005-08-10 Eric Seidel <eseidel@apple.com>
1289 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
1293 * DumpRenderTree/DumpRenderTree.m:
1294 Added support for rendering to a PNG file.
1295 http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
1297 2005-08-07 Eric Seidel <eseidel@apple.com>
1301 * Scripts/run-webkit-tests: added --svg option
1302 * Scripts/run-webkit-tests-svg: Removed.
1303 http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
1305 2005-08-07 Eric Seidel <eseidel@apple.com>
1306 Changes by Ben La Monica <ben.lamonica@gmail.com>
1310 * svg2png/ImageDiff.h: Added.
1311 * svg2png/ImageDiff.m: Added.
1312 (getDifferenceBitmap):
1313 (computePercentageDifferent):
1314 (saveAnimatedGIFToFile):
1315 * svg2png/svg2png.m:
1316 (usage): added several new options
1317 (getBitmapForSVG): added NSBitmapImageRep generation
1318 (main): various argument changes.
1319 * svg2png/svg2png.xcodeproj/project.pbxproj:
1320 Several additions to provide image differencing functionality.
1321 http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
1323 2005-08-07 Eric Seidel <eseidel@apple.com>
1327 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
1328 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
1329 Adding the first SVG layout tests:
1330 http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
1332 2005-08-07 Darin Adler <darin@apple.com>
1334 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
1336 2005-08-06 Eric Seidel <eseidel@apple.com>
1340 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
1341 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
1342 * Scripts/build-dumpkcanvastree: Added.
1343 * Scripts/run-webkit-tests-svg: Added.
1344 Adds a DumpRenderTree-like tool for SVG which allows us to do
1345 text-based layout regression testing. This (like most of the
1346 SVG specific stuff) is temporary and will be replaced by
1347 DumpRenderTree once the DOMs and RenderTrees merge.
1348 http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
1350 2005-08-06 Eric Seidel <eseidel@apple.com>
1354 * DrawTest/DrawTestView.m:
1355 (-[DrawTestView toggleFilterSupport:]): missing negation.
1356 One half of fix for toggling filter support.
1357 http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
1359 2005-08-04 Eric Seidel <eseidel@apple.com>
1363 * Scripts/build-drawtest:
1364 * Scripts/build-dumprendertree:
1365 * Scripts/build-svg2png:
1366 * Scripts/build-webcore-svg:
1367 * Scripts/build-webkit:
1368 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
1369 Added checkRequiredSystemConfig and made all the build-* scripts
1370 use it to print a pretty warning when trying to compile on an
1371 unsupported system (less than 10.4, Xcode 2.1).
1372 http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
1374 2005-08-04 Darin Adler <darin@apple.com>
1376 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
1377 the dead. It was removed by accident when someone was trying to work on the branch.
1379 2005-07-31 Darin Adler <darin@apple.com>
1381 - a little tools cleanup
1383 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
1384 project as a whole. Removed unused Default configuration.
1386 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
1388 2005-07-31 Duncan Wilcox <duncan@mclink.it>
1390 Reviewed and landed by Darin Adler.
1392 Add logging of editing delegate calls for regression checking.
1394 * DumpRenderTree/DumpRenderTree.m:
1396 setup editing delegate
1398 (-[DOMNode dumpPath]):
1400 utility for editing delegate logging
1402 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1403 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1404 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1405 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1406 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1407 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1408 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1409 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1410 (-[EditingDelegate webViewDidBeginEditing:]):
1411 (-[EditingDelegate webViewDidChange:]):
1412 (-[EditingDelegate webViewDidEndEditing:]):
1413 (-[EditingDelegate webViewDidChangeTypingStyle:]):
1414 log corresponding editing delegate methods
1416 (-[EditingDelegate webViewDidChangeSelection:]):
1417 log selection except when clearing selection after end of test (uses existing "done" flag)
1420 added clearing of selection after test
1422 2005-07-31 Eric Seidel <eseidel@apple.com>
1426 * Scripts/build-drawtest: Added.
1427 * Scripts/build-svg2png: Added.
1428 * Scripts/build-webcore-svg: Added.
1429 * Scripts/run-drawtest: Added.
1430 * Scripts/webkitdirs.pm: added checkSVGFrameworks
1431 Made it much easier to build WebCore+SVG.
1432 http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
1434 2005-07-29 Eric Seidel <eseidel@apple.com>
1438 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1439 Build fix. Removed bad path.
1441 2005-07-29 Eric Seidel <eseidel@apple.com>
1443 Reviewed by sullivan.
1445 * DrawTest/AppDelegate.h: Added.
1446 * DrawTest/AppDelegate.m: Added.
1447 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
1448 * DrawTest/DrawTestDocument.h: Added.
1449 * DrawTest/DrawTestDocument.m: Added.
1450 * DrawTest/DrawTestInspectorController.h: Added.
1451 * DrawTest/DrawTestInspectorController.m: Added.
1452 * DrawTest/DrawTestToolbarController.h: Added.
1453 * DrawTest/DrawTestToolbarController.m: Added.
1454 * DrawTest/DrawTestView.h: Added.
1455 * DrawTest/DrawTestView.m: Added.
1456 * DrawTest/DrawTest_Prefix.pch: Added.
1457 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
1458 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
1459 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
1460 * DrawTest/English.lproj/InfoPlist.strings: Added.
1461 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
1462 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
1463 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
1464 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
1465 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
1466 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1467 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
1468 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
1469 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
1470 * DrawTest/Info.plist: Added.
1471 * DrawTest/SVGTest.h: Added.
1472 * DrawTest/SVGTest.m: Added.
1473 * DrawTest/ScalingImageView.h: Added.
1474 * DrawTest/ScalingImageView.m: Added.
1475 * DrawTest/TestController.h: Added.
1476 * DrawTest/TestController.m: Added.
1477 * DrawTest/TestViewerSplitView.h: Added.
1478 * DrawTest/TestViewerSplitView.m: Added.
1479 * DrawTest/main.m: Added.
1480 Adding simple cocoa app for testing SVG rendering, interaction.
1481 http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
1483 2005-07-28 Eric Seidel <eseidel@apple.com>
1487 * svg2png/svg2png.m: Added.
1488 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
1489 * svg2png/svg2png_Prefix.pch: Added.
1490 Added a simple test tool which dumps a PNG from an SVG using
1491 WebCore+SVG's SVG rendering support.
1492 http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
1494 2005-07-26 Maciej Stachowiak <mjs@apple.com>
1498 - new script to review the DOM layout test results and see where we stand
1499 on actual success and failure
1501 * Scripts/check-dom-results: Added.
1503 2005-07-25 Darin Adler <darin@apple.com>
1505 * Scripts/webkitdirs.pm: Check in missing line of code.
1507 2005-07-25 Darin Adler <darin@apple.com>
1509 - fixed problem that was causing JavaScriptCore test to fail
1510 (except for people who had set DYLD_FRAMEWORK_PATH)
1512 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
1513 Add code to parse configuration parameter so you can pass --deployment if you like.
1514 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
1516 * Scripts/update-javascriptcore-test-results: Add license header.
1518 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
1519 from @ARGV. This lets us use this option in commands that take other options and
1520 pass them along to a subsequent tool.
1522 2005-07-25 Darin Adler <darin@apple.com>
1524 Reviewed by Geoff Garen.
1526 - Fixed run-safari and gdb-safari to use the Safari application in the build results
1527 directory, if any, falling back to the one in the Applications directory otherwise.
1528 Does no harm for open source contributors who don't build Safari, and helps out the
1529 Safari team, since we do build Safari.
1531 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
1532 variable, and if that's not present, looks in either the build results directory or
1533 /Applications; factors code that was in both scripts before into a shared function.
1534 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
1535 now in Xcode 2.1 format and incompatible with older versions of Xcode.
1537 * Scripts/gdb-safari: Use safariPath.
1538 * Scripts/run-safari: Use safariPath.
1540 2005-07-22 Geoffrey Garen <ggaren@apple.com>
1542 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
1543 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
1545 Moved Tools/Scripts/update-mozilla-js-test-results to
1546 WebKitTools/Scripts/update-javascriptcore-test-results.
1550 * Scripts/run-javascriptcore-tests: Added.
1552 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1556 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
1558 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1560 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
1562 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1564 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
1566 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1568 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
1570 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1572 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
1574 2005-07-21 Geoffrey Garen <ggaren@apple.com>
1576 * Scripts/build-webkit:
1578 2005-07-12 Eric Seidel <eseidel@apple.com>
1582 * checkout-svg: Fixed error with symlink creation.
1584 2005-07-12 Eric Seidel <eseidel@apple.com>
1588 * checkout-svg: Added.
1589 Script to check out WebCore+SVG
1591 2005-06-30 Darin Adler <darin@apple.com>
1593 Changes based on input from Michael Kahl.
1595 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
1596 specify different style of "diff".
1597 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
1598 determineConfigurationProductDir works in all cases.
1600 2005-06-29 Darin Adler <darin@apple.com>
1602 - fixed bug which would result in multiple unwanted dumps in a single layout test
1604 * DumpRenderTree/DumpRenderTree.m:
1605 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
1607 (-[LayoutTestController waitUntilDone]): Update for name change.
1608 (-[LayoutTestController notifyDone]): Dump only if ready.
1609 (dumpRenderTree): Set up new boolean and update for name change.
1611 2005-06-29 Darin Adler <darin@apple.com>
1613 Changes by Timothy Hatcher.
1616 * Scripts/run-webkit-app: Added script to open an arbritrary application with
1617 a CVS built WebKit. Example: ./run-webkit-app Colloquy
1619 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
1620 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
1621 * Scripts/run-safari: Ditto.
1623 2005-06-26 Darin Adler <darin@apple.com>
1625 * Scripts/build-dumprendertree: Pass -project option so that having a second
1626 copy of the project (like the one Xcode 2.1 offers to make for you) that's
1627 out of date won't screw you up.
1628 * Scripts/build-webkit: Ditto.
1630 2005-06-23 Darin Adler <darin@apple.com>
1632 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
1634 2005-06-23 Darin Adler <darin@apple.com>
1636 Changes based on input from Michael Kahl.
1638 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
1639 directory passed in.
1641 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
1642 getcwd() in the code to find the base product dir. Added code to handle unusual
1643 base product directory values that use SRCROOT.
1645 2005-06-22 Darin Adler <darin@apple.com>
1647 Change by Anders Carlsson.
1649 - added support for dumping title changes
1651 * DumpRenderTree/DumpRenderTree.m:
1652 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
1653 if requested by JavaScript.
1654 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
1655 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
1656 (dumpRenderTree): Start flag as NO.
1658 2005-06-20 Darin Adler <darin@apple.com>
1660 Reviewed by Justin Garcia.
1662 * Scripts/run-webkit-tests: Report number of tests when they succeed.
1664 2005-06-18 Darin Adler <darin@apple.com>
1666 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
1667 in the hope of making the tool use less memory and run faster.
1669 2005-06-18 Darin Adler <darin@apple.com>
1671 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
1672 * Scripts/cvs-unapply: Ditto.
1674 2005-06-17 Maciej Stachowiak <mjs@apple.com>
1676 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
1677 benefit of all WebKit hackerdom
1679 * Scripts/prepare-ChangeLog: Added.
1681 2005-06-16 Darin Adler <darin@apple.com>
1683 - recent changes to XcodeOptions made it depend on the current directory
1684 The intent was to have the WebKitBuild directory be next to WebKitTools,
1685 not inside the various build directories. Workaround for now is to call
1686 XcodeOptions when the directory is set to the WebKit directory.
1688 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
1689 at the start of the script.
1690 * Scripts/build-webkit: Ditto.
1692 2005-06-15 Darin Adler <darin@apple.com>
1694 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
1696 2005-06-14 Darin Adler <darin@apple.com>
1698 Changes by Anders Carlsson.
1701 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
1702 Add gdb-safari script to launch Safari under gdb
1704 * Scripts/gdb-safari: Added.
1706 2005-06-12 Darin Adler <darin@apple.com>
1708 Changes by Stuart Morgan.
1711 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
1712 * Scripts/cvs-apply: Ditto.
1713 * Scripts/cvs-create-patch: Ditto.
1714 * Scripts/cvs-unapply: Ditto.
1715 * Scripts/run-webkit-tests: Ditto.
1716 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
1718 2005-06-12 Darin Adler <darin@apple.com>
1720 * Scripts/cvs-apply: Handle case of an empty patch better.
1721 * Scripts/cvs-unapply: Ditto.
1723 2005-06-12 Darin Adler <darin@apple.com>
1725 Changes by Michael Gaiman.
1728 - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
1729 WebKit no longer builds after configuration supporting build changes
1731 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
1733 2005-06-12 Darin Adler <darin@apple.com>
1735 * Scripts/update-webkit: Make this script work when called from any directory.
1737 2005-06-12 Darin Adler <darin@apple.com>
1740 Includes changes by Stuart Morgan as well as my own.
1742 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
1743 symrootXcodeOptions to set the -buildstyle option.
1744 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
1745 The new --development option does the same thing.
1746 * Scripts/run-safari: Ditto.
1747 * Scripts/run-webkit-tests: Ditto.
1748 * Scripts/update-webkit: Ditto.
1749 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
1751 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
1752 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
1753 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
1754 product directory. Read the default configuration from a file, overridable by a passed-in command-line
1757 2005-06-11 Darin Adler <darin@apple.com>
1759 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
1760 to execute the cvs diff commands.
1762 2005-06-11 Darin Adler <darin@apple.com>
1764 - added first cuts at some cvs scripts
1766 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
1767 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
1768 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
1769 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
1771 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
1773 * Scripts/cvs-abandon: Added.
1774 * Scripts/cvs-apply: Added.
1775 * Scripts/cvs-create-patch: Added.
1776 * Scripts/cvs-unapply: Added.
1778 2005-06-09 Darin Adler <darin@apple.com>
1782 - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
1783 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
1785 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
1786 for Foundation.framework. How was it ever wrong?
1788 - finally, I tested making the default build directory work; it works now
1790 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
1791 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
1792 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
1793 * Scripts/build-dumprendertree: Ditto.
1795 2005-06-09 Darin Adler <darin@apple.com>
1797 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
1798 work. Someone should try building without setting the Xcode build product directory now,
1799 and let me know if it works.
1801 2005-06-08 Darin Adler <darin@apple.com>
1803 - quick fix to try to get build scripts working again
1805 * Scripts/build-dumprendertree: Add FindBin.
1806 * Scripts/build-webkit: Ditto.
1807 * Scripts/run-safari: Ditto.
1808 * Scripts/run-webkit-tests: Ditto.
1809 * Scripts/update-webkit: Ditto.
1811 2005-06-08 Darin Adler <darin@apple.com>
1815 - some build script enhancements
1817 * Scripts/build-dumprendertree: Changed to use webkitdirs.
1818 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
1820 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
1821 before Deplyment in that case.
1822 * Scripts/run-webkit-tests: Changed to use webkitdirs.
1823 * Scripts/update-webkit: Changed to use webkitdirs.
1825 * Scripts/webkitdirs.pm: Added.
1827 2005-06-08 Maciej Stachowiak <mjs@apple.com>
1829 Code change by Toby Peterson <toby@opendarwin.org>
1832 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
1833 get confused because build-webkit now makes even 2.0 build directories look
1836 2005-06-07 Darin Adler <darin@apple.com>
1838 Reviewed by Adele Peterson.
1840 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
1841 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
1842 so we can run tests with Xcode 2.1.
1844 2005-06-07 Darin Adler <darin@apple.com>
1846 Reviewed by Adele Peterson.
1848 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
1849 layout-tests directory to include additional sets of tests.
1851 2005-06-07 Darin Adler <darin@apple.com>
1853 * checkout: Added license.
1854 * Scripts/build-dumprendertree: Ditto.
1855 * Scripts/run-webkit-tests: Ditto.
1856 * Scripts/update-webkit: Ditto.
1858 2005-06-07 Darin Adler <darin@apple.com>
1860 Change by Toby Peterson <toby@opendarwin.org>.
1863 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
1864 * Scripts/run-safari: Ditto.
1866 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1868 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
1870 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1872 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
1874 2005-06-06 Maciej Stachowiak <mjs@apple.com>
1876 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
1878 2005-06-05 Darin Adler <darin@apple.com>
1880 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
1881 * Scripts/build-dumprendertree: Added.
1882 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
1883 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
1885 2005-06-05 Darin Adler <darin@apple.com>
1887 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
1889 2005-06-05 Darin Adler <darin@apple.com>
1891 - add run-webkit-tests script; not working yet but the pieces are there
1893 * Scripts/run-webkit-tests: Added.
1895 * DumpRenderTree/DumpRenderTree.m: Added.
1896 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
1897 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
1898 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
1900 2005-06-05 Darin Adler <darin@apple.com>
1902 - created module, first cut at Web Kit Open Source Project scripts
1905 * Scripts/build-webkit: Added.
1906 * Scripts/run-safari: Added.
1907 * Scripts/update-webkit: Added.
1910 === creation of WebKitTools module ===