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