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