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