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