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