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