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