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