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