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