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