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