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