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