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