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