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