git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14974 268f45cc-cd09-0410...
[WebKit-https.git] / WebKitTools / ChangeLog
1 2006-06-22  Kevin Decker         <kdecker@apple.com>
2
3         Reviewed by Anders.
4
5         - Added pressed column header image.
6         - Made column headers behave more like Xcode.
7
8 2006-06-22  Timothy Hatcher  <timothy@apple.com>
9
10         Reviewed by Kevin Decker.
11
12         Code clean up. Adds the stackframe and makes only the body
13         of the tables scrollable keeping the header visible.
14         Shows the current function stack when paused or stepping.
15
16         * Drosera/DebuggerApplication.m:
17         (-[DebuggerApplication awakeFromNib]):
18         (-[DebuggerApplication numberOfRowsInTableView:]):
19         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
20         * Drosera/DebuggerDocument.h:
21         * Drosera/DebuggerDocument.m:
22         (-[DebuggerDocument dealloc]):
23         (-[DebuggerDocument currentFrame]):
24         (-[DebuggerDocument currentFrameFunctionName]):
25         (-[DebuggerDocument currentFunctionStack]):
26         (-[DebuggerDocument log:]):
27         (-[DebuggerDocument windowWillClose:]):
28         (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
29         (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
30         * Drosera/Drosera.xcodeproj/project.pbxproj:
31         * Drosera/debugger.css:
32         * Drosera/debugger.html:
33         * Drosera/debugger.js:
34
35 2006-06-22  Alexey Proskuryakov  <ap@nypop.com>
36
37         Reviewed by Anders.
38
39         Teach run-webkit-httpd to properly look for webkitdirs.pm.
40
41         * Scripts/run-webkit-httpd:
42
43 2006-06-22  Kevin Decker         <kdecker@apple.com>
44
45         Reviewed by Tim Hatcher.
46
47         - More progress toward Javascript Debugger. 
48         - Added some new images to the project. 
49
50 2006-06-21  Alexey Proskuryakov  <ap@nypop.com>
51
52         Reviewed by Anders.
53
54         - http://bugzilla.opendarwin.org/show_bug.cgi?id=9516
55           Would like a script to run a httpd server with the same configuration as run-webkit-tests http
56
57         * Scripts/run-webkit-httpd: Added.
58
59 2006-06-20  Timothy Hatcher  <timothy@apple.com>
60
61         Reviewed by Eric.
62
63         Builds Drosera and a launcher to include with the nightly.
64
65         * BuildSlaveSupport/build-launcher-app:
66         * BuildSlaveSupport/build-launcher-dmg:
67         * Drosera/Drosera.xcodeproj/project.pbxproj:
68         * Drosera/Info.plist:
69         * Drosera/LauncherInfo.plist: Added.
70         * Drosera/launcher.m: Added.
71         (displayErrorAndQuit):
72         (checkMacOSXVersion):
73         (myExecve):
74         (main):
75         * Scripts/build-drosera
76         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
77         * WebKitLauncher/main.m:
78         (main):
79
80 2006-06-20  Timothy Hatcher  <timothy@apple.com>
81
82         Reviewed by Darin.
83         
84         Adds a JavaScript debugger, called Drosera. Named after
85         a genus of bug eating plants.
86
87         * Drosera/DebuggerApplication.h: Added.
88         * Drosera/DebuggerApplication.m: Added.
89         (-[DebuggerApplication applicationDidFinishLaunching:]):
90         (-[DebuggerApplication serverLoaded:]):
91         (-[DebuggerApplication serverUnloaded:]):
92         (-[DebuggerApplication awakeFromNib]):
93         (-[DebuggerApplication showAttachPanel:]):
94         (-[DebuggerApplication attach:]):
95         (-[DebuggerApplication numberOfRowsInTableView:]):
96         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
97         (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
98         (-[DebuggerApplication tableViewSelectionDidChange:]):
99         * Drosera/DebuggerDocument.h: Added.
100         * Drosera/DebuggerDocument.m: Added.
101         (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
102         (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
103         (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
104         (+[DebuggerDocument isKeyExcludedFromWebScript:]):
105         (-[DebuggerDocument initWithServerName:]):
106         (-[DebuggerDocument windowWillClose:]):
107         (-[DebuggerDocument dealloc]):
108         (-[DebuggerDocument isPaused]):
109         (-[DebuggerDocument pause]):
110         (-[DebuggerDocument resume]):
111         (-[DebuggerDocument step]):
112         (-[DebuggerDocument windowNibName]):
113         (-[DebuggerDocument windowDidLoad]):
114         (-[DebuggerDocument switchToServerNamed:]):
115         (-[DebuggerDocument applicationTerminating:]):
116         (-[DebuggerDocument serverConnectionDidDie:]):
117         (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
118         (-[DebuggerDocument webView:didFinishLoadForFrame:]):
119         (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
120         (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
121         (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
122         (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
123         * Drosera/Drosera.pch: Added.
124         * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
125         * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
126         * Drosera/English.lproj/Debugger.nib/info.nib: Added.
127         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
128         * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
129         * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
130         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
131         * Drosera/Images/breakPoint.tif: Added.
132         * Drosera/Images/breakPointDisabled.tif: Added.
133         * Drosera/Images/continue.tif: Added.
134         * Drosera/Images/finishFunction.tif: Added.
135         * Drosera/Images/glossyFooterFill.tif: Added.
136         * Drosera/Images/glossyHeader.png: Added.
137         * Drosera/Images/gradientBackground.png: Added.
138         * Drosera/Images/gutter.png: Added.
139         * Drosera/Images/navLeftDisabled.png: Added.
140         * Drosera/Images/navLeftNormal.png: Added.
141         * Drosera/Images/navLeftPressed.png: Added.
142         * Drosera/Images/navRightDisabled.png: Added.
143         * Drosera/Images/navRightNormal.png: Added.
144         * Drosera/Images/navRightPressed.png: Added.
145         * Drosera/Images/pause.tif: Added.
146         * Drosera/Images/popUpArrows.png: Added.
147         * Drosera/Images/programCounter.tif: Added.
148         * Drosera/Images/programCounterBreakPoint.tif: Added.
149         * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
150         * Drosera/Images/run.tif: Added.
151         * Drosera/Images/splitterBar.tif: Added.
152         * Drosera/Images/splitterDimple.tif: Added.
153         * Drosera/Images/step.tif: Added.
154         * Drosera/Images/stepOver.tif: Added.
155         * Drosera/Images/stop.tif: Added.
156         * Drosera/Images/toolbarBackground.png: Added.
157         * Drosera/Info.plist: Added.
158         * Drosera/debugger.css: Added.
159         * Drosera/debugger.html: Added.
160         * Drosera/debugger.js: Added.
161         * Drosera/main.m: Added.
162         (main):
163         * Drosera/viewer.css: Added.
164         * Drosera/viewer.html: Added.
165
166 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
167
168         Reviewed by darin.
169
170         http://bugzilla.opendarwin.org/show_bug.cgi?id=9485
171         Teach svn-apply and svn-unapply to use full path names
172
173         * Scripts/svn-apply: Changed to use full path names.  Cleaned up code.
174         * Scripts/svn-unapply: Ditto.
175
176 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
177
178         Reviewed by ggaren.
179
180         - http://bugzilla.opendarwin.org/show_bug.cgi?id=9150
181           DumpRenderTree should be able to keep URL history during runs
182
183         Test: LayoutTests/fast/history/clicked-link-is-visited.html
184
185         * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
186         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
187         (-[LayoutTestController keepWebHistory]): Added.  We only set optional shared history if
188         it is currently nil since keepWebHistory() might be called more than once incidentally
189         for the same test.
190         (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
191         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
192
193 2006-06-11  David Kilzer  <ddkilzer@kilzer.net>
194
195         Reviewed by darin.
196
197         http://bugzilla.opendarwin.org/show_bug.cgi?id=9395
198         Make prepare-ChangeLog faster
199
200         * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
201         then save the diff output for reuse.  Keep a status variable if changes are made to
202         LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
203         WebCore is updated.  Added -h|--help command-line switch and help message.  Move test
204         for no changed files closer to the beginning of the program.
205
206 2006-06-10  Mitz Pettel  <opendarwin.org@mitzpettel.com>
207
208         Reviewed and landed by ap.
209
210         - make DumpRenderTree build
211
212         * DumpRenderTree/DumpRenderTree.m:
213         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
214         (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
215         (-[LayoutTestController setWindowIsKey:]): Ditto.
216         (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
217
218 2006-06-09  David Kilzer  <ddkilzer@kilzer.net>
219
220         Reviewed by Darin, landed by Geoff.
221
222         http://bugzilla.opendarwin.org/show_bug.cgi?id=9350
223         Use pathcmp() when sorting paths in svn-create-patch
224
225         * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
226         * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
227         Changed sort() functions to use pathcmp().  Added subroutine prototypes.  Added -h command-line
228         switch and printUsage() subroutine.
229
230 2006-06-06  David Kilzer  <ddkilzer@kilzer.net>
231
232         Reviewed by darin.
233
234         http://bugzilla.opendarwin.org/show_bug.cgi?id=9322
235         Teach svn-create-patch to sort its output
236
237         * Scripts/svn-create-patch: Clean up perl code.  Sort patch output alphabetically
238         by text files first, then by binary files.
239
240 2006-06-04  David Kilzer  <ddkilzer@kilzer.net>
241
242         Reviewed by darin.
243
244         http://bugzilla.opendarwin.org/show_bug.cgi?id=9299
245         Teach svn-create-patch and friends to work with binary files
246
247         * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
248         * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
249         * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
250
251 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
252
253         Reviewed by Maciej.
254
255         http://bugzilla.opendarwin.org/show_bug.cgi?id=9296
256         Performance improvement for svn-create-patch
257
258         * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
259
260 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
261
262         Reviewed by darin.
263
264         http://bugzilla.opendarwin.org/show_bug.cgi?id=9290
265         Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
266
267         * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
268         * Scripts/svn-unapply: Ditto.  Also simplified reversing a deletion.
269
270 2006-06-03  Steve Falkenburg  <sfalken@apple.com>
271
272         Reviewed by hyatt.
273         
274         Switch Spinneret to new hosting mechanism
275
276         * Spinneret/Spinneret.sln:
277         * Spinneret/Spinneret/Spinneret.cpp:
278         (SpinneretWebHost::updateAddressBar):
279         (SpinneretWebHost::QueryInterface):
280         (SpinneretWebHost::AddRef):
281         (SpinneretWebHost::Release):
282         (resizeSubViews):
283         (_tWinMain):
284         (WndProc):
285         (MyEditProc):
286         (About):
287         (loadURL):
288         * Spinneret/Spinneret/Spinneret.h:
289         (SpinneretWebHost::didStartProvisionalLoadForFrame):
290         (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
291         (SpinneretWebHost::didFailProvisionalLoadWithError):
292         (SpinneretWebHost::didCommitLoadForFrame):
293         (SpinneretWebHost::didReceiveTitle):
294         (SpinneretWebHost::didReceiveIcon):
295         (SpinneretWebHost::didFinishLoadForFrame):
296         (SpinneretWebHost::didFailLoadWithError):
297         (SpinneretWebHost::didChangeLocationWithinPageForFrame):
298         (SpinneretWebHost::willPerformClientRedirectToURL):
299         (SpinneretWebHost::didCancelClientRedirectForFrame):
300         (SpinneretWebHost::willCloseFrame):
301         (SpinneretWebHost::windowScriptObjectAvailable):
302         * Spinneret/Spinneret/Spinneret.vcproj:
303
304 2006-06-02  Steve Falkenburg  <sfalken@apple.com>
305
306         Reviewed by darin.
307         
308         Updated build script
309
310         * Scripts/build-webkit:
311
312 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
313
314         Reviewed by Darin.
315
316         * DumpRenderTree/DumpRenderTree.m:
317         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
318         (-[LayoutTestController clearBackForwardList]):
319         Add clearBackForwardList function to layoutTestController
320         
321 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
322
323         Reviewed by Darin.
324
325         http://bugzilla.opendarwin.org/show_bug.cgi?id=8996
326         slow-utf8-text layout test case failing (no longer deterministic?)
327         
328         * DumpRenderTree/DumpRenderTree.m:
329         (dump):
330         Dump as text when the response MIME type is text/plain
331
332 2006-05-26  Steve Falkenburg  <sfalken@apple.com>
333
334         Build fixes/tweaks
335
336         * Spinneret/Spinneret.sln:
337         * Spinneret/Spinneret/Spinneret.vcproj:
338
339 2006-05-24  Geoffrey Garen  <ggaren@apple.com>
340
341         Reviewed by mjs.
342         
343         Added 'GCController' to DRT to support garbage collection layout tests.
344         
345         GCController.collect() and GCController.collectOnAlternateThread() do
346         what you would expect. The latter takes a boolean argument sepcifying
347         whether to wait for garbage collection to finish before continuing to
348         execute script.
349
350         * DumpRenderTree/DumpRenderTree.m:
351         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
352         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
353         * DumpRenderTree/GCController.h: Added.
354         * DumpRenderTree/GCController.mm: Added.
355         (+[GCController isSelectorExcludedFromWebScript:]):
356         (+[GCController webScriptNameForSelector:]):
357         (-[GCController collect]):
358         (-[GCController collectOnAlternateThread:]):
359
360 2006-05-23  John Sullivan  <sullivan@apple.com>
361
362         Reviewed by Maciej.
363
364         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
365         Newer Xcode removed some obsolete cruft
366         
367         * DumpRenderTree/TextInputController.m:
368         (-[TextInputController textInput]):
369         added (id) cast to make newer compiler happy
370
371 2006-05-22  Steve Falkenburg  <sfalken@apple.com>
372
373         Reviewed by adele.
374         
375         Fix build.
376
377         * Spinneret/Spinneret.sln:
378
379 2006-05-18  Darin Adler  <darin@apple.com>
380
381         - try to fix no-SVG, no-XPATH build, again
382
383         * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
384
385 2006-05-18  Darin Adler  <darin@apple.com>
386
387         - try to fix no-SVG, no-XPATH build
388
389         * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
390         since the former is what's used in the WebCore project now.
391
392 2006-05-17  Darin Adler  <darin@apple.com>
393
394         * Scripts/do-webcore-rename: Some more future renames.
395
396 2006-05-16  Adele Peterson  <adele@apple.com>
397
398         Reviewed by Hyatt.
399
400         * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and 
401         HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
402
403 2006-05-15  Alexey Proskuryakov  <ap@nypop.com>
404
405         * Scripts/install-unix-extras: Changed to be executable and removed
406         text in the file generated by "svn diff".
407         * Scripts/regenerate-makefiles: Ditto.
408
409 2006-05-13  Kevin M. Ollivier  <kevino@theolliviers.com>
410
411         Reviewed by Darin, landed by ap.
412
413         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8528
414           Bakefiles (and generated Makefiles) for wx and gdk ports
415
416         * Scripts/install-unix-extras: Added.
417         * Scripts/regenerate-makefiles: Added.
418
419 2006-05-10  Steve Falkenburg  <sfalken@apple.com>
420
421         Reviewed by Maciej.
422
423         Fix registry usage from perl script.  Turns out libwin32's
424         SetRegValueEx, even for REG_DWORD, always takes its value as a string!
425         
426         * Scripts/install-win-extras:
427
428 2006-05-09  Steve Falkenburg  <sfalken@apple.com>
429
430         Fix Windows build.
431         Add load ended callback.
432         
433         Reviewed by kevin.
434
435         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
436         * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
437         * Spinneret/Spinneret/Spinneret.cpp: 
438         (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
439         (_tWinMain): Load built-in test content here instead of in lower-level code.
440         * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
441
442 2006-05-08  Maciej Stachowiak  <mjs@apple.com>
443
444         Reviewed by Anders.
445
446         * Scripts/extract-localizable-strings: Update for correct names of log macros.
447
448 2006-05-09  Anders Carlsson  <acarlsson@apple.com>
449
450         Reviewed by Maciej.
451         
452         * Scripts/check-dom-results:
453         Add XPath to the list of results.
454
455 2006-05-08  Darin Adler  <darin@apple.com>
456
457         * Scripts/do-webcore-rename: Add another rename.
458
459 2006-05-01  Steve Falkenburg  <sfalken@apple.com>
460
461         Reviewed by eric.
462
463         Spinneret now links against the new separate lib.
464         
465         * Spinneret/Spinneret.sln:
466         * Spinneret/Spinneret/Spinneret.cpp:
467         (SpinneretWebHost::updateLocationBar):
468         (_tWinMain):
469         * Spinneret/Spinneret/Spinneret.h:
470         * Spinneret/Spinneret/Spinneret.vcproj:
471         * Spinneret/Spinneret/WebFrame.cpp: Removed.
472         * Spinneret/Spinneret/WebFrame.h: Removed.
473         * Spinneret/Spinneret/WebView.cpp: Removed.
474         * Spinneret/Spinneret/WebView.h: Removed.
475
476 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
477
478         Reviewed by kdecker
479
480         Modify error reporting registry keys to disable Dr. Watson.
481         This allows Javascript test cases to complete without blocking UI.
482         
483         * Scripts/install-win-extras:
484          - Use Perl Win32 registry functions to disable blocking UI
485         
486
487 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
488
489         Reviewed by eric.
490         
491         Turned off C++ exceptions, fixed memory leaks
492
493         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
494         * Spinneret/Spinneret.sln:
495         * Spinneret/Spinneret/Spinneret.cpp:
496         (_tWinMain):
497         * Spinneret/Spinneret/Spinneret.vcproj:
498         * Spinneret/Spinneret/WebFrame.cpp:
499         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
500         (WebKit::WebFrame::WebFrame):
501         (WebKit::WebFrame::~WebFrame):
502         (WebKit::WebFrame::impl):
503         * Spinneret/Spinneret/WebFrame.h:
504         * Spinneret/Spinneret/WebView.cpp:
505         * Spinneret/Spinneret/stdafx.h:
506
507 2006-04-28  Alexey Proskuryakov  <ap@nypop.com>
508
509         Reviewed by Darin.
510
511         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8633
512           DumpRenderTree should reset the URL cache
513
514         * DumpRenderTree/DumpRenderTree.m:
515         (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
516
517 2006-04-28  Eric Seidel  <eseidel@apple.com>
518
519         Reviewed by andersca.
520
521         * Scripts/do-webcore-rename: rename KCanvasContainer too
522         * Scripts/run-webkit-tests: output total time
523
524 2006-04-26  Mitz Pettel  <opendarwin.org@mitzpettel.com>
525
526         Reviewed by hyatt.  Landed by eseidel.
527
528         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8549
529           Enable detection of excessive repainting with DumpRenderTree
530
531         * DumpRenderTree/DumpRenderTree.m:
532         (-[LayoutTestController display]):
533
534 2006-04-23  Mitz Pettel  <opendarwin.org@mitzpettel.com>
535
536         Reviewed by Darin.
537
538         - http://bugzilla.opendarwin.org/show_bug.cgi?id=6905
539           DumpRenderTree needs a way to force painting (to allow invalidation tests)
540
541         * DumpRenderTree/DumpRenderTree.m:
542         (dump): If display() has been called during the test, grab the pixels from
543         the view, after letting it repaint invalidated rects.
544         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
545         (-[LayoutTestController display]): Added. Calls -display on the view
546         and changes the subsequent behavior of dump().
547         (dumpRenderTree):
548
549 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
550
551         Reviewed by Maciej.
552
553         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8532
554           Update iExploder to 1.3.2
555
556         Test case numbers are not compatible with iExploder 1.2.
557
558         * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
559
560         * iExploder/CHANGELOG.txt: Added.
561         * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
562         * iExploder/README.txt: Added some performance hints.
563
564         * iExploder/htdocs/config.rb: Added.
565         * iExploder/htdocs/cssproperties.in:
566         * iExploder/htdocs/cssvalues.in:
567         * iExploder/htdocs/htmlattrs.in:
568         * iExploder/htdocs/htmltags.in:
569         * iExploder/htdocs/iexploder.cgi:
570          - Updated to support the latest HTML & CSS tags, properties, and values from both
571            the WebKit and Mozilla CVS tree
572          - cssproperties.in cleanup
573          - Modularized the code a little bit.
574          - Fix subtest bug that was causing last 5 tags to be missed
575          - new subtest algorithm to deal better with larger tag counts
576          - default HTML_MAX_TAGS increased from 32 to 96
577
578         * iExploder/htdocs/index.html: Updated version to 1.3.2.
579         * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
580         alternative to our run-iexploder-tests.
581         * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
582         * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
583         * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
584
585 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
586
587         - commit Scripts/run-mangleme-tests (missed it the previous time).
588
589 2006-04-18  Darin Adler  <darin@apple.com>
590
591         - attempt to fix Windows buildbot
592
593         * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
594         We need a better long-term solution for this.
595
596 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
597
598         Reviewed by Darin.
599
600         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8444
601           Integrate mangleme test script.
602
603         Works in a similar way to run-iexploder-tests.
604
605         * Scripts/run-mangleme-tests: Added.
606         * mangleme: Added.
607         * mangleme/Makefile: Added.
608         * mangleme/README: Added.
609         * mangleme/mangle.cgi.c: Added.
610         * mangleme/remangle.cgi.c: Added.
611         * mangleme/tags.h: Added.
612
613 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
614
615         Reviewed by Darin.
616
617         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8443
618           An easier way to save iExploder tests.
619
620         * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
621
622 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
623
624         Reviewed by Darin.
625
626         - http://bugzilla.opendarwin.org/show_bug.cgi?id=8421
627           Integrate iExploder test script.
628
629         This script generates artificially mangled HTML documents, to test that the browser
630         doesn't crash when handling ill-formed code.
631         
632         How to use:
633          run-iexploder-tests             Open an interactive test page in Safari+ToT.
634          run-iexploder-tests nnnnn       Open test #nnnnn.
635
636         Command line options:
637          --guard-malloc (-g)              Use Guard Malloc.
638          --port=nnnn                      Run Apache on port nnnn (default is 8000).
639
640         To save a crashing test, you can use curl while the crash reporter dialog is on the screen
641         (thus, Apache is still running), e.g.:
642          curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
643
644         Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
645
646         * Scripts/run-iexploder-tests: Added.
647         * iExploder: Added.
648         * iExploder/LICENSE.txt: Added.
649         * iExploder/README.txt: Added.
650         * iExploder/htdocs: Added.
651         * iExploder/htdocs/cssproperties.in: Added.
652         * iExploder/htdocs/cssvalues.in: Added.
653         * iExploder/htdocs/htmlattrs.in: Added.
654         * iExploder/htdocs/htmltags.in: Added.
655         * iExploder/htdocs/htmlvalues.in: Added.
656         * iExploder/htdocs/iexploder.cgi: Added.
657         * iExploder/htdocs/index.html: Added.
658         * iExploder/tools: Added.
659         * iExploder/tools/lasthit.rb: Added.
660         * iExploder/tools/osx_last_crash.rb: Added.
661
662 2006-04-16  Alexey Proskuryakov  <ap@nypop.com>
663
664         Reviewed by Darin.
665
666         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8412
667           Restore color profile after a crash
668
669         * DumpRenderTree/DumpRenderTree.m:
670         (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
671         from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
672         I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
673         and this code may change significantly.
674
675         (main): Install crashHandler.
676
677         (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
678         (CFStringGetCStringPtr should NEVER EVER be used!).
679
680 2006-04-15  Darin Adler  <darin@apple.com>
681
682         Reviewed by Eric.
683
684         * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
685         Seems xmlsoft.org's HTTP no longer has what we need.
686
687 2006-04-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
688
689         Rubber-stamped by Darin.
690
691         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8348
692           upload-disk-image stage on buildslaves fail with "No space left on device"
693
694         * BuildSlaveSupport/build-launcher-dmg:  Use the -srcfolder option to
695           'hdiutil create'.   This creates the initial disk image based on the size of
696           the source folder, and copies the contents to the new disk image.  The file
697           extension on the temporary uncompressed disk image has also been altered from
698           ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
699           the extension is not ".dmg".
700
701 2006-04-12  Eric Seidel  <eseidel@apple.com>
702
703         Reviewed by Tim H.
704
705         * Scripts/update-webkit: Make this return non-zero when svn fails.
706
707 2006-04-10  Alexey Proskuryakov  <ap@nypop.com>
708
709         Reviewed by Darin.
710
711         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
712           Make HTTP tests using Perl use .pl extension
713
714         * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
715           removed support for .text. Reduced the number of places that explicitly list supported
716           extensions. Some of the changes come from bug 8121, the patch for which got landed only
717           partially.
718
719 2006-04-06  Darin Adler  <darin@apple.com>
720
721         Changes requested by Mark Rowe.
722
723         * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
724         trash at the end of the file.
725         * BuildSlaveSupport/build-launcher-dmg: Ditto.
726
727         * WebKitLauncher/main.m: Removed trash at end of file.
728
729         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
730         to make name match.
731
732 2006-04-06  Mark Rowe  <opendarwin.org@bdash.net.nz>
733
734         Reviewed by Darin, landed by Maciej.
735
736         * BuildSlaveSupport/build-launcher-app: Added.  Builds WebKit.app from WebKitLauncher
737           and bundles the WebKit frameworks inside it.
738         * BuildSlaveSupport/build-launcher-dmg: Added.  Builds, and optionally uploads, a disk image
739           containing WebKit.app.
740         * BuildSlaveSupport/run-performance-tests:  Use currentSVNRevision.
741         * Scripts/webkitdirs.pm:  Add currentSVNRevision to retrieve the revision
742           number of the SVN working copy.
743         * WebKitLauncher: Added.
744         * WebKitLauncher/Info.plist: Added.
745         * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
746         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
747         * WebKitLauncher/WebKitNightlyEnabler.m: Added.  This makes
748           up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
749           to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
750           the nightly launcher.
751         * WebKitLauncher/main.m: Added.  The WebKit.app launcher.
752           It sets up the environment to have Safari use the bundled frameworks
753           and load the WebKitNightlyEnabler dylib before exec'ing Safari
754         * WebKitLauncher/start.html: Added.
755         * WebKitLauncher/webkit.icns: Added.
756
757 2006-04-05  Darin Adler  <darin@apple.com>
758
759         Reviewed by Maciej.
760
761         * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
762         are allowed to have global initializers.
763
764 2006-04-05  Geoffrey Garen  <ggaren@apple.com>
765
766         Reviewed by OMG BETH
767
768         * Scripts/run-testkjs:
769         - pipe STDERR to /dev/null by default; new --verbose option overrides
770         this behavior
771         - set DYLD_FRAMEWORK_PATH to the webkit-configured path
772         - output run command in a format that can be copied and pasted into the
773         terminal to run manually
774
775 2006-04-03  Justin Garcia  <justin.garcia@apple.com>
776
777         Reviewed by harrison
778         
779         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7567>
780         A drag and drop in DumpRenderTree copies the source, instead of cutting it
781         
782         Tell the source that the drag is over after the drag is performed, not before.
783
784         * DumpRenderTree/EventSendingController.m:
785         (-[EventSendingController mouseUp]):
786
787 2006-04-01  Darin Adler  <darin@apple.com>
788
789         Reviewed by Justin.
790
791         * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
792         Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
793         elements in that array are not strings.
794
795 2006-03-31  Darin Adler  <darin@apple.com>
796
797         Reviewed by John Sullivan.
798
799         - added a "--reset-results" option to run-webkit-tests so you can reset
800           the results without first deleting expected results
801         - <rdar://problem/4185878> add scroll position to dumpRenderTree
802
803         * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
804         more logical. Moved all the subroutines to the end of the file. Added a
805         "--force" option.
806
807         * DumpRenderTree/DumpRenderTree.m:
808         (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
809         to generate new output for all tests it runs.
810         (dump): Dump the scroll position if it's non-zero. Always dump the image when
811         the --dump-all-pixels option is passed. Also tightened up the image dumping
812         code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
813         with code to save and restore the context.
814
815         * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
816         * DumpRenderTree/EventSendingController.m: Added now-needed include.
817
818 2006-03-30  Tim Omernick  <timo@apple.com>
819
820         Reviewed by NOBODY (just fixing copyrights)
821
822         * DumpRenderTree/ObjCPlugin.h:
823         Fixed copyright.
824         * DumpRenderTree/ObjCPlugin.m: ditto
825         * DumpRenderTree/ObjCPluginFunction.h: ditto
826         * DumpRenderTree/ObjCPluginFunction.m: ditto
827
828 2006-03-30  Tim Omernick  <timo@apple.com>
829
830         Reviewed by Geoff.
831
832         * DumpRenderTree/DumpRenderTree.m:
833         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
834         Add "objCPlugin", "objCPluginFunction" properties to the window.  objCPlugin simulates
835         an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
836         exposed to JS as a callable object.
837
838         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
839         Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
840
841         * DumpRenderTree/ObjCPlugin.h: Added.
842         * DumpRenderTree/ObjCPlugin.m: Added.
843         * DumpRenderTree/ObjCPluginFunction.h: Added.
844         * DumpRenderTree/ObjCPluginFunction.m: Added.
845
846         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
847         Added a new method, "removeDefaultMethod", which removes the default method from the
848         plugin object's class.  The effect is that the plugin object is mutated from a callable
849         function to a simple object.
850         (pluginInvoke):
851         Handle "removeDefaultMethod".
852         (pluginInvokeDefault):
853         Made the default method actually do something (return 1).
854
855 2006-03-30  Eric Seidel  <eseidel@apple.com>
856
857         Reviewed by ggaren.
858
859         Remove WebFrame::viewImpl(), setMainFrame on page.
860
861         * Spinneret/Spinneret/WebFrame.cpp:
862         (WebKit::WebFrame::WebFrame):
863         * Spinneret/Spinneret/WebFrame.h:
864         * Spinneret/Spinneret/WebView.cpp:
865         (WebKit::WebView::mouseMoved):
866         (WebKit::WebView::mouseDown):
867         (WebKit::WebView::mouseUp):
868         (WebKit::WebView::mouseDoubleClick):
869         (WebKit::WebViewWndProc):
870
871 2006-03-30  Eric Seidel  <eseidel@apple.com>
872
873         Reviewed by hyatt.
874
875         Fix html editing input & basic form submission.
876
877         * Spinneret/Spinneret/WebFrame.cpp:
878         (WebKit::WebFrame::submitForm):
879         (WebKit::WebFrame::loadURL):
880         * Spinneret/Spinneret/WebFrame.h:
881         * Spinneret/Spinneret/WebView.cpp:
882         (WebKit::WebView::keyPress):
883         (WebKit::WebViewWndProc):
884
885 2006-03-28  Justin Garcia  <justin.garcia@apple.com>
886
887         Reviewed by darin
888
889         <rdar://problem/4402375>
890         REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
891
892         Added an option to draw the selectionRect.
893
894         * DumpRenderTree/DumpRenderTree.m:
895         (dump):
896         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
897         (-[LayoutTestController dumpSelectionRect]):
898         (dumpRenderTree):
899         
900 2006-03-29  Darin Adler  <darin@apple.com>
901
902         Reviewed by Tim Hatcher.
903
904         - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
905
906         * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
907
908 2006-03-28  Eric Seidel  <eseidel@apple.com>
909
910         Reviewed by darin.
911
912         * Scripts/check-for-global-initializers: remove svg exceptions.
913
914 2006-03-28  Timothy Hatcher  <timothy@apple.com>
915
916         Reviewed by Darin.
917
918         Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
919
920         * Scripts/check-for-global-initializers:
921
922 2006-03-28  Timothy Hatcher  <timothy@apple.com>
923
924         Build fix. Turn off uninitialized warnings for the first block of code.
925
926         * Scripts/check-for-global-initializers:
927
928 2006-03-28  Darin Adler  <darin@apple.com>
929
930         Reviewed by Geoff.
931
932         * Scripts/check-for-global-initializers: Added.
933
934 2006-03-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
935
936         Reviewed by darin.  Landed by eseidel.
937
938         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7947
939           Add repaint testing support to run-webkit-tests
940
941         * DumpRenderTree/DumpRenderTree.m:
942         (main): Added --repaint and --horizontal-sweep options.
943         (dump): Repaint line-by-line or column-by-column when the appropriate option
944         is selected.
945         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
946         and repaintSweepHorizontally() methods to layoutTestController.
947         (-[LayoutTestController testRepaint]):
948         (-[LayoutTestController repaintSweepHorizontally]):
949         (dumpRenderTree):
950         * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
951         to force these settings on tests that do not ask for them.
952
953 2006-03-24  Eric Seidel  <eseidel@apple.com>
954
955         Reviewed by mjs.
956
957         Build fix.
958
959         * Spinneret/Spinneret/WebFrame.cpp:
960         (WebKit::WebFrame::openURL): replace QString with DeprecatedString
961
962 2006-03-21  Beth Dakin  <bdakin@apple.com>
963
964         Reviewed by Maciej
965
966         Add support for keyDown() to DumpRenderTree.
967
968         * DumpRenderTree/DumpRenderTree.m:
969         (main): Set the preference for tabbing to links.
970         * DumpRenderTree/EventSendingController.m:
971         (+[EventSendingController isSelectorExcludedFromWebScript:]):
972         (+[EventSendingController webScriptNameForSelector:]):
973         (-[EventSendingController keyDown:withModifiers:]):
974
975 2006-03-20  Eric Seidel  <eseidel@apple.com>
976
977         Reviewed by hyatt.
978
979         Fix win32 build.
980
981         * Spinneret/Spinneret/Spinneret.vcproj:
982         * Spinneret/Spinneret/WebFrame.h:
983         * Spinneret/Spinneret/WebView.cpp:
984         (WebKit::WebView::mouseMoved):
985         (WebKit::WebView::mouseDown):
986         (WebKit::WebView::mouseUp):
987         (WebKit::WebView::mouseDoubleClick):
988         (WebKit::WebView::keyPress):
989         (WebKit::WebViewWndProc):
990
991 2006-03-19  Darin Adler  <darin@apple.com>
992
993         Reviewed by Anders.
994
995         * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
996         we can test it in layout tests. We don't really need tests that run with
997         pop-up blocking off at the moment. If we do some day, we can add some
998         API for turning it off in the layout test controller.
999
1000         * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
1001         don't ignore the leak; it should no longer show up.
1002
1003 2006-03-17  Anders Carlsson  <andersca@mac.com>
1004
1005         Reviewed by Eric.
1006         
1007         * Scripts/install-win-extras:
1008         Fetch "Program Files" location from the environment.
1009         
1010 2006-03-17  Eric Seidel  <eseidel@apple.com>
1011
1012         Reviewed by ggaren.
1013
1014         Fix Spinneret to pass Events as const & not as pointers.
1015
1016         * Spinneret/Spinneret/WebView.cpp:
1017         (WebKit::WebView::mouseMoved):
1018         (WebKit::WebView::mouseDown):
1019         (WebKit::WebView::mouseUp):
1020         (WebKit::WebView::mouseDoubleClick):
1021         (WebKit::WebView::keyPress):
1022
1023 2006-03-17  Eric Seidel  <eseidel@apple.com>
1024
1025         Reviewed by justing.
1026
1027         Add support for basic HTML editing.
1028
1029         * Spinneret/Spinneret/WebView.cpp:
1030         (WebKit::WebView::WebView):
1031         (WebKit::WebView::keyPress):
1032
1033 2006-03-17  Eric Seidel  <eseidel@apple.com>
1034
1035         Rubber-stamped by ggaren.
1036
1037         Break DumpRenderTree.m up into several files to make the code more readable.
1038
1039         * DumpRenderTree/DumpRenderTree.h: Added.
1040         * DumpRenderTree/DumpRenderTree.m:
1041         (doneLoading): new accessor function for "done" global.
1042         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1043         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
1044         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
1045         * DumpRenderTree/EditingDelegate.h: Added.
1046         * DumpRenderTree/EditingDelegate.m: Added.
1047         (-[EditingDelegate webViewDidChangeSelection:]):
1048         * DumpRenderTree/EventSendingController.h: Added.
1049         * DumpRenderTree/EventSendingController.m: Added.
1050
1051 2006-03-16  Eric Seidel  <eseidel@apple.com>
1052
1053         Reviewed by darin.
1054
1055         Add resize, scroll event support.
1056
1057         * Spinneret/Spinneret/WebView.cpp:
1058         (WebKit::WebView::mouseMoved):
1059         (WebKit::WebView::mouseDown):
1060         (WebKit::WebView::mouseUp):
1061         (WebKit::WebView::mouseDoubleClick):
1062         (WebKit::WebView::keyPress):
1063         (WebKit::WebViewWndProc):
1064         * Spinneret/Spinneret/WebView.h:
1065
1066 2006-03-16  Eric Seidel  <eseidel@apple.com>
1067
1068         Reviewed by darin.
1069
1070         Make build-webkit print correctly to stdout on windows.
1071
1072         * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
1073
1074 2006-03-15  Eric Seidel  <eseidel@apple.com>
1075
1076         Reviewed by mjs.
1077
1078         Fix eventSender.mouseClick() to update lastClick timestamp.
1079
1080         * DumpRenderTree/DumpRenderTree.m:
1081         (-[EventSendingController mouseClick]):
1082
1083 2006-03-15  Darin Adler  <darin@apple.com>
1084
1085         Reviewed by Maciej.
1086
1087         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
1088         that had a lowercase "i" in it so this builds on case-sensitive
1089         file systems.
1090
1091 2006-03-15  Geoffrey Garen  <ggaren@apple.com>
1092
1093         Reviewed by Eric.
1094
1095         Added run-testkjs and compare-timing-files scripts, to support super
1096         accurate JS iBench.
1097
1098         * Scripts/compare-timing-files: Added.
1099         * Scripts/run-testkjs: Added.
1100
1101 2006-03-14  Eric Seidel  <eseidel@apple.com>
1102
1103         Reviewed by mjs.
1104
1105         Make the URL bar relinquish focus on page load.
1106
1107         * Spinneret/Spinneret/Spinneret.cpp:
1108         (MyEditProc):
1109
1110 2006-03-14  Eric Seidel  <eseidel@apple.com>
1111
1112         Reviewed by mjs.
1113
1114         Fix WebView to allow KeyFocus.
1115         Add handling of space and shift-space for scrolling.
1116
1117         * Spinneret/Spinneret/WebView.cpp:
1118         (WebKit::scrollMessageForKey):
1119         (WebKit::WebViewWndProc):
1120
1121 2006-03-10  Eric Seidel  <eseidel@apple.com>
1122
1123         Reviewed by hyatt.
1124
1125         Add scrolling support into Spinneret.
1126
1127         * Spinneret/Spinneret/WebFrame.cpp:
1128         (WebKit::WebFrame::paint):
1129         * Spinneret/Spinneret/WebView.cpp:
1130         (WebKit::WebView::createWebView):
1131         (WebKit::calculateScrollDelta):
1132         (WebKit::scrollMessageForKey):
1133         (WebKit::WebViewWndProc):
1134
1135 2006-03-13  Eric Seidel  <eseidel@apple.com>
1136
1137         Reviewed by mjs.
1138
1139         Fix checksum generation on Intel machines.
1140         Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
1141         give a small speed boost now that it uses a shared buffer.
1142
1143         * DumpRenderTree/DumpRenderTree.m:
1144         (main):
1145         (dump):
1146         (md5HashStringForBitmap):
1147         * DumpRenderTree/ImageDiff.m:
1148         (computePercentageDifferent):
1149
1150 2006-03-13  Darin Adler  <darin@apple.com>
1151
1152         Reviewed by Tim Hatcher.
1153
1154         * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
1155         have it named httpd-1.3 instead.
1156
1157 2006-03-13  Alexey Proskuryakov  <ap@nypop.com>
1158
1159         Fix proposed by Mitz Pettel, reviewed by Darin.
1160
1161         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718
1162           run-webkit-tests fast/dom/HTMLObjectElement/ hangs
1163
1164         * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
1165         (sequences of slashes are equivalent to a single slash in POSIX paths, but not 
1166         in URLs).
1167
1168 2006-03-09  Darin Adler  <darin@apple.com>
1169
1170         Reviewed by John Sullivan.
1171
1172         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7681
1173           memory leak in the plug-in tests
1174
1175         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1176         (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
1177         (NPP_SetWindow): Remove unneeded code to store the window pointer.
1178
1179         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1180         Moved the browser global in here since it's declared in this file's header.
1181         Changed the code to set up the pluginClass structure to not use function
1182         pointer casts. Those are dangerous because they can hide many types of mismatch.
1183         And indeed when I did this I discovered that many functions were missing their
1184         boolean return values or had parameter declarations with the wrong types.
1185         (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
1186         clarity. Added boolean return value: return true when successful and false when not.
1187         (pluginSetProperty): Added boolean return value, return false since we have no
1188         properties we can set.
1189         (pluginInvoke): Added boolean return value. Return true when successful and false
1190         when not. Use NPVARIANT macros where appropriate. Added a missing release for the
1191         return value from calling the browser. Changed code to put the strings in malloc
1192         buffers instead of relying on GCC's extension that allows variable-sized arrays
1193         on the stack.
1194         (pluginInvokeDefault): Added boolean return value, return false since we have no
1195         default function to call.
1196         (pluginInvalidate): Added missing parameter. Removed comment.
1197         (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
1198         to cast the result of malloc.
1199         (pluginDeallocate): Removed uneeded cast.
1200
1201         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
1202         includes. Changed our PluginObject to use NPObject instead of re-declaring fields
1203         that match NPObject's fields. Removed unused NPWindow pointer.
1204
1205 2006-03-09  Mitz Pettel  <opendarwin.org@mitzpettel.com>
1206
1207         Test: fast/events/event-sender-mouse-click.html
1208
1209         Reviewed by Darin.
1210
1211         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7583
1212           DRT hangs when doing eventSender.mouseDown on native widgets
1213
1214         * DumpRenderTree/DumpRenderTree.m:
1215         (+[EventSendingController isSelectorExcludedFromWebScript:]):
1216         (-[EventSendingController mouseClick]): Simulates a click in a native
1217         widget by queueing a mouseUp before sending the mouseDown, so that
1218         the widget's mouse tracking event loop doesn't hang indefinitely.
1219
1220 2006-03-09  Maciej Stachowiak  <mjs@apple.com>
1221
1222         Reviewed by Eric.
1223
1224         - make link clicks work by handling link click requests
1225         from WebCore
1226
1227         * Spinneret/Spinneret/Spinneret.cpp:
1228         (updateLocationBar):
1229         * Spinneret/Spinneret/Spinneret.h:
1230         * Spinneret/Spinneret/WebFrame.cpp:
1231         (WebKit::WebFrame::WebFrame):
1232         (WebKit::WebFrame::openURL):
1233         (WebKit::WebFrame::loadURL):
1234         * Spinneret/Spinneret/WebFrame.h:
1235
1236 2006-03-08  Eric Seidel  <eseidel@apple.com>
1237
1238         Reviewed by mjs.
1239
1240         Focus URL bar on Spinneret launch, remove border from WebView.
1241         Stop WebFrame from deleting the job (prevent crash).
1242
1243         * Spinneret/Spinneret/Spinneret.cpp:
1244         (_tWinMain):
1245         * Spinneret/Spinneret/WebFrame.cpp:
1246         (WebKit::WebFrame::receivedAllData):
1247         (WebKit::WebFrame::paint):
1248         * Spinneret/Spinneret/WebView.cpp:
1249         (WebKit::WebView::createWebView):
1250
1251 2006-03-09  Alexey Proskuryakov  <ap@nypop.com>
1252
1253         Reviewed by Darin.
1254
1255         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1256         (pluginInvoke): Added a method to test getURL.
1257
1258 2006-03-08  Maciej Stachowiak  <mjs@apple.com>
1259
1260         Reviewed by Eric.
1261
1262         - load URLs, not file paths, in Spinneret
1263
1264         * Spinneret/Spinneret/Spinneret.cpp:
1265         (MyEditProc):
1266         * Spinneret/Spinneret/Spinneret.vcproj:
1267         * Spinneret/Spinneret/WebFrame.cpp:
1268         (WebKit::WebFrame::loadURL):
1269         (WebKit::WebFrame::receivedData):
1270         (WebKit::WebFrame::receivedAllData):
1271         * Spinneret/Spinneret/WebFrame.h:
1272         * Spinneret/Spinneret/WebView.cpp:
1273         (WebKit::WebView::WebView):
1274
1275 2006-03-08  Darin Adler  <darin@apple.com>
1276
1277         Reviewed by Eric.
1278
1279         - fixed AppleScript layout test results to not be endian-dependent
1280           (Hyatt complained to me about this one)
1281
1282         * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
1283         Added specific code for dumping LongDateTime, instead of dumping the raw bytes
1284         (which are endian-dependent).
1285
1286 2006-03-07  Darin Adler  <darin@apple.com>
1287
1288         Reviewed by Anders.
1289
1290         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7655
1291           unwanted output while running layout tests
1292
1293         * DumpRenderTree/DumpRenderTree.m:
1294         (checkedMalloc): Added.
1295         (checkedRealloc): Added.
1296         (makeLargeMallocFailSilently): Added.
1297         (main): Call makeLargeMallocFailSilently.
1298
1299 2006-03-06  Darin Adler  <darin@apple.com>
1300
1301         * Scripts/do-webcore-rename: Add some more planned renaming.
1302
1303 2006-03-06  Eric Seidel  <eseidel@apple.com>
1304
1305         Reviewed by hyatt.
1306
1307         * Spinneret/Spinneret/WebFrame.cpp:
1308         (WebKit::WebFrame::paint): force layout before painting
1309
1310 2006-03-06  Justin Garcia  <justin.garcia@apple.com>
1311
1312         Reviewed by darin
1313         
1314         Sent the windowNumber when sending events.
1315         Added leapForward so that we don't have to spend time waiting
1316         in layout tests that do mouse operations that require delays.
1317
1318         * DumpRenderTree/DumpRenderTree.m:
1319         (+[EventSendingController isSelectorExcludedFromWebScript:]):
1320         (+[EventSendingController webScriptNameForSelector:]):
1321         (-[EventSendingController currentEventTime]):
1322         (-[EventSendingController leapForward:]):
1323         (-[EventSendingController mouseDown]):
1324         (-[EventSendingController mouseUp]):
1325         (-[EventSendingController mouseMoveToX:Y:]):
1326
1327 2006-03-05  Darin Adler  <darin@apple.com>
1328
1329         * Scripts/do-webcore-rename: Fix a couple of things found while testing.
1330         Script now works (after landing my two pending patches).
1331
1332 2006-03-05  Darin Adler  <darin@apple.com>
1333
1334         - check in a script to do a "big" rename in WebCore
1335           (can be run whenever we're ready to do it)
1336
1337         * Scripts/do-webcore-rename: Added.
1338
1339 2006-03-05  Maciej Stachowiak  <mjs@apple.com>
1340
1341         Reviewed by Eric.
1342
1343         * Spinneret/Spinneret/WebFrame.cpp:
1344         (WebKit::WebFrame::loadFilePath): Close file when done.
1345
1346 2006-03-05  Mitz Pettel  <opendarwin.org@mitzpettel.com>
1347
1348         Reviewed by Darin, landed by ap.
1349
1350         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7589
1351           Mouse moved events do not work in DumpRenderTree
1352
1353         Test: fast/events/event-sender-mouse-moved.html
1354
1355         * DumpRenderTree/DumpRenderTree.m:
1356         (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
1357
1358 2006-03-04  Eric Seidel  <eseidel@apple.com>
1359
1360         Reviewed by hyatt.
1361
1362         Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
1363         Disable background erase to avoid tearing.
1364         Fix potential memory smasher from extra long urls. 
1365
1366         * Spinneret/Spinneret/Spinneret.cpp:
1367         (MyRegisterClass):
1368         * Spinneret/Spinneret/Spinneret.vcproj:
1369         * Spinneret/Spinneret/WebFrame.cpp:
1370         (WebKit::WebFrame::loadFilePath):
1371         (WebKit::WebFrame::paint):
1372         * Spinneret/Spinneret/WebView.cpp:
1373         (WebKit::registerWebViewWithInstance):
1374
1375 2006-03-04  Eric Seidel  <eseidel@apple.com>
1376
1377         Reviewed by ggaren.
1378
1379         Hang WebView pointer off of HWND (gets rid of global hack).
1380         Remove MessageBox displayed on url change.
1381
1382         * Spinneret/Spinneret/Spinneret.cpp:
1383         (WndProc):
1384         (MyEditProc):
1385         * Spinneret/Spinneret/WebView.cpp:
1386         (WebKit::registerWebViewWithInstance):
1387         (WebKit::WebView::createWebView):
1388         (WebKit::WebViewWndProc):
1389
1390 2006-03-04  Alexey Proskuryakov  <ap@nypop.com>
1391
1392         Reviewed by Eric.
1393
1394         Automatically kill httpd if it appears to be already running.
1395
1396         * Scripts/run-webkit-tests: 
1397
1398 2006-03-04  Maciej Stachowiak  <mjs@apple.com>
1399
1400         Reviewed by Eric.
1401
1402         * Spinneret/Spinneret/WebFrame.cpp:
1403         (WebKit::WebFrame::loadFilePath): Improved local file loading.
1404
1405 2006-03-03  Eric Seidel  <eseidel@apple.com>
1406
1407         Reviewed by hyatt.
1408
1409         A few more fixes to make run-webkit-tests really work on win32.
1410
1411         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1412         (localFileTest):
1413         * Scripts/run-webkit-tests:
1414
1415 2006-03-03  Eric Seidel  <eseidel@apple.com>
1416
1417         Reviewed by darin.
1418
1419         Make run-webkit-tests work on win32.
1420
1421         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1422         (localFileTest):
1423         (dumpRenderTreeMain):
1424         (dumpRenderTreeToStdOut):
1425         (serializeToStdOut):
1426         (main):
1427         * Scripts/run-webkit-tests:
1428         * Scripts/webkitdirs.pm:
1429         * Spinneret/Spinneret/WebView.cpp:
1430         (WebKit::WebView::WebView):
1431
1432 2006-03-03  Eric Seidel  <eseidel@apple.com>
1433
1434         Reviewed by mjs.
1435
1436         Add WebFrame class (to hold Frame and FrameView).
1437         Add Location bar support to Spinneret.
1438
1439         * Spinneret/Spinneret/Spinneret.cpp:
1440         (resizeSubViews):
1441         (_tWinMain):
1442         (WndProc):
1443         (MyEditProc):
1444         * Spinneret/Spinneret/Spinneret.vcproj:
1445         * Spinneret/Spinneret/WebFrame.cpp: Added.
1446         (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
1447         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
1448         (WebKit::WebFrame::WebFrame):
1449         (WebKit::WebFrame::loadFilePath):
1450         (WebKit::WebFrame::loadHTMLString):
1451         (WebKit::WebFrame::paint):
1452         (WebKit::WebFrame::impl):
1453         (WebKit::WebFrame::viewImpl):
1454         * Spinneret/Spinneret/WebFrame.h: Added.
1455         * Spinneret/Spinneret/WebView.cpp:
1456         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1457         (WebKit::WebView::WebView):
1458         (WebKit::WebView::windowHandle):
1459         (WebKit::WebView::mainFrame):
1460         (WebKit::WebView::mouseMoved):
1461         (WebKit::WebView::mouseDown):
1462         (WebKit::WebView::mouseUp):
1463         (WebKit::WebView::mouseDoubleClick):
1464         (WebKit::WebViewWndProc):
1465         * Spinneret/Spinneret/WebView.h:
1466
1467 2006-03-02  Eric Seidel  <eseidel@apple.com>
1468
1469         Reviewed by ggaren.
1470
1471         * Spinneret/Spinneret/WebView.cpp:
1472         (WebKit::registerWebViewWithInstance):
1473         (WebKit::WebView::WebView):
1474         (WebKit::WebView::mouseMoved):
1475         (WebKit::WebView::mouseDown):
1476         (WebKit::WebView::mouseUp):
1477         (WebKit::WebView::mouseDoubleClick):
1478         (WebKit::WebViewWndProc):
1479         * Spinneret/Spinneret/WebView.h:
1480
1481 2006-03-01  Eric Seidel  <eseidel@apple.com>
1482
1483         Reviewed by andersca.
1484
1485         Make spinneret take advantage of the new GraphicsContextCairo.
1486
1487         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1488         (main): updated to match style guidelines.
1489         * Spinneret/Spinneret/Spinneret.cpp:
1490         (_tWinMain):
1491         * Spinneret/Spinneret/WebView.cpp:
1492         (WebKit::registerWebViewWithInstance):
1493         (WebKit::WebView::WebView):
1494         (WebKit::WebView::~WebView):
1495         (WebKit::WebView::drawRect):
1496         (WebKit::WndProc):
1497         * Spinneret/Spinneret/WebView.h:
1498
1499 2006-03-01  Justin Garcia  <justin.garcia@apple.com>
1500
1501         Reviewed by darin
1502         
1503         Give the events that eventSender sends a unique eventNumber
1504
1505         * DumpRenderTree/DumpRenderTree.m:
1506         (-[EventSendingController mouseDown]):
1507         (-[EventSendingController mouseUp]):
1508         (-[EventSendingController mouseMoveToX:Y:]):
1509
1510 2006-03-01  Eric Seidel  <eseidel@apple.com>
1511
1512         Reviewed by hyatt.
1513
1514         Add a stub win32 application to test WebCore drawing on windows.
1515
1516         * Spinneret: Added.
1517         * Spinneret/Spinneret: Added.
1518         * Spinneret/Spinneret.sln: Added.
1519         * Spinneret/Spinneret/Resource.h: Added.
1520         * Spinneret/Spinneret/Spinneret.cpp: Added.
1521         (_tWinMain):
1522         (MyRegisterClass):
1523         (InitInstance):
1524         (WndProc):
1525         (About):
1526         * Spinneret/Spinneret/Spinneret.h: Added.
1527         * Spinneret/Spinneret/Spinneret.ico: Added.
1528         * Spinneret/Spinneret/Spinneret.rc: Added.
1529         * Spinneret/Spinneret/Spinneret.vcproj: Added.
1530         * Spinneret/Spinneret/WebView.cpp: Added.
1531         (WebKit::WebView::WebViewPrivate::WebViewPrivate):
1532         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
1533         (WebKit::registerWebViewWithInstance):
1534         (WebKit::WebView::createWebView):
1535         (WebKit::WebView::WebView):
1536         (WebKit::WebView::~WebView):
1537         (WebKit::WebView::drawRect):
1538         (WebKit::WebView::windowHandle):
1539         (WebKit::WndProc):
1540         * Spinneret/Spinneret/WebView.h: Added.
1541         * Spinneret/Spinneret/small.ico: Added.
1542         * Spinneret/Spinneret/stdafx.cpp: Added.
1543         * Spinneret/Spinneret/stdafx.h: Added.
1544
1545 2006-02-28  Eric Seidel  <eseidel@apple.com>
1546
1547         Reviewed by mjs.
1548
1549         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1550         (main): add ability to dump render tree and read from a local file.
1551
1552 2006-02-27  Eric Seidel  <eseidel@apple.com>
1553
1554         Reviewed by darin.
1555
1556         * Scripts/install-win-extras: fix dll permissions & download zlib too.
1557
1558 2006-02-27  Eric Seidel  <eseidel@apple.com>
1559
1560         Reviewed by ggaren.
1561
1562         Test new KConfig -> PlugInInfoStore change.
1563         http://bugzilla.opendarwin.org/show_bug.cgi?id=7498
1564
1565         * DumpRenderTree/DumpRenderTree.m:
1566         (main): load test netscape plugin
1567         * Scripts/run-webkit-tests: style update
1568
1569 2006-02-24  Eric Seidel  <eseidel@apple.com>
1570
1571         Reviewed by mjs.
1572
1573         Make DumpRenderTree link against icu.
1574
1575         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1576
1577 2006-02-24  Eric Seidel  <eseidel@apple.com>
1578
1579         Reviewed by mjs.
1580
1581         Make DumpRenderTree link against libxml, etc.
1582
1583         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1584
1585 2006-02-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
1586
1587         Reviewed and landed by Anders.
1588         
1589         Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
1590         getting called from the run loop, making the view render each test and thus slowing
1591         down the tests.
1592
1593         * DumpRenderTree/DumpRenderTree.m:
1594         (main): Set the offscreen window to not autodisplay.
1595
1596 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
1597
1598         Reviewed by Darin.
1599
1600         - Turn http tests back on by default.
1601         - Wait for Apache to actually start serving requests.
1602         - Get user id from a built-in variable rather than an external command; 
1603         don't pass the group. 
1604
1605         * Scripts/run-webkit-tests: 
1606
1607 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
1608
1609         Suggested by Mitz Pettel, reviewed by Darin.
1610
1611         * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
1612         can run CGIs even if the permissions are 700 or 600.
1613
1614 2006-02-23  Darin Adler  <darin@apple.com>
1615
1616         Collaborating with Alexey.
1617
1618         - turn off http tests by default until we figure out how to get them
1619           to run even when permissions on CGI files are 700 instead of 755
1620
1621         * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
1622
1623 2006-02-23  Eric Seidel  <eseidel@apple.com>
1624
1625         Add *.user to ignore list.
1626
1627 2006-02-23  Eric Seidel  <eseidel@apple.com>
1628
1629         Remove binary file which shouldn't have been commited (and add to ignore list).
1630
1631         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
1632         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
1633
1634 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
1635
1636         Reviewed by Eric.
1637
1638         * Scripts/run-webkit-tests: Put Apache log files in the right directory.
1639
1640 2006-02-22  Eric Seidel  <eseidel@apple.com>
1641
1642         Reviewed by Tim Hatcher.
1643
1644         Fix install-win-extras to not try to re-install setx if installed.
1645
1646         * Scripts/install-win-extras:
1647
1648 2006-02-22  Eric Seidel  <eseidel@apple.com>
1649
1650         One more file possibly missing from previous commit?
1651
1652         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
1653         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1654
1655 2006-02-22  Eric Seidel  <eseidel@apple.com>
1656
1657         Reviewed by justing.
1658
1659         Files missing from previous commit.
1660
1661         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1662         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1663
1664 2006-02-22  Eric Seidel  <eseidel@apple.com>
1665
1666         Rubber-stamped by justing.
1667
1668         Corrected path for DumpRenderTree.intermediate files
1669
1670         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
1671
1672 2006-02-22  Eric Seidel  <eseidel@apple.com>
1673
1674         Reviewed by justing.
1675
1676         Fixed build-dumprendertree to exit with correct error codes.
1677
1678         * Scripts/build-dumprendertree:
1679
1680 2006-02-22  Eric Seidel  <eseidel@apple.com>
1681
1682         Reviewed by justing.
1683
1684         Update build scripts to generalize building on Win32, and allow
1685         building of DumpRenderTree on Win32 from build-dumprendertree.
1686
1687         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1688         (main):
1689         * Scripts/build-dumprendertree:
1690         * Scripts/build-webkit:
1691         * Scripts/webkitdirs.pm:
1692
1693 2006-02-22  Eric Seidel  <eseidel@apple.com>
1694
1695         Reviewed by hyatt.
1696
1697         * DumpRenderTree/DumpRenderTree.vcproj: Added.
1698         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
1699         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
1700         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
1701         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
1702         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
1703         (_tmain):
1704         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
1705         * Scripts/build-webkit: make build-webkit cleanup after itself
1706
1707 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
1708
1709         Reviewed by Darin.
1710
1711         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
1712           Some minor fixes to http tests.
1713
1714         * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
1715
1716 2006-02-21  Alexey Proskuryakov  <ap@nypop.com>
1717
1718         Reviewed by Darin.
1719
1720         - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
1721           Would like to use locally installed Apache for testing.
1722
1723         Added two run-webkit-tests options:
1724           --http (--nohttp)  - whether to launch Apache (defaults to yes);
1725           --port - which port to listen on (defaults to 8000).
1726
1727         Tests in LayoutTests/http are not run directly, and Apache is used instead.
1728         For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
1729         http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
1730
1731         Also added support for .shtml and .text files. Text files give an empty 
1732         *-expected.txt, but a correct image.
1733
1734         Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
1735
1736         * Scripts/run-webkit-tests:
1737
1738 2006-02-21  Darin Adler  <darin@apple.com>
1739
1740         Suggested by Mark Rowe.
1741
1742         * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
1743         reporting leak counts.
1744
1745 2006-02-18  Maciej Stachowiak <mjs@apple.com>
1746
1747         Reviewed by Darin.
1748
1749         - Added install-win-extras script which installs some extra 
1750         programs and libraries, and does Windows first-time setup.
1751
1752         * Scripts/build-webkit: Add a newline between build results.
1753         * Scripts/install-win-extras: Added.
1754
1755 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
1756
1757         Reviewed by Darin.
1758
1759         - http://bugzilla.opendarwin.org/show_bug.cgi?id=7308
1760           DumpRenderTree should be able to load files via HTTP
1761
1762         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
1763         Handle tests starting with "http://" as real URLs, not file system paths.
1764
1765 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
1766
1767         Reviewed by Maciej.
1768
1769         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7357
1770           REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
1771
1772         * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
1773
1774 2006-02-18  Darin Adler  <darin@apple.com>
1775
1776         * Scripts/commit-log-editor: Added.
1777
1778 2006-02-17  Eric Seidel  <eseidel@apple.com>
1779
1780         Reviewed by hyatt.
1781
1782         Make Win32 have the same default "WebKitBuild" directory behavior.
1783
1784         * Scripts/build-webkit:
1785         * Scripts/webkitdirs.pm:
1786
1787 2006-02-17  Eric Seidel  <eseidel@apple.com>
1788
1789         Reviewed by Beth.
1790
1791         * Scripts/build-webkit: make win32 actually report errors
1792
1793 2006-02-17  Eric Seidel  <eseidel@apple.com>
1794
1795         Reviewed by adele.
1796
1797         * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
1798
1799 2006-02-17  Eric Seidel  <eseidel@apple.com>
1800
1801         Reviewed by adele.
1802
1803         * Scripts/run-webkit-tests: Ignore flash leaks
1804
1805 2006-02-15  Justin Garcia  <justin.garcia@apple.com>
1806
1807         Reviewed by darin
1808         
1809         <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
1810         Add drag and drop support to DumpRenderTree
1811         
1812         Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
1813         and send dragging updates.  Put DumpRenderTree's WebView into an offscreen window.
1814
1815         * DumpRenderTree/DumpRenderTree.m:
1816         (main):
1817         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1818         (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1819         (-[WaitUntilDoneDelegate webViewFocus:]):
1820         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1821         (+[LayoutTestController webScriptNameForSelector:]):
1822         (-[LayoutTestController setWindowIsKey:]):
1823         (-[LayoutTestController setMainFrameIsFirstResponder:]):
1824         (-[EventSendingController init]):
1825         (-[EventSendingController mouseDown]):
1826         (-[EventSendingController mouseUp]):
1827         (-[EventSendingController mouseMoveToX:Y:]):
1828         (dumpRenderTree):
1829         (-[DumpRenderTreeWindow isKeyWindow]):
1830         (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
1831         (-[DumpRenderTreeDraggingInfo dealloc]):
1832         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
1833         (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
1834         (-[DumpRenderTreeDraggingInfo draggingLocation]):
1835         (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
1836         (-[DumpRenderTreeDraggingInfo draggedImage]):
1837         (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
1838         (-[DumpRenderTreeDraggingInfo draggingSource]):
1839         (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
1840         (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
1841         (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
1842         * DumpRenderTree/TextInputController.m:
1843         (-[TextInputController firstRectForCharactersFrom:length:]):
1844         (-[TextInputController characterIndexForPointX:Y:]):
1845         
1846 2006-02-15  Geoffrey Garen  <ggaren@apple.com>
1847
1848         Reviewed by Eric.
1849
1850         * DumpRenderTree/DumpRenderTree.m:
1851         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]): 
1852         Added a dummy method for the sake of LayoutTests/plugins/
1853         undefined-property-crash.html. (It tests a crash due to fallback 
1854         object use. WebCore won't create a fallback object if the method is 
1855         not defined.)
1856
1857 2006-02-14  Eric Seidel  <eseidel@apple.com>
1858
1859         Reviewed by adele.
1860
1861         * Scripts/run-webkit-tests: added --results-directory (-o) option
1862
1863 2006-02-09  Eric Seidel  <eseidel@apple.com>
1864
1865         Rubber-stamped by mjs.
1866
1867         Renamed split-class to split-file-by-class.
1868
1869         * Scripts/build-webkit: Updated copyright.
1870         * Scripts/split-class: Removed.
1871         * Scripts/split-file-by-class: Added.
1872
1873 2006-02-08  Eric Seidel  <eseidel@apple.com>
1874
1875         Rubber-stamped by mjs.
1876
1877         Adding new script for splitting multi-class files.
1878         Also adding supporting perl module with space removing heuristics.
1879
1880         * Scripts/SpacingHeuristics.pm: Added.
1881         * Scripts/build-drawtest: updated copyright header
1882         * Scripts/split-class: Added.
1883
1884 2006-02-08  Justin Garcia  <justin.garcia@apple.com>
1885
1886         Reviewed by thatcher
1887         
1888         Changes to test fix for:
1889         <http://bugzilla.opendarwin.org/show_bug.cgi?id=3982>
1890         webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
1891
1892         * DumpRenderTree/DumpRenderTree.m:
1893         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
1894         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1895         (+[LayoutTestController webScriptNameForSelector:]):
1896         (-[LayoutTestController setWindowHasFocus:]):
1897         (-[LayoutTestController setDisplaysWithFocusAttributes:]):
1898
1899 2006-02-07  Alexey Proskuryakov  <ap@nypop.com>
1900
1901         Reviewed by Timothy.
1902
1903         Support automated testing of AppleScript "do JavaScript" command
1904         http://bugzilla.opendarwin.org/show_bug.cgi?id=7012
1905
1906         * DumpRenderTree/AppleScriptController.h: Added.
1907         * DumpRenderTree/AppleScriptController.m: Added.
1908         * DumpRenderTree/DumpRenderTree.m:
1909         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1910         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1911
1912 2006-02-06  Eric Seidel  <eseidel@apple.com>
1913
1914         Reviewed by hyatt.
1915
1916         Fix build-webkit for use on win32 (unblocks buildbot usage).
1917         http://bugzilla.opendarwin.org/show_bug.cgi?id=7122
1918
1919         * Scripts/build-webkit: use ifCygwin() to conditionalize builds
1920         * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
1921
1922 2006-02-06  Eric Seidel  <eseidel@apple.com>
1923
1924         Rubber-stamped by darin & mjs.
1925
1926         Added new support directory for build slave scripts.
1927         Committing the first script, for use by the PLT's build slave.
1928         This script is used to kick of the PLT (Page Load Test) slave.
1929
1930         * BuildSlaveSupport: Added.
1931         * BuildSlaveSupport/run-performance-tests: Added.
1932
1933 2006-02-06  Eric Seidel  <eseidel@apple.com>
1934
1935         Rubber-stamped by darin.
1936
1937         Adding setSourceDir for scripts stored in non-standard locations.
1938
1939         * Scripts/webkitdirs.pm:
1940
1941 2006-02-04  Darin Adler  <darin@apple.com>
1942
1943         * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
1944         Configuration files that say Development or Deployment in them.
1945
1946 2006-02-04  Darin Adler  <darin@apple.com>
1947
1948         * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
1949         wrapper already in the directory.
1950         * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
1951         these haven't been working at all.
1952         * Scripts/svn-unapply: Ditto.
1953
1954 2006-02-03  Timothy Hatcher  <timothy@apple.com>
1955
1956         Reviewed by Justin.
1957
1958         Renamed configuration names to Debug, Release and Production.
1959
1960         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
1961         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1962         * Scripts/set-webkit-configuration:
1963         * Scripts/webkitdirs.pm:
1964
1965 2006-02-02  Justin Garcia  <justin.garcia@apple.com>
1966
1967         Reviewed by thatcher
1968         
1969         Enabled spell checking for layout tests.
1970         
1971         * DumpRenderTree/DumpRenderTree.m:
1972         (main):
1973
1974 2006-01-29  Darin Adler  <darin@apple.com>
1975
1976         * Scripts/svn-apply: Added comments about things we should do to improve.
1977         * Scripts/svn-create-patch: Ditto.
1978         * Scripts/svn-unapply: Ditto.
1979
1980 2006-01-28  Darin Adler  <darin@apple.com>
1981
1982         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
1983         already there, even if the checksum is correct.
1984
1985 2006-01-27  Eric Seidel  <eseidel@apple.com>
1986
1987         Reviewed by adele.
1988
1989         * Scripts/run-webkit-tests: make new tests use absolute urls
1990
1991 2006-01-27  Eric Seidel  <eseidel@apple.com>
1992
1993         Reviewed by mjs.
1994
1995         make run-webkit-tests output total leaks count
1996
1997         * Scripts/run-webkit-tests:
1998
1999 2006-01-27  Eric Seidel  <eseidel@apple.com>
2000
2001         Reviewed by mjs.
2002
2003         run-webkit-test --leaks crashes (malloc logging runs out of memory)
2004         http://bugzilla.opendarwin.org/show_bug.cgi?id=6869
2005
2006         * Scripts/run-webkit-tests: fix --leaks to not crash
2007
2008 2006-01-26  Eric Seidel  <eseidel@apple.com>
2009
2010         Reviewed by darin.
2011
2012         run-webkit-tests should produce a self-contained results directory
2013         http://bugzilla.opendarwin.org/show_bug.cgi?id=6864
2014
2015         * Scripts/run-webkit-tests: copy failing items to results dir.
2016
2017 2006-01-23  Darin Adler  <darin@apple.com>
2018
2019          - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3608
2020            need script to update localizable strings file in WebKit
2021
2022         * Scripts/update-webkit-localizable-strings: Added.
2023
2024 2006-01-23  Darin Adler  <darin@apple.com>
2025
2026         - added a couple of scripts -- more about these two soon
2027
2028         * Scripts/extract-localizable-strings: Added.
2029         * Scripts/merge-changelog: Added.
2030
2031 2006-01-22  Mark Rowe  <opendarwin.org@bdash.net.nz>
2032
2033         Reviewed by Anders.
2034         
2035         Build fix.  build-webkit dies with "invalid build action: (empty string)"
2036
2037         * Scripts/build-webkit:
2038         Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
2039
2040 2006-01-22  Eric Seidel  <eseidel@apple.com>
2041
2042         Reviewed by anders.
2043
2044         Fix --no-svg option to use XCode flags instead of gcc flags.
2045
2046         * Scripts/build-webkit:
2047
2048 2006-01-22  Eric Seidel  <eseidel@apple.com>
2049
2050         Reviewed by anders.
2051
2052         Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
2053
2054         * Scripts/build-webkit:
2055
2056 2006-01-20  David Kilzer  <ddkilzer@kilzer.net>
2057
2058         Reviewed by eseidel.
2059
2060         - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6682
2061         Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
2062
2063         * Scripts/build-drawtest: Changed bareword 'true' to 1.
2064         * Scripts/run-drawtest: Changed bareword 'true' to 1.
2065
2066 2006-01-19  Darin Adler  <darin@apple.com>
2067
2068         * Scripts/report-include-statistics: Added a new script.
2069
2070 2006-01-19  Timothy Hatcher  <timothy@apple.com>
2071
2072         * Scripts/build-webkit: include JavaScriptGlue in the build
2073
2074 2006-01-19  Darin Adler  <darin@apple.com>
2075
2076         * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
2077         spaces in it by using the form of open that treats each argument as a string
2078         rather than backtick syntax for reading the output of the nm tool.
2079
2080 2006-01-12  Maciej Stachowiak  <mjs@apple.com>
2081
2082         Reviewed by Darin.
2083         
2084         - make prepare-ChangeLog way faster by using svn diff instead of svn status to
2085         detect if there are any new tests
2086
2087         * Scripts/prepare-ChangeLog:
2088
2089 2006-01-12  Darin Adler  <darin@apple.com>
2090
2091         - removed some of the cvs-specific scripts -- not needed for this project any more
2092
2093         * Scripts/cvs-abandon: Removed.
2094         * Scripts/cvs-apply: Removed.
2095         * Scripts/cvs-create-patch: Removed.
2096         * Scripts/cvs-unapply: Removed.
2097
2098 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
2099
2100         Reviewed by eseidel.  Committed by eseidel.
2101
2102         - run-webkit-tests always launches Safari when tests fail
2103         http://bugzilla.opendarwin.org/show_bug.cgi?id=6456
2104
2105         * Scripts/run-webkit-tests:
2106         Add a command-line flag to prevent Safari being launched to display failed
2107         tests.  Always exit with non-zero status when tests have failed.
2108
2109 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
2110
2111         Reviewed by eseidel.  Committed by eseidel.
2112
2113         - build-webkit should exit with non-zero status when build fails
2114         http://bugzilla.opendarwin.org/show_bug.cgi?id=6459
2115
2116         * Scripts/build-webkit:
2117         Use correct bits of subprocess exit code when passing back through
2118         as build-webkit's exit code.
2119
2120 2006-01-10  Eric Seidel  <eseidel@apple.com>
2121
2122         Restored corrupted nibs from TOT CVS.
2123
2124         * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
2125         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
2126         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
2127         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
2128         * DrawTest/English.lproj/Inspector.nib: Replaced.
2129         * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
2130         * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
2131         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
2132         * DrawTest/English.lproj/MainMenu.nib: Replaced.
2133         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
2134         * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
2135         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
2136         * DrawTest/English.lproj/TestViewer.nib: Replaced.
2137         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
2138         * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
2139         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2140
2141 2006-01-10  Nefaur Khandker  <nefaurk@gmail.com>
2142
2143         Reviewed by eseidel.  Committed by eseidel.
2144
2145         DrawTestView now subclasses WebView instead of DrawView.
2146
2147         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2148         * DrawTest/DrawTestDocument.h:
2149         * DrawTest/DrawTestDocument.m:
2150         (-[DrawTestDocument dealloc]):
2151         (-[DrawTestDocument readFromFile:ofType:]):
2152         (-[DrawTestDocument windowControllerDidLoadNib:]):
2153         (-[DrawTestDocument dumpSVGToConsole:]):
2154         (-[DrawTestDocument openSourceForSelection:]):
2155         (-[DrawTestDocument dataRepresentationOfType:]):
2156         * DrawTest/DrawTestToolbarController.h:
2157         * DrawTest/DrawTestToolbarController.m:
2158         (-[DrawTestToolbarController initWithDrawView:]):
2159         (-[DrawTestToolbarController clickedToolbarItem:]):
2160         (-[DrawTestToolbarController validateToolbarItem:]):
2161         * DrawTest/DrawTestView.h:
2162         * DrawTest/DrawTestView.m:
2163         (-[DrawTestView initWithFrame:]):
2164         (-[DrawTestView setDocument:]):
2165         * DrawTest/SVGTest.h:
2166         * DrawTest/SVGTest.m:
2167         (+[SVGTest sharedDrawView]):
2168         (-[SVGTest generateCompositeIfNecessary]):
2169         * DrawTest/TestController.h:
2170         * DrawTest/TestController.m:
2171         (-[TestController awakeFromNib]):
2172         (-[TestController setSelectedTest:]):
2173         (-[TestController openTestViewerForSelection:]):
2174         (-[TestController toggleViewersScaleRule:]):
2175         * DrawTest/TestViewerSplitView.m:
2176         (-[TestViewerSplitView drawRect:]):
2177
2178 2006-01-10  Anders Carlsson  <andersca@mac.com>
2179
2180         Reviewed by Timothy.
2181
2182         * DumpRenderTree/DumpRenderTree.m:
2183         (main): Set the default language to "en", so language tests will work.
2184
2185 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
2186
2187         Reviewed by Eric.
2188         
2189         - script to generate HTML wrappers for JS tests
2190         http://bugzilla.opendarwin.org/show_bug.cgi?id=6441
2191
2192         * Scripts/make-js-test-wrappers: Added.
2193
2194 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
2195
2196         Reviewed by Eric.
2197
2198         * Scripts/svn-create-patch: Fix to work when passed directory names.
2199
2200 2006-01-08  Geoffrey Garen  <ggaren@apple.com>
2201
2202         Reviewed by Eric.
2203
2204         - Added back/forward navigation support to DumpRenderTree. Hopefully we
2205         can start writing automated loader tests now. I have one in the works.
2206
2207         * DumpRenderTree/DumpRenderTree.m:
2208         (main): Construct global navigationController on entry, destroy on exit.
2209         Set frame to nil on exit too, to match all the other global objects. 
2210         (Probably academic, since the process is exiting, anyway.)
2211         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
2212         navigationController, in case it wants to kick off a load.
2213         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
2214         the navigationController to scripting.
2215
2216         New class, should be straightforward:
2217
2218         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2219         * DumpRenderTree/NavigationController.h: Added.
2220         * DumpRenderTree/NavigationController.m: Added.
2221
2222         (+[NavigationController isSelectorExcludedFromWebScript:]):
2223         (+[NavigationController webScriptNameForSelector:]):
2224         (-[NavigationController setPendingScript:]):
2225         (-[NavigationController setPendingRequest:]):
2226         (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
2227         (-[NavigationController webView:didFinishLoadForFrame:]):
2228         (-[NavigationController dealloc]):
2229
2230 2006-01-08  Timothy Hatcher  <timothy@apple.com>
2231
2232         Removed this script, no longer needs with the Subversion switch.
2233
2234         * checkout: Removed.
2235
2236 2006-01-08  Timothy Hatcher  <timothy@apple.com>
2237
2238         Removes some stray tabs.
2239
2240         * Scripts/update-webkit:
2241
2242 2005-01-07  Eric Seidel  <eseidel@apple.com>
2243
2244         Reviewed by darin.
2245
2246         build-webkit should pass on build arguments from command line
2247         http://bugzilla.opendarwin.org/show_bug.cgi?id=5854
2248
2249         * Scripts/build-webkit:
2250
2251 2006-01-07  Eric Seidel  <eseidel@apple.com>
2252
2253         Reviewed by mjs & xenon.
2254
2255         * Scripts/update-webkit: support Internal updates as well
2256
2257 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
2258
2259         Temporarily rolling out plugin support from DumpRenderTree because it
2260         caused lots of layout test regressions.
2261
2262         * DumpRenderTree/DumpRenderTree.m:
2263         (main): Remove invisible window added to support plugins.
2264
2265 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
2266
2267         Reviewed by darin.
2268
2269         - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6361
2270         Add plugin support to DumpRenderTree
2271
2272         Also wrote first test plugin.
2273
2274         * DumpRenderTree/DumpRenderTree.m:
2275         (main):
2276         (1) Put the WebView in an invisible window, because PlugIns are
2277         optimized not to load if there's no parent window.
2278         (2) Tell WebKit to load any PlugIns in the directory from which we 
2279         loaded. This means we can build nasty PlugIns alongside DumpRenderTree 
2280         and they'll load automagically during layout testing, but they won't be
2281         added to the user's system, hosing apps like Safari.
2282
2283         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
2284         test PlugIn to project.
2285
2286         PlugIn added to project:
2287
2288         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
2289         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
2290         (getPluginClass):
2291         (initializeIdentifiers):
2292         (pluginHasProperty):
2293         (pluginHasMethod):
2294         (pluginGetProperty):
2295         (pluginSetProperty):
2296         (pluginInvoke):
2297         (pluginInvokeDefault):
2298         (pluginInvalidate):
2299         (pluginAllocate):
2300         (pluginDeallocate):
2301         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
2302         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
2303         (NP_Initialize):
2304         (NP_GetEntryPoints):
2305         (NP_Shutdown):
2306         (NPP_New):
2307         (NPP_Destroy):
2308         (NPP_SetWindow):
2309         (NPP_NewStream):
2310         (NPP_DestroyStream):
2311         (NPP_WriteReady):
2312         (NPP_Write):
2313         (NPP_StreamAsFile):
2314         (NPP_Print):
2315         (NPP_HandleEvent):
2316         (NPP_URLNotify):
2317         (NPP_GetValue):
2318         (NPP_SetValue):
2319
2320 2006-01-04  Timothy Hatcher  <timothy@apple.com>
2321
2322         Reviewed by Darin.
2323         Created by Eric.
2324         Tweaked and tested by me.
2325
2326         New scripts to work with Subversion when the switch happens.
2327         These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
2328
2329         * Scripts/svn-apply: Added.
2330         * Scripts/svn-create-patch: Added.
2331         * Scripts/svn-unapply: Added.
2332
2333 2005-12-30  Eric Seidel  <eseidel@apple.com>
2334
2335         Reviewed by mjs.
2336
2337         Move WebView width/height logic into DumpRenderTree to support
2338         running the W3C SVG 1.1 tests along side other tests.  The W3C
2339         SVG 1.1 tests require a 480x360 view.
2340
2341         * DumpRenderTree/DumpRenderTree.m:
2342         (main): don't accept width/height
2343         (dump): override width/height for SVG/W3C
2344         * Scripts/run-webkit-tests: don't pass width/height
2345
2346 2005-12-30  Eric Seidel  <eseidel@apple.com>
2347
2348         No review, only removing dead code.
2349
2350         * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
2351         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2352
2353 2005-12-30  Eric Seidel  <eseidel@apple.com>
2354
2355         Reviewed by darin.
2356
2357         DumpRenderTree should set a consistent color profile while running
2358         http://bugzilla.opendarwin.org/show_bug.cgi?id=6155
2359
2360         Creates consistent colormatched renderings on every test machine
2361         using the only way possible with Tiger APIs: by setting the
2362         system color profile on the test machine for the duration of the
2363         tests.  This will (unfortunately) cause colors to change while
2364         running DumpRenderTree.  This can also cause "permanent" color
2365         changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
2366         This is far from ideal, but it's be best way we've found to deal
2367         with the issue for now.
2368
2369         * DumpRenderTree/DumpRenderTree.m:
2370         (restoreColorSpace):
2371         (setDefaultColorProfileToRGB):
2372         (main):
2373
2374 2005-12-20  Alexey Proskuryakov  <ap@nypop.com>
2375
2376         Reviewed by Darin Adler.
2377
2378         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5846
2379           cvs-create-patch --include produces incorrect paths
2380
2381         * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
2382
2383 2005-12-19  Eric Seidel  <eseidel@apple.com>
2384
2385         Reviewed by darin.
2386
2387         * Scripts/run-webkit-tests: stop /etc/catalog warnings
2388
2389 2005-12-19  Darin Adler  <darin@apple.com>
2390
2391         Reviewed by Eric Seidel.
2392
2393         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4990
2394           WebKit needs to use a local pasteboard during testing
2395
2396         * DumpRenderTree/DumpRenderTree.m:
2397         (main): Call poseAs to substitute our NSPasteboard class for the default one.
2398         Create a local pasteboard (really a global one with a unique name) and release
2399         it when exiting from the function so we don't leave it in the pasteboard server.
2400         (dumpRenderTree): Added an autorelease pool around one small bit of code that
2401         ddn't have one. Fixed a leak in an unlikely error case.
2402         (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
2403         of this method to return our local pasteboard.
2404
2405 2005-12-15  Eric Seidel  <eseidel@apple.com>
2406
2407         Reviewed by Tim Hatcher.
2408
2409         * Scripts/build-webkit: --svg is now default!
2410
2411 2005-12-15  Eric Seidel  <eseidel@apple.com>
2412
2413         Reviewed by mjs.
2414
2415         Don't run svg test automatically if +SVG is built (yet).
2416
2417         * Scripts/run-webkit-tests:
2418
2419 2005-12-15  Darin Adler  <darin@apple.com>
2420
2421         * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
2422         support is not compiled in. Report the 10 slowest tests if "--slowest" is
2423         passed on the command line.
2424
2425 2005-12-06  John Sullivan  <sullivan@apple.com>
2426
2427         Reviewed by Darin Adler.
2428
2429         * Scripts/prepare-ChangeLog:
2430         Remove special-case handling for nib files. This avoided trouble with cvs diff
2431         when we were using wrappers for nib files. Now that we aren't using wrappers,
2432         there's no reason to avoid adding the modified nib files to the file list that
2433         gets diffed.
2434
2435 2005-12-05  Eric Seidel  <eseidel@apple.com>
2436
2437         Reviewed by mjs.
2438
2439         Script updates for SVG files move (remove references to SVGSupport)
2440
2441         * Scripts/build-webkit: remove SVGSupport
2442         * Scripts/run-webkit-tests: Resources -> resources for --svg
2443         * Scripts/update-webkit: remove SVGSupport
2444
2445 2005-12-05  Eric Seidel  <eseidel@apple.com>
2446
2447         Reviewed mjs.
2448
2449         * checkout: remove --svg support, SVG is now checked out by default
2450
2451 2005-11-29  Eric Seidel  <eseidel@apple.com>
2452
2453         Reviewed by darin.
2454
2455         Update scripts to run SVG tests automatically (w/o --svg) if
2456         WebCore is built with SVG support.
2457
2458         * Scripts/build-drawtest: SVG support required
2459         * Scripts/build-dumpkcanvastree: Removed.
2460         * Scripts/run-drawtest: SVG support required to run
2461         * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
2462         * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
2463
2464 2005-11-28  Alexey Proskuryakov  <ap@nypop.com>
2465
2466         Reviewed by Darin. Committed by Maciej.
2467
2468         - fixed "DumpRenderTree should test for Ahem before doing anything else"
2469         (http://bugzilla.opendarwin.org/show_bug.cgi?id=5838)
2470
2471         * DumpRenderTree/DumpRenderTree.m:
2472         (main):
2473
2474 2005-11-28  Eric Seidel  <eseidel@apple.com>
2475
2476         Reviewed by sullivan and GGAREN.
2477
2478         Minor additions to make error messages more clear from cvs-apply.
2479
2480         * Scripts/cvs-apply: make errors more clear
2481
2482 2005-11-27  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
2483
2484         Reviewed and committed by Maciej.
2485
2486         - fixed cvs-create-patch --include produces incorrect paths
2487         (http://bugzilla.opendarwin.org/show_bug.cgi?id=5846)
2488
2489         * Scripts/cvs-create-patch: produce proper paths for new files.
2490
2491 2005-11-21  Eric Seidel  <eseidel@apple.com>
2492
2493         Reviewed by hyatt.
2494
2495         Some simple fixes to the build/test scripts now that SVG uses the
2496         WebCore DOM.  JSC+SVG is no longer needed, nor is RTTI support
2497         or symlinks for KDOM.
2498
2499         * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
2500         * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
2501         * Scripts/run-webkit-tests: now runs SVG tests using DRT
2502         * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI 
2503         * checkout: no longer symlink kdom
2504
2505 2005-11-10  Eric Seidel  <eseidel@apple.com>
2506
2507         Reviewed by ggaren.
2508
2509         * Scripts/build-webkit: Pass through options to xcodebuild
2510
2511 2005-11-07  Darin Adler  <darin@apple.com>
2512
2513         * Scripts/cvs-apply: Fix case where the patch has files at the top level.
2514
2515 2005-11-03  John Sullivan  <sullivan@apple.com>
2516
2517         Reviewed by Darin.
2518
2519         * Scripts/run-safari:
2520         changed message to say "Starting Safari" instead of odd "Start Safari"
2521         * Scripts/run-webkit-tests:
2522         changed the way we pass the file parameter to use -NSOpen rather than relying on
2523         unlabeled arguments being treated as files. This was failing on some machines that 
2524         (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
2525
2526 2005-10-27  Geoffrey Garen  <ggaren@apple.com>
2527
2528         Patch by Alexey Proskuryakov.
2529
2530         Reviewed by Maciej.
2531         
2532         Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5303
2533         TextInputController should support attributed strings
2534
2535         * DumpRenderTree/TextInputController.m:
2536         (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
2537         (+[NSMutableAttributedString webScriptNameForSelector:]):
2538         (-[NSMutableAttributedString getLength]):
2539         (-[NSMutableAttributedString attributeNamesAtIndex:]):
2540         (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
2541         (-[NSMutableAttributedString addAttribute:value:]):
2542         (-[NSMutableAttributedString addAttribute:value:from:length:]):
2543         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
2544         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
2545         (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
2546         (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
2547         (+[TextInputController isSelectorExcludedFromWebScript:]):
2548         (+[TextInputController webScriptNameForSelector:]):
2549         (-[TextInputController insertText:]):
2550         (-[TextInputController attributedSubstringFrom:length:]):
2551         (-[TextInputController attributedStringWithString:]):
2552
2553 2005-10-11  Eric Seidel  <eseidel@apple.com>
2554
2555         Reviewed by hyatt.
2556
2557         Checks for leaks in ImageDiff too.
2558
2559         * Scripts/run-webkit-tests:
2560
2561 2005-10-09  Darin Adler  <darin@apple.com>
2562
2563         * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
2564         * Scripts/cvs-apply: Handle added/deleted files in the current directory.
2565         * Scripts/cvs-unapply: Ditto.
2566         * Scripts/run-webkit-tests: Add a few more false-positive leaks.
2567
2568 2005-10-08  Alexey Proskuryakov  <ap@nypop.com>
2569
2570         Reviewed, rearranged and landed by Darin.
2571
2572         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4707
2573           Need a way to automatically test for regressions in NSTextInput implementation
2574
2575         * DumpRenderTree/DumpRenderTree.m:
2576         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2577         Create a text input controller and put it in a property of the window object.
2578
2579         * DumpRenderTree/TextInputController.h: Added.
2580         * DumpRenderTree/TextInputController.m: Added.
2581         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
2582
2583 2005-10-06  Darin Adler  <darin@apple.com>
2584
2585         * Scripts/cvs-apply: Fixed merge option to work better when not all directories
2586         are controlled by cvs, or when changes cross multiple repositories.
2587         * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2588
2589 2005-10-03  Eric Seidel  <eseidel@apple.com>
2590
2591         Reviewed by mjs.
2592
2593         Make mouseDown and mouseUp force layout before acting.
2594         This is used by a new test case for 4233558.
2595
2596         * DumpRenderTree/DumpRenderTree.m:
2597         (-[EventSendingController mouseDown]): force layout
2598         (-[EventSendingController mouseUp]): force layout
2599
2600 2005-09-30  Eric Seidel  <eseidel@apple.com>
2601
2602         Reviewed by xenon.
2603
2604         Updated all the scripts for the move:
2605         WebCore/layout-tests -> LayoutTests
2606
2607         * Scripts/check-dom-results:
2608         * Scripts/prepare-ChangeLog: 
2609         * Scripts/run-webkit-tests:
2610         * Scripts/update-webkit: added --no-tests
2611         * checkout: added --no-tests
2612
2613 2005-09-28  Darin Adler  <darin@apple.com>
2614
2615         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
2616           pixel test should run even if render trees differ
2617
2618         * Scripts/run-webkit-tests: Don't check if the text dump matches.
2619
2620 2005-09-27  Eric Seidel  <eseidel@apple.com>
2621
2622         No review needed, SVG build fix only.
2623
2624         * DumpKCanvasTree/DumpKCanvasTree.m:
2625         Missed one in my previous checkin.
2626         http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2627
2628 2005-09-26  Eric Seidel  <eseidel@apple.com>
2629
2630         No review needed, SVG build fix only.
2631
2632         * DrawTest/DrawTestDocument.m:
2633         * DrawTest/DrawTestToolbarController.m:
2634         * DrawTest/DrawTestView.h:
2635         * DrawTest/DrawTestView.m:
2636         * DrawTest/SVGTest.m:
2637         * DrawTest/TestController.m:
2638         Updated for WebCore+SVG -> WebCore rename.
2639         http://bugzilla.opendarwin.org/show_bug.cgi?id=5141
2640
2641 2005-09-26  Eric Seidel  <eseidel@apple.com>
2642
2643         Reviewed by hyatt.
2644
2645         * DumpRenderTree/DumpRenderTree.m:
2646         (dump): updated error message
2647         * Scripts/check-dom-results: now includes xhtml
2648         Tool updates for xhtml.
2649         http://bugzilla.opendarwin.org/show_bug.cgi?id=4907
2650
2651 2005-09-22  Duncan Wilcox  <duncan@mclink.it>
2652
2653         Reviewed by Maciej.
2654         Landed by Darin.
2655
2656         - patch for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4963>
2657         "Would like to simulate human interaction with webview"
2658
2659         * DumpRenderTree/DumpRenderTree.m:
2660         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
2661         (+[EventSendingController isSelectorExcludedFromWebScript:]):
2662         (+[EventSendingController webScriptNameForSelector:]):
2663         (-[EventSendingController init]):
2664         (-[EventSendingController mouseDown]):
2665         (-[EventSendingController mouseUp]):
2666         (-[EventSendingController mouseMoveToX:Y:]):
2667         Add eventSender javascript object, that sends fake mouse events to the webview.
2668
2669         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2670         link with Carbon.framework
2671
2672 2005-09-22  Eric Seidel  <eseidel@apple.com>
2673
2674         Reviewed by mjs.
2675
2676         Update tools for WebCore+SVG -> WebCore rename.
2677         Also fold several SVG specific tools into their original
2678         WebCore counterparts.
2679         http://bugzilla.opendarwin.org/show_bug.cgi?id=5003
2680
2681         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2682         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2683         * Scripts/build-drawtest:
2684         * Scripts/build-dumpkcanvastree:
2685         * Scripts/build-webcore-svg: Removed.
2686         * Scripts/build-webkit: added --svg option
2687         * Scripts/run-drawtest:
2688         * Scripts/run-webkit-tests:
2689         * Scripts/webkitdirs.pm: various additions.
2690         * checkout: added --svg option
2691         * checkout-svg: Removed.
2692
2693 2005-09-19  Eric Seidel  <eseidel@apple.com>
2694
2695         Reviewed by darin.
2696
2697         * Scripts/run-webkit-tests: added --guard-malloc option
2698         http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
2699
2700 2005-09-16  Justin Garcia  <justin.garcia@apple.com>
2701
2702         Reviewed by geoff
2703         
2704         Removed a script that is only used by apple internal developers
2705
2706         * Scripts/update-webkitsysteminterface: Removed.
2707
2708 2005-09-16  Adele Peterson  <adele@apple.com>
2709
2710         Reviewed by Maciej.
2711
2712         * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
2713
2714 2005-09-14  Darin Adler  <darin@apple.com>
2715
2716         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4291
2717           dumpAsText doesn't work with XHTML documents
2718
2719         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
2720         rather than of the body element. This works with typical XHTML documents. We can probably
2721         do something even better in the long run, but this fixes the immediate issue.
2722
2723         - separate tweak
2724
2725         * Scripts/run-webkit-tests: Show the results in the current built Safari by using
2726         run-safari instead of just using "open", which often runs another copy of Safari instead.
2727
2728 2005-09-11  Mark Rowe  <opendarwin.org@bdash.net.nz>
2729
2730         Reviewed, tweaked, and landed by Darin.
2731
2732         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4286
2733           .Mac prefpane crashes when Safari using CVS WebKit is running
2734
2735         * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
2736         * Scripts/run-webkit-app: Ditto.
2737
2738 2005-09-11  Darin Adler  <darin@apple.com>
2739
2740         * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
2741
2742 2005-09-11  Darin Adler  <darin@apple.com>
2743
2744         Reviewed by Eric.
2745
2746         * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
2747         two ways: 1) puts all files in a directory before any files in a subdirectory, and
2748         2) sort file names with numeric digits in them in a logical way, so test-33 will come
2749         before test-3.
2750
2751 2005-09-08  Justin Garcia  <justin.garcia@apple.com>
2752
2753         Reviewed by darin
2754
2755         * Scripts/update-webkitsysteminterface: Added.
2756         Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
2757
2758 2005-09-01  John Sullivan  <sullivan@apple.com>
2759
2760         * Scripts/run-webkit-tests:
2761         Excluded a known system leak to reduce noise; added comments about which leaks
2762         are being excluded.
2763
2764 2005-09-01  Tim Omernick  <tomernick@apple.com>
2765
2766         Change made by Darin, reviewed by John and myself.
2767
2768         - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
2769
2770         * Scripts/prepare-ChangeLog:
2771
2772 2005-08-31  Maciej Stachowiak  <mjs@apple.com>
2773
2774         Reviewed by Darin.
2775
2776         - set color variant and font settings to a consistent value.
2777         (http://bugzilla.opendarwin.org/show_bug.cgi?id=4769)
2778
2779         * DumpRenderTree/DumpRenderTree.m:
2780         (main):
2781
2782 2005-08-30  Eric Seidel  <eseidel@apple.com>
2783
2784         Reviewed by mjs.
2785
2786         * Scripts/build-svg2png: Removed.
2787         * svg2png/ImageDiff.h: Removed.
2788         * svg2png/ImageDiff.m: Removed.
2789         * svg2png/svg2png.m: Removed.
2790         * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
2791         * svg2png/svg2png_Prefix.pch: Removed.
2792         svg2png is no longer needed.
2793
2794 2005-08-30  Darin Adler  <darin@apple.com>
2795
2796         * Scripts/check-dom-results: Special case 100% to say something nice.
2797         * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
2798         applying the patch (need a better name).
2799         * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
2800
2801 2005-08-30  Darin Adler  <darin@apple.com>
2802
2803         * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
2804
2805 2005-08-29  Maciej Stachowiak  <mjs@apple.com>
2806
2807         Reviewed by Darin.
2808
2809         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4723
2810         (some pixel tests fail when AA settings are changed)
2811
2812         * DumpRenderTree/DumpRenderTree.m:
2813         (main): set AA settings to the default values
2814
2815 2005-08-29  Darin Adler  <darin@apple.com>
2816
2817         Reviewed by John Sullivan.
2818
2819         * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
2820         executable -- much slower but can help pinpoint leaks. Changed formatting of some
2821         messages too.
2822
2823 2005-08-28  Maciej Stachowiak  <mjs@apple.com>
2824
2825         Reviewed by Eric.
2826
2827         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4720
2828         (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
2829
2830         * DumpRenderTree/DumpRenderTree.m:
2831         (main): set scrollbar arrow setting to a consistent value
2832
2833 2005-08-27  Jussi Hagman  <juhagman@abo.fi>
2834
2835         Reviewed and landed by Darin.
2836
2837         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4676
2838           output of update-webkit is too verbose
2839
2840         * Scripts/update-webkit:
2841         Added option --quiet (-q) to decrease the amount of output.
2842
2843 2005-08-27  Darin Adler  <darin@apple.com>
2844
2845         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4596
2846           cvs-create-patch --include-unknowns should ignore hidden files
2847
2848         * Scripts/cvs-create-patch: Add code to check for files starting with ".".
2849
2850 2005-08-25  Ben La Monica  <ben.lamonica@gmail.com>
2851
2852         Reviewed, tweaked, and landed by Darin.
2853
2854         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4585
2855           update-webkit doesn't notice when you have SVGSupport and update properly
2856
2857         * Scripts/update-webkit: Build SVGSupport directory if it's present.
2858
2859 2005-08-25  Anders Carlsson  <andersca@mac.com>
2860
2861         Reviewed and landed by Darin.
2862
2863         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4572
2864           layout test machinery can't handle tests with applets that have code attributes
2865
2866         * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
2867
2868 2005-08-24  Darin Adler  <darin@apple.com>
2869
2870         Reviewed by Maciej.
2871
2872         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4625
2873           DumpRenderTree --pixel-tests crash
2874         - landed some other small changes I had sitting in my tree
2875
2876         * DumpRenderTree/DumpRenderTree.m:
2877         (main): Don't bother saving and restoring the preferences. Not sure
2878         why this was ever done since the preferences are specific to DumpRenderTree.
2879         Clear delegates before releasing the WebView, because you can't count on the
2880         order of object deallocation.
2881         (dumpRenderTree): Fix code that releases a string before storing it in a
2882         global variable.
2883
2884         * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
2885         of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
2886
2887 2005-08-23  Eric Seidel  <eseidel@apple.com>
2888
2889         Reviewed by mjs.
2890
2891         * Scripts/run-webkit-tests:
2892         Made --leaks option more readable by printing to a file.
2893         http://bugzilla.opendarwin.org/show_bug.cgi?id=4590
2894
2895 2005-08-22  Eric Seidel  <eseidel@apple.com>
2896         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
2897
2898         Reviewed by darin.
2899
2900         * Scripts/run-webkit-tests: hides "expected actual diffs" links
2901         when they are not needed (for pixel-only failures)
2902         http://bugzilla.opendarwin.org/show_bug.cgi?id=4584
2903
2904 2005-08-22  Eric Seidel  <eseidel@apple.com>
2905
2906         Reviewed by darin.
2907
2908         * Scripts/run-webkit-tests: Added the ability to display more than
2909         just two images as part of the image-diff "slideshow".
2910         Added display of "-w3c.png" baseline images for SVG.
2911         http://bugzilla.opendarwin.org/show_bug.cgi?id=4581
2912
2913 2005-08-20  Eric Seidel  <eseidel@apple.com>
2914
2915         * Scripts/run-webkit-tests:
2916         "build" fix after committing incorrect version.
2917
2918 2005-08-20  Eric Seidel  <eseidel@apple.com>
2919
2920         Reviewed by darin.
2921
2922         * DumpRenderTree/DumpRenderTree.m:
2923         (main): cleans up delegates
2924         (dumpRenderTree): closes CFString/CFURL leak
2925         * Scripts/run-webkit-tests:
2926         Adds --leaks option to run-webkit-tests
2927         http://bugzilla.opendarwin.org/show_bug.cgi?id=4542
2928
2929 2005-08-19  Ben La Monica  <ben.lamonica@gmail.com>
2930
2931         Reviewed by Darin.
2932
2933         * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
2934         new files to be included in the patch even without "cvs add".
2935
2936 2005-08-19  Darin Adler  <darin@apple.com>
2937
2938         * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
2939         non-cvs-generated patches. Anders has been creating these, so it's bad that
2940         the script can't handle them.
2941         * Scripts/cvs-unapply: Ditto.
2942
2943 2005-08-18  Darin Adler  <darin@apple.com>
2944
2945         * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
2946         "." in them -- based on complaint by someone here at Apple.
2947
2948 2005-08-18  Eric Seidel  <eseidel@apple.com>
2949
2950         Reviewed by mjs.
2951
2952         * Scripts/run-webkit-tests:
2953         Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
2954
2955 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
2956
2957         - add file that I forgot in the last checkin 
2958
2959         * DumpRenderTree/ImageDiff.m: Added.
2960         (main):
2961         (getImageFromStdin):
2962         (compareImages):
2963         (getDifferenceBitmap):
2964         (computePercentageDifferent):
2965
2966 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
2967
2968         Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
2969         somewhat by me, and also tweaked by me a little bit.
2970
2971         - better support for pixel-dumping
2972         - use checksums of the images so the tests are fast
2973         - change output format to make the tests run faster
2974         - don't dump pixel results for tests that dump as text
2975
2976         * DumpKCanvasTree/DumpKCanvasTree.m:
2977         (main):
2978         (dumpRenderTree):
2979         (md5HashStringForBitmap):
2980         (dumpPixelTests):
2981         (constrainSizeToMaximum):
2982         (getBitmapImageRepForSVGDocument):
2983         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
2984         * DumpRenderTree/DumpRenderTree.m:
2985         (main):
2986         (dump):
2987         (dumpRenderTree):
2988         (md5HashStringForBitmap):
2989         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2990         * Scripts/run-webkit-tests:
2991
2992 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
2993
2994         Reviewed by Darin.
2995
2996         - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
2997
2998         * DumpRenderTree/DumpRenderTree.m:
2999         (main):
3000
3001 2005-08-14  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
3002
3003         Reviewed and landed by Darin.
3004
3005         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251
3006           Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
3007
3008         * Scripts/run-safari: Pass arguments through to Safari on command line.
3009         * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
3010
3011 2005-08-11  Eric Seidel  <eseidel@apple.com>
3012         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
3013
3014         Reviewed by eseidel.
3015
3016         * DrawTest/TestController.m:
3017         (-[TestController imagePathForSVGPath:]):
3018         Fixed support for using TextViewer with the layout-tests.
3019         http://bugzilla.opendarwin.org/show_bug.cgi?id=4385
3020
3021 2005-08-11  Maciej Stachowiak  <mjs@apple.com>
3022
3023         At Least Roughly Glanced At by Anders.
3024
3025         - fix change with totally breaks the layout tests.
3026
3027         * DumpRenderTree/DumpRenderTree.m:
3028         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
3029         load, to avoid dumping twice accidentally.
3030
3031 2005-08-10  Eric Seidel  <eseidel@apple.com>
3032         Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
3033
3034         Reviewed by darin.
3035
3036         * DumpRenderTree/DumpRenderTree.m:
3037         Added support for rendering to a PNG file.
3038         http://bugzilla.opendarwin.org/show_bug.cgi?id=3840
3039
3040 2005-08-07  Eric Seidel  <eseidel@apple.com>
3041
3042         Reviewed by darin.
3043
3044         * Scripts/run-webkit-tests: added --svg option
3045         * Scripts/run-webkit-tests-svg: Removed.
3046         http://bugzilla.opendarwin.org/show_bug.cgi?id=4300
3047
3048 2005-08-07  Eric Seidel  <eseidel@apple.com>
3049         Changes by Ben La Monica <ben.lamonica@gmail.com>
3050
3051         Reviewed by darin.
3052
3053         * svg2png/ImageDiff.h: Added.
3054         * svg2png/ImageDiff.m: Added.
3055         (getDifferenceBitmap):
3056         (computePercentageDifferent):
3057         (saveAnimatedGIFToFile):
3058         * svg2png/svg2png.m:
3059         (usage): added several new options
3060         (getBitmapForSVG): added NSBitmapImageRep generation
3061         (main): various argument changes.
3062         * svg2png/svg2png.xcodeproj/project.pbxproj:
3063         Several additions to provide image differencing functionality.
3064         http://bugzilla.opendarwin.org/show_bug.cgi?id=4193
3065
3066 2005-08-07  Eric Seidel  <eseidel@apple.com>
3067
3068         Reviewed by darin.
3069
3070         * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
3071         * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
3072         Adding the first SVG layout tests:
3073         http://bugzilla.opendarwin.org/show_bug.cgi?id=4303
3074
3075 2005-08-07  Darin Adler  <darin@apple.com>
3076
3077         * Scripts/cvs-create-patch: Do all the directories at once, for speed.
3078
3079 2005-08-06  Eric Seidel  <eseidel@apple.com>
3080
3081         Reviewed by darin.
3082
3083         * DumpKCanvasTree/DumpKCanvasTree.m: Added.
3084         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
3085         * Scripts/build-dumpkcanvastree: Added.
3086         * Scripts/run-webkit-tests-svg: Added.
3087         Adds a DumpRenderTree-like tool for SVG which allows us to do
3088         text-based layout regression testing.  This (like most of the
3089         SVG specific stuff) is temporary and will be replaced by
3090         DumpRenderTree once the DOMs and RenderTrees merge.
3091         http://bugzilla.opendarwin.org/show_bug.cgi?id=3917
3092
3093 2005-08-06  Eric Seidel  <eseidel@apple.com>
3094
3095         Reviewed by darin.
3096
3097         * DrawTest/DrawTestView.m:
3098         (-[DrawTestView toggleFilterSupport:]): missing negation.
3099         One half of fix for toggling filter support.
3100         http://bugzilla.opendarwin.org/show_bug.cgi?id=4252
3101
3102 2005-08-04  Eric Seidel  <eseidel@apple.com>
3103
3104         Reviewed by darin.
3105
3106         * Scripts/build-drawtest:
3107         * Scripts/build-dumprendertree:
3108         * Scripts/build-svg2png:
3109         * Scripts/build-webcore-svg:
3110         * Scripts/build-webkit:
3111         * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
3112         Added checkRequiredSystemConfig and made all the build-* scripts
3113         use it to print a pretty warning when trying to compile on an
3114         unsupported system (less than 10.4, Xcode 2.1).
3115         http://bugzilla.opendarwin.org/show_bug.cgi?id=4280
3116
3117 2005-08-04  Darin Adler  <darin@apple.com>
3118
3119         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
3120         the dead. It was removed by accident when someone was trying to work on the branch.
3121
3122 2005-07-31  Darin Adler  <darin@apple.com>
3123
3124         - a little tools cleanup
3125
3126         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
3127         project as a whole. Removed unused Default configuration.
3128
3129         * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
3130
3131 2005-07-31  Duncan Wilcox  <duncan@mclink.it>
3132
3133         Reviewed and landed by Darin Adler.
3134
3135         Add logging of editing delegate calls for regression checking.
3136
3137         * DumpRenderTree/DumpRenderTree.m:
3138         (main):
3139           setup editing delegate
3140
3141         (-[DOMNode dumpPath]):
3142         (-[DOMRange dump]):
3143           utility for editing delegate logging
3144
3145         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3146         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
3147         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3148         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3149         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
3150         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3151         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3152         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3153         (-[EditingDelegate webViewDidBeginEditing:]):
3154         (-[EditingDelegate webViewDidChange:]):
3155         (-[EditingDelegate webViewDidEndEditing:]):
3156         (-[EditingDelegate webViewDidChangeTypingStyle:]):
3157           log corresponding editing delegate methods
3158
3159         (-[EditingDelegate webViewDidChangeSelection:]):
3160           log selection except when clearing selection after end of test (uses existing "done" flag)
3161
3162         (dumpRenderTree):
3163           added clearing of selection after test
3164
3165 2005-07-31  Eric Seidel  <eseidel@apple.com>
3166
3167         Reviewed by hyatt.
3168
3169         * Scripts/build-drawtest: Added.
3170         * Scripts/build-svg2png: Added.
3171         * Scripts/build-webcore-svg: Added.
3172         * Scripts/run-drawtest: Added.
3173         * Scripts/webkitdirs.pm: added checkSVGFrameworks
3174         Made it much easier to build WebCore+SVG.
3175         http://bugzilla.opendarwin.org/show_bug.cgi?id=4208
3176
3177 2005-07-29  Eric Seidel  <eseidel@apple.com>
3178
3179         Reviewed by vicki.
3180
3181         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3182         Build fix.  Removed bad path.
3183
3184 2005-07-29  Eric Seidel  <eseidel@apple.com>
3185
3186         Reviewed by sullivan.
3187
3188         * DrawTest/AppDelegate.h: Added.
3189         * DrawTest/AppDelegate.m: Added.
3190         * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
3191         * DrawTest/DrawTestDocument.h: Added.
3192         * DrawTest/DrawTestDocument.m: Added.
3193         * DrawTest/DrawTestInspectorController.h: Added.
3194         * DrawTest/DrawTestInspectorController.m: Added.
3195         * DrawTest/DrawTestToolbarController.h: Added.
3196         * DrawTest/DrawTestToolbarController.m: Added.
3197         * DrawTest/DrawTestView.h: Added.
3198         * DrawTest/DrawTestView.m: Added.
3199         * DrawTest/DrawTest_Prefix.pch: Added.
3200         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
3201         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
3202         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
3203         * DrawTest/English.lproj/InfoPlist.strings: Added.
3204         * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
3205         * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
3206         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
3207         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
3208         * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
3209         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
3210         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
3211         * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
3212         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
3213         * DrawTest/Info.plist: Added.
3214         * DrawTest/SVGTest.h: Added.
3215         * DrawTest/SVGTest.m: Added.
3216         * DrawTest/ScalingImageView.h: Added.
3217         * DrawTest/ScalingImageView.m: Added.
3218         * DrawTest/TestController.h: Added.
3219         * DrawTest/TestController.m: Added.
3220         * DrawTest/TestViewerSplitView.h: Added.
3221         * DrawTest/TestViewerSplitView.m: Added.
3222         * DrawTest/main.m: Added.
3223         Adding simple cocoa app for testing SVG rendering, interaction.
3224         http://bugzilla.opendarwin.org/show_bug.cgi?id=4157
3225
3226 2005-07-28  Eric Seidel  <eseidel@apple.com>
3227
3228         Reviewed by ggaren.
3229
3230         * svg2png/svg2png.m: Added.
3231         * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
3232         * svg2png/svg2png_Prefix.pch: Added.
3233         Added a simple test tool which dumps a PNG from an SVG using
3234         WebCore+SVG's SVG rendering support.
3235         http://bugzilla.opendarwin.org/show_bug.cgi?id=4156
3236
3237 2005-07-26  Maciej Stachowiak  <mjs@apple.com>
3238
3239         Reviewed by Darin.
3240
3241         - new script to review the DOM layout test results and see where we stand
3242         on actual success and failure
3243
3244         * Scripts/check-dom-results: Added.
3245
3246 2005-07-25  Darin Adler  <darin@apple.com>
3247
3248         * Scripts/webkitdirs.pm: Check in missing line of code.
3249
3250 2005-07-25  Darin Adler  <darin@apple.com>
3251
3252         - fixed problem that was causing JavaScriptCore test to fail
3253           (except for people who had set DYLD_FRAMEWORK_PATH)
3254
3255         * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
3256         Add code to parse configuration parameter so you can pass --deployment if you like.
3257         * Scripts/run-webkit-tests: Add code to parse configuration parameter.
3258
3259         * Scripts/update-javascriptcore-test-results: Add license header.
3260
3261         * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
3262         from @ARGV. This lets us use this option in commands that take other options and
3263         pass them along to a subsequent tool.
3264
3265 2005-07-25  Darin Adler  <darin@apple.com>
3266
3267         Reviewed by Geoff Garen.
3268
3269         - Fixed run-safari and gdb-safari to use the Safari application in the build results
3270           directory, if any, falling back to the one in the Applications directory otherwise.
3271           Does no harm for open source contributors who don't build Safari, and helps out the
3272           Safari team, since we do build Safari.
3273
3274         * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
3275         variable, and if that's not present, looks in either the build results directory or
3276         /Applications; factors code that was in both scripts before into a shared function.
3277         Also removed some Xcode 2.0 support which is no longer relevant since our projects are
3278         now in Xcode 2.1 format and incompatible with older versions of Xcode.
3279
3280         * Scripts/gdb-safari: Use safariPath.
3281         * Scripts/run-safari: Use safariPath.
3282
3283 2005-07-22  Geoffrey Garen  <ggaren@apple.com>
3284
3285         Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
3286         run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
3287         
3288         Moved Tools/Scripts/update-mozilla-js-test-results to 
3289         WebKitTools/Scripts/update-javascriptcore-test-results.
3290         
3291         Reviewed by darin.
3292
3293         * Scripts/run-javascriptcore-tests: Added.
3294
3295 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3296
3297         Reviewed by Darin.
3298
3299         * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
3300
3301 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3302
3303         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
3304
3305 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3306
3307         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
3308
3309 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3310
3311         * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
3312
3313 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3314
3315         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
3316
3317 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
3318
3319         * Scripts/build-webkit:
3320
3321 2005-07-12  Eric Seidel  <eseidel@apple.com>
3322
3323         Reviewed by mjs.
3324
3325         * checkout-svg: Fixed error with symlink creation.
3326
3327 2005-07-12  Eric Seidel  <eseidel@apple.com>
3328
3329         Reviewed by mjs.
3330
3331         * checkout-svg: Added.
3332         Script to check out WebCore+SVG
3333
3334 2005-06-30  Darin Adler  <darin@apple.com>
3335
3336         Changes based on input from Michael Kahl.
3337
3338         * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
3339         specify different style of "diff".
3340         * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
3341         determineConfigurationProductDir works in all cases.
3342
3343 2005-06-29  Darin Adler  <darin@apple.com>
3344
3345         - fixed bug which would result in multiple unwanted dumps in a single layout test
3346
3347         * DumpRenderTree/DumpRenderTree.m:
3348         (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
3349         "readyToDump" flag.
3350         (-[LayoutTestController waitUntilDone]): Update for name change.
3351         (-[LayoutTestController notifyDone]): Dump only if ready.
3352         (dumpRenderTree): Set up new boolean and update for name change.
3353
3354 2005-06-29  Darin Adler  <darin@apple.com>
3355
3356         Changes by Timothy Hatcher.
3357         Reviewed by me.
3358
3359         * Scripts/run-webkit-app: Added script to open an arbritrary application with
3360         a CVS built WebKit. Example: ./run-webkit-app Colloquy
3361
3362         * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
3363         a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
3364         * Scripts/run-safari: Ditto.
3365
3366 2005-06-26  Darin Adler  <darin@apple.com>
3367
3368         * Scripts/build-dumprendertree: Pass -project option so that having a second
3369         copy of the project (like the one Xcode 2.1 offers to make for you) that's
3370         out of date won't screw you up.
3371         * Scripts/build-webkit: Ditto.
3372
3373 2005-06-23  Darin Adler  <darin@apple.com>
3374
3375         * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
3376
3377 2005-06-23  Darin Adler  <darin@apple.com>
3378
3379         Changes based on input from Michael Kahl.
3380
3381         * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
3382         directory passed in.
3383
3384         * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
3385         getcwd() in the code to find the base product dir. Added code to handle unusual
3386         base product directory values that use SRCROOT.
3387
3388 2005-06-22  Darin Adler  <darin@apple.com>
3389
3390         Change by Anders Carlsson.
3391
3392         - added support for dumping title changes
3393
3394         * DumpRenderTree/DumpRenderTree.m:
3395         (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
3396         if requested by JavaScript.
3397         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
3398         (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
3399         (dumpRenderTree): Start flag as NO.
3400
3401 2005-06-20  Darin Adler  <darin@apple.com>
3402
3403         Reviewed by Justin Garcia.
3404
3405         * Scripts/run-webkit-tests: Report number of tests when they succeed.
3406
3407 2005-06-18  Darin Adler  <darin@apple.com>
3408
3409         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
3410         in the hope of making the tool use less memory and run faster.
3411
3412 2005-06-18  Darin Adler  <darin@apple.com>
3413
3414         * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
3415         * Scripts/cvs-unapply: Ditto.
3416
3417 2005-06-17  Maciej Stachowiak  <mjs@apple.com>
3418
3419         - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
3420         benefit of all WebKit hackerdom
3421
3422         * Scripts/prepare-ChangeLog: Added.
3423
3424 2005-06-16  Darin Adler  <darin@apple.com>
3425
3426         - recent changes to XcodeOptions made it depend on the current directory
3427           The intent was to have the WebKitBuild directory be next to WebKitTools,
3428           not inside the various build directories. Workaround for now is to call
3429           XcodeOptions when the directory is set to the WebKit directory.
3430
3431         * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
3432         at the start of the script.
3433         * Scripts/build-webkit: Ditto.
3434
3435 2005-06-15  Darin Adler  <darin@apple.com>
3436
3437         * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
3438
3439 2005-06-14  Darin Adler  <darin@apple.com>
3440
3441         Changes by Anders Carlsson.
3442         Reviewed by me.
3443
3444         - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3496>
3445           Add gdb-safari script to launch Safari under gdb
3446
3447         * Scripts/gdb-safari: Added.
3448
3449 2005-06-12  Darin Adler  <darin@apple.com>
3450
3451         Changes by Stuart Morgan.
3452         Reviewed by me.
3453
3454         * Scripts/cvs-abandon: Use cwd instead of `pwd`.
3455         * Scripts/cvs-apply: Ditto.
3456         * Scripts/cvs-create-patch: Ditto.
3457         * Scripts/cvs-unapply: Ditto.
3458         * Scripts/run-webkit-tests: Ditto.
3459         * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
3460
3461 2005-06-12  Darin Adler  <darin@apple.com>
3462
3463         * Scripts/cvs-apply: Handle case of an empty patch better.
3464         * Scripts/cvs-unapply: Ditto.
3465
3466 2005-06-12  Darin Adler  <darin@apple.com>
3467
3468         Changes by Michael Gaiman.
3469         Reviewed by me.
3470
3471         - fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=3487>
3472           WebKit no longer builds after configuration supporting build changes
3473
3474         * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
3475
3476 2005-06-12  Darin Adler  <darin@apple.com>
3477
3478         * Scripts/update-webkit: Make this script work when called from any directory.
3479
3480 2005-06-12  Darin Adler  <darin@apple.com>
3481
3482         Reviewed by Maciej.
3483         Includes changes by Stuart Morgan as well as my own.
3484
3485         * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
3486         symrootXcodeOptions to set the -buildstyle option.
3487         * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
3488         The new --development option does the same thing.
3489         * Scripts/run-safari: Ditto.
3490         * Scripts/run-webkit-tests: Ditto.
3491         * Scripts/update-webkit: Ditto.
3492         * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
3493
3494         * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
3495         directory is when invoking a script. Add code to determine the Xcode version so we can do the right
3496         thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
3497         product directory. Read the default configuration from a file, overridable by a passed-in command-line
3498         option.
3499
3500 2005-06-11  Darin Adler  <darin@apple.com>
3501
3502         * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
3503         to execute the cvs diff commands.
3504
3505 2005-06-11  Darin Adler  <darin@apple.com>
3506
3507         - added first cuts at some cvs scripts
3508
3509             cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
3510             cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
3511             cvs-apply is for applying patches; runs patch and cvs add and cvs rm
3512             cvs-unapply is for unapplying patches; does the opposite of cvs-apply
3513
3514           An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
3515
3516         * Scripts/cvs-abandon: Added.
3517         * Scripts/cvs-apply: Added.
3518         * Scripts/cvs-create-patch: Added.
3519         * Scripts/cvs-unapply: Added.
3520
3521 2005-06-09  Darin Adler  <darin@apple.com>
3522
3523         Reviewed by Maciej.
3524
3525         - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3397
3526           Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
3527
3528         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
3529         for Foundation.framework. How was it ever wrong?
3530
3531         - finally, I tested making the default build directory work; it works now
3532
3533         * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
3534         that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
3535         * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
3536         * Scripts/build-dumprendertree: Ditto.
3537
3538 2005-06-09  Darin Adler  <darin@apple.com>
3539
3540         * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
3541         work. Someone should try building without setting the Xcode build product directory now,
3542         and let me know if it works.
3543
3544 2005-06-08  Darin Adler  <darin@apple.com>
3545
3546         - quick fix to try to get build scripts working again
3547
3548         * Scripts/build-dumprendertree: Add FindBin.
3549         * Scripts/build-webkit: Ditto.
3550         * Scripts/run-safari: Ditto.
3551         * Scripts/run-webkit-tests: Ditto.
3552         * Scripts/update-webkit: Ditto.
3553
3554 2005-06-08  Darin Adler  <darin@apple.com>
3555
3556         Reviewed by Maciej.
3557
3558         - some build script enhancements
3559
3560         * Scripts/build-dumprendertree: Changed to use webkitdirs.
3561         * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
3562         they are newer.
3563         * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
3564         before Deplyment in that case.
3565         * Scripts/run-webkit-tests: Changed to use webkitdirs.
3566         * Scripts/update-webkit: Changed to use webkitdirs.
3567
3568         * Scripts/webkitdirs.pm: Added.
3569
3570 2005-06-08  Maciej Stachowiak  <mjs@apple.com>
3571
3572         Code change by Toby Peterson <toby@opendarwin.org>
3573         Reviewed by me.
3574
3575         * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
3576         get confused because build-webkit now makes even 2.0 build directories look
3577         like 2.1.
3578
3579 2005-06-07  Darin Adler  <darin@apple.com>
3580
3581         Reviewed by Adele Peterson.
3582
3583         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
3584         * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
3585         so we can run tests with Xcode 2.1.
3586
3587 2005-06-07  Darin Adler  <darin@apple.com>
3588
3589         Reviewed by Adele Peterson.
3590
3591         * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
3592         layout-tests directory to include additional sets of tests.
3593
3594 2005-06-07  Darin Adler  <darin@apple.com>
3595
3596         * checkout: Added license.
3597         * Scripts/build-dumprendertree: Ditto.
3598         * Scripts/run-webkit-tests: Ditto.
3599         * Scripts/update-webkit: Ditto.
3600
3601 2005-06-07  Darin Adler  <darin@apple.com>
3602
3603         Change by Toby Peterson <toby@opendarwin.org>.
3604         Reviewed by me.
3605
3606         * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
3607         * Scripts/run-safari: Ditto.
3608
3609 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
3610
3611         * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
3612
3613 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
3614
3615         * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
3616
3617 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
3618
3619         * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
3620
3621 2005-06-05  Darin Adler  <darin@apple.com>
3622
3623         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
3624         * Scripts/build-dumprendertree: Added.
3625         * Scripts/build-webkit: Build All in the JavaScriptCore directory.
3626         * Scripts/run-webkit-tests: Build DumpRenderTree before running.
3627
3628 2005-06-05  Darin Adler  <darin@apple.com>