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