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