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