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