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