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