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