2006-03-01 Eric Seidel <eseidel@apple.com>
[WebKit-https.git] / WebKitTools / ChangeLog
1 2006-03-01  Eric Seidel  <eseidel@apple.com>
2
3         Reviewed by hyatt.
4
5         Add a stub win32 application to test WebCore drawing on windows.
6
7         * Spinneret: Added.
8         * Spinneret/Spinneret: Added.
9         * Spinneret/Spinneret.sln: Added.
10         * Spinneret/Spinneret/Resource.h: Added.
11         * Spinneret/Spinneret/Spinneret.cpp: Added.
12         (_tWinMain):
13         (MyRegisterClass):
14         (InitInstance):
15         (WndProc):
16         (About):
17         * Spinneret/Spinneret/Spinneret.h: Added.
18         * Spinneret/Spinneret/Spinneret.ico: Added.
19         * Spinneret/Spinneret/Spinneret.rc: Added.
20         * Spinneret/Spinneret/Spinneret.vcproj: Added.
21         * Spinneret/Spinneret/WebView.cpp: Added.
22         (WebKit::WebView::WebViewPrivate::WebViewPrivate):
23         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
24         (WebKit::registerWebViewWithInstance):
25         (WebKit::WebView::createWebView):
26         (WebKit::WebView::WebView):
27         (WebKit::WebView::~WebView):
28         (WebKit::WebView::drawRect):
29         (WebKit::WebView::windowHandle):
30         (WebKit::WndProc):
31         * Spinneret/Spinneret/WebView.h: Added.
32         * Spinneret/Spinneret/small.ico: Added.
33         * Spinneret/Spinneret/stdafx.cpp: Added.
34         * Spinneret/Spinneret/stdafx.h: Added.
35
36 2006-02-28  Eric Seidel  <eseidel@apple.com>
37
38         Reviewed by mjs.
39
40         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
41         (main): add ability to dump render tree and read from a local file.
42
43 2006-02-27  Eric Seidel  <eseidel@apple.com>
44
45         Reviewed by darin.
46
47         * Scripts/install-win-extras: fix dll permissions & download zlib too.
48
49 2006-02-27  Eric Seidel  <eseidel@apple.com>
50
51         Reviewed by ggaren.
52
53         Test new KConfig -> PlugInInfoStore change.
54         http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
55
56         * DumpRenderTree/DumpRenderTree.m:
57         (main): load test netscape plugin
58         * Scripts/run-webkit-tests: style update
59
60 2006-02-24  Eric Seidel  <eseidel@apple.com>
61
62         Reviewed by mjs.
63
64         Make DumpRenderTree link against icu.
65
66         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
67
68 2006-02-24  Eric Seidel  <eseidel@apple.com>
69
70         Reviewed by mjs.
71
72         Make DumpRenderTree link against libxml, etc.
73
74         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
75
76 2006-02-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
77
78         Reviewed and landed by Anders.
79         
80         Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
81         getting called from the run loop, making the view render each test and thus slowing
82         down the tests.
83
84         * DumpRenderTree/DumpRenderTree.m:
85         (main): Set the offscreen window to not autodisplay.
86
87 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
88
89         Reviewed by Darin.
90
91         - Turn http tests back on by default.
92         - Wait for Apache to actually start serving requests.
93         - Get user id from a built-in variable rather than an external command; 
94         don't pass the group. 
95
96         * Scripts/run-webkit-tests: 
97
98 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
99
100         Suggested by Mitz Pettel, reviewed by Darin.
101
102         * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
103         can run CGIs even if the permissions are 700 or 600.
104
105 2006-02-23  Darin Adler  <darin@apple.com>
106
107         Collaborating with Alexey.
108
109         - turn off http tests by default until we figure out how to get them
110           to run even when permissions on CGI files are 700 instead of 755
111
112         * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
113
114 2006-02-23  Eric Seidel  <eseidel@apple.com>
115
116         Add *.user to ignore list.
117
118 2006-02-23  Eric Seidel  <eseidel@apple.com>
119
120         Remove binary file which shouldn't have been commited (and add to ignore list).
121
122         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
123         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
124
125 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
126
127         Reviewed by Eric.
128
129         * Scripts/run-webkit-tests: Put Apache log files in the right directory.
130
131 2006-02-22  Eric Seidel  <eseidel@apple.com>
132
133         Reviewed by Tim Hatcher.
134
135         Fix install-win-extras to not try to re-install setx if installed.
136
137         * Scripts/install-win-extras:
138
139 2006-02-22  Eric Seidel  <eseidel@apple.com>
140
141         One more file possibly missing from previous commit?
142
143         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
144         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
145
146 2006-02-22  Eric Seidel  <eseidel@apple.com>
147
148         Reviewed by justing.
149
150         Files missing from previous commit.
151
152         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
153         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
154
155 2006-02-22  Eric Seidel  <eseidel@apple.com>
156
157         Rubber-stamped by justing.
158
159         Corrected path for DumpRenderTree.intermediate files
160
161         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
162
163 2006-02-22  Eric Seidel  <eseidel@apple.com>
164
165         Reviewed by justing.
166
167         Fixed build-dumprendertree to exit with correct error codes.
168
169         * Scripts/build-dumprendertree:
170
171 2006-02-22  Eric Seidel  <eseidel@apple.com>
172
173         Reviewed by justing.
174
175         Update build scripts to generalize building on Win32, and allow
176         building of DumpRenderTree on Win32 from build-dumprendertree.
177
178         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
179         (main):
180         * Scripts/build-dumprendertree:
181         * Scripts/build-webkit:
182         * Scripts/webkitdirs.pm:
183
184 2006-02-22  Eric Seidel  <eseidel@apple.com>
185
186         Reviewed by hyatt.
187
188         * DumpRenderTree/DumpRenderTree.vcproj: Added.
189         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
190         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
191         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
192         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
193         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
194         (_tmain):
195         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
196         * Scripts/build-webkit: make build-webkit cleanup after itself
197
198 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
199
200         Reviewed by Darin.
201
202         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
203           Some minor fixes to http tests.
204
205         * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
206
207 2006-02-21  Alexey Proskuryakov  <ap@nypop.com>
208
209         Reviewed by Darin.
210
211         - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
212           Would like to use locally installed Apache for testing.
213
214         Added two run-webkit-tests options:
215           --http (--nohttp)  - whether to launch Apache (defaults to yes);
216           --port - which port to listen on (defaults to 8000).
217
218         Tests in LayoutTests/http are not run directly, and Apache is used instead.
219         For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
220         http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
221
222         Also added support for .shtml and .text files. Text files give an empty 
223         *-expected.txt, but a correct image.
224
225         Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
226
227         * Scripts/run-webkit-tests:
228
229 2006-02-21  Darin Adler  <darin@apple.com>
230
231         Suggested by Mark Rowe.
232
233         * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
234         reporting leak counts.
235
236 2006-02-18  Maciej Stachowiak <mjs@apple.com>
237
238         Reviewed by Darin.
239
240         - Added install-win-extras script which installs some extra 
241         programs and libraries, and does Windows first-time setup.
242
243         * Scripts/build-webkit: Add a newline between build results.
244         * Scripts/install-win-extras: Added.
245
246 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
247
248         Reviewed by Darin.
249
250         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
251           DumpRenderTree should be able to load files via HTTP
252
253         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
254         Handle tests starting with "http://" as real URLs, not file system paths.
255
256 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
257
258         Reviewed by Maciej.
259
260         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
261           REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
262
263         * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
264
265 2006-02-18  Darin Adler  <darin@apple.com>
266
267         * Scripts/commit-log-editor: Added.
268
269 2006-02-17  Eric Seidel  <eseidel@apple.com>
270
271         Reviewed by hyatt.
272
273         Make Win32 have the same default "WebKitBuild" directory behavior.
274
275         * Scripts/build-webkit:
276         * Scripts/webkitdirs.pm:
277
278 2006-02-17  Eric Seidel  <eseidel@apple.com>
279
280         Reviewed by Beth.
281
282         * Scripts/build-webkit: make win32 actually report errors
283
284 2006-02-17  Eric Seidel  <eseidel@apple.com>
285
286         Reviewed by adele.
287
288         * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
289
290 2006-02-17  Eric Seidel  <eseidel@apple.com>
291
292         Reviewed by adele.
293
294         * Scripts/run-webkit-tests: Ignore flash leaks
295
296 2006-02-15  Justin Garcia  <justin.garcia@apple.com>
297
298         Reviewed by darin
299         
300         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
301         Add drag and drop support to DumpRenderTree
302         
303         Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
304         and send dragging updates.  Put DumpRenderTree's WebView into an offscreen window.
305
306         * DumpRenderTree/DumpRenderTree.m:
307         (main):
308         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
309         (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
310         (-[WaitUntilDoneDelegate webViewFocus:]):
311         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
312         (+[LayoutTestController webScriptNameForSelector:]):
313         (-[LayoutTestController setWindowIsKey:]):
314         (-[LayoutTestController setMainFrameIsFirstResponder:]):
315         (-[EventSendingController init]):
316         (-[EventSendingController mouseDown]):
317         (-[EventSendingController mouseUp]):
318         (-[EventSendingController mouseMoveToX:Y:]):
319         (dumpRenderTree):
320         (-[DumpRenderTreeWindow isKeyWindow]):
321         (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
322         (-[DumpRenderTreeDraggingInfo dealloc]):
323         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
324         (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
325         (-[DumpRenderTreeDraggingInfo draggingLocation]):
326         (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
327         (-[DumpRenderTreeDraggingInfo draggedImage]):
328         (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
329         (-[DumpRenderTreeDraggingInfo draggingSource]):
330         (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
331         (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
332         (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
333         * DumpRenderTree/TextInputController.m:
334         (-[TextInputController firstRectForCharactersFrom:length:]):
335         (-[TextInputController characterIndexForPointX:Y:]):
336         
337 2006-02-15  Geoffrey Garen  <ggaren@apple.com>
338
339         Reviewed by Eric.
340
341         * DumpRenderTree/DumpRenderTree.m:
342         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]): 
343         Added a dummy method for the sake of LayoutTests/plugins/
344         undefined-property-crash.html. (It tests a crash due to fallback 
345         object use. WebCore won't create a fallback object if the method is 
346         not defined.)
347
348 2006-02-14  Eric Seidel  <eseidel@apple.com>
349
350         Reviewed by adele.
351
352         * Scripts/run-webkit-tests: added --results-directory (-o) option
353
354 2006-02-09  Eric Seidel  <eseidel@apple.com>
355
356         Rubber-stamped by mjs.
357
358         Renamed split-class to split-file-by-class.
359
360         * Scripts/build-webkit: Updated copyright.
361         * Scripts/split-class: Removed.
362         * Scripts/split-file-by-class: Added.
363
364 2006-02-08  Eric Seidel  <eseidel@apple.com>
365
366         Rubber-stamped by mjs.
367
368         Adding new script for splitting multi-class files.
369         Also adding supporting perl module with space removing heuristics.
370
371         * Scripts/SpacingHeuristics.pm: Added.
372         * Scripts/build-drawtest: updated copyright header
373         * Scripts/split-class: Added.
374
375 2006-02-08  Justin Garcia  <justin.garcia@apple.com>
376
377         Reviewed by thatcher
378         
379         Changes to test fix for:
380         <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
381         webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
382
383         * DumpRenderTree/DumpRenderTree.m:
384         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
385         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
386         (+[LayoutTestController webScriptNameForSelector:]):
387         (-[LayoutTestController setWindowHasFocus:]):
388         (-[LayoutTestController setDisplaysWithFocusAttributes:]):
389
390 2006-02-07  Alexey Proskuryakov  <ap@nypop.com>
391
392         Reviewed by Timothy.
393
394         Support automated testing of AppleScript "do JavaScript" command
395         http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
396
397         * DumpRenderTree/AppleScriptController.h: Added.
398         * DumpRenderTree/AppleScriptController.m: Added.
399         * DumpRenderTree/DumpRenderTree.m:
400         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
401         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
402
403 2006-02-06  Eric Seidel  <eseidel@apple.com>
404
405         Reviewed by hyatt.
406
407         Fix build-webkit for use on win32 (unblocks buildbot usage).
408         http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
409
410         * Scripts/build-webkit: use ifCygwin() to conditionalize builds
411         * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
412
413 2006-02-06  Eric Seidel  <eseidel@apple.com>
414
415         Rubber-stamped by darin & mjs.
416
417         Added new support directory for build slave scripts.
418         Committing the first script, for use by the PLT's build slave.
419         This script is used to kick of the PLT (Page Load Test) slave.
420
421         * BuildSlaveSupport: Added.
422         * BuildSlaveSupport/run-performance-tests: Added.
423
424 2006-02-06  Eric Seidel  <eseidel@apple.com>
425
426         Rubber-stamped by darin.
427
428         Adding setSourceDir for scripts stored in non-standard locations.
429
430         * Scripts/webkitdirs.pm:
431
432 2006-02-04  Darin Adler  <darin@apple.com>
433
434         * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
435         Configuration files that say Development or Deployment in them.
436
437 2006-02-04  Darin Adler  <darin@apple.com>
438
439         * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
440         wrapper already in the directory.
441         * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
442         these haven't been working at all.
443         * Scripts/svn-unapply: Ditto.
444
445 2006-02-03  Timothy Hatcher  <timothy@apple.com>
446
447         Reviewed by Justin.
448
449         Renamed configuration names to Debug, Release and Production.
450
451         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
452         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
453         * Scripts/set-webkit-configuration:
454         * Scripts/webkitdirs.pm:
455
456 2006-02-02  Justin Garcia  <justin.garcia@apple.com>
457
458         Reviewed by thatcher
459         
460         Enabled spell checking for layout tests.
461         
462         * DumpRenderTree/DumpRenderTree.m:
463         (main):
464
465 2006-01-29  Darin Adler  <darin@apple.com>
466
467         * Scripts/svn-apply: Added comments about things we should do to improve.
468         * Scripts/svn-create-patch: Ditto.
469         * Scripts/svn-unapply: Ditto.
470
471 2006-01-28  Darin Adler  <darin@apple.com>
472
473         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
474         already there, even if the checksum is correct.
475
476 2006-01-27  Eric Seidel  <eseidel@apple.com>
477
478         Reviewed by adele.
479
480         * Scripts/run-webkit-tests: make new tests use absolute urls
481
482 2006-01-27  Eric Seidel  <eseidel@apple.com>
483
484         Reviewed by mjs.
485
486         make run-webkit-tests output total leaks count
487
488         * Scripts/run-webkit-tests:
489
490 2006-01-27  Eric Seidel  <eseidel@apple.com>
491
492         Reviewed by mjs.
493
494         run-webkit-test --leaks crashes (malloc logging runs out of memory)
495         http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
496
497         * Scripts/run-webkit-tests: fix --leaks to not crash
498
499 2006-01-26  Eric Seidel  <eseidel@apple.com>
500
501         Reviewed by darin.
502
503         run-webkit-tests should produce a self-contained results directory
504         http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
505
506         * Scripts/run-webkit-tests: copy failing items to results dir.
507
508 2006-01-23  Darin Adler  <darin@apple.com>
509
510          - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
511            need script to update localizable strings file in WebKit
512
513         * Scripts/update-webkit-localizable-strings: Added.
514
515 2006-01-23  Darin Adler  <darin@apple.com>
516
517         - added a couple of scripts -- more about these two soon
518
519         * Scripts/extract-localizable-strings: Added.
520         * Scripts/merge-changelog: Added.
521
522 2006-01-22  Mark Rowe  <opendarwin.org@bdash.net.nz>
523
524         Reviewed by Anders.
525         
526         Build fix.  build-webkit dies with "invalid build action: (empty string)"
527
528         * Scripts/build-webkit:
529         Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
530
531 2006-01-22  Eric Seidel  <eseidel@apple.com>
532
533         Reviewed by anders.
534
535         Fix --no-svg option to use XCode flags instead of gcc flags.
536
537         * Scripts/build-webkit:
538
539 2006-01-22  Eric Seidel  <eseidel@apple.com>
540
541         Reviewed by anders.
542
543         Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
544
545         * Scripts/build-webkit:
546
547 2006-01-20  David Kilzer  <ddkilzer@kilzer.net>
548
549         Reviewed by eseidel.
550
551         - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
552         Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
553
554         * Scripts/build-drawtest: Changed bareword 'true' to 1.
555         * Scripts/run-drawtest: Changed bareword 'true' to 1.
556
557 2006-01-19  Darin Adler  <darin@apple.com>
558
559         * Scripts/report-include-statistics: Added a new script.
560
561 2006-01-19  Timothy Hatcher  <timothy@apple.com>
562
563         * Scripts/build-webkit: include JavaScriptGlue in the build
564
565 2006-01-19  Darin Adler  <darin@apple.com>
566
567         * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
568         spaces in it by using the form of open that treats each argument as a string
569         rather than backtick syntax for reading the output of the nm tool.
570
571 2006-01-12  Maciej Stachowiak  <mjs@apple.com>
572
573         Reviewed by Darin.
574         
575         - make prepare-ChangeLog way faster by using svn diff instead of svn status to
576         detect if there are any new tests
577
578         * Scripts/prepare-ChangeLog:
579
580 2006-01-12  Darin Adler  <darin@apple.com>
581
582         - removed some of the cvs-specific scripts -- not needed for this project any more
583
584         * Scripts/cvs-abandon: Removed.
585         * Scripts/cvs-apply: Removed.
586         * Scripts/cvs-create-patch: Removed.
587         * Scripts/cvs-unapply: Removed.
588
589 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
590
591         Reviewed by eseidel.  Committed by eseidel.
592
593         - run-webkit-tests always launches Safari when tests fail
594         http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
595
596         * Scripts/run-webkit-tests:
597         Add a command-line flag to prevent Safari being launched to display failed
598         tests.  Always exit with non-zero status when tests have failed.
599
600 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
601
602         Reviewed by eseidel.  Committed by eseidel.
603
604         - build-webkit should exit with non-zero status when build fails
605         http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
606
607         * Scripts/build-webkit:
608         Use correct bits of subprocess exit code when passing back through
609         as build-webkit's exit code.
610
611 2006-01-10  Eric Seidel  <eseidel@apple.com>
612
613         Restored corrupted nibs from TOT CVS.
614
615         * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
616         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
617         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
618         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
619         * DrawTest/English.lproj/Inspector.nib: Replaced.
620         * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
621         * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
622         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
623         * DrawTest/English.lproj/MainMenu.nib: Replaced.
624         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
625         * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
626         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
627         * DrawTest/English.lproj/TestViewer.nib: Replaced.
628         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
629         * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
630         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
631
632 2006-01-10  Nefaur Khandker  <nefaurk@gmail.com>
633
634         Reviewed by eseidel.  Committed by eseidel.
635
636         DrawTestView now subclasses WebView instead of DrawView.
637
638         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
639         * DrawTest/DrawTestDocument.h:
640         * DrawTest/DrawTestDocument.m:
641         (-[DrawTestDocument dealloc]):
642         (-[DrawTestDocument readFromFile:ofType:]):
643         (-[DrawTestDocument windowControllerDidLoadNib:]):
644         (-[DrawTestDocument dumpSVGToConsole:]):
645         (-[DrawTestDocument openSourceForSelection:]):
646         (-[DrawTestDocument dataRepresentationOfType:]):
647         * DrawTest/DrawTestToolbarController.h:
648         * DrawTest/DrawTestToolbarController.m:
649         (-[DrawTestToolbarController initWithDrawView:]):
650         (-[DrawTestToolbarController clickedToolbarItem:]):
651         (-[DrawTestToolbarController validateToolbarItem:]):
652         * DrawTest/DrawTestView.h:
653         * DrawTest/DrawTestView.m:
654         (-[DrawTestView initWithFrame:]):
655         (-[DrawTestView setDocument:]):
656         * DrawTest/SVGTest.h:
657         * DrawTest/SVGTest.m:
658         (+[SVGTest sharedDrawView]):
659         (-[SVGTest generateCompositeIfNecessary]):
660         * DrawTest/TestController.h:
661         * DrawTest/TestController.m:
662         (-[TestController awakeFromNib]):
663         (-[TestController setSelectedTest:]):
664         (-[TestController openTestViewerForSelection:]):
665         (-[TestController toggleViewersScaleRule:]):
666         * DrawTest/TestViewerSplitView.m:
667         (-[TestViewerSplitView drawRect:]):
668
669 2006-01-10  Anders Carlsson  <andersca@mac.com>
670
671         Reviewed by Timothy.
672
673         * DumpRenderTree/DumpRenderTree.m:
674         (main): Set the default language to "en", so language tests will work.
675
676 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
677
678         Reviewed by Eric.
679         
680         - script to generate HTML wrappers for JS tests
681         http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
682
683         * Scripts/make-js-test-wrappers: Added.
684
685 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
686
687         Reviewed by Eric.
688
689         * Scripts/svn-create-patch: Fix to work when passed directory names.
690
691 2006-01-08  Geoffrey Garen  <ggaren@apple.com>
692
693         Reviewed by Eric.
694
695         - Added back/forward navigation support to DumpRenderTree. Hopefully we
696         can start writing automated loader tests now. I have one in the works.
697
698         * DumpRenderTree/DumpRenderTree.m:
699         (main): Construct global navigationController on entry, destroy on exit.
700         Set frame to nil on exit too, to match all the other global objects. 
701         (Probably academic, since the process is exiting, anyway.)
702         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
703         navigationController, in case it wants to kick off a load.
704         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
705         the navigationController to scripting.
706
707         New class, should be straightforward:
708
709         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
710         * DumpRenderTree/NavigationController.h: Added.
711         * DumpRenderTree/NavigationController.m: Added.
712
713         (+[NavigationController isSelectorExcludedFromWebScript:]):
714         (+[NavigationController webScriptNameForSelector:]):
715         (-[NavigationController setPendingScript:]):
716         (-[NavigationController setPendingRequest:]):
717         (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
718         (-[NavigationController webView:didFinishLoadForFrame:]):
719         (-[NavigationController dealloc]):
720
721 2006-01-08  Timothy Hatcher  <timothy@apple.com>
722
723         Removed this script, no longer needs with the Subversion switch.
724
725         * checkout: Removed.
726
727 2006-01-08  Timothy Hatcher  <timothy@apple.com>
728
729         Removes some stray tabs.
730
731         * Scripts/update-webkit:
732
733 2005-01-07  Eric Seidel  <eseidel@apple.com>
734
735         Reviewed by darin.
736
737         build-webkit should pass on build arguments from command line
738         http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
739
740         * Scripts/build-webkit:
741
742 2006-01-07  Eric Seidel  <eseidel@apple.com>
743
744         Reviewed by mjs & xenon.
745
746         * Scripts/update-webkit: support Internal updates as well
747
748 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
749
750         Temporarily rolling out plugin support from DumpRenderTree because it
751         caused lots of layout test regressions.
752
753         * DumpRenderTree/DumpRenderTree.m:
754         (main): Remove invisible window added to support plugins.
755
756 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
757
758         Reviewed by darin.
759
760         - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
761         Add plugin support to DumpRenderTree
762
763         Also wrote first test plugin.
764
765         * DumpRenderTree/DumpRenderTree.m:
766         (main):
767         (1) Put the WebView in an invisible window, because PlugIns are
768         optimized not to load if there's no parent window.
769         (2) Tell WebKit to load any PlugIns in the directory from which we 
770         loaded. This means we can build nasty PlugIns alongside DumpRenderTree 
771         and they'll load automagically during layout testing, but they won't be
772         added to the user's system, hosing apps like Safari.
773
774         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
775         test PlugIn to project.
776
777         PlugIn added to project:
778
779         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
780         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
781         (getPluginClass):
782         (initializeIdentifiers):
783         (pluginHasProperty):
784         (pluginHasMethod):
785         (pluginGetProperty):
786         (pluginSetProperty):
787         (pluginInvoke):
788         (pluginInvokeDefault):
789         (pluginInvalidate):
790         (pluginAllocate):
791         (pluginDeallocate):
792         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
793         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
794         (NP_Initialize):
795         (NP_GetEntryPoints):
796         (NP_Shutdown):
797         (NPP_New):
798         (NPP_Destroy):
799         (NPP_SetWindow):
800         (NPP_NewStream):
801         (NPP_DestroyStream):
802         (NPP_WriteReady):
803         (NPP_Write):
804         (NPP_StreamAsFile):
805         (NPP_Print):
806         (NPP_HandleEvent):
807         (NPP_URLNotify):
808         (NPP_GetValue):
809         (NPP_SetValue):
810
811 2006-01-04  Timothy Hatcher  <timothy@apple.com>
812
813         Reviewed by Darin.
814         Created by Eric.
815         Tweaked and tested by me.
816
817         New scripts to work with Subversion when the switch happens.
818         These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
819
820         * Scripts/svn-apply: Added.
821         * Scripts/svn-create-patch: Added.
822         * Scripts/svn-unapply: Added.
823
824 2005-12-30  Eric Seidel  <eseidel@apple.com>
825
826         Reviewed by mjs.
827
828         Move WebView width/height logic into DumpRenderTree to support
829         running the W3C SVG 1.1 tests along side other tests.  The W3C
830         SVG 1.1 tests require a 480x360 view.
831
832         * DumpRenderTree/DumpRenderTree.m:
833         (main): don't accept width/height
834         (dump): override width/height for SVG/W3C
835         * Scripts/run-webkit-tests: don't pass width/height
836
837 2005-12-30  Eric Seidel  <eseidel@apple.com>
838
839         No review, only removing dead code.
840
841         * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
842         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
843
844 2005-12-30  Eric Seidel  <eseidel@apple.com>
845
846         Reviewed by darin.
847
848         DumpRenderTree should set a consistent color profile while running
849         http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
850
851         Creates consistent colormatched renderings on every test machine
852         using the only way possible with Tiger APIs: by setting the
853         system color profile on the test machine for the duration of the
854         tests.  This will (unfortunately) cause colors to change while
855         running DumpRenderTree.  This can also cause "permanent" color
856         changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
857         This is far from ideal, but it's be best way we've found to deal
858         with the issue for now.
859
860         * DumpRenderTree/DumpRenderTree.m:
861         (restoreColorSpace):
862         (setDefaultColorProfileToRGB):
863         (main):
864
865 2005-12-20  Alexey Proskuryakov  <ap@nypop.com>
866
867         Reviewed by Darin Adler.
868
869         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
870           cvs-create-patch --include produces incorrect paths
871
872         * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
873
874 2005-12-19  Eric Seidel  <eseidel@apple.com>
875
876         Reviewed by darin.
877
878         * Scripts/run-webkit-tests: stop /etc/catalog warnings
879
880 2005-12-19  Darin Adler  <darin@apple.com>
881
882         Reviewed by Eric Seidel.
883
884         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
885           WebKit needs to use a local pasteboard during testing
886
887         * DumpRenderTree/DumpRenderTree.m:
888         (main): Call poseAs to substitute our NSPasteboard class for the default one.
889         Create a local pasteboard (really a global one with a unique name) and release
890         it when exiting from the function so we don't leave it in the pasteboard server.
891         (dumpRenderTree): Added an autorelease pool around one small bit of code that
892         ddn't have one. Fixed a leak in an unlikely error case.
893         (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
894         of this method to return our local pasteboard.
895
896 2005-12-15  Eric Seidel  <eseidel@apple.com>
897
898         Reviewed by Tim Hatcher.
899
900         * Scripts/build-webkit: --svg is now default!
901
902 2005-12-15  Eric Seidel  <eseidel@apple.com>
903
904         Reviewed by mjs.
905
906         Don't run svg test automatically if +SVG is built (yet).
907
908         * Scripts/run-webkit-tests:
909
910 2005-12-15  Darin Adler  <darin@apple.com>
911
912         * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
913         support is not compiled in. Report the 10 slowest tests if "--slowest" is
914         passed on the command line.
915
916 2005-12-06  John Sullivan  <sullivan@apple.com>
917
918         Reviewed by Darin Adler.
919
920         * Scripts/prepare-ChangeLog:
921         Remove special-case handling for nib files. This avoided trouble with cvs diff
922         when we were using wrappers for nib files. Now that we aren't using wrappers,
923         there's no reason to avoid adding the modified nib files to the file list that
924         gets diffed.
925
926 2005-12-05  Eric Seidel  <eseidel@apple.com>
927
928         Reviewed by mjs.
929
930         Script updates for SVG files move (remove references to SVGSupport)
931
932         * Scripts/build-webkit: remove SVGSupport
933         * Scripts/run-webkit-tests: Resources -> resources for --svg
934         * Scripts/update-webkit: remove SVGSupport
935
936 2005-12-05  Eric Seidel  <eseidel@apple.com>
937
938         Reviewed mjs.
939
940         * checkout: remove --svg support, SVG is now checked out by default
941
942 2005-11-29  Eric Seidel  <eseidel@apple.com>
943
944         Reviewed by darin.
945
946         Update scripts to run SVG tests automatically (w/o --svg) if
947         WebCore is built with SVG support.
948
949         * Scripts/build-drawtest: SVG support required
950         * Scripts/build-dumpkcanvastree: Removed.
951         * Scripts/run-drawtest: SVG support required to run
952         * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
953         * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
954
955 2005-11-28  Alexey Proskuryakov  <ap@nypop.com>
956
957         Reviewed by Darin. Committed by Maciej.
958
959         - fixed "DumpRenderTree should test for Ahem before doing anything else"
960         (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
961
962         * DumpRenderTree/DumpRenderTree.m:
963         (main):
964
965 2005-11-28  Eric Seidel  <eseidel@apple.com>
966
967         Reviewed by sullivan and GGAREN.
968
969         Minor additions to make error messages more clear from cvs-apply.
970
971         * Scripts/cvs-apply: make errors more clear
972
973 2005-11-27  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
974
975         Reviewed and committed by Maciej.
976
977         - fixed cvs-create-patch --include produces incorrect paths
978         (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
979
980         * Scripts/cvs-create-patch: produce proper paths for new files.
981
982 2005-11-21  Eric Seidel  <eseidel@apple.com>
983
984         Reviewed by hyatt.
985
986         Some simple fixes to the build/test scripts now that SVG uses the
987         WebCore DOM.  JSC+SVG is no longer needed, nor is RTTI support
988         or symlinks for KDOM.
989
990         * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
991         * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
992         * Scripts/run-webkit-tests: now runs SVG tests using DRT
993         * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI 
994         * checkout: no longer symlink kdom
995
996 2005-11-10  Eric Seidel  <eseidel@apple.com>
997
998         Reviewed by ggaren.
999
1000         * Scripts/build-webkit: Pass through options to xcodebuild
1001
1002 2005-11-07  Darin Adler  <darin@apple.com>
1003
1004         * Scripts/cvs-apply: Fix case where the patch has files at the top level.
1005
1006 2005-11-03  John Sullivan  <sullivan@apple.com>
1007
1008         Reviewed by Darin.
1009
1010         * Scripts/run-safari:
1011         changed message to say "Starting Safari" instead of odd "Start Safari"
1012         * Scripts/run-webkit-tests:
1013         changed the way we pass the file parameter to use -NSOpen rather than relying on
1014         unlabeled arguments being treated as files. This was failing on some machines that 
1015         (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
1016
1017 2005-10-27  Geoffrey Garen  <ggaren@apple.com>
1018
1019         Patch by Alexey Proskuryakov.
1020
1021         Reviewed by Maciej.
1022         
1023         Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
1024         TextInputController should support attributed strings
1025
1026         * DumpRenderTree/TextInputController.m:
1027         (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
1028         (+[NSMutableAttributedString webScriptNameForSelector:]):
1029         (-[NSMutableAttributedString getLength]):
1030         (-[NSMutableAttributedString attributeNamesAtIndex:]):
1031         (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
1032         (-[NSMutableAttributedString addAttribute:value:]):
1033         (-[NSMutableAttributedString addAttribute:value:from:length:]):
1034         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
1035         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
1036         (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
1037         (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
1038         (+[TextInputController isSelectorExcludedFromWebScript:]):
1039         (+[TextInputController webScriptNameForSelector:]):
1040         (-[TextInputController insertText:]):
1041         (-[TextInputController attributedSubstringFrom:length:]):
1042         (-[TextInputController attributedStringWithString:]):
1043
1044 2005-10-11  Eric Seidel  <eseidel@apple.com>
1045
1046         Reviewed by hyatt.
1047
1048         Checks for leaks in ImageDiff too.
1049
1050         * Scripts/run-webkit-tests:
1051
1052 2005-10-09  Darin Adler  <darin@apple.com>
1053
1054         * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
1055         * Scripts/cvs-apply: Handle added/deleted files in the current directory.
1056         * Scripts/cvs-unapply: Ditto.
1057         * Scripts/run-webkit-tests: Add a few more false-positive leaks.
1058
1059 2005-10-08  Alexey Proskuryakov  <ap@nypop.com>
1060
1061         Reviewed, rearranged and landed by Darin.
1062
1063         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
1064           Need a way to automatically test for regressions in NSTextInput implementation
1065
1066         * DumpRenderTree/DumpRenderTree.m:
1067         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1068         Create a text input controller and put it in a property of the window object.
1069
1070         * DumpRenderTree/TextInputController.h: Added.
1071         * DumpRenderTree/TextInputController.m: Added.
1072         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
1073
1074 2005-10-06  Darin Adler  <darin@apple.com>
1075
1076         * Scripts/cvs-apply: Fixed merge option to work better when not all directories
1077         are controlled by cvs, or when changes cross multiple repositories.
1078         * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
1079
1080 2005-10-03  Eric Seidel  <eseidel@apple.com>
1081
1082         Reviewed by mjs.
1083
1084         Make mouseDown and mouseUp force layout before acting.
1085         This is used by a new test case for 4233558.
1086
1087         * DumpRenderTree/DumpRenderTree.m:
1088         (-[EventSendingController mouseDown]): force layout
1089         (-[EventSendingController mouseUp]): force layout
1090
1091 2005-09-30  Eric Seidel  <eseidel@apple.com>
1092
1093         Reviewed by xenon.
1094
1095         Updated all the scripts for the move:
1096         WebCore/layout-tests -> LayoutTests
1097
1098         * Scripts/check-dom-results:
1099         * Scripts/prepare-ChangeLog: 
1100         * Scripts/run-webkit-tests:
1101         * Scripts/update-webkit: added --no-tests
1102         * checkout: added --no-tests
1103
1104 2005-09-28  Darin Adler  <darin@apple.com>
1105
1106         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
1107           pixel test should run even if render trees differ
1108
1109         * Scripts/run-webkit-tests: Don't check if the text dump matches.
1110
1111 2005-09-27  Eric Seidel  <eseidel@apple.com>
1112
1113         No review needed, SVG build fix only.
1114
1115         * DumpKCanvasTree/DumpKCanvasTree.m:
1116         Missed one in my previous checkin.
1117         http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
1118
1119 2005-09-26  Eric Seidel  <eseidel@apple.com>
1120
1121         No review needed, SVG build fix only.
1122
1123         * DrawTest/DrawTestDocument.m:
1124         * DrawTest/DrawTestToolbarController.m:
1125         * DrawTest/DrawTestView.h:
1126         * DrawTest/DrawTestView.m:
1127         * DrawTest/SVGTest.m:
1128         * DrawTest/TestController.m:
1129         Updated for WebCore+SVG -> WebCore rename.
1130         http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
1131
1132 2005-09-26  Eric Seidel  <eseidel@apple.com>
1133
1134         Reviewed by hyatt.
1135
1136         * DumpRenderTree/DumpRenderTree.m:
1137         (dump): updated error message
1138         * Scripts/check-dom-results: now includes xhtml
1139         Tool updates for xhtml.
1140         http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
1141
1142 2005-09-22  Duncan Wilcox  <duncan@mclink.it>
1143
1144         Reviewed by Maciej.
1145         Landed by Darin.
1146
1147         - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
1148         "Would like to simulate human interaction with webview"
1149
1150         * DumpRenderTree/DumpRenderTree.m:
1151         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1152         (+[EventSendingController isSelectorExcludedFromWebScript:]):
1153         (+[EventSendingController webScriptNameForSelector:]):
1154         (-[EventSendingController init]):
1155         (-[EventSendingController mouseDown]):
1156         (-[EventSendingController mouseUp]):
1157         (-[EventSendingController mouseMoveToX:Y:]):
1158         Add eventSender javascript object, that sends fake mouse events to the webview.
1159
1160         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1161         link with Carbon.framework
1162
1163 2005-09-22  Eric Seidel  <eseidel@apple.com>
1164
1165         Reviewed by mjs.
1166
1167         Update tools for WebCore+SVG -> WebCore rename.
1168         Also fold several SVG specific tools into their original
1169         WebCore counterparts.
1170         http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
1171
1172         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1173         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
1174         * Scripts/build-drawtest:
1175         * Scripts/build-dumpkcanvastree:
1176         * Scripts/build-webcore-svg: Removed.
1177         * Scripts/build-webkit: added --svg option
1178         * Scripts/run-drawtest:
1179         * Scripts/run-webkit-tests:
1180         * Scripts/webkitdirs.pm: various additions.
1181         * checkout: added --svg option
1182         * checkout-svg: Removed.
1183
1184 2005-09-19  Eric Seidel  <eseidel@apple.com>
1185
1186         Reviewed by darin.
1187
1188         * Scripts/run-webkit-tests: added --guard-malloc option
1189         http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
1190
1191 2005-09-16  Justin Garcia  <justin.garcia@apple.com>
1192
1193         Reviewed by geoff
1194         
1195         Removed a script that is only used by apple internal developers
1196
1197         * Scripts/update-webkitsysteminterface: Removed.
1198
1199 2005-09-16  Adele Peterson  <adele@apple.com>
1200
1201         Reviewed by Maciej.
1202
1203         * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
1204
1205 2005-09-14  Darin Adler  <darin@apple.com>
1206
1207         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
1208           dumpAsText doesn't work with XHTML documents
1209
1210         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
1211         rather than of the body element. This works with typical XHTML documents. We can probably
1212         do something even better in the long run, but this fixes the immediate issue.
1213
1214         - separate tweak
1215
1216         * Scripts/run-webkit-tests: Show the results in the current built Safari by using
1217         run-safari instead of just using "open", which often runs another copy of Safari instead.
1218
1219 2005-09-11  Mark Rowe  <opendarwin.org@bdash.net.nz>
1220
1221         Reviewed, tweaked, and landed by Darin.
1222
1223         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
1224           .Mac prefpane crashes when Safari using CVS WebKit is running
1225
1226         * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
1227         * Scripts/run-webkit-app: Ditto.
1228
1229 2005-09-11  Darin Adler  <darin@apple.com>
1230
1231         * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
1232
1233 2005-09-11  Darin Adler  <darin@apple.com>
1234
1235         Reviewed by Eric.
1236
1237         * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
1238         two ways: 1) puts all files in a directory before any files in a subdirectory, and
1239         2) sort file names with numeric digits in them in a logical way, so test-33 will come
1240         before test-3.
1241
1242 2005-09-08  Justin Garcia  <justin.garcia@apple.com>
1243
1244         Reviewed by darin
1245
1246         * Scripts/update-webkitsysteminterface: Added.
1247         Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
1248
1249 2005-09-01  John Sullivan  <sullivan@apple.com>
1250
1251         * Scripts/run-webkit-tests:
1252         Excluded a known system leak to reduce noise; added comments about which leaks
1253         are being excluded.
1254
1255 2005-09-01  Tim Omernick  <tomernick@apple.com>
1256
1257         Change made by Darin, reviewed by John and myself.
1258
1259         - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
1260
1261         * Scripts/prepare-ChangeLog:
1262
1263 2005-08-31  Maciej Stachowiak  <mjs@apple.com>
1264
1265         Reviewed by Darin.
1266
1267         - set color variant and font settings to a consistent value.
1268         (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
1269
1270         * DumpRenderTree/DumpRenderTree.m:
1271         (main):
1272
1273 2005-08-30  Eric Seidel  <eseidel@apple.com>
1274
1275         Reviewed by mjs.
1276
1277         * Scripts/build-svg2png: Removed.
1278         * svg2png/ImageDiff.h: Removed.
1279         * svg2png/ImageDiff.m: Removed.
1280         * svg2png/svg2png.m: Removed.
1281         * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
1282         * svg2png/svg2png_Prefix.pch: Removed.
1283         svg2png is no longer needed.
1284
1285 2005-08-30  Darin Adler  <darin@apple.com>
1286
1287         * Scripts/check-dom-results: Special case 100% to say something nice.
1288         * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
1289         applying the patch (need a better name).
1290         * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
1291
1292 2005-08-30  Darin Adler  <darin@apple.com>
1293
1294         * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
1295
1296 2005-08-29  Maciej Stachowiak  <mjs@apple.com>
1297
1298         Reviewed by Darin.
1299
1300         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
1301         (some pixel tests fail when AA settings are changed)
1302
1303         * DumpRenderTree/DumpRenderTree.m:
1304         (main): set AA settings to the default values
1305
1306 2005-08-29  Darin Adler  <darin@apple.com>
1307
1308         Reviewed by John Sullivan.
1309
1310         * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
1311         executable -- much slower but can help pinpoint leaks. Changed formatting of some
1312         messages too.
1313
1314 2005-08-28  Maciej Stachowiak  <mjs@apple.com>
1315
1316         Reviewed by Eric.
1317
1318         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
1319         (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
1320
1321         * DumpRenderTree/DumpRenderTree.m:
1322         (main): set scrollbar arrow setting to a consistent value
1323
1324 2005-08-27  Jussi Hagman  <juhagman@abo.fi>
1325
1326         Reviewed and landed by Darin.
1327
1328         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
1329           output of update-webkit is too verbose
1330
1331         * Scripts/update-webkit:
1332         Added option --quiet (-q) to decrease the amount of output.
1333
1334 2005-08-27  Darin Adler  <darin@apple.com>
1335
1336         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
1337           cvs-create-patch --include-unknowns should ignore hidden files
1338
1339         * Scripts/cvs-create-patch: Add code to check for files starting with ".".
1340
1341 2005-08-25  Ben La Monica  <ben.lamonica@gmail.com>
1342
1343         Reviewed, tweaked, and landed by Darin.
1344
1345         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
1346           update-webkit doesn't notice when you have SVGSupport and update properly
1347
1348         * Scripts/update-webkit: Build SVGSupport directory if it's present.
1349
1350 2005-08-25  Anders Carlsson  <andersca@mac.com>
1351
1352         Reviewed and landed by Darin.
1353
1354         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
1355           layout test machinery can't handle tests with applets that have code attributes
1356
1357         * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
1358
1359 2005-08-24  Darin Adler  <darin@apple.com>
1360
1361         Reviewed by Maciej.
1362
1363         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
1364           DumpRenderTree --pixel-tests crash
1365         - landed some other small changes I had sitting in my tree
1366
1367         * DumpRenderTree/DumpRenderTree.m:
1368         (main): Don't bother saving and restoring the preferences. Not sure
1369         why this was ever done since the preferences are specific to DumpRenderTree.
1370         Clear delegates before releasing the WebView, because you can't count on the
1371         order of object deallocation.
1372         (dumpRenderTree): Fix code that releases a string before storing it in a
1373         global variable.
1374
1375         * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
1376         of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
1377
1378 2005-08-23  Eric Seidel  <eseidel@apple.com>
1379
1380         Reviewed by mjs.
1381
1382         * Scripts/run-webkit-tests:
1383         Made --leaks option more readable by printing to a file.
1384         http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
1385
1386 2005-08-22  Eric Seidel  <eseidel@apple.com>
1387         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
1388
1389         Reviewed by darin.
1390
1391         * Scripts/run-webkit-tests: hides "expected actual diffs" links
1392         when they are not needed (for pixel-only failures)
1393         http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
1394
1395 2005-08-22  Eric Seidel  <eseidel@apple.com>
1396
1397         Reviewed by darin.
1398
1399         * Scripts/run-webkit-tests: Added the ability to display more than
1400         just two images as part of the image-diff "slideshow".
1401         Added display of "-w3c.png" baseline images for SVG.
1402         http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
1403
1404 >>>>>>> 1.80
1405 2005-08-20  Eric Seidel  <eseidel@apple.com>
1406
1407         * Scripts/run-webkit-tests:
1408         "build" fix after committing incorrect version.
1409
1410 2005-08-20  Eric Seidel  <eseidel@apple.com>
1411
1412         Reviewed by darin.
1413
1414         * DumpRenderTree/DumpRenderTree.m:
1415         (main): cleans up delegates
1416         (dumpRenderTree): closes CFString/CFURL leak
1417         * Scripts/run-webkit-tests:
1418         Adds --leaks option to run-webkit-tests
1419         http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
1420
1421 2005-08-19  Ben La Monica  <ben.lamonica@gmail.com>
1422
1423         Reviewed by Darin.
1424
1425         * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
1426         new files to be included in the patch even without "cvs add".
1427
1428 2005-08-19  Darin Adler  <darin@apple.com>
1429
1430         * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
1431         non-cvs-generated patches. Anders has been creating these, so it's bad that
1432         the script can't handle them.
1433         * Scripts/cvs-unapply: Ditto.
1434
1435 2005-08-18  Darin Adler  <darin@apple.com>
1436
1437         * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
1438         "." in them -- based on complaint by someone here at Apple.
1439
1440 2005-08-18  Eric Seidel  <eseidel@apple.com>
1441
1442         Reviewed by mjs.
1443
1444         * Scripts/run-webkit-tests:
1445         Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
1446
1447 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
1448
1449         - add file that I forgot in the last checkin 
1450
1451         * DumpRenderTree/ImageDiff.m: Added.
1452         (main):
1453         (getImageFromStdin):
1454         (compareImages):
1455         (getDifferenceBitmap):
1456         (computePercentageDifferent):
1457
1458 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
1459
1460         Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
1461         somewhat by me, and also tweaked by me a little bit.
1462
1463         - better support for pixel-dumping
1464         - use checksums of the images so the tests are fast
1465         - change output format to make the tests run faster
1466         - don't dump pixel results for tests that dump as text
1467
1468         * DumpKCanvasTree/DumpKCanvasTree.m:
1469         (main):
1470         (dumpRenderTree):
1471         (md5HashStringForBitmap):
1472         (dumpPixelTests):
1473         (constrainSizeToMaximum):
1474         (getBitmapImageRepForSVGDocument):
1475         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
1476         * DumpRenderTree/DumpRenderTree.m:
1477         (main):
1478         (dump):
1479         (dumpRenderTree):
1480         (md5HashStringForBitmap):
1481         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1482         * Scripts/run-webkit-tests:
1483
1484 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
1485
1486         Reviewed by Darin.
1487
1488         - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
1489
1490         * DumpRenderTree/DumpRenderTree.m:
1491         (main):
1492
1493 2005-08-14  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
1494
1495         Reviewed and landed by Darin.
1496
1497         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
1498           Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
1499
1500         * Scripts/run-safari: Pass arguments through to Safari on command line.
1501         * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
1502
1503 2005-08-11  Eric Seidel  <eseidel@apple.com>
1504         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
1505
1506         Reviewed by eseidel.
1507
1508         * DrawTest/TestController.m:
1509         (-[TestController imagePathForSVGPath:]):
1510         Fixed support for using TextViewer with the layout-tests.
1511         http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
1512
1513 2005-08-11  Maciej Stachowiak  <mjs@apple.com>
1514
1515         At Least Roughly Glanced At by Anders.
1516
1517         - fix change with totally breaks the layout tests.
1518
1519         * DumpRenderTree/DumpRenderTree.m:
1520         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
1521         load, to avoid dumping twice accidentally.
1522
1523 2005-08-10  Eric Seidel  <eseidel@apple.com>
1524         Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
1525
1526         Reviewed by darin.
1527
1528         * DumpRenderTree/DumpRenderTree.m:
1529         Added support for rendering to a PNG file.
1530         http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
1531
1532 2005-08-07  Eric Seidel  <eseidel@apple.com>
1533
1534         Reviewed by darin.
1535
1536         * Scripts/run-webkit-tests: added --svg option
1537         * Scripts/run-webkit-tests-svg: Removed.
1538         http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
1539
1540 2005-08-07  Eric Seidel  <eseidel@apple.com>
1541         Changes by Ben La Monica <ben.lamonica@gmail.com>
1542
1543         Reviewed by darin.
1544
1545         * svg2png/ImageDiff.h: Added.
1546         * svg2png/ImageDiff.m: Added.
1547         (getDifferenceBitmap):
1548         (computePercentageDifferent):
1549         (saveAnimatedGIFToFile):
1550         * svg2png/svg2png.m:
1551         (usage): added several new options
1552         (getBitmapForSVG): added NSBitmapImageRep generation
1553         (main): various argument changes.
1554         * svg2png/svg2png.xcodeproj/project.pbxproj:
1555         Several additions to provide image differencing functionality.
1556         http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
1557
1558 2005-08-07  Eric Seidel  <eseidel@apple.com>
1559
1560         Reviewed by darin.
1561
1562         * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
1563         * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
1564         Adding the first SVG layout tests:
1565         http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
1566
1567 2005-08-07  Darin Adler  <darin@apple.com>
1568
1569         * Scripts/cvs-create-patch: Do all the directories at once, for speed.
1570
1571 2005-08-06  Eric Seidel  <eseidel@apple.com>
1572
1573         Reviewed by darin.
1574
1575         * DumpKCanvasTree/DumpKCanvasTree.m: Added.
1576         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
1577         * Scripts/build-dumpkcanvastree: Added.
1578         * Scripts/run-webkit-tests-svg: Added.
1579         Adds a DumpRenderTree-like tool for SVG which allows us to do
1580         text-based layout regression testing.  This (like most of the
1581         SVG specific stuff) is temporary and will be replaced by
1582         DumpRenderTree once the DOMs and RenderTrees merge.
1583         http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
1584
1585 2005-08-06  Eric Seidel  <eseidel@apple.com>
1586
1587         Reviewed by darin.
1588
1589         * DrawTest/DrawTestView.m:
1590         (-[DrawTestView toggleFilterSupport:]): missing negation.
1591         One half of fix for toggling filter support.
1592         http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
1593
1594 2005-08-04  Eric Seidel  <eseidel@apple.com>
1595
1596         Reviewed by darin.
1597
1598         * Scripts/build-drawtest:
1599         * Scripts/build-dumprendertree:
1600         * Scripts/build-svg2png:
1601         * Scripts/build-webcore-svg:
1602         * Scripts/build-webkit:
1603         * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
1604         Added checkRequiredSystemConfig and made all the build-* scripts
1605         use it to print a pretty warning when trying to compile on an
1606         unsupported system (less than 10.4, Xcode 2.1).
1607         http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
1608
1609 2005-08-04  Darin Adler  <darin@apple.com>
1610
1611         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
1612         the dead. It was removed by accident when someone was trying to work on the branch.
1613
1614 2005-07-31  Darin Adler  <darin@apple.com>
1615
1616         - a little tools cleanup
1617
1618         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
1619         project as a whole. Removed unused Default configuration.
1620
1621         * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
1622
1623 2005-07-31  Duncan Wilcox  <duncan@mclink.it>
1624
1625         Reviewed and landed by Darin Adler.
1626
1627         Add logging of editing delegate calls for regression checking.
1628
1629         * DumpRenderTree/DumpRenderTree.m:
1630         (main):
1631           setup editing delegate
1632
1633         (-[DOMNode dumpPath]):
1634         (-[DOMRange dump]):
1635           utility for editing delegate logging
1636
1637         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1638         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1639         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1640         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1641         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1642         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1643         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1644         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1645         (-[EditingDelegate webViewDidBeginEditing:]):
1646         (-[EditingDelegate webViewDidChange:]):
1647         (-[EditingDelegate webViewDidEndEditing:]):
1648         (-[EditingDelegate webViewDidChangeTypingStyle:]):
1649           log corresponding editing delegate methods
1650
1651         (-[EditingDelegate webViewDidChangeSelection:]):
1652           log selection except when clearing selection after end of test (uses existing "done" flag)
1653
1654         (dumpRenderTree):
1655           added clearing of selection after test
1656
1657 2005-07-31  Eric Seidel  <eseidel@apple.com>
1658
1659         Reviewed by hyatt.
1660
1661         * Scripts/build-drawtest: Added.
1662         * Scripts/build-svg2png: Added.
1663         * Scripts/build-webcore-svg: Added.
1664         * Scripts/run-drawtest: Added.
1665         * Scripts/webkitdirs.pm: added checkSVGFrameworks
1666         Made it much easier to build WebCore+SVG.
1667         http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
1668
1669 2005-07-29  Eric Seidel  <eseidel@apple.com>
1670
1671         Reviewed by vicki.
1672
1673         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1674         Build fix.  Removed bad path.
1675
1676 2005-07-29  Eric Seidel  <eseidel@apple.com>
1677
1678         Reviewed by sullivan.
1679
1680         * DrawTest/AppDelegate.h: Added.
1681         * DrawTest/AppDelegate.m: Added.
1682         * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
1683         * DrawTest/DrawTestDocument.h: Added.
1684         * DrawTest/DrawTestDocument.m: Added.
1685         * DrawTest/DrawTestInspectorController.h: Added.
1686         * DrawTest/DrawTestInspectorController.m: Added.
1687         * DrawTest/DrawTestToolbarController.h: Added.
1688         * DrawTest/DrawTestToolbarController.m: Added.
1689         * DrawTest/DrawTestView.h: Added.
1690         * DrawTest/DrawTestView.m: Added.
1691         * DrawTest/DrawTest_Prefix.pch: Added.
1692         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
1693         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
1694         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
1695         * DrawTest/English.lproj/InfoPlist.strings: Added.
1696         * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
1697         * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
1698         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
1699         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
1700         * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
1701         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
1702         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
1703         * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
1704         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
1705         * DrawTest/Info.plist: Added.
1706         * DrawTest/SVGTest.h: Added.
1707         * DrawTest/SVGTest.m: Added.
1708         * DrawTest/ScalingImageView.h: Added.
1709         * DrawTest/ScalingImageView.m: Added.
1710         * DrawTest/TestController.h: Added.
1711         * DrawTest/TestController.m: Added.
1712         * DrawTest/TestViewerSplitView.h: Added.
1713         * DrawTest/TestViewerSplitView.m: Added.
1714         * DrawTest/main.m: Added.
1715         Adding simple cocoa app for testing SVG rendering, interaction.
1716         http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
1717
1718 2005-07-28  Eric Seidel  <eseidel@apple.com>
1719
1720         Reviewed by ggaren.
1721
1722         * svg2png/svg2png.m: Added.
1723         * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
1724         * svg2png/svg2png_Prefix.pch: Added.
1725         Added a simple test tool which dumps a PNG from an SVG using
1726         WebCore+SVG's SVG rendering support.
1727         http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
1728
1729 2005-07-26  Maciej Stachowiak  <mjs@apple.com>
1730
1731         Reviewed by Darin.
1732
1733         - new script to review the DOM layout test results and see where we stand
1734         on actual success and failure
1735
1736         * Scripts/check-dom-results: Added.
1737
1738 2005-07-25  Darin Adler  <darin@apple.com>
1739
1740         * Scripts/webkitdirs.pm: Check in missing line of code.
1741
1742 2005-07-25  Darin Adler  <darin@apple.com>
1743
1744         - fixed problem that was causing JavaScriptCore test to fail
1745           (except for people who had set DYLD_FRAMEWORK_PATH)
1746
1747         * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
1748         Add code to parse configuration parameter so you can pass --deployment if you like.
1749         * Scripts/run-webkit-tests: Add code to parse configuration parameter.
1750
1751         * Scripts/update-javascriptcore-test-results: Add license header.
1752
1753         * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
1754         from @ARGV. This lets us use this option in commands that take other options and
1755         pass them along to a subsequent tool.
1756
1757 2005-07-25  Darin Adler  <darin@apple.com>
1758
1759         Reviewed by Geoff Garen.
1760
1761         - Fixed run-safari and gdb-safari to use the Safari application in the build results
1762           directory, if any, falling back to the one in the Applications directory otherwise.
1763           Does no harm for open source contributors who don't build Safari, and helps out the
1764           Safari team, since we do build Safari.
1765
1766         * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
1767         variable, and if that's not present, looks in either the build results directory or
1768         /Applications; factors code that was in both scripts before into a shared function.
1769         Also removed some Xcode 2.0 support which is no longer relevant since our projects are
1770         now in Xcode 2.1 format and incompatible with older versions of Xcode.
1771
1772         * Scripts/gdb-safari: Use safariPath.
1773         * Scripts/run-safari: Use safariPath.
1774
1775 2005-07-22  Geoffrey Garen  <ggaren@apple.com>
1776
1777         Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
1778         run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
1779         
1780         Moved Tools/Scripts/update-mozilla-js-test-results to 
1781         WebKitTools/Scripts/update-javascriptcore-test-results.
1782         
1783         Reviewed by darin.
1784
1785         * Scripts/run-javascriptcore-tests: Added.
1786
1787 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
1788
1789         Reviewed by Darin.
1790
1791         * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
1792
1793 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
1794
1795         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
1796
1797 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
1798
1799         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
1800
1801 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
1802
1803         * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
1804
1805 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
1806
1807         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
1808
1809 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
1810
1811         * Scripts/build-webkit:
1812
1813 2005-07-12  Eric Seidel  <eseidel@apple.com>
1814
1815         Reviewed by mjs.
1816
1817         * checkout-svg: Fixed error with symlink creation.
1818
1819 2005-07-12  Eric Seidel  <eseidel@apple.com>
1820
1821         Reviewed by mjs.
1822
1823         * checkout-svg: Added.
1824         Script to check out WebCore+SVG
1825
1826 2005-06-30  Darin Adler  <darin@apple.com>
1827
1828         Changes based on input from Michael Kahl.
1829
1830         * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
1831         specify different style of "diff".
1832         * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
1833         determineConfigurationProductDir works in all cases.
1834
1835 2005-06-29  Darin Adler  <darin@apple.com>
1836
1837         - fixed bug which would result in multiple unwanted dumps in a single layout test
1838
1839         * DumpRenderTree/DumpRenderTree.m:
1840         (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
1841         "readyToDump" flag.
1842         (-[LayoutTestController waitUntilDone]): Update for name change.
1843         (-[LayoutTestController notifyDone]): Dump only if ready.
1844         (dumpRenderTree): Set up new boolean and update for name change.
1845
1846 2005-06-29  Darin Adler  <darin@apple.com>
1847
1848         Changes by Timothy Hatcher.
1849         Reviewed by me.
1850
1851         * Scripts/run-webkit-app: Added script to open an arbritrary application with
1852         a CVS built WebKit. Example: ./run-webkit-app Colloquy
1853
1854         * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
1855         a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
1856         * Scripts/run-safari: Ditto.
1857
1858 2005-06-26  Darin Adler  <darin@apple.com>
1859
1860         * Scripts/build-dumprendertree: Pass -project option so that having a second
1861         copy of the project (like the one Xcode 2.1 offers to make for you) that's
1862         out of date won't screw you up.
1863         * Scripts/build-webkit: Ditto.
1864
1865 2005-06-23  Darin Adler  <darin@apple.com>
1866
1867         * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
1868
1869 2005-06-23  Darin Adler  <darin@apple.com>
1870
1871         Changes based on input from Michael Kahl.
1872
1873         * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
1874         directory passed in.
1875
1876         * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
1877         getcwd() in the code to find the base product dir. Added code to handle unusual
1878         base product directory values that use SRCROOT.
1879
1880 2005-06-22  Darin Adler  <darin@apple.com>
1881
1882         Change by Anders Carlsson.
1883
1884         - added support for dumping title changes
1885
1886         * DumpRenderTree/DumpRenderTree.m:
1887         (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
1888         if requested by JavaScript.
1889         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
1890         (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
1891         (dumpRenderTree): Start flag as NO.
1892
1893 2005-06-20  Darin Adler  <darin@apple.com>
1894
1895         Reviewed by Justin Garcia.
1896
1897         * Scripts/run-webkit-tests: Report number of tests when they succeed.
1898
1899 2005-06-18  Darin Adler  <darin@apple.com>
1900
1901         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
1902         in the hope of making the tool use less memory and run faster.
1903
1904 2005-06-18  Darin Adler  <darin@apple.com>
1905
1906         * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
1907         * Scripts/cvs-unapply: Ditto.
1908
1909 2005-06-17  Maciej Stachowiak  <mjs@apple.com>
1910
1911         - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
1912         benefit of all WebKit hackerdom
1913
1914         * Scripts/prepare-ChangeLog: Added.
1915
1916 2005-06-16  Darin Adler  <darin@apple.com>
1917
1918         - recent changes to XcodeOptions made it depend on the current directory
1919           The intent was to have the WebKitBuild directory be next to WebKitTools,
1920           not inside the various build directories. Workaround for now is to call
1921           XcodeOptions when the directory is set to the WebKit directory.
1922
1923         * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
1924         at the start of the script.
1925         * Scripts/build-webkit: Ditto.
1926
1927 2005-06-15  Darin Adler  <darin@apple.com>
1928
1929         * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
1930
1931 2005-06-14  Darin Adler  <darin@apple.com>
1932
1933         Changes by Anders Carlsson.
1934         Reviewed by me.
1935
1936         - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
1937           Add gdb-safari script to launch Safari under gdb
1938
1939         * Scripts/gdb-safari: Added.
1940
1941 2005-06-12  Darin Adler  <darin@apple.com>
1942
1943         Changes by Stuart Morgan.
1944         Reviewed by me.
1945
1946         * Scripts/cvs-abandon: Use cwd instead of `pwd`.
1947         * Scripts/cvs-apply: Ditto.
1948         * Scripts/cvs-create-patch: Ditto.
1949         * Scripts/cvs-unapply: Ditto.
1950         * Scripts/run-webkit-tests: Ditto.
1951         * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
1952
1953 2005-06-12  Darin Adler  <darin@apple.com>
1954
1955         * Scripts/cvs-apply: Handle case of an empty patch better.
1956         * Scripts/cvs-unapply: Ditto.
1957
1958 2005-06-12  Darin Adler  <darin@apple.com>
1959
1960         Changes by Michael Gaiman.
1961         Reviewed by me.
1962
1963         - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
1964           WebKit no longer builds after configuration supporting build changes
1965
1966         * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
1967
1968 2005-06-12  Darin Adler  <darin@apple.com>
1969
1970         * Scripts/update-webkit: Make this script work when called from any directory.
1971
1972 2005-06-12  Darin Adler  <darin@apple.com>
1973
1974         Reviewed by Maciej.
1975         Includes changes by Stuart Morgan as well as my own.
1976
1977         * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
1978         symrootXcodeOptions to set the -buildstyle option.
1979         * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
1980         The new --development option does the same thing.
1981         * Scripts/run-safari: Ditto.
1982         * Scripts/run-webkit-tests: Ditto.
1983         * Scripts/update-webkit: Ditto.
1984         * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
1985
1986         * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
1987         directory is when invoking a script. Add code to determine the Xcode version so we can do the right
1988         thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
1989         product directory. Read the default configuration from a file, overridable by a passed-in command-line
1990         option.
1991
1992 2005-06-11  Darin Adler  <darin@apple.com>
1993
1994         * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
1995         to execute the cvs diff commands.
1996
1997 2005-06-11  Darin Adler  <darin@apple.com>
1998
1999         - added first cuts at some cvs scripts
2000
2001             cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
2002             cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
2003             cvs-apply is for applying patches; runs patch and cvs add and cvs rm
2004             cvs-unapply is for unapplying patches; does the opposite of cvs-apply
2005
2006           An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
2007
2008         * Scripts/cvs-abandon: Added.
2009         * Scripts/cvs-apply: Added.
2010         * Scripts/cvs-create-patch: Added.
2011         * Scripts/cvs-unapply: Added.
2012
2013 2005-06-09  Darin Adler  <darin@apple.com>
2014
2015         Reviewed by Maciej.
2016
2017         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
2018           Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
2019
2020         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
2021         for Foundation.framework. How was it ever wrong?
2022
2023         - finally, I tested making the default build directory work; it works now
2024
2025         * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
2026         that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
2027         * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
2028         * Scripts/build-dumprendertree: Ditto.
2029
2030 2005-06-09  Darin Adler  <darin@apple.com>
2031
2032         * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
2033         work. Someone should try building without setting the Xcode build product directory now,
2034         and let me know if it works.
2035
2036 2005-06-08  Darin Adler  <darin@apple.com>
2037
2038         - quick fix to try to get build scripts working again
2039
2040         * Scripts/build-dumprendertree: Add FindBin.
2041         * Scripts/build-webkit: Ditto.
2042         * Scripts/run-safari: Ditto.
2043         * Scripts/run-webkit-tests: Ditto.
2044         * Scripts/update-webkit: Ditto.
2045
2046 2005-06-08  Darin Adler  <darin@apple.com>
2047
2048         Reviewed by Maciej.
2049
2050         - some build script enhancements
2051
2052         * Scripts/build-dumprendertree: Changed to use webkitdirs.
2053         * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
2054         they are newer.
2055         * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
2056         before Deplyment in that case.
2057         * Scripts/run-webkit-tests: Changed to use webkitdirs.
2058         * Scripts/update-webkit: Changed to use webkitdirs.
2059
2060         * Scripts/webkitdirs.pm: Added.
2061
2062 2005-06-08  Maciej Stachowiak  <mjs@apple.com>
2063
2064         Code change by Toby Peterson <toby@opendarwin.org>
2065         Reviewed by me.
2066
2067         * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
2068         get confused because build-webkit now makes even 2.0 build directories look
2069         like 2.1.
2070
2071 2005-06-07  Darin Adler  <darin@apple.com>
2072
2073         Reviewed by Adele Peterson.
2074
2075         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
2076         * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
2077         so we can run tests with Xcode 2.1.
2078
2079 2005-06-07  Darin Adler  <darin@apple.com>
2080
2081         Reviewed by Adele Peterson.
2082
2083         * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
2084         layout-tests directory to include additional sets of tests.
2085
2086 2005-06-07  Darin Adler  <darin@apple.com>
2087
2088         * checkout: Added license.
2089         * Scripts/build-dumprendertree: Ditto.
2090         * Scripts/run-webkit-tests: Ditto.
2091         * Scripts/update-webkit: Ditto.
2092
2093 2005-06-07  Darin Adler  <darin@apple.com>
2094
2095         Change by Toby Peterson <toby@opendarwin.org>.
2096         Reviewed by me.
2097
2098         * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
2099         * Scripts/run-safari: Ditto.
2100
2101 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
2102
2103         * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
2104
2105 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
2106
2107         * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
2108
2109 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
2110
2111         * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
2112
2113 2005-06-05  Darin Adler  <darin@apple.com>
2114
2115         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
2116         * Scripts/build-dumprendertree: Added.
2117         * Scripts/build-webkit: Build All in the JavaScriptCore directory.
2118         * Scripts/run-webkit-tests: Build DumpRenderTree before running.
2119
2120 2005-06-05  Darin Adler  <darin@apple.com>
2121
2122         * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
2123
2124 2005-06-05  Darin Adler  <darin@apple.com>
2125
2126         - add run-webkit-tests script; not working yet but the pieces are there
2127
2128         * Scripts/run-webkit-tests: Added.
2129
2130         * DumpRenderTree/DumpRenderTree.m: Added.
2131         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
2132         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
2133         * DumpRenderTree/DumpRenderTreePrefix.h: Added.
2134
2135 2005-06-05  Darin Adler  <darin@apple.com>
2136
2137         - created module, first cut at Web Kit Open Source Project scripts
2138
2139         * ChangeLog: Added.
2140         * Scripts/build-webkit: Added.
2141         * Scripts/run-safari: Added.
2142         * Scripts/update-webkit: Added.
2143         * checkout: Added.
2144
2145 === creation of WebKitTools module ===