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