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