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