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