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