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