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