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