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