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