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