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