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