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