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