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