d6cef9d364421e472d3586e34a142971a15ccf42
[WebKit.git] / WebKitTools / ChangeLog
1 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
2
3         Reviewed by Darin.
4
5         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
6           DumpRenderTree should be able to load files via HTTP
7
8         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
9         Handle tests starting with "http://" as real URLs, not file system paths.
10
11 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
12
13         Reviewed by Maciej.
14
15         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
16           REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
17
18         * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
19
20 2006-02-18  Darin Adler  <darin@apple.com>
21
22         * Scripts/commit-log-editor: Added.
23
24 2006-02-17  Eric Seidel  <eseidel@apple.com>
25
26         Reviewed by hyatt.
27
28         Make Win32 have the same default "WebKitBuild" directory behavior.
29
30         * Scripts/build-webkit:
31         * Scripts/webkitdirs.pm:
32
33 2006-02-17  Eric Seidel  <eseidel@apple.com>
34
35         Reviewed by Beth.
36
37         * Scripts/build-webkit: make win32 actually report errors
38
39 2006-02-17  Eric Seidel  <eseidel@apple.com>
40
41         Reviewed by adele.
42
43         * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
44
45 2006-02-17  Eric Seidel  <eseidel@apple.com>
46
47         Reviewed by adele.
48
49         * Scripts/run-webkit-tests: Ignore flash leaks
50
51 2006-02-15  Justin Garcia  <justin.garcia@apple.com>
52
53         Reviewed by darin
54         
55         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
56         Add drag and drop support to DumpRenderTree
57         
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.
60
61         * DumpRenderTree/DumpRenderTree.m:
62         (main):
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:]):
74         (dumpRenderTree):
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:]):
91         
92 2006-02-15  Geoffrey Garen  <ggaren@apple.com>
93
94         Reviewed by Eric.
95
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 
101         not defined.)
102
103 2006-02-14  Eric Seidel  <eseidel@apple.com>
104
105         Reviewed by adele.
106
107         * Scripts/run-webkit-tests: added --results-directory (-o) option
108
109 2006-02-09  Eric Seidel  <eseidel@apple.com>
110
111         Rubber-stamped by mjs.
112
113         Renamed split-class to split-file-by-class.
114
115         * Scripts/build-webkit: Updated copyright.
116         * Scripts/split-class: Removed.
117         * Scripts/split-file-by-class: Added.
118
119 2006-02-08  Eric Seidel  <eseidel@apple.com>
120
121         Rubber-stamped by mjs.
122
123         Adding new script for splitting multi-class files.
124         Also adding supporting perl module with space removing heuristics.
125
126         * Scripts/SpacingHeuristics.pm: Added.
127         * Scripts/build-drawtest: updated copyright header
128         * Scripts/split-class: Added.
129
130 2006-02-08  Justin Garcia  <justin.garcia@apple.com>
131
132         Reviewed by thatcher
133         
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
137
138         * DumpRenderTree/DumpRenderTree.m:
139         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
140         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
141         (+[LayoutTestController webScriptNameForSelector:]):
142         (-[LayoutTestController setWindowHasFocus:]):
143         (-[LayoutTestController setDisplaysWithFocusAttributes:]):
144
145 2006-02-07  Alexey Proskuryakov  <ap@nypop.com>
146
147         Reviewed by Timothy.
148
149         Support automated testing of AppleScript "do JavaScript" command
150         http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
151
152         * DumpRenderTree/AppleScriptController.h: Added.
153         * DumpRenderTree/AppleScriptController.m: Added.
154         * DumpRenderTree/DumpRenderTree.m:
155         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
156         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
157
158 2006-02-06  Eric Seidel  <eseidel@apple.com>
159
160         Reviewed by hyatt.
161
162         Fix build-webkit for use on win32 (unblocks buildbot usage).
163         http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
164
165         * Scripts/build-webkit: use ifCygwin() to conditionalize builds
166         * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
167
168 2006-02-06  Eric Seidel  <eseidel@apple.com>
169
170         Rubber-stamped by darin & mjs.
171
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.
175
176         * BuildSlaveSupport: Added.
177         * BuildSlaveSupport/run-performance-tests: Added.
178
179 2006-02-06  Eric Seidel  <eseidel@apple.com>
180
181         Rubber-stamped by darin.
182
183         Adding setSourceDir for scripts stored in non-standard locations.
184
185         * Scripts/webkitdirs.pm:
186
187 2006-02-04  Darin Adler  <darin@apple.com>
188
189         * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
190         Configuration files that say Development or Deployment in them.
191
192 2006-02-04  Darin Adler  <darin@apple.com>
193
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.
199
200 2006-02-03  Timothy Hatcher  <timothy@apple.com>
201
202         Reviewed by Justin.
203
204         Renamed configuration names to Debug, Release and Production.
205
206         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
207         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
208         * Scripts/set-webkit-configuration:
209         * Scripts/webkitdirs.pm:
210
211 2006-02-02  Justin Garcia  <justin.garcia@apple.com>
212
213         Reviewed by thatcher
214         
215         Enabled spell checking for layout tests.
216         
217         * DumpRenderTree/DumpRenderTree.m:
218         (main):
219
220 2006-01-29  Darin Adler  <darin@apple.com>
221
222         * Scripts/svn-apply: Added comments about things we should do to improve.
223         * Scripts/svn-create-patch: Ditto.
224         * Scripts/svn-unapply: Ditto.
225
226 2006-01-28  Darin Adler  <darin@apple.com>
227
228         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
229         already there, even if the checksum is correct.
230
231 2006-01-27  Eric Seidel  <eseidel@apple.com>
232
233         Reviewed by adele.
234
235         * Scripts/run-webkit-tests: make new tests use absolute urls
236
237 2006-01-27  Eric Seidel  <eseidel@apple.com>
238
239         Reviewed by mjs.
240
241         make run-webkit-tests output total leaks count
242
243         * Scripts/run-webkit-tests:
244
245 2006-01-27  Eric Seidel  <eseidel@apple.com>
246
247         Reviewed by mjs.
248
249         run-webkit-test --leaks crashes (malloc logging runs out of memory)
250         http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
251
252         * Scripts/run-webkit-tests: fix --leaks to not crash
253
254 2006-01-26  Eric Seidel  <eseidel@apple.com>
255
256         Reviewed by darin.
257
258         run-webkit-tests should produce a self-contained results directory
259         http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
260
261         * Scripts/run-webkit-tests: copy failing items to results dir.
262
263 2006-01-23  Darin Adler  <darin@apple.com>
264
265          - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
266            need script to update localizable strings file in WebKit
267
268         * Scripts/update-webkit-localizable-strings: Added.
269
270 2006-01-23  Darin Adler  <darin@apple.com>
271
272         - added a couple of scripts -- more about these two soon
273
274         * Scripts/extract-localizable-strings: Added.
275         * Scripts/merge-changelog: Added.
276
277 2006-01-22  Mark Rowe  <opendarwin.org@bdash.net.nz>
278
279         Reviewed by Anders.
280         
281         Build fix.  build-webkit dies with "invalid build action: (empty string)"
282
283         * Scripts/build-webkit:
284         Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
285
286 2006-01-22  Eric Seidel  <eseidel@apple.com>
287
288         Reviewed by anders.
289
290         Fix --no-svg option to use XCode flags instead of gcc flags.
291
292         * Scripts/build-webkit:
293
294 2006-01-22  Eric Seidel  <eseidel@apple.com>
295
296         Reviewed by anders.
297
298         Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
299
300         * Scripts/build-webkit:
301
302 2006-01-20  David Kilzer  <ddkilzer@kilzer.net>
303
304         Reviewed by eseidel.
305
306         - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
307         Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
308
309         * Scripts/build-drawtest: Changed bareword 'true' to 1.
310         * Scripts/run-drawtest: Changed bareword 'true' to 1.
311
312 2006-01-19  Darin Adler  <darin@apple.com>
313
314         * Scripts/report-include-statistics: Added a new script.
315
316 2006-01-19  Timothy Hatcher  <timothy@apple.com>
317
318         * Scripts/build-webkit: include JavaScriptGlue in the build
319
320 2006-01-19  Darin Adler  <darin@apple.com>
321
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.
325
326 2006-01-12  Maciej Stachowiak  <mjs@apple.com>
327
328         Reviewed by Darin.
329         
330         - make prepare-ChangeLog way faster by using svn diff instead of svn status to
331         detect if there are any new tests
332
333         * Scripts/prepare-ChangeLog:
334
335 2006-01-12  Darin Adler  <darin@apple.com>
336
337         - removed some of the cvs-specific scripts -- not needed for this project any more
338
339         * Scripts/cvs-abandon: Removed.
340         * Scripts/cvs-apply: Removed.
341         * Scripts/cvs-create-patch: Removed.
342         * Scripts/cvs-unapply: Removed.
343
344 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
345
346         Reviewed by eseidel.  Committed by eseidel.
347
348         - run-webkit-tests always launches Safari when tests fail
349         http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
350
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.
354
355 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
356
357         Reviewed by eseidel.  Committed by eseidel.
358
359         - build-webkit should exit with non-zero status when build fails
360         http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
361
362         * Scripts/build-webkit:
363         Use correct bits of subprocess exit code when passing back through
364         as build-webkit's exit code.
365
366 2006-01-10  Eric Seidel  <eseidel@apple.com>
367
368         Restored corrupted nibs from TOT CVS.
369
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.
386
387 2006-01-10  Nefaur Khandker  <nefaurk@gmail.com>
388
389         Reviewed by eseidel.  Committed by eseidel.
390
391         DrawTestView now subclasses WebView instead of DrawView.
392
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:]):
423
424 2006-01-10  Anders Carlsson  <andersca@mac.com>
425
426         Reviewed by Timothy.
427
428         * DumpRenderTree/DumpRenderTree.m:
429         (main): Set the default language to "en", so language tests will work.
430
431 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
432
433         Reviewed by Eric.
434         
435         - script to generate HTML wrappers for JS tests
436         http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
437
438         * Scripts/make-js-test-wrappers: Added.
439
440 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
441
442         Reviewed by Eric.
443
444         * Scripts/svn-create-patch: Fix to work when passed directory names.
445
446 2006-01-08  Geoffrey Garen  <ggaren@apple.com>
447
448         Reviewed by Eric.
449
450         - Added back/forward navigation support to DumpRenderTree. Hopefully we
451         can start writing automated loader tests now. I have one in the works.
452
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.
461
462         New class, should be straightforward:
463
464         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
465         * DumpRenderTree/NavigationController.h: Added.
466         * DumpRenderTree/NavigationController.m: Added.
467
468         (+[NavigationController isSelectorExcludedFromWebScript:]):
469         (+[NavigationController webScriptNameForSelector:]):
470         (-[NavigationController setPendingScript:]):
471         (-[NavigationController setPendingRequest:]):
472         (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
473         (-[NavigationController webView:didFinishLoadForFrame:]):
474         (-[NavigationController dealloc]):
475
476 2006-01-08  Timothy Hatcher  <timothy@apple.com>
477
478         Removed this script, no longer needs with the Subversion switch.
479
480         * checkout: Removed.
481
482 2006-01-08  Timothy Hatcher  <timothy@apple.com>
483
484         Removes some stray tabs.
485
486         * Scripts/update-webkit:
487
488 2005-01-07  Eric Seidel  <eseidel@apple.com>
489
490         Reviewed by darin.
491
492         build-webkit should pass on build arguments from command line
493         http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
494
495         * Scripts/build-webkit:
496
497 2006-01-07  Eric Seidel  <eseidel@apple.com>
498
499         Reviewed by mjs & xenon.
500
501         * Scripts/update-webkit: support Internal updates as well
502
503 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
504
505         Temporarily rolling out plugin support from DumpRenderTree because it
506         caused lots of layout test regressions.
507
508         * DumpRenderTree/DumpRenderTree.m:
509         (main): Remove invisible window added to support plugins.
510
511 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
512
513         Reviewed by darin.
514
515         - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
516         Add plugin support to DumpRenderTree
517
518         Also wrote first test plugin.
519
520         * DumpRenderTree/DumpRenderTree.m:
521         (main):
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.
528
529         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
530         test PlugIn to project.
531
532         PlugIn added to project:
533
534         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
535         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
536         (getPluginClass):
537         (initializeIdentifiers):
538         (pluginHasProperty):
539         (pluginHasMethod):
540         (pluginGetProperty):
541         (pluginSetProperty):
542         (pluginInvoke):
543         (pluginInvokeDefault):
544         (pluginInvalidate):
545         (pluginAllocate):
546         (pluginDeallocate):
547         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
548         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
549         (NP_Initialize):
550         (NP_GetEntryPoints):
551         (NP_Shutdown):
552         (NPP_New):
553         (NPP_Destroy):
554         (NPP_SetWindow):
555         (NPP_NewStream):
556         (NPP_DestroyStream):
557         (NPP_WriteReady):
558         (NPP_Write):
559         (NPP_StreamAsFile):
560         (NPP_Print):
561         (NPP_HandleEvent):
562         (NPP_URLNotify):
563         (NPP_GetValue):
564         (NPP_SetValue):
565
566 2006-01-04  Timothy Hatcher  <timothy@apple.com>
567
568         Reviewed by Darin.
569         Created by Eric.
570         Tweaked and tested by me.
571
572         New scripts to work with Subversion when the switch happens.
573         These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
574
575         * Scripts/svn-apply: Added.
576         * Scripts/svn-create-patch: Added.
577         * Scripts/svn-unapply: Added.
578
579 2005-12-30  Eric Seidel  <eseidel@apple.com>
580
581         Reviewed by mjs.
582
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.
586
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
591
592 2005-12-30  Eric Seidel  <eseidel@apple.com>
593
594         No review, only removing dead code.
595
596         * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
597         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
598
599 2005-12-30  Eric Seidel  <eseidel@apple.com>
600
601         Reviewed by darin.
602
603         DumpRenderTree should set a consistent color profile while running
604         http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
605
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.
614
615         * DumpRenderTree/DumpRenderTree.m:
616         (restoreColorSpace):
617         (setDefaultColorProfileToRGB):
618         (main):
619
620 2005-12-20  Alexey Proskuryakov  <ap@nypop.com>
621
622         Reviewed by Darin Adler.
623
624         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
625           cvs-create-patch --include produces incorrect paths
626
627         * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
628
629 2005-12-19  Eric Seidel  <eseidel@apple.com>
630
631         Reviewed by darin.
632
633         * Scripts/run-webkit-tests: stop /etc/catalog warnings
634
635 2005-12-19  Darin Adler  <darin@apple.com>
636
637         Reviewed by Eric Seidel.
638
639         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
640           WebKit needs to use a local pasteboard during testing
641
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.
650
651 2005-12-15  Eric Seidel  <eseidel@apple.com>
652
653         Reviewed by Tim Hatcher.
654
655         * Scripts/build-webkit: --svg is now default!
656
657 2005-12-15  Eric Seidel  <eseidel@apple.com>
658
659         Reviewed by mjs.
660
661         Don't run svg test automatically if +SVG is built (yet).
662
663         * Scripts/run-webkit-tests:
664
665 2005-12-15  Darin Adler  <darin@apple.com>
666
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.
670
671 2005-12-06  John Sullivan  <sullivan@apple.com>
672
673         Reviewed by Darin Adler.
674
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
679         gets diffed.
680
681 2005-12-05  Eric Seidel  <eseidel@apple.com>
682
683         Reviewed by mjs.
684
685         Script updates for SVG files move (remove references to SVGSupport)
686
687         * Scripts/build-webkit: remove SVGSupport
688         * Scripts/run-webkit-tests: Resources -> resources for --svg
689         * Scripts/update-webkit: remove SVGSupport
690
691 2005-12-05  Eric Seidel  <eseidel@apple.com>
692
693         Reviewed mjs.
694
695         * checkout: remove --svg support, SVG is now checked out by default
696
697 2005-11-29  Eric Seidel  <eseidel@apple.com>
698
699         Reviewed by darin.
700
701         Update scripts to run SVG tests automatically (w/o --svg) if
702         WebCore is built with SVG support.
703
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
709
710 2005-11-28  Alexey Proskuryakov  <ap@nypop.com>
711
712         Reviewed by Darin. Committed by Maciej.
713
714         - fixed "DumpRenderTree should test for Ahem before doing anything else"
715         (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
716
717         * DumpRenderTree/DumpRenderTree.m:
718         (main):
719
720 2005-11-28  Eric Seidel  <eseidel@apple.com>
721
722         Reviewed by sullivan and GGAREN.
723
724         Minor additions to make error messages more clear from cvs-apply.
725
726         * Scripts/cvs-apply: make errors more clear
727
728 2005-11-27  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
729
730         Reviewed and committed by Maciej.
731
732         - fixed cvs-create-patch --include produces incorrect paths
733         (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
734
735         * Scripts/cvs-create-patch: produce proper paths for new files.
736
737 2005-11-21  Eric Seidel  <eseidel@apple.com>
738
739         Reviewed by hyatt.
740
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.
744
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
750
751 2005-11-10  Eric Seidel  <eseidel@apple.com>
752
753         Reviewed by ggaren.
754
755         * Scripts/build-webkit: Pass through options to xcodebuild
756
757 2005-11-07  Darin Adler  <darin@apple.com>
758
759         * Scripts/cvs-apply: Fix case where the patch has files at the top level.
760
761 2005-11-03  John Sullivan  <sullivan@apple.com>
762
763         Reviewed by Darin.
764
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.
771
772 2005-10-27  Geoffrey Garen  <ggaren@apple.com>
773
774         Patch by Alexey Proskuryakov.
775
776         Reviewed by Maciej.
777         
778         Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
779         TextInputController should support attributed strings
780
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:]):
798
799 2005-10-11  Eric Seidel  <eseidel@apple.com>
800
801         Reviewed by hyatt.
802
803         Checks for leaks in ImageDiff too.
804
805         * Scripts/run-webkit-tests:
806
807 2005-10-09  Darin Adler  <darin@apple.com>
808
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.
813
814 2005-10-08  Alexey Proskuryakov  <ap@nypop.com>
815
816         Reviewed, rearranged and landed by Darin.
817
818         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
819           Need a way to automatically test for regressions in NSTextInput implementation
820
821         * DumpRenderTree/DumpRenderTree.m:
822         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
823         Create a text input controller and put it in a property of the window object.
824
825         * DumpRenderTree/TextInputController.h: Added.
826         * DumpRenderTree/TextInputController.m: Added.
827         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
828
829 2005-10-06  Darin Adler  <darin@apple.com>
830
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.
834
835 2005-10-03  Eric Seidel  <eseidel@apple.com>
836
837         Reviewed by mjs.
838
839         Make mouseDown and mouseUp force layout before acting.
840         This is used by a new test case for 4233558.
841
842         * DumpRenderTree/DumpRenderTree.m:
843         (-[EventSendingController mouseDown]): force layout
844         (-[EventSendingController mouseUp]): force layout
845
846 2005-09-30  Eric Seidel  <eseidel@apple.com>
847
848         Reviewed by xenon.
849
850         Updated all the scripts for the move:
851         WebCore/layout-tests -> LayoutTests
852
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
858
859 2005-09-28  Darin Adler  <darin@apple.com>
860
861         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
862           pixel test should run even if render trees differ
863
864         * Scripts/run-webkit-tests: Don't check if the text dump matches.
865
866 2005-09-27  Eric Seidel  <eseidel@apple.com>
867
868         No review needed, SVG build fix only.
869
870         * DumpKCanvasTree/DumpKCanvasTree.m:
871         Missed one in my previous checkin.
872         http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
873
874 2005-09-26  Eric Seidel  <eseidel@apple.com>
875
876         No review needed, SVG build fix only.
877
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
886
887 2005-09-26  Eric Seidel  <eseidel@apple.com>
888
889         Reviewed by hyatt.
890
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
896
897 2005-09-22  Duncan Wilcox  <duncan@mclink.it>
898
899         Reviewed by Maciej.
900         Landed by Darin.
901
902         - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
903         "Would like to simulate human interaction with webview"
904
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.
914
915         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
916         link with Carbon.framework
917
918 2005-09-22  Eric Seidel  <eseidel@apple.com>
919
920         Reviewed by mjs.
921
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
926
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.
938
939 2005-09-19  Eric Seidel  <eseidel@apple.com>
940
941         Reviewed by darin.
942
943         * Scripts/run-webkit-tests: added --guard-malloc option
944         http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
945
946 2005-09-16  Justin Garcia  <justin.garcia@apple.com>
947
948         Reviewed by geoff
949         
950         Removed a script that is only used by apple internal developers
951
952         * Scripts/update-webkitsysteminterface: Removed.
953
954 2005-09-16  Adele Peterson  <adele@apple.com>
955
956         Reviewed by Maciej.
957
958         * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
959
960 2005-09-14  Darin Adler  <darin@apple.com>
961
962         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
963           dumpAsText doesn't work with XHTML documents
964
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.
968
969         - separate tweak
970
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.
973
974 2005-09-11  Mark Rowe  <opendarwin.org@bdash.net.nz>
975
976         Reviewed, tweaked, and landed by Darin.
977
978         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
979           .Mac prefpane crashes when Safari using CVS WebKit is running
980
981         * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
982         * Scripts/run-webkit-app: Ditto.
983
984 2005-09-11  Darin Adler  <darin@apple.com>
985
986         * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
987
988 2005-09-11  Darin Adler  <darin@apple.com>
989
990         Reviewed by Eric.
991
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
995         before test-3.
996
997 2005-09-08  Justin Garcia  <justin.garcia@apple.com>
998
999         Reviewed by darin
1000
1001         * Scripts/update-webkitsysteminterface: Added.
1002         Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
1003
1004 2005-09-01  John Sullivan  <sullivan@apple.com>
1005
1006         * Scripts/run-webkit-tests:
1007         Excluded a known system leak to reduce noise; added comments about which leaks
1008         are being excluded.
1009
1010 2005-09-01  Tim Omernick  <tomernick@apple.com>
1011
1012         Change made by Darin, reviewed by John and myself.
1013
1014         - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
1015
1016         * Scripts/prepare-ChangeLog:
1017
1018 2005-08-31  Maciej Stachowiak  <mjs@apple.com>
1019
1020         Reviewed by Darin.
1021
1022         - set color variant and font settings to a consistent value.
1023         (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
1024
1025         * DumpRenderTree/DumpRenderTree.m:
1026         (main):
1027
1028 2005-08-30  Eric Seidel  <eseidel@apple.com>
1029
1030         Reviewed by mjs.
1031
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.
1039
1040 2005-08-30  Darin Adler  <darin@apple.com>
1041
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.
1046
1047 2005-08-30  Darin Adler  <darin@apple.com>
1048
1049         * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
1050
1051 2005-08-29  Maciej Stachowiak  <mjs@apple.com>
1052
1053         Reviewed by Darin.
1054
1055         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
1056         (some pixel tests fail when AA settings are changed)
1057
1058         * DumpRenderTree/DumpRenderTree.m:
1059         (main): set AA settings to the default values
1060
1061 2005-08-29  Darin Adler  <darin@apple.com>
1062
1063         Reviewed by John Sullivan.
1064
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
1067         messages too.
1068
1069 2005-08-28  Maciej Stachowiak  <mjs@apple.com>
1070
1071         Reviewed by Eric.
1072
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)
1075
1076         * DumpRenderTree/DumpRenderTree.m:
1077         (main): set scrollbar arrow setting to a consistent value
1078
1079 2005-08-27  Jussi Hagman  <juhagman@abo.fi>
1080
1081         Reviewed and landed by Darin.
1082
1083         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
1084           output of update-webkit is too verbose
1085
1086         * Scripts/update-webkit:
1087         Added option --quiet (-q) to decrease the amount of output.
1088
1089 2005-08-27  Darin Adler  <darin@apple.com>
1090
1091         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
1092           cvs-create-patch --include-unknowns should ignore hidden files
1093
1094         * Scripts/cvs-create-patch: Add code to check for files starting with ".".
1095
1096 2005-08-25  Ben La Monica  <ben.lamonica@gmail.com>
1097
1098         Reviewed, tweaked, and landed by Darin.
1099
1100         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
1101           update-webkit doesn't notice when you have SVGSupport and update properly
1102
1103         * Scripts/update-webkit: Build SVGSupport directory if it's present.
1104
1105 2005-08-25  Anders Carlsson  <andersca@mac.com>
1106
1107         Reviewed and landed by Darin.
1108
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
1111
1112         * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
1113
1114 2005-08-24  Darin Adler  <darin@apple.com>
1115
1116         Reviewed by Maciej.
1117
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
1121
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
1128         global variable.
1129
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.
1132
1133 2005-08-23  Eric Seidel  <eseidel@apple.com>
1134
1135         Reviewed by mjs.
1136
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
1140
1141 2005-08-22  Eric Seidel  <eseidel@apple.com>
1142         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
1143
1144         Reviewed by darin.
1145
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
1149
1150 2005-08-22  Eric Seidel  <eseidel@apple.com>
1151
1152         Reviewed by darin.
1153
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
1158
1159 >>>>>>> 1.80
1160 2005-08-20  Eric Seidel  <eseidel@apple.com>
1161
1162         * Scripts/run-webkit-tests:
1163         "build" fix after committing incorrect version.
1164
1165 2005-08-20  Eric Seidel  <eseidel@apple.com>
1166
1167         Reviewed by darin.
1168
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
1175
1176 2005-08-19  Ben La Monica  <ben.lamonica@gmail.com>
1177
1178         Reviewed by Darin.
1179
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".
1182
1183 2005-08-19  Darin Adler  <darin@apple.com>
1184
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.
1189
1190 2005-08-18  Darin Adler  <darin@apple.com>
1191
1192         * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
1193         "." in them -- based on complaint by someone here at Apple.
1194
1195 2005-08-18  Eric Seidel  <eseidel@apple.com>
1196
1197         Reviewed by mjs.
1198
1199         * Scripts/run-webkit-tests:
1200         Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
1201
1202 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
1203
1204         - add file that I forgot in the last checkin 
1205
1206         * DumpRenderTree/ImageDiff.m: Added.
1207         (main):
1208         (getImageFromStdin):
1209         (compareImages):
1210         (getDifferenceBitmap):
1211         (computePercentageDifferent):
1212
1213 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
1214
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.
1217
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
1222
1223         * DumpKCanvasTree/DumpKCanvasTree.m:
1224         (main):
1225         (dumpRenderTree):
1226         (md5HashStringForBitmap):
1227         (dumpPixelTests):
1228         (constrainSizeToMaximum):
1229         (getBitmapImageRepForSVGDocument):
1230         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
1231         * DumpRenderTree/DumpRenderTree.m:
1232         (main):
1233         (dump):
1234         (dumpRenderTree):
1235         (md5HashStringForBitmap):
1236         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1237         * Scripts/run-webkit-tests:
1238
1239 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
1240
1241         Reviewed by Darin.
1242
1243         - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
1244
1245         * DumpRenderTree/DumpRenderTree.m:
1246         (main):
1247
1248 2005-08-14  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
1249
1250         Reviewed and landed by Darin.
1251
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
1254
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.
1257
1258 2005-08-11  Eric Seidel  <eseidel@apple.com>
1259         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
1260
1261         Reviewed by eseidel.
1262
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
1267
1268 2005-08-11  Maciej Stachowiak  <mjs@apple.com>
1269
1270         At Least Roughly Glanced At by Anders.
1271
1272         - fix change with totally breaks the layout tests.
1273
1274         * DumpRenderTree/DumpRenderTree.m:
1275         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
1276         load, to avoid dumping twice accidentally.
1277
1278 2005-08-10  Eric Seidel  <eseidel@apple.com>
1279         Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
1280
1281         Reviewed by darin.
1282
1283         * DumpRenderTree/DumpRenderTree.m:
1284         Added support for rendering to a PNG file.
1285         http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
1286
1287 2005-08-07  Eric Seidel  <eseidel@apple.com>
1288
1289         Reviewed by darin.
1290
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
1294
1295 2005-08-07  Eric Seidel  <eseidel@apple.com>
1296         Changes by Ben La Monica <ben.lamonica@gmail.com>
1297
1298         Reviewed by darin.
1299
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
1312
1313 2005-08-07  Eric Seidel  <eseidel@apple.com>
1314
1315         Reviewed by darin.
1316
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
1321
1322 2005-08-07  Darin Adler  <darin@apple.com>
1323
1324         * Scripts/cvs-create-patch: Do all the directories at once, for speed.
1325
1326 2005-08-06  Eric Seidel  <eseidel@apple.com>
1327
1328         Reviewed by darin.
1329
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
1339
1340 2005-08-06  Eric Seidel  <eseidel@apple.com>
1341
1342         Reviewed by darin.
1343
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
1348
1349 2005-08-04  Eric Seidel  <eseidel@apple.com>
1350
1351         Reviewed by darin.
1352
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
1363
1364 2005-08-04  Darin Adler  <darin@apple.com>
1365
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.
1368
1369 2005-07-31  Darin Adler  <darin@apple.com>
1370
1371         - a little tools cleanup
1372
1373         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
1374         project as a whole. Removed unused Default configuration.
1375
1376         * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
1377
1378 2005-07-31  Duncan Wilcox  <duncan@mclink.it>
1379
1380         Reviewed and landed by Darin Adler.
1381
1382         Add logging of editing delegate calls for regression checking.
1383
1384         * DumpRenderTree/DumpRenderTree.m:
1385         (main):
1386           setup editing delegate
1387
1388         (-[DOMNode dumpPath]):
1389         (-[DOMRange dump]):
1390           utility for editing delegate logging
1391
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
1405
1406         (-[EditingDelegate webViewDidChangeSelection:]):
1407           log selection except when clearing selection after end of test (uses existing "done" flag)
1408
1409         (dumpRenderTree):
1410           added clearing of selection after test
1411
1412 2005-07-31  Eric Seidel  <eseidel@apple.com>
1413
1414         Reviewed by hyatt.
1415
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
1423
1424 2005-07-29  Eric Seidel  <eseidel@apple.com>
1425
1426         Reviewed by vicki.
1427
1428         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1429         Build fix.  Removed bad path.
1430
1431 2005-07-29  Eric Seidel  <eseidel@apple.com>
1432
1433         Reviewed by sullivan.
1434
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
1472
1473 2005-07-28  Eric Seidel  <eseidel@apple.com>
1474
1475         Reviewed by ggaren.
1476
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
1483
1484 2005-07-26  Maciej Stachowiak  <mjs@apple.com>
1485
1486         Reviewed by Darin.
1487
1488         - new script to review the DOM layout test results and see where we stand
1489         on actual success and failure
1490
1491         * Scripts/check-dom-results: Added.
1492
1493 2005-07-25  Darin Adler  <darin@apple.com>
1494
1495         * Scripts/webkitdirs.pm: Check in missing line of code.
1496
1497 2005-07-25  Darin Adler  <darin@apple.com>
1498
1499         - fixed problem that was causing JavaScriptCore test to fail
1500           (except for people who had set DYLD_FRAMEWORK_PATH)
1501
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.
1505
1506         * Scripts/update-javascriptcore-test-results: Add license header.
1507
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.
1511
1512 2005-07-25  Darin Adler  <darin@apple.com>
1513
1514         Reviewed by Geoff Garen.
1515
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.
1520
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.
1526
1527         * Scripts/gdb-safari: Use safariPath.
1528         * Scripts/run-safari: Use safariPath.
1529
1530 2005-07-22  Geoffrey Garen  <ggaren@apple.com>
1531
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
1534         
1535         Moved Tools/Scripts/update-mozilla-js-test-results to 
1536         WebKitTools/Scripts/update-javascriptcore-test-results.
1537         
1538         Reviewed by darin.
1539
1540         * Scripts/run-javascriptcore-tests: Added.
1541
1542 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
1543
1544         Reviewed by Darin.
1545
1546         * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
1547
1548 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
1549
1550         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
1551
1552 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
1553
1554         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
1555
1556 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
1557
1558         * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
1559
1560 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
1561
1562         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
1563
1564 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
1565
1566         * Scripts/build-webkit:
1567
1568 2005-07-12  Eric Seidel  <eseidel@apple.com>
1569
1570         Reviewed by mjs.
1571
1572         * checkout-svg: Fixed error with symlink creation.
1573
1574 2005-07-12  Eric Seidel  <eseidel@apple.com>
1575
1576         Reviewed by mjs.
1577
1578         * checkout-svg: Added.
1579         Script to check out WebCore+SVG
1580
1581 2005-06-30  Darin Adler  <darin@apple.com>
1582
1583         Changes based on input from Michael Kahl.
1584
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.
1589
1590 2005-06-29  Darin Adler  <darin@apple.com>
1591
1592         - fixed bug which would result in multiple unwanted dumps in a single layout test
1593
1594         * DumpRenderTree/DumpRenderTree.m:
1595         (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
1596         "readyToDump" flag.
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.
1600
1601 2005-06-29  Darin Adler  <darin@apple.com>
1602
1603         Changes by Timothy Hatcher.
1604         Reviewed by me.
1605
1606         * Scripts/run-webkit-app: Added script to open an arbritrary application with
1607         a CVS built WebKit. Example: ./run-webkit-app Colloquy
1608
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.
1612
1613 2005-06-26  Darin Adler  <darin@apple.com>
1614
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.
1619
1620 2005-06-23  Darin Adler  <darin@apple.com>
1621
1622         * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
1623
1624 2005-06-23  Darin Adler  <darin@apple.com>
1625
1626         Changes based on input from Michael Kahl.
1627
1628         * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
1629         directory passed in.
1630
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.
1634
1635 2005-06-22  Darin Adler  <darin@apple.com>
1636
1637         Change by Anders Carlsson.
1638
1639         - added support for dumping title changes
1640
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.
1647
1648 2005-06-20  Darin Adler  <darin@apple.com>
1649
1650         Reviewed by Justin Garcia.
1651
1652         * Scripts/run-webkit-tests: Report number of tests when they succeed.
1653
1654 2005-06-18  Darin Adler  <darin@apple.com>
1655
1656         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
1657         in the hope of making the tool use less memory and run faster.
1658
1659 2005-06-18  Darin Adler  <darin@apple.com>
1660
1661         * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
1662         * Scripts/cvs-unapply: Ditto.
1663
1664 2005-06-17  Maciej Stachowiak  <mjs@apple.com>
1665
1666         - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
1667         benefit of all WebKit hackerdom
1668
1669         * Scripts/prepare-ChangeLog: Added.
1670
1671 2005-06-16  Darin Adler  <darin@apple.com>
1672
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.
1677
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.
1681
1682 2005-06-15  Darin Adler  <darin@apple.com>
1683
1684         * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
1685
1686 2005-06-14  Darin Adler  <darin@apple.com>
1687
1688         Changes by Anders Carlsson.
1689         Reviewed by me.
1690
1691         - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
1692           Add gdb-safari script to launch Safari under gdb
1693
1694         * Scripts/gdb-safari: Added.
1695
1696 2005-06-12  Darin Adler  <darin@apple.com>
1697
1698         Changes by Stuart Morgan.
1699         Reviewed by me.
1700
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.
1707
1708 2005-06-12  Darin Adler  <darin@apple.com>
1709
1710         * Scripts/cvs-apply: Handle case of an empty patch better.
1711         * Scripts/cvs-unapply: Ditto.
1712
1713 2005-06-12  Darin Adler  <darin@apple.com>
1714
1715         Changes by Michael Gaiman.
1716         Reviewed by me.
1717
1718         - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
1719           WebKit no longer builds after configuration supporting build changes
1720
1721         * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
1722
1723 2005-06-12  Darin Adler  <darin@apple.com>
1724
1725         * Scripts/update-webkit: Make this script work when called from any directory.
1726
1727 2005-06-12  Darin Adler  <darin@apple.com>
1728
1729         Reviewed by Maciej.
1730         Includes changes by Stuart Morgan as well as my own.
1731
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.
1740
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
1745         option.
1746
1747 2005-06-11  Darin Adler  <darin@apple.com>
1748
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.
1751
1752 2005-06-11  Darin Adler  <darin@apple.com>
1753
1754         - added first cuts at some cvs scripts
1755
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
1760
1761           An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
1762
1763         * Scripts/cvs-abandon: Added.
1764         * Scripts/cvs-apply: Added.
1765         * Scripts/cvs-create-patch: Added.
1766         * Scripts/cvs-unapply: Added.
1767
1768 2005-06-09  Darin Adler  <darin@apple.com>
1769
1770         Reviewed by Maciej.
1771
1772         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
1773           Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
1774
1775         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
1776         for Foundation.framework. How was it ever wrong?
1777
1778         - finally, I tested making the default build directory work; it works now
1779
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.
1784
1785 2005-06-09  Darin Adler  <darin@apple.com>
1786
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.
1790
1791 2005-06-08  Darin Adler  <darin@apple.com>
1792
1793         - quick fix to try to get build scripts working again
1794
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.
1800
1801 2005-06-08  Darin Adler  <darin@apple.com>
1802
1803         Reviewed by Maciej.
1804
1805         - some build script enhancements
1806
1807         * Scripts/build-dumprendertree: Changed to use webkitdirs.
1808         * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
1809         they are newer.
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.
1814
1815         * Scripts/webkitdirs.pm: Added.
1816
1817 2005-06-08  Maciej Stachowiak  <mjs@apple.com>
1818
1819         Code change by Toby Peterson <toby@opendarwin.org>
1820         Reviewed by me.
1821
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
1824         like 2.1.
1825
1826 2005-06-07  Darin Adler  <darin@apple.com>
1827
1828         Reviewed by Adele Peterson.
1829
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.
1833
1834 2005-06-07  Darin Adler  <darin@apple.com>
1835
1836         Reviewed by Adele Peterson.
1837
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.
1840
1841 2005-06-07  Darin Adler  <darin@apple.com>
1842
1843         * checkout: Added license.
1844         * Scripts/build-dumprendertree: Ditto.
1845         * Scripts/run-webkit-tests: Ditto.
1846         * Scripts/update-webkit: Ditto.
1847
1848 2005-06-07  Darin Adler  <darin@apple.com>
1849
1850         Change by Toby Peterson <toby@opendarwin.org>.
1851         Reviewed by me.
1852
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.
1855
1856 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
1857
1858         * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
1859
1860 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
1861
1862         * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
1863
1864 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
1865
1866         * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
1867
1868 2005-06-05  Darin Adler  <darin@apple.com>
1869
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.
1874
1875 2005-06-05  Darin Adler  <darin@apple.com>
1876
1877         * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
1878
1879 2005-06-05  Darin Adler  <darin@apple.com>
1880
1881         - add run-webkit-tests script; not working yet but the pieces are there
1882
1883         * Scripts/run-webkit-tests: Added.
1884
1885         * DumpRenderTree/DumpRenderTree.m: Added.
1886         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
1887         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
1888         * DumpRenderTree/DumpRenderTreePrefix.h: Added.
1889
1890 2005-06-05  Darin Adler  <darin@apple.com>
1891
1892         - created module, first cut at Web Kit Open Source Project scripts
1893
1894         * ChangeLog: Added.
1895         * Scripts/build-webkit: Added.
1896         * Scripts/run-safari: Added.
1897         * Scripts/update-webkit: Added.
1898         * checkout: Added.
1899
1900 === creation of WebKitTools module ===