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