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