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