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