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