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