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