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