d64871484c9c67148ec933a3464001c6464539c3
[WebKit-https.git] / WebKitTools / ChangeLog
1 2007-11-04  David D. Kilzer  <ddkilzer@webkit.org>
2
3         bisect-builds doesn't work with nightly build r19992 or newer on Leopard
4         <http://bugs.webkit.org/show_bug.cgi?id=15830>
5
6         Reviewed by Timothy.
7
8         Restrict the range of nightly builds used by the bisect-builds script
9         based on the version of Safari and the version of Mac OS X being used.
10
11         Mac OS X 10.4: Safari 2.0: r11976 or newer
12         Mac OS X 10.4: Safari 3.0: r19992 or newer
13
14         Mac OS X 10.5: Safari 2.0: r19594 or newer
15         Mac OS X 10.5: Safari 3.0: r25124 or newer
16
17         * Scripts/bisect-builds:
18         (findMacOSXVersion): Added.
19         (makeNightlyList): Added argument to provide version of Mac OS X.
20         Restrict range of nightly builds based on Safari and Mac OS X versions.
21
22 2007-11-04  Kevin McCullough  <kmccullough@apple.com>
23
24         Reviewed by Maciej.
25
26         - This patch involves several changes, all of them were noticed that
27         they were needed by the work being done in WebKit to get Drosera and
28         WebKit working together on Windows.
29         - The changes are:
30         1) Added a debugger console for output messages.
31         2) Drosera now listens for the WebKit server (before, the server would
32         have to be running before Drosera was started.)
33         3) Fixed a bug where the WebView started out as 0x0 pixels.
34         4) Fixed a bug when there is no scope.
35         5) Added the HTML, JS, and CSS to the project file to make them easy to
36         find.
37         6) Made the ServerConnection functions virtual.
38
39         * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
40         for the WebKit server.
41         (DebuggerClient::DebuggerClient):
42         (DebuggerClient::~DebuggerClient):
43         (DebuggerClient::didFinishLoadForFrame):
44         (DebuggerClient::serverConnected):
45         (DebuggerClient::attemptToCreateServerConnection):
46         * Drosera/win/DebuggerClient.h: Ditto.
47         * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
48         scope.
49         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
50         (DebuggerDocument::platformValueForScopeVariableNamed):
51         * Drosera/win/Drosera.cpp:
52         (_tWinMain): Added a console in debug for output messages.
53         (Drosera::Drosera): Listen for server.
54         (Drosera::initUI): The server now Initializes COM.
55         (Drosera::serverConnected): Part of the listening for the server.
56         (Drosera::attemptToCreateServerConnection): Ditto.
57         * Drosera/win/Drosera.h: New interface for listening for the server.
58         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
59         files to the VS project.
60         * Drosera/win/ServerConnection.cpp: Part of listening for the server
61         connection.
62         (ServerConnection::ServerConnection):
63         (ServerConnection::attemptToCreateServerConnection):
64         * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
65         methods.
66         (ServerConnection::serverConnected):
67
68 2007-11-04  Alexey Proskuryakov  <ap@webkit.org>
69
70         Reviewed by Maciej.
71
72         http://bugs.webkit.org/show_bug.cgi?id=15832
73         fast/dom/gc-10.html crashes when run alone
74
75         Check for !done before using objects that can be already deallocated.
76
77         * DumpRenderTree/mac/EditingDelegate.mm:
78         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
79         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
80         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
81         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
82         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
83         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
84         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
85         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
86         (-[EditingDelegate webViewDidBeginEditing:]):
87         (-[EditingDelegate webViewDidChange:]):
88         (-[EditingDelegate webViewDidEndEditing:]):
89         (-[EditingDelegate webViewDidChangeTypingStyle:]):
90         (-[EditingDelegate webViewDidChangeSelection:]):
91         * DumpRenderTree/mac/FrameLoadDelegate.mm:
92         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
93         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
94         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
95         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
96         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
97         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
98         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
99         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
100         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
101         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
102         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
103         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
104         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
105         (-[FrameLoadDelegate webView:willCloseFrame:]):
106         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
107         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
108         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
109         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
110         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
111         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
112         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
113         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
114         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
115
116 2007-11-04  Mark Rowe  <mrowe@apple.com>
117
118         Build fix.  Don't use Carbon.h as the prefix header as it triggers
119         warnings that would otherwise be suppressed due to it being a system header.
120
121         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
122
123 2007-11-03  Maciej Stachowiak  <mjs@apple.com>
124
125         Rubber stamped by Adam.
126         
127         - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
128
129         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
130
131 2007-11-03  David D. Kilzer  <ddkilzer@webkit.org>
132
133         Sort files(...); sections of Xcode project files.
134
135         Rubber-stamped by Darin.
136
137         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
138         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
139         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
140         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
141
142 2007-11-03  David D. Kilzer  <ddkilzer@webkit.org>
143
144         Script to sort "files(...);" sections in Xcode project.pbxproj files.
145
146         Reviewed by Darin.
147
148         * Scripts/sort-Xcode-project-file: Added.
149
150 2007-11-02  Darin Adler  <darin@apple.com>
151
152         * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
153
154 2007-11-02  Darin Adler  <darin@apple.com>
155
156         Reviewed by Maciej.
157
158         * Scripts/run-sunspider: Pass the "--base" option through.
159
160         * Scripts/sunspider-compare-results: Don't check the number of parameters; let
161         the real script do that. Default configuration to Release to match run-sunspider
162         so we don't end up building Debug just to compare results.
163
164 2007-11-01  Adam Roben  <aroben@apple.com>
165
166         Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
167
168         Reviewed by Sam.
169
170         * Scripts/commit-log-editor: Show all the directories beneath the
171         source root, instead of just the last one.
172
173 2007-11-01  Kevin Ollivier  <kevino@theolliviers.com>
174
175         Reviewed by Adam Roben.
176
177         Print out an error message when the Windows build fails
178         and provide guidance on how to find out what went wrong.
179
180         * Scripts/build-webkit:
181         * Scripts/webkitdirs.pm:
182
183 2007-11-01  Alexey Proskuryakov  <ap@webkit.org>
184
185         Rubber-stamped by Adam Roben.
186
187         Rolled out r27326 - debug CRT seems to cause no problems after all.
188
189         * DumpRenderTree/win/DumpRenderTree.vcproj:
190
191 2007-10-31  Adam Roben  <aroben@apple.com>
192
193         Switch the Debug configuration to using the non-debug CRT
194
195         This matches WebKit.
196
197         Reviewed by Steve.
198
199         * DumpRenderTree/win/DumpRenderTree.vcproj:
200
201 2007-10-31  Antti Koivisto  <antti@apple.com>
202
203         Reviewed by bdash.
204         
205         Disable media tests when doing leak checking on Tiger.
206         They crash in QuickTime (rdar://problem/5537157).
207
208         * Scripts/run-webkit-tests:
209
210 2007-10-29  Antti Koivisto  <antti@apple.com>
211
212         Reviewed by Maciej.
213         
214         Build media support by default on OSX only.
215
216         * Scripts/build-webkit:
217
218 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
219
220         - Made Adam the reviewer for a previous checkin. Not sure how it didn't
221         get caught by the pre-commit hooks.
222
223 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
224
225         Reviewed by Adam.
226
227         - This is a collection of relatively unrelated changes and cleanups
228         to Drosera to prepare it for interacting with WebKit.  A lot of these
229         changes are just correcting mistakes, for example removing included
230         headers that are no longer needed.
231
232         * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
233         this will be needed by the DebuggerClient.
234         (DebuggerDocument::server):
235         * Drosera/win/BaseDelegate.h: Removed unnecessary include.
236         * Drosera/win/DebuggerClient.cpp: 
237         (DebuggerClient::didFinishLoadForFrame): Finished implementing.
238         (DebuggerClient::didReceiveTitle): Added comment about its purpose.
239         (DebuggerClient::createWebViewWithRequest): Added comment about its
240         purpose. 
241         * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
242         declarations.
243         (DebuggerClient::webViewLoaded): Moved.
244         * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
245         file, since this was the only place it was used.
246         (cfStringToBSTR):
247         * Drosera/win/Drosera.h: Cleaned up the includes.
248         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
249         * Drosera/win/HelperFunctions.h: Removed.
250
251 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
252
253         Reviewed by Adam.
254
255         - Small cleanup in the ServerConnection class.
256
257         * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
258         and added an include.
259         (ServerConnection::currentFrame):
260         (ServerConnection::getCallerFrame):
261         * Drosera/win/ServerConnection.h: Added comments, moved some functions,
262         made a pointer into a COMPtr, and cleaned up the includes.
263
264 2007-10-29  Timothy Hatcher  <timothy@apple.com>
265
266         Reviewed by John Sullivan.
267         
268         - Place the Localizable.strings file in mac or win directories
269           if that location exists.
270         - Also look for UI_STRING in .c files.
271
272         * Scripts/extract-localizable-strings:
273
274 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
275
276         Reviewed by Adam.
277
278         - Set the eol-style to native and made all the line endings the same
279         so that I avoid messy diffs that show eol changes.
280
281         * Drosera/win/ServerConnection.cpp:
282         (ServerConnection::didParseSource):
283         (ServerConnection::didEnterCallFrame):
284         (ServerConnection::willExecuteStatement):
285         (ServerConnection::willLeaveCallFrame):
286         (ServerConnection::exceptionWasRaised):
287
288 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
289
290         Reviewed by Adam.
291
292         * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
293         functionality that could not have existed previously without the new
294         interfaces.
295         (JSValueRefCreateWithBSTR): Added a helper function to easily convert
296         from a BSTR to a JSValueRef.
297         (DebuggerDocument::platformEvaluateScript): Implemented.
298         (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
299         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
300         Implemented.
301         (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
302         * Drosera/win/HelperFunctions.h: Cleaned up some comments.
303         * Drosera/win/ServerConnection.cpp: Added a helper function.
304         (ServerConnection::getCallerFrame):
305         * Drosera/win/ServerConnection.h: Added a helper function.
306
307 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
308
309         updated reviewers for my previous changelog.
310
311 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
312         Reviewed by Maciej and Adam and Geoff.
313
314         - Minor mac-side improvements including moving a function to a more
315         appropriate location, fixing a warning, and correctly checking
316         exceptions.
317
318         * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
319         (DebuggerDocument::willExecuteStatement):
320         (DebuggerDocument::didEnterCallFrame):
321         (DebuggerDocument::willLeaveCallFrame):
322         (DebuggerDocument::windowScriptObjectAvailable):
323         (DebuggerDocument::callFunctionOnObject):
324         * Drosera/mac/DebuggerClient.mm: Fixes a warning.
325         * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
326         webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
327         because it doesn't require the ServerConnection at all.
328         (NSStringCreateWithJSStringRef): Made an argument const.
329         (JSValueRefCreateWithNSString): Made an argument const.
330         (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
331         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
332         * Drosera/mac/ServerConnection.h: Moved aforementioned function.
333         * Drosera/mac/ServerConnection.mm: Ditto.
334         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
335
336 2007-10-29  Sam Weinig  <sam@webkit.org>
337
338         Reviewed by Adam Roben.
339
340         Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
341
342         * DumpRenderTree/LayoutTestController.cpp:
343         (LayoutTestController::LayoutTestController):
344         (getGlobalFlagCallback):
345         (setGlobalFlagCallback):
346         (LayoutTestController::getJSClass):
347         (LayoutTestController::staticValues):
348         * DumpRenderTree/LayoutTestController.h:
349         (LayoutTestController::globalFlag):
350         (LayoutTestController::setGlobalFlag):
351
352 2007-10-29  Darin Adler  <darin@apple.com>
353
354         Reviewed by Maciej.
355
356         * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
357         resolution instead of its default.
358
359 2007-10-29  David Kilzer  <ddkilzer@webkit.org>
360
361         Fixed showStatus() to print status for successfully resolved conflicts when using git.
362
363         Reviewed by Mark Rowe.
364
365         Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
366         was successfully resolved, but this would not show any status because the change had
367         already been cached in the index using "git add".  The solution is to add an optional
368         second argument to showStatus() which adds the "--cached" switch to the command.
369
370         * Scripts/resolve-ChangeLogs:
371         (showStatus):
372
373 2007-10-28  Eric Seidel  <eric@webkit.org>
374
375         Reviewed by Maciej and Geoff, in unison.
376
377         * Scripts/run-webkit-tests: remove broken --svg option
378
379 2007-10-28  Darin Adler  <darin@apple.com>
380
381         Reviewed by Adam.
382
383         * Scripts/run-sunspider: Default to "Release" configuration rather than
384         defaulting to the last configuration used as other scripts do. This can
385         still be overriden on the command line with "--debug" if there's some
386         reason to do so. Also fix a typo.
387
388         * Scripts/sunspider-compare-results: Fix a typo.
389
390 2007-10-26  Kevin McCullough  <kmccullough@apple.com>
391
392         Reviewed by Adam.
393
394         - Implemented the WebScriptDebugListener functions now that the
395         WebScriptDebugServer exists
396
397         * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
398         functions.
399         (ServerConnection::currentFrame):
400         (ServerConnection::didLoadMainResourceForDataSource):
401         (ServerConnection::didParseSource):
402         (ServerConnection::failedToParseSource):
403         (ServerConnection::didEnterCallFrame):
404         (ServerConnection::willExecuteStatement):
405         (ServerConnection::willLeaveCallFrame):
406         (ServerConnection::exceptionWasRaised):
407         * Drosera/win/ServerConnection.h: Removed unused arguments from the
408         members arguments list.
409
410 2007-10-26  David Kilzer  <ddkilzer@webkit.org>
411
412         prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
413         <http://bugs.webkit.org/show_bug.cgi?id=15600>
414
415         Reviewed by Darin.
416
417         The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
418         a patch of the local changes and applying it with a fuzz level of 3 to the new file.
419         If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
420         file.  Note that it may also be used as a stand-alone script.
421
422         * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
423         * Scripts/resolve-ChangeLogs: Added.
424         * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
425
426 2007-10-26  Mark Rowe  <mrowe@apple.com>
427
428         Qt build fix.  r27084 added a destructor implementation for LayoutTestController
429         to the Qt port on the assumption that it was an implementation of the cross-platform
430         LayoutTestController class.  It is not, so it did not need to be changed.
431
432         * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
433
434 2007-10-25  Mark Rowe  <mrowe@apple.com>
435
436         Reviewed by Maciej.
437
438         Fix builds with code coverage enabled.
439
440         * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
441
442 2007-10-25  Darin Adler  <darin@apple.com>
443
444         Reviewed by Mark Rowe.
445
446         * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
447         * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
448
449 2007-10-25  Stephanie  <slewis@apple.com>
450
451         build Fix
452
453         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
454
455 2007-10-25  Stephanie  <slewis@apple.com>
456
457         Reviewed by Mark Rowe, Adam Roben.
458
459         Weak link against WebCore so DumpRenderTree can be bundled with production roots.
460
461         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 
462
463 2007-10-25  Alice Liu  <alice.liu@apple.com>
464
465         Reviewed by Adam.
466
467         Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
468
469         Moving destructor into platform-specific files
470         * DumpRenderTree/LayoutTestController.cpp:
471         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
472         (LayoutTestController::~LayoutTestController):
473         * DumpRenderTree/qt/jsobjects.cpp:
474         (LayoutTestController::~LayoutTestController):
475
476         LayoutTestController wasn't being destroyed
477         * DumpRenderTree/win/DumpRenderTree.cpp:
478         (runTest):
479
480         Added declspec
481         * DumpRenderTree/win/EditingDelegate.h:
482
483         Reset certain values on the webview (or related delegate) that might 
484         have changed while running a test
485         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
486         (LayoutTestController::~LayoutTestController):
487
488 2007-10-25  Adam Roben  <aroben@apple.com>
489
490         Make sunspider-compare-results work with relative paths
491
492         Reviewed by Sam.
493
494         * Scripts/sunspider-compare-results: Convert arguments to absolute
495         paths before we chdir.
496
497 2007-10-25  Kevin McCullough  <kmccullough@apple.com>
498
499         Reviewed by Sam.
500
501         - Implemented server calls now the WebScriptDebugServer exists.
502         - Also removed no longer needed call to initialize CG.
503
504         * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
505         automatically now.
506         (_tWinMain):
507         * Drosera/win/ServerConnection.cpp: Now uses the COM class.
508         (ServerConnection::ServerConnection):
509         (ServerConnection::~ServerConnection):
510         (ServerConnection::pause):
511         (ServerConnection::resume):
512         (ServerConnection::stepInto):
513         (ServerConnection::applicationTerminating):
514         (ServerConnection::serverConnectionDidDie):
515         * Drosera/win/ServerConnection.h: Now uses the COM class.
516
517 2007-10-24  George Staikos  <staikos@kde.org>
518
519         Unbreak Qt build.
520
521         * Scripts/build-webkit:
522
523 2007-10-24  Adam Roben  <aroben@apple.com>
524
525         Remove now-unnecessary call to InitializeCoreGraphics
526
527         WebKit takes care of this now.
528
529         Reviewed by Ada.
530
531         * DumpRenderTree/win/DumpRenderTree.cpp:
532         (initialize):
533
534 2007-10-24  Adam Roben  <aroben@apple.com>
535
536         Use WebTextRenderer in DRT
537
538         Reviewed by Ada.
539
540         * DumpRenderTree/win/DumpRenderTree.cpp:
541         (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
542
543 2007-10-24  Sven Herzberg  <sven@imendio.com>
544
545         Reviewed by Mark Rowe.
546
547         Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
548         Bug 15614: [GTK] qmake based backends don't build on OS X
549
550         * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
551         GTK backend on a Mac
552         * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
553         isDarwin() to make it reusable in other places (like the workaround-
554         for-prebuilt-qmake in build-webkit)
555
556 2007-10-24  David Kilzer  <ddkilzer@webkit.org>
557
558         Refurbish update-webkit script.
559
560         Reviewed by Adam.
561
562         * Scripts/update-webkit: Add -h|--help switch and usage statement.  Check result of
563         GetOptions() call.  Fix -q|--quiet switch to be passed to svn command properly.  Use
564         multi-argument version of system() for flexibility and security.  Check for existence
565         of Internal directory using -d test instead of -x.
566
567 2007-10-24  David Kilzer  <ddkilzer@webkit.org>
568
569         Minor clean-up of prepare-ChangeLog script.
570
571         Reviewed by Adam.
572
573         * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
574         of a string.  Use multi-argument versions of open() and system() for flexibility and
575         security.
576
577 2007-10-24  Alice Liu  <alice.liu@apple.com>
578
579         Reviewed by Oliver.
580
581         Fix <rdar://5410959>  editing/selection/drag-to-contenteditable-iframe.html fails on Windows
582
583         Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to 
584         replay the saved events when we're still processing the mousedown that starts the drag
585         * DumpRenderTree/win/EventSender.cpp:
586         (doMouseMove):
587         * DumpRenderTree/win/UIDelegate.cpp:
588         (UIDelegate::doDragDrop):
589
590 2007-10-24  Kevin McCullough  <kmccullough@apple.com>
591
592         Reviewed by Sam, Steve and Darin.
593
594         - Stubbed out the WebScriptDebugListener functionality in the Server
595         Connection class to prepare it for receiving those callbacks.
596         - Also I changed the instantiation of DebuggerClient, DebuggerDocument
597         and the ServerConnection to not need to be initialized with a server
598         name, since that is not the way we connect to the WebKit server. 
599
600         * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
601         no exception.  Now it only loggs when there is an exception
602         (DebuggerDocument::willExecuteStatement):
603         (DebuggerDocument::didEnterCallFrame):
604         (DebuggerDocument::willLeaveCallFrame):
605         (DebuggerDocument::windowScriptObjectAvailable):
606         (DebuggerDocument::callFunctionOnObject):
607         * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
608         to be instantiated with a server's name.
609         (DebuggerClient::DebuggerClient):
610         (DebuggerClient::didFinishLoadForFrame):
611         * Drosera/win/DebuggerClient.h: Removed unsued variable.
612         * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
613         a server name.
614         (Drosera::init):
615         (Drosera::initServer):
616         * Drosera/win/Drosera.h: No longer need the ServerConnection to be
617         instantiated with a server's name.
618         * Drosera/win/ServerConnection.cpp: 
619         (ServerConnection::ServerConnection): No longer needs a server name
620         (ServerConnection::~ServerConnection): Only release the global context
621         if there is one.
622         (ServerConnection::serverConnectionDidDie): Stub for
623         IWebScriptDebugListener
624         (ServerConnection::QueryInterface): ditto
625         (ServerConnection::AddRef): ditto
626         (ServerConnection::Release): ditto
627         (ServerConnection::didLoadMainResourceForDataSource): ditto
628         (ServerConnection::didParseSource): ditto
629         (ServerConnection::failedToParseSource): ditto
630         (ServerConnection::didEnterCallFrame): ditto
631         (ServerConnection::willExecuteStatement): ditto
632         (ServerConnection::willLeaveCallFrame): ditto
633         (ServerConnection::exceptionWasRaised): ditto
634         * Drosera/win/ServerConnection.h: Stubbed out the
635         IWebScriptDebugListener functions, and this class no longer needs to be
636         instantiated with a server name.
637
638 2007-10-24  Lars Knoll  <lars@trolltech.com>
639
640         Reviewed by Simon.
641
642         add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
643
644         * DumpRenderTree/qt/jsobjects.h:
645
646 2007-10-24  Lars Knoll  <lars@trolltech.com>
647
648         Reviewed by Simon.
649
650         add another command.
651
652         * DumpRenderTree/qt/jsobjects.cpp:
653         (TextInputController::doCommand):
654
655 2007-10-24  Lars Knoll  <lars@trolltech.com>
656
657         Reviewed by Simon.
658
659         add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
660
661         * DumpRenderTree/qt/jsobjects.cpp:
662         (EventSender::keyDown):
663         * DumpRenderTree/qt/jsobjects.h:
664
665 2007-10-24  Lars Knoll  <lars@trolltech.com>
666
667         Reviewed by Simon.
668
669         implement eventSender.keyDown().
670
671         * DumpRenderTree/qt/jsobjects.cpp:
672         (EventSender::keyDown):
673
674 2007-10-24  Lars Knoll  <lars@trolltech.com>
675
676         Reviewed by Simon.
677
678         some smaller fixes to the editing support in DRT. Makes another few tests pass.
679
680         * DumpRenderTree/qt/DumpRenderTree.cpp:
681         (WebCore::DumpRenderTree::DumpRenderTree):
682         (WebCore::DumpRenderTree::initJSObjects):
683         * DumpRenderTree/qt/jsobjects.cpp:
684         (TextInputController::doCommand):
685
686 2007-10-24  Lars Knoll  <lars@trolltech.com>
687
688         Reviewed by Simon.
689
690         first bit of implementation for the textinputcontroller.
691
692         * DumpRenderTree/qt/DumpRenderTree.cpp:
693         (WebCore::DumpRenderTree::DumpRenderTree):
694         * DumpRenderTree/qt/DumpRenderTree.h:
695         * DumpRenderTree/qt/jsobjects.cpp:
696         (TextInputController::TextInputController):
697         (TextInputController::doCommand):
698         * DumpRenderTree/qt/jsobjects.h:
699
700 2007-10-24  Lars Knoll  <lars@trolltech.com>
701
702         Reviewed by Simon.
703
704         make the man webpage believe it has focus, so the editing tests work correctly.
705
706         * DumpRenderTree/qt/DumpRenderTree.cpp:
707         (WebCore::DumpRenderTree::DumpRenderTree):
708
709 2007-10-24  Lars Knoll  <lars@trolltech.com>
710
711         Reviewed by Simon.
712
713         implement layoutTestController.dumpEditingCallbacks() correctly.
714
715         * DumpRenderTree/qt/DumpRenderTree.cpp:
716         (WebCore::DumpRenderTree::DumpRenderTree):
717         * DumpRenderTree/qt/jsobjects.cpp:
718         (LayoutTestController::reset):
719         (LayoutTestController::dumpEditingCallbacks):
720
721 2007-10-24  Lars Knoll  <lars@trolltech.com>
722
723         Reviewed by Simon.
724
725         Implement support for testing editing.
726
727         * DumpRenderTree/qt/DumpRenderTree.cpp:
728         (WebCore::DumpRenderTree::DumpRenderTree):
729
730 2007-10-23  Sam Weinig  <sam@webkit.org>
731
732         Check for null BSTR that can be passed to the UIDelegate methods
733         from javascript null and undefined.  Fixes a failing test case on
734         Windows (fast/dom/Window/alert-undefined.html)
735
736         Reviewed by Eric Seidel.
737
738         * DumpRenderTree/win/UIDelegate.cpp:
739         (UIDelegate::runJavaScriptAlertPanelWithMessage):
740         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
741         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
742         (UIDelegate::webViewAddMessageToConsole):
743
744 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
745
746         Reviewed by Darin.
747         
748         Don't print a massive pile of setenvs from tools that automatically build testkjs.
749
750         * Scripts/build-testkjs:
751
752 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
753
754         Reviewed by Darin.
755
756         - add wrapper that finds the right copy of testkjs
757         
758         * Scripts/sunspider-compare-results: Added.
759
760 2007-10-23  Kevin McCullough  <kmccullough@apple.com>
761
762         Reviewed by Sam.
763
764         - After talking with Steve I now see that the WebKit server must be
765         running for DCOM to create the distributed objects, which makes sense
766         and currently WebKit only allows one instance to be running at a time
767         which avoids accidentally connecting to the wrong server
768         - In light of this I have removed the code for the attach box and
769         NotificationServer and known server names, since they are all extranious
770         now.
771
772         * Drosera/win/Drosera.cpp: Removed notification classes and known server
773         names.
774         (_tWinMain): Uses init instead of initUI.
775         (droseraWndProc): No longer creats an attach dialog box.
776         (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
777         it's not manditory to call init before doing COM stuff.
778         (Drosera::init): calls initUI and will call attach when the
779         functionality exists. 
780         (Drosera::initUI): Has changed very little.
781         (Drosera::attach): Changed the signature to reflect that we no longer
782         need the dictionary of known server names.
783         * Drosera/win/Drosera.h: Removed notification classes and known server
784         names.  Also renamed and moved some functions.
785         * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
786         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
787         headers to the resources folder. 
788         * Drosera/win/resource.h: Removed the Attach box.
789
790 2007-10-22  Adam Roben  <aroben@apple.com>
791
792         Windows build fix
793
794         * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
795
796 2007-10-22  Kevin McCullough  <kmccullough@apple.com>
797
798         - Removed a leak that was fixed.
799
800         * Scripts/run-webkit-tests:
801
802 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
803
804         Reviewed by Darin.
805
806         - Changed the Client so that the DebuggerDocument now own the
807         ServerConnection.  This simplifies ownership and cleanup. 
808
809         * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
810         ServerConnection.
811         (DebuggerClient::initWithServerName):
812         (DebuggerClient::didFinishLoadForFrame):
813         * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the 
814         ServerConnection.
815         * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
816         until after we have a server which we are attached to.
817         (Drosera::initUI):
818         (Drosera::attach):
819         * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
820         out previously.
821
822 2007-10-22  Simon Hausmann  <hausmann@kde.org>
823
824         Reviewed by Nikolas.
825
826         When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
827
828         * Scripts/run-javascriptcore-tests:
829
830 2007-10-22  Simon Hausmann  <hausmann@kde.org>
831
832         Reviewed by Nikolas.
833
834         Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS.
835
836         * Scripts/build-drosera:
837         * Scripts/build-dumprendertree:
838         * Scripts/build-testkjs:
839         * Scripts/build-webkit:
840         * Scripts/run-javascriptcore-tests:
841         * Scripts/run-sunspider:
842         * Scripts/run-webkit-tests:
843         * Scripts/webkitdirs.pm:
844
845 2007-10-22  Andrew Wellington  <proton@wiretapped.net>
846
847         Reviewed by Mark Rowe.
848         
849         Fix for local database support after r26879
850         Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
851
852         * Scripts/build-webkit:
853
854 2007-10-22  Holger Freyther  <zecke@selfish.org>
855
856         Reviewed by Simon Hausmann <hausmann@kde.org>.
857
858         - Do not build testkjs as an application bundle. This is
859         needed for run-javascriptcore-tests on OSX.
860         - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
861         - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
862         as we do not have -rpath on OSX.
863
864         * DumpRenderTree/qt/DumpRenderTree.pro:
865         * Scripts/run-webkit-tests:
866
867 2007-10-22  Simon Hausmann  <hausmann@kde.org>
868
869         Reviewed by aroben.
870
871         Fix support for Signed-off-by detection in prepare-ChangeLog
872         --git-commit. The Signed-off-by tag does not appear in the header
873         but usually at the end.
874
875         * Scripts/prepare-ChangeLog:
876
877 2007-10-21  Mark Rowe  <mrowe@apple.com>
878
879         Reviewed by Eric.
880
881         Fix run-javascriptcore-tests for Gtk.
882
883         * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
884
885 2007-10-20  Eric Seidel  <eric@webkit.org>
886
887         Reviewed by aroben.
888
889         * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
890
891 2007-10-20  Eric Seidel  <eric@webkit.org>
892
893         Reviewed by darin.
894         
895         Add improved argument handling to run-sunspider, including
896         --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
897         Also re-factor code into subroutines
898
899         * Scripts/build-dumprendertree: removed bogus comments
900         * Scripts/build-testkjs: Added.
901         * Scripts/run-javascriptcore-tests: use build-testkjs
902         * Scripts/run-sunspider: improved argument handling, abstraction
903         * Scripts/run-webkit-tests: improved abstraction
904
905 2007-10-20  Matt Lilek  <webkit@mattlilek.com>
906
907         Not reviewed, Windows build fix.
908
909         * DumpRenderTree/win/EventSender.cpp:
910         (keyDownCallback):
911
912 2007-10-20  Darin Adler  <darin@apple.com>
913
914         Reviewed by Tim Hatcher.
915
916         - http://bugs.webkit.org/show_bug.cgi?id=15544
917           <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
918           not rely on Apple-specific key codes
919
920         * DumpRenderTree/mac/EventSendingController.mm:
921         (-[EventSendingController keyDown:withModifiers:]):
922         Added named key "rightArrow". Later we could have a whole table of these.
923         Also tweaked modifiers code a little.
924
925         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
926
927 2007-10-19  Darin Adler  <darin@apple.com>
928
929         Reviewed by Eric.
930
931         - http://bugs.webkit.org/show_bug.cgi?id=15566
932           possible fix for leak seen in DumpRenderTree
933
934         * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
935         Delete the item if it's not put on the queue, since the caller has
936         no way of knowing that. Would be better to have the parameter type
937         be auto_ptr to express the fact that we take ownership.
938
939         - unrelated change
940
941         * Drosera/mac/main.m: Add missing include.
942
943 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
944
945         Reviewed by Adam.
946
947         - This change should be identical but for some reason was not working
948         on my machine.
949
950         * Scripts/prepare-ChangeLog:
951
952 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
953
954         Reviewed by Oliver and Tim.
955
956         - Made use of RetainPtr to avoid retain and release issues and moved the
957         log function to DebuggerDocumentPlatform, which seems to be a more
958         logical place for it to live.
959         - Also moved knownServers from the ServerConnection to
960         DebuggerApplication to match the Windows code and because it makes sense
961         that a connection knows its own server but not all of them.
962
963         * Drosera/mac/DebuggerClient.h: Moved the log function to
964           DebuggerDocumentPlatform.
965         * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
966           Because it's owned by an own Ptr in DebuggerDocument.  Also moved the
967           call for the server name up from the ServerConnection class.
968         (-[DebuggerClient dealloc]):
969         (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
970           for the server name up from the ServerConnection.
971         * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
972         (DebuggerDocument::platformPause):
973         (DebuggerDocument::platformResume):
974         (DebuggerDocument::platformStepInto):
975         (DebuggerDocument::platformEvaluateScript):
976         (DebuggerDocument::getPlatformCurrentFunctionStack):
977         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
978         (DebuggerDocument::platformValueForScopeVariableNamed):
979         (DebuggerDocument::platformLog): Log directly from here. No need to call
980           DebuggerClient.
981         * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
982           way I see it, a ServerConnection should only know about its connection
983           and the group of all possible servers should be kept by the
984           application.
985         * Drosera/mac/ServerConnection.mm: Removed knownServer but added
986           currentServerName, it makes sense that the connection should know that
987           name.
988         (-[ServerConnection currentServerName]):
989
990 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
991
992         Reviewed by Adam.
993
994         - Integrated changes from mac drosera.  Recently I've encapsulated
995         out the server connection object from the rest of Drosera because
996         it is very platform dependent right now and RPC is not implemented on
997         windows.  This functionality, of communicating with the WebKit server
998         is the next area I will be focusing on in Windows.
999
1000         - Other changes and cleanup were made to organize the code and add notes
1001         on which parts still need work.  Also some mac code is added and
1002         commented out, to act as pseudocode for the logic of those parts.
1003
1004         * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
1005           pointer.
1006         * Drosera/config.h: Added whitespace.
1007         * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
1008           these files got moved into Drosera.h/cpp
1009         * Drosera/win/DebuggerApplication.h: Removed.
1010         * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring 
1011           happened here to better match the logic flow of the same code on the 
1012           mac side and to use the new ServerConnection class.
1013         (DebuggerClient::DebuggerClient): Constructor that takes a server name.
1014         (DebuggerClient::initWithServerName): Initializer that will set up the
1015           class to use a ServerConnection object.  This was necessary so I could
1016           create a DebuggerClient without having to initilaize it at
1017           construction.
1018         (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
1019           will be the UIDelegate and FrameLoadDelegate.
1020         (DebuggerClient::AddRef): For IUnknown.
1021         (DebuggerClient::Release): For IUnknown.
1022         (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
1023           this still needs to set the global context of the server, but
1024           IWebFrame does not have an accessor for the global context yet. 
1025         (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
1026           this is a pass through for the same function in the document.
1027         (DebuggerClient::didReceiveTitle): Unimplemented part of
1028           FrameLoadDelegate this would change the title of the window.
1029         (DebuggerClient::createWebViewWithRequest): Part of the
1030           FrameLoadDelegate.  This is about new windows via Window.open() and
1031           how their delegates are set.
1032         (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
1033           UIDelegate.  Just a debug function for printing messages.
1034         * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
1035           because the Client should be the UIDelegate and FrameLoadDelegate
1036           to match the delegates on mac.
1037         (DebuggerClient::webViewLoaded): Added accessor method.
1038         * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
1039           forgotten to add this file before.  This is where the platform
1040           dependent versions of the Documents functions live. Most of these are
1041           unimplemented because some piece of functionality does not exist on
1042           Windows yet.
1043         (DebuggerDocument::platformPause):
1044         (DebuggerDocument::platformResume):
1045         (DebuggerDocument::platformStepInto):
1046         (DebuggerDocument::platformEvaluateScript):
1047         (DebuggerDocument::getPlatformCurrentFunctionStack):
1048         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1049         (DebuggerDocument::platformValueForScopeVariableNamed):
1050         (DebuggerDocument::platformLog):
1051         * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
1052           responsibilities becaue they belong in the Client. Also I laid the
1053           groundwork for attaching Drosera to a WebKit process
1054         (attachWndProc): Now if a server is selected the Client becomes it's
1055           delegate.
1056         (Drosera::Drosera): Added the construction of the Client and dictionary
1057           of server names. 
1058         (Drosera::initUI): This is no longer the delegates, the Client is.
1059         (Drosera::webViewLoaded): Now asks the Client instead of holding local
1060           state. 
1061         (Drosera::applicationDidFinishLaunching): Placeholder for needed
1062           notification registration when it's possible to implement.
1063         (Drosera::serverLoaded): Ditto
1064         (Drosera::serverUnloaded): Ditto
1065         (Drosera::attach): Attach Drosera to the WebKit server.
1066         * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
1067         (Drosera::getInst): 
1068         (Drosera::setInst):
1069         (Drosera::knownServers):
1070         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
1071           and added the ServerConnection.
1072         * Drosera/win/DroseraPrefix.h: Added an ifndef check.
1073         * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
1074           Most of the functions are completely unimlemented because they cannot
1075           connect with the WebKit server, because one does not exist on Windows
1076           yet.
1077         (ServerConnection::initWithServerName): 
1078         (ServerConnection::~ServerConnection):
1079         (ServerConnection::setGlobalContext):
1080         (ServerConnection::pause):
1081         (ServerConnection::resume):
1082         (ServerConnection::stepInto):
1083         (ServerConnection::switchToServerNamed):
1084         (ServerConnection::applicationTerminating):
1085         (ServerConnection::serverConnectionDidDie):
1086         (ServerConnection::currentFrame):
1087         * Drosera/win/ServerConnection.h: Added. Ditto.
1088         (ServerConnection::ServerConnection):
1089
1090 2007-10-19  Alice Liu  <alice.liu@apple.com>
1091
1092         Reviewed by Darin.
1093
1094         Fix for these broken layout tests on Windows:
1095         
1096         fast/forms/focus-selection-input.html
1097         fast/forms/focus-selection-textarea.html
1098         fast/forms/select-accesskey.html
1099         
1100         * DumpRenderTree/win/EventSender.cpp:
1101         (keyDownCallback):
1102         correct the VK code for alt key.
1103         
1104 2007-10-19  Eric Seidel  <eric@webkit.org>
1105
1106         Reviewed by Mark Rowe.
1107         
1108         Make the GtkLauncher code slightly more readable.
1109
1110         * GtkLauncher/main.cpp:
1111         (setupMainMenu): Added.
1112         (setupMainWindowUI): Added.
1113         (main):
1114
1115 2007-10-19  Maciej Stachowiak  <mjs@apple.com>
1116
1117         Rubber stamped by Adam.
1118         
1119         - don't delay-load WebKit in DumpRenderTree.
1120
1121         * DumpRenderTree/win/DumpRenderTree.vcproj:
1122
1123 2007-10-18  Dan Bernstein  <dan.bernstein@apple.com>
1124
1125         Reviewed by Adam Roben.
1126
1127         - fix <rdar://problem/5313523>
1128         REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
1129
1130         * DumpRenderTree/mac/DumpRenderTree.mm:
1131         (dump): Changed to use _responseMIMEType.
1132
1133 2007-10-17  Adam Roben  <aroben@apple.com>
1134
1135         Make it possible to have Windows-specific tests and results
1136
1137         When searching for tests to run and the Skipped file, we will only
1138         look in platform/win and the cross-platform directory. When looking
1139         for expected results, we will look in platform/win, then
1140         platform/mac-leopard, then platform/mac, then finally the
1141         cross-platform directory.
1142
1143         Reviewed by Sam.
1144
1145         * Scripts/run-webkit-tests:
1146         (sub expectedDirectoryForTest): Search in mac-leopard and mac before
1147         searching in the cross-platform directory.
1148         (sub buildPlatformHierarchy): Removed some unneeded calls to
1149         dirname/basename.
1150
1151 2007-10-17  Adam Roben  <aroben@apple.com>
1152
1153         Add back the call to register WebKit that we had before WebKitInitializer existed
1154
1155         This is needed to ensure that the right WebKit is used when
1156         instantiating COM objects.
1157
1158         Reviewed by Oliver.
1159
1160         * DumpRenderTree/win/debug_internal.vsprops: Define
1161         DEBUG_WEBKIT_HAS_SUFFIX.
1162         * DumpRenderTree/win/DumpRenderTree.cpp:
1163         (initialize):
1164
1165 2007-10-17  Adam Roben  <aroben@apple.com>
1166
1167         Import File::Basename in webkitdirs since we use it
1168
1169         * Scripts/webkitdirs.pm:
1170
1171 2007-10-17  Kevin McCullough  <kmccullough@apple.com>
1172
1173         - Updated the tiger leaks list to make the internal bots green.
1174
1175         * Scripts/run-webkit-tests:
1176
1177 2007-10-17  Adam Roben  <aroben@apple.com>
1178
1179         Build fix for VC++ Express
1180
1181         * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
1182         and ole32.lib.
1183
1184 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
1185
1186         Reviewed by Sam.
1187
1188         - Minor mac improvements based on observations I made while implementing the
1189         Windows code.
1190
1191         * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
1192         then hand it to the Client who will retain it, it should just be the client who
1193         creates and owns the server.
1194         (-[DebuggerApplication attach:]):
1195         * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
1196         * Drosera/mac/DebuggerClient.mm: Creates the server.
1197         (-[DebuggerClient initWithServerName:]):
1198         * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
1199         can instead forward declare what it needs.
1200
1201 2007-10-16  Darin Adler  <darin@apple.com>
1202
1203         Reviewed by Geoff Garen.
1204
1205         * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
1206         want to turn failing tests into platform-specific test results. Also did a
1207         number of tweaks, including fixing a potential bug where expectedDirectoryForTest
1208         would take the type of results into account only some of the time.
1209
1210 2007-10-16  Adam Roben  <aroben@apple.com>
1211
1212         Add a new nightly launcher script for Windows
1213
1214         This new script is for versions of Safari that don't delay-load
1215         WebKit. I had to make FindSafari be able to print out the nightly
1216         launcher script on stdout because Windows shell scripts can't capture
1217         the output from a command into an environment variable.
1218
1219         Reviewed by Steve.
1220
1221         * FindSafari/FindSafari.cpp:
1222         (_tmain): Added /printSafariLauncher option.
1223         * Scripts/run-webkit-nightly.cmd: Added.
1224
1225 2007-10-16  Adam Roben  <aroben@apple.com>
1226
1227         Replace WebKitInitializer with FindSafari
1228
1229         We now rely on setting the PATH environment variable to tell Windows
1230         where to find WebKit and its dependencies (similar to
1231         DYLD_FRAMEWORK_PATH on Mac).
1232
1233         This change also make DumpRenderTree no longer delay-load WebKit.
1234
1235         Reviewed by Sam.
1236
1237         * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
1238         FindSafari.
1239         * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
1240         * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
1241         WebKitInitializer, don't delay-load WebKit.
1242         * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
1243         * Scripts/run-webkit-tests: Ditto.
1244         * Scripts/webkitdirs.pm:
1245         (sub setPathForRunningWebKitApp): Added.
1246         * WebKitInitializer/WebKitInitializer.cpp: Removed.
1247         * WebKitInitializer/WebKitInitializer.h: Removed.
1248         * WebKitInitializer/WebKitInitializer.vcproj: Removed.
1249         * WebKitInitializer/debug.vsprops: Removed.
1250         * WebKitInitializer/debug_internal.vsprops: Removed.
1251         * WebKitInitializer/release.vsprops: Removed.
1252
1253 2007-10-16  Adam Roben  <aroben@apple.com>
1254
1255         Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
1256
1257         http://bugs.webkit.org/show_bug.cgi?id=15532
1258
1259         FindSafari simply prints the location of an installed Safari.exe on
1260         stdout.
1261
1262         Reviewed by Darin.
1263
1264         * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
1265         (getStringValue):
1266         (getWebViewCLSID):
1267         (getInstalledWebKitDirectory):
1268         (_tmain):
1269         * FindSafari/FindSafari.vcproj: Added.
1270         * Scripts/webkitdirs.pm:
1271         (sub installedSafariPath): Added. Calls FindSafari on Windows.
1272
1273 2007-10-16  Adam Roben  <aroben@apple.com>
1274
1275         Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
1276
1277         Reviewed by Kevin McCullough.
1278
1279         * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
1280         when referring to WebKit.dll.
1281         * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
1282         * DumpRenderTree/win/debug_internal.vsprops: Ditto.
1283         * DumpRenderTree/win/release.vsprops: Ditto.
1284         * Scripts/run-safari: Don't pass /debug to Safari anymore because we
1285         never have a _debug suffix on WebKit.dll.
1286         * WebKitInitializer/WebKitInitializer.cpp:
1287         (initializeWebKit): Only use the _debug suffix for WebKit.dll when
1288         specified.
1289         * WebKitInitializer/debug_internal.vsprops: Added
1290         DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
1291
1292 2007-10-16  Darin Adler  <darin@apple.com>
1293
1294         Reviewed by Adele.
1295
1296         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
1297         Remove now-unneeded control/alt key hack; the tests have been updated.
1298
1299 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
1300
1301         - Updated leaks list because our internal bot upgraded it's version of leopard and 
1302         one of the leaks was fixed between that revision and the bot's previous version of
1303         leopard.
1304
1305         * Scripts/run-webkit-tests:
1306
1307 2007-10-15  Kevin McCullough  <kmccullough@apple.com>
1308
1309         Reviewed by Tim.
1310
1311         - I encapsulated out the server connecton functionality because it is a specific part
1312         of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
1313         into WebCore and C++.  But if it is encapsulated out it can be easily replaced on
1314         Windows.  So the majority of this patch is moving preexisting functionality.
1315
1316         - Also I removed the prefix header and changed to use config.h because it is more
1317         standard on how we use config.h in windows and it didn't make much sense to keep
1318         the prefix header and the config.h
1319
1320         * Drosera/DebuggerDocument.cpp:
1321         (DebuggerDocument::DebuggerDocument):
1322         * Drosera/DebuggerDocument.h:
1323         * Drosera/config.h:
1324         * Drosera/mac/DebuggerApplication.mm:
1325         (-[DebuggerApplication attach:]):
1326         * Drosera/mac/DebuggerClient.h:
1327         * Drosera/mac/DebuggerClient.mm:
1328         (-[DebuggerClient initWithServerConnection:]):
1329         (-[DebuggerClient dealloc]):
1330         (-[DebuggerClient windowDidLoad]):
1331         (-[DebuggerClient windowWillClose:]):
1332         (-[DebuggerClient webView:didFinishLoadForFrame:]):
1333         (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
1334         * Drosera/mac/DebuggerDocumentPlatform.mm:
1335         (DebuggerDocument::platformPause):
1336         (DebuggerDocument::platformResume):
1337         (DebuggerDocument::platformStepInto):
1338         (DebuggerDocument::platformEvaluateScript):
1339         (DebuggerDocument::getPlatformCurrentFunctionStack):
1340         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1341         (DebuggerDocument::platformValueForScopeVariableNamed):
1342         (DebuggerDocument::platformLog):
1343         * Drosera/mac/Drosera.pch: Removed.
1344         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1345         * Drosera/mac/ServerConnection.h: Added.
1346         * Drosera/mac/ServerConnection.mm: Added.
1347         (-[ServerConnection initWithServerName:]):
1348         (-[ServerConnection dealloc]):
1349         (-[ServerConnection setGlobalContext:]):
1350         (-[ServerConnection pause]):
1351         (-[ServerConnection resume]):
1352         (-[ServerConnection stepInto]):
1353         (-[ServerConnection switchToServerNamed:]):
1354         (-[ServerConnection applicationTerminating:]):
1355         (-[ServerConnection serverConnectionDidDie:]):
1356         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
1357         (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1358         (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
1359         (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1360         (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1361         (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1362         (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1363         (-[ServerConnection currentFrame]):
1364         (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
1365         (-[ServerConnection knownServers]):
1366
1367 2007-10-15  David Kilzer  <ddkilzer@webkit.org>
1368
1369         Reviewed by Eric.
1370
1371         - fix http://bugs.webkit.org/show_bug.cgi?id=15002
1372           Script to automatically search nightly builds for regressions (bisect-builds)
1373
1374         * Scripts/bisect-builds: Added.
1375
1376 2007-10-14  Maciej Stachowiak  <mjs@apple.com>
1377
1378         Reviewed by Darin.
1379
1380         - New JavaScript benchmark
1381         http://bugs.webkit.org/show_bug.cgi?id=15515
1382
1383         * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
1384         current development or release build of JavaScriptCore.
1385
1386 2007-10-15  Mark Rowe  <mrowe@apple.com>
1387
1388         Reviewed by Sam.
1389
1390         Fix 'run-webkit-tests --qt' complaining about the --qt argument.
1391
1392         * Scripts/webkitdirs.pm:
1393         - Change checkArgv to remove the options from @ARGV to prevent
1394         them from interfering with further option processing.
1395         - Fix logic error in determineIsQt that would prevent it from bailing out early.
1396         - Change isOSX to mean OS X and not Qt or Gtk.  Most of our uses of isOSX assume that this is the meaning
1397         already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
1398         incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
1399
1400 2007-10-15  Darin Adler  <darin@apple.com>
1401
1402         Reviewed by Sam.
1403
1404         - added logging of window.prompt and window.confirm
1405
1406         * DumpRenderTree/mac/UIDelegate.mm:
1407         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
1408         Implement the recommended delegate rather than the deprecated one.
1409         (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
1410         Added.
1411         (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
1412         Added.
1413
1414         * DumpRenderTree/win/UIDelegate.h:
1415         * DumpRenderTree/win/UIDelegate.cpp:
1416         (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
1417         (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
1418         (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
1419         (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
1420
1421 2007-10-15  Alice Liu  <alice.liu@apple.com>
1422
1423         Reviewed by Sam Weinig.
1424
1425         Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
1426
1427         * DumpRenderTree/win/DumpRenderTree.cpp:
1428         (runTest): Like on mac, before running each test, set the webview's policy delegate to null
1429         (main): allocate the global policy delegate for DRT's custom use
1430         * DumpRenderTree/win/DumpRenderTree.vcproj:
1431         Adding files to project
1432         * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
1433         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1434         (LayoutTestController::setCustomPolicyDelegate):
1435         set the webview's policy delegate to DRT's custom one if the test requests it.
1436         * DumpRenderTree/win/PolicyDelegate.cpp: Added.
1437         Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
1438         (PolicyDelegate::PolicyDelegate):
1439         (PolicyDelegate::QueryInterface):
1440         (PolicyDelegate::AddRef):
1441         (PolicyDelegate::Release):
1442         (PolicyDelegate::decidePolicyForNavigationAction):
1443         * DumpRenderTree/win/PolicyDelegate.h: Added.
1444         (PolicyDelegate::decidePolicyForNewWindowAction):
1445         (PolicyDelegate::decidePolicyForMIMEType):
1446         (PolicyDelegate::unableToImplementPolicyWithError):
1447
1448 2007-10-14  Holger Hans Peter Freyther  <zecke@selfish.org>
1449
1450         Reviewed by Mark.
1451
1452         * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
1453         when querying for QMAKE_MKSPECS.
1454
1455 2007-10-14  Andrew Wellington  <proton@wiretapped.net>
1456
1457         Reviewed by Adam Roben.
1458         
1459         Fix run-webkit-tests is too greedy calculating platform hierarchy
1460         http://bugs.webkit.org/show_bug.cgi?id=15465
1461         
1462         Fix run-webkit-tests being too greedy in trying to split the platform name up
1463         causing it to try and find tests in every directory above the first "-" in the
1464         path to the LayoutTests
1465
1466         * Scripts/run-webkit-tests:
1467
1468 2007-10-14  Oleg Sukhodolsky <son.two@gmail.com>
1469
1470         Reviewed by Darin.
1471
1472         http://bugs.webkit.org/show_bug.cgi?id=15006
1473         Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
1474         to reduce code duplication.
1475
1476         * Scripts/build-webkit:
1477         * Scripts/webkitdirs.pm:
1478         buildQMakeProject() renamed to buildQMakeQtProject().
1479         buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
1480         unused $colorize has been removed.
1481
1482 === Start merge of feature-branch 2007-10-12 ===
1483
1484 2007-10-08  Eric Seidel  <eric@webkit.org>
1485
1486         Reviewed by Mark Rowe.
1487
1488         * Scripts/build-webkit: add --help, remove unused --color
1489
1490 2007-10-07  Eric Seidel  <eric@webkit.org>
1491
1492         Reviewed by darin.
1493
1494         * Drosera/mac/DebuggerDocumentPlatform.mm:
1495         (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
1496
1497 2007-10-03  Rob Buis  <buis@kde.org>
1498
1499         Reviewed by Olliej.
1500
1501         Adapt to changed location of Ahem font.
1502
1503         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1504
1505 2007-10-02  Eric Seidel  <eric@webkit.org>
1506
1507         Reviewed by Adam Roben.
1508         
1509         Make pixel tests more useful!
1510         Finally fix the image diff 0.00% mystery problem
1511         Highlight any image differences in the image diff.
1512         Add a link from image diffs back to original test file.
1513
1514         * DumpRenderTree/mac/ImageDiff.m:
1515         (compareImages): highlight any differences
1516         (computePercentageDifferent): round to two decimal places
1517         * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
1518
1519 2007-10-02  Eric Seidel  <eric@webkit.org>
1520
1521         Reviewed by Alexey Proskuryakov.
1522
1523         * Scripts/run-webkit-tests: print the % image difference on main results page
1524
1525 2007-10-02  Mark Rowe  <mrowe@apple.com>
1526
1527         Reviewed by Oliver.
1528
1529         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1530
1531         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1532         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1533
1534 2007-10-01  Mark Rowe  <mrowe@apple.com>
1535
1536         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1537
1538 2007-09-25  Eric Seidel  <eric@webkit.org>
1539
1540         Reviewed by Mark Rowe.
1541         
1542         DerivedSources.make was finding "ENABLE_SVG" in the string
1543         "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
1544         quite correctly.
1545
1546         * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
1547
1548 2007-09-25  Mark Rowe  <mrowe@apple.com>
1549
1550         Rubber-stamped by Eric.
1551
1552         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1553         This makes it possible to automate nightly builds for the feature-branch.
1554
1555 2007-07-11  Nikolas Zimmermann  <zimmermann@kde.org>
1556
1557         Rubber stamped by Mark.
1558
1559         Enable svg experimental features as default here in feature-branch.
1560
1561         * Scripts/build-webkit:
1562
1563 2007-06-29  Antti Koivisto  <antti@apple.com>
1564
1565         Reviewed by Weinig.
1566         
1567         Add VIDEO flag for timed media features
1568
1569         * Scripts/build-webkit
1570         
1571 === End merge of feature-branch 2007-10-12 ===
1572
1573 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
1574
1575         Reviewed by Darin.
1576
1577         - Updated rational for the leaks list to be more clear.
1578
1579         * Scripts/run-webkit-tests:
1580
1581 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
1582
1583         Rubber Stamp by Sam.
1584
1585         Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
1586         I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
1587
1588         * Scripts/run-webkit-tests:
1589
1590 2007-10-10  Simon Hausmann  <hausmann@kde.org>
1591
1592         Reviewed by Lars.
1593
1594         Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
1595         includes are needed for INT_MAX, std::auto_ptr and the like.
1596
1597         * DumpRenderTree/qt/main.cpp:
1598
1599 2007-10-09  Lars Knoll  <lars@trolltech.com>
1600
1601         Reviewed by Simon.
1602
1603         implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
1604
1605         * DumpRenderTree/qt/jsobjects.cpp:
1606         (LayoutTestController::encodeHostName):
1607         (LayoutTestController::decodeHostName):
1608         * DumpRenderTree/qt/jsobjects.h:
1609
1610 2007-10-09  Lars Knoll  <lars@trolltech.com>
1611
1612         Reviewed by Simon.
1613
1614         Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT.
1615
1616         * DumpRenderTree/qt/DumpRenderTree.cpp:
1617         (WebCore::WebPage::createFrame):
1618         (WebCore::DumpRenderTree::DumpRenderTree):
1619         (WebCore::DumpRenderTree::titleChanged):
1620         * DumpRenderTree/qt/DumpRenderTree.h:
1621         * DumpRenderTree/qt/jsobjects.cpp:
1622         (LayoutTestController::reset):
1623         * DumpRenderTree/qt/jsobjects.h:
1624
1625 2007-10-09  Lars Knoll  <lars@trolltech.com>
1626
1627         Reviewed by Simon.
1628
1629         add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
1630
1631         * DumpRenderTree/qt/DumpRenderTree.h:
1632         * DumpRenderTree/qt/jsobjects.cpp:
1633         (LayoutTestController::clearBackForwardList):
1634         * DumpRenderTree/qt/jsobjects.h:
1635
1636 2007-10-09  Lars Knoll  <lars@trolltech.com>
1637
1638         Reviewed by Simon.
1639
1640         make --git-reviewer work again.
1641
1642         * Scripts/prepare-ChangeLog:
1643
1644 2007-10-07  Holger Hans Peter Freyther  <zecke@selfish.org>
1645
1646         Rubber stamped by Eric.
1647
1648         Connect to the "hovering-over-link" signal emitted by WebKitPage and
1649         show the current link inside the statusbar.
1650         This shows how to make use of this signal and allows to easily test
1651         http://bugs.webkit.org/show_bug.cgi?id=15299.
1652
1653         * GtkLauncher/main.cpp:
1654         (hoveringOverLink):
1655         (main):
1656
1657 2007-10-05  Lars Knoll  <lars@trolltech.com>
1658
1659         add proper error messages to the FrameLoaderClient.
1660         Implement ChromeClientQt::closeWindowSoon and
1661         FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1662         Some fixes in DRT to make it work correctly with multiple windows.
1663
1664         Reviewed by Maciej.
1665
1666         * DumpRenderTree/qt/DumpRenderTree.cpp:
1667         (WebCore::DumpRenderTree::DumpRenderTree):
1668         (WebCore::DumpRenderTree::createWindow):
1669         (WebCore::DumpRenderTree::windowCount):
1670         * DumpRenderTree/qt/DumpRenderTree.h:
1671         * DumpRenderTree/qt/jsobjects.cpp:
1672         (LayoutTestController::maybeDump):
1673         (LayoutTestController::windowCount):
1674         * DumpRenderTree/qt/jsobjects.h:
1675
1676 2007-10-05  Lars Knoll  <lars@trolltech.com>
1677
1678         Add a dummy plugin to DRT  to fix fast/dom/Window/Plug-Ins.html.
1679         Add support for layoutTextController.setCanOpenWindows() to DRT
1680         fixing another 2 test cases in fast/dom/Window.
1681
1682         Reviewed by Maciej.
1683
1684         * DumpRenderTree/qt/DumpRenderTree.cpp:
1685         (WebCore::WebPage::WebPage):
1686         (WebCore::WebPage::createWindow):
1687         (WebCore::DumpRenderTree::resetJSObjects):
1688         (WebCore::DumpRenderTree::createWindow):
1689         * DumpRenderTree/qt/DumpRenderTree.h:
1690         * DumpRenderTree/qt/DumpRenderTree.pro:
1691         * DumpRenderTree/qt/jsobjects.cpp:
1692         (LayoutTestController::LayoutTestController):
1693         (LayoutTestController::reset):
1694         * DumpRenderTree/qt/jsobjects.h:
1695         * DumpRenderTree/qt/main.cpp:
1696         * DumpRenderTree/qt/testplugin.cpp: Added.
1697         * DumpRenderTree/qt/testplugin.h: Added.
1698
1699 2007-10-04  Sam Weinig  <sam@webkit.org>
1700
1701         Rubber stamped by Adam.
1702
1703         Remove empty directories.
1704
1705         * DumpRenderTree/DumpRenderTree.qtproj: Removed.
1706         * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
1707
1708 2007-10-03  Darin Adler  <darin@apple.com>
1709
1710         Reviewed by Adam.
1711
1712         * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
1713         we find the internal libraries in the libraries directory. This
1714         is helpful for Safari team engineers at Apple.
1715
1716 2007-10-03  Adam Roben  <aroben@apple.com>
1717
1718         Update the location of AHEM___.TTF after r25968
1719
1720         Reviewed by Sam.
1721
1722         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1723
1724 2007-10-03  Alp Toker  <alp@atoker.com>
1725
1726         Reviewed by Adam.
1727
1728         http://bugs.webkit.org/show_bug.cgi?id=14726
1729         [gtk] API design. Mapping the WebView delegates to signals.
1730
1731         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
1732
1733         * GtkLauncher/main.cpp:
1734         (goToURLBarText):
1735         (titleChanged):
1736         (progressChanged):
1737         (menuMainBackCallback):
1738         (menuMainForwardCallback):
1739         (main):
1740
1741 2007-10-03  Lars Knoll  <lars@trolltech.com>
1742
1743         Reviewed by Rob.
1744
1745         This fixes --strict mode in run-webkit-tests again after
1746         the platform dependent test results have been moved.
1747
1748         * Scripts/run-webkit-tests:
1749
1750 2007-10-03  Lars Knoll  <lars@trolltech.com>
1751
1752         Reviewed by bdash.
1753
1754         remove the hack in run-webkit-tests that forced text only test
1755         to be taken from the platform independent dir. It was only left
1756         there from early days.
1757         
1758         Remove platform dependent results for tests that are text only nowadays,
1759         and add one platform dependent result for a text only test that requires it.
1760
1761         * Scripts/run-webkit-tests:
1762
1763 2007-10-03  Lars Knoll  <lars@trolltech.com>
1764
1765         Reviewed by olliej.
1766
1767         Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
1768
1769         * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
1770         (WebCore::WebFrame::WebFrame):
1771         (WebCore::WebPage::WebPage):
1772         (WebCore::WebPage::createFrame):
1773         (WebCore::WebPage::javaScriptAlert):
1774         (WebCore::WebPage::javaScriptConsoleMessage):
1775         (WebCore::DumpRenderTree::DumpRenderTree):
1776         (WebCore::DumpRenderTree::~DumpRenderTree):
1777         (WebCore::DumpRenderTree::open):
1778         (WebCore::DumpRenderTree::readStdin):
1779         (WebCore::DumpRenderTree::resetJSObjects):
1780         (WebCore::DumpRenderTree::initJSObjects):
1781         (WebCore::DumpRenderTree::dumpFramesAsText):
1782         (WebCore::DumpRenderTree::dump):
1783         * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
1784         (WebCore::DumpRenderTree::layoutTestController):
1785         (WebCore::DumpRenderTree::eventSender):
1786         * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
1787         * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
1788         * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
1789         * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
1790         (HackWebFrame::mousePressEvent):
1791         (HackWebFrame::mouseReleaseEvent):
1792         (HackWebFrame::mouseMoveEvent):
1793         (HackWebFrame::HackWebFrame):
1794         (HackWebFrame::~HackWebFrame):
1795         (LayoutTestController::LayoutTestController):
1796         (LayoutTestController::reset):
1797         (LayoutTestController::maybeDump):
1798         (LayoutTestController::waitUntilDone):
1799         (LayoutTestController::notifyDone):
1800         (LayoutTestController::dumpEditingCallbacks):
1801         (LayoutTestController::queueReload):
1802         (LayoutTestController::provisionalLoad):
1803         (LayoutTestController::timerEvent):
1804         (EventSender::EventSender):
1805         (EventSender::mouseDown):
1806         (EventSender::mouseUp):
1807         (EventSender::mouseMoveTo):
1808         (EventSender::leapForward):
1809         (EventSender::keyDown):
1810         (EventSender::frameUnderMouse):
1811         * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
1812         (LayoutTestController::isLoading):
1813         (LayoutTestController::setLoading):
1814         (LayoutTestController::shouldDumpAsText):
1815         (LayoutTestController::shouldDumpChildrenAsText):
1816         (LayoutTestController::shouldWaitUntilDone):
1817         (LayoutTestController::dumpAsText):
1818         (LayoutTestController::dumpChildFramesAsText):
1819         * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
1820         (messageHandler):
1821         (crashHandler):
1822         (main):
1823         * Scripts/run-webkit-tests:
1824
1825 2007-10-03  Mark Rowe  <mrowe@apple.com>
1826
1827         Reviewed by Alp Toker.
1828
1829         Fix build-webkit when both QTDIR and --gtk are set.  The presence of --gtk
1830         should take precedence over QTDIR when determining which port we are working with.
1831
1832         * Scripts/webkitdirs.pm: 
1833
1834 2007-10-02  Adam Roben  <aroben@apple.com>
1835
1836         Add keychain to the list of default packages to install
1837
1838         Rubberstamped by Sam.
1839
1840         * CygwinDownloader/cygwin-downloader.py:
1841         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
1842
1843 2007-10-02  David Kilzer  <ddkilzer@webkit.org>
1844
1845         Reviewed by Adam.
1846
1847         Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
1848         Also makes WebCore regression test case logic work when using git.
1849
1850         * Scripts/prepare-ChangeLog:
1851         (reviewerAndDescriptionForGitCommit): Added.
1852
1853 2007-10-02  Lars Knoll  <lars@trolltech.com>
1854
1855         Reviewed by bdash.
1856
1857         Add API to retrieve the frame name from QWebFrame.
1858         Implement support for DRT::dumpChildrenAsText.
1859
1860         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1861         (WebCore::DumpRenderTree::dumpFramesAsText):
1862         (WebCore::DumpRenderTree::dump):
1863         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1864         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1865         (LayoutTestController::LayoutTestController):
1866         (LayoutTestController::reset):
1867         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1868
1869 2007-10-02  Lars Knoll  <lars@trolltech.com>
1870
1871         Reviewed by bdash.
1872
1873         Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1874
1875         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1876         (WebCore::DumpRenderTree::readStdin):
1877
1878 2007-10-02  Mark Rowe  <mrowe@apple.com>
1879
1880         Reviewed by Oliver.
1881
1882         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
1883
1884         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
1885         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
1886
1887 2007-10-02  Mark Rowe  <mrowe@apple.com>
1888
1889         Rubber-stamped by Maciej.
1890
1891         Configuration changes from build.webkit.org.  The major change is refactoring to work
1892         with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
1893         last few weeks.
1894
1895         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
1896         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
1897         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
1898         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
1899         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
1900         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
1901         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1902         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1903
1904 2007-10-02  Lars Knoll  <lars@trolltech.com>
1905
1906         Reviewed by Maciej.
1907
1908         Add support for eventSender.mouseMove to DRT.
1909         Fixes fast/css/hover-affects-child.html
1910
1911         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1912         (EventSender::mouseMoveTo):
1913
1914 2007-10-01  Mark Rowe  <mrowe@apple.com>
1915
1916         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
1917
1918 2007-10-01  David Kilzer  <ddkilzer@webkit.org>
1919
1920         Reviewed by Hyatt.
1921
1922         Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
1923
1924         * Scripts/svn-apply:
1925         (gitdiff2svndiff): Ignore lines beginning with "new file".
1926         * Scripts/svn-unapply:
1927         (gitdiff2svndiff): Ditto.
1928
1929 2007-09-30  George Staikos  <staikos@kde.org>
1930
1931         Qt build fix (Mac OS X specific)
1932
1933         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1934
1935 2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
1936
1937         Reviewed by Mark.
1938
1939         -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
1940         Remove Bakefiles from svn.
1941
1942         * GtkLauncher/Bakefiles.bkgen: Removed.
1943         * GtkLauncher/ENV: Removed.
1944         * GtkLauncher/gdklauncher.bkl: Removed.
1945         * GtkLauncher/mk: Removed.
1946         * Scripts/regenerate-makefiles: Removed.
1947
1948 2007-09-25  Kevin McCullough  <kmccullough@apple.com>
1949
1950         Reviewed by John.
1951
1952         - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
1953
1954         * Scripts/run-webkit-tests:
1955
1956 2007-09-26  Adam Roben  <aroben@apple.com>
1957
1958         Make not finding an installed WebKit non-fatal
1959
1960         What really matters is that we are able to load WebKit and its
1961         dependencies, not whether we think we've found an installed WebKit.
1962
1963         Reviewed by Sam.
1964
1965         * WebKitInitializer/WebKitInitializer.cpp:
1966         (getWebViewCLSID): Use new LOG_WARNING macro.
1967         (getInstalledWebKitDirectory): Ditto.
1968         (initializeWebKit): Don't die if we didn't find an installed WebKit,
1969         and use new macros.
1970         * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
1971
1972 2007-09-26  Adam Roben  <aroben@apple.com>
1973
1974         Committed this file before saving it
1975
1976         * WebKitInitializer/debug_internal.vsprops:
1977
1978 2007-09-26  Adam Roben  <aroben@apple.com>
1979
1980         Load WebKit and its dependencies manually so they come from DllDirectory
1981
1982         I had to change WebKitInitializer to use malloc/free instead of
1983         new/delete to avoid pulling in WebKit (and its dependencies) early
1984         through use of fastMalloc.
1985
1986         Reviewed by Oliver.
1987
1988         * WebKitInitializer/WebKitInitializer.cpp:
1989         (getStringValue): Changed to use malloc/free.
1990         (getInstalledWebKitDirectory): Ditto.
1991         (initializeWebKit): Call SetDllDirectory first, then load all of
1992         WebKit's dependencies manually, finally followed by WebKit itself.
1993         * WebKitInitializer/WebKitInitializer.vcproj: Added a new
1994         configuration to match our other projects.
1995         * WebKitInitializer/debug_internal.vsprops: Added.
1996
1997 2007-09-25  Adam Roben  <aroben@apple.com>
1998
1999         Actually define DEBUG/NDEBUG so that we load WebKit correctly
2000
2001         Rubberstamped by Sam.
2002
2003         * WebKitInitializer/WebKitInitializer.vcproj:
2004
2005 2007-09-25  Adam Roben  <aroben@apple.com>
2006
2007         Make DumpRenderTree delay-load its dependencies
2008
2009         This lets WebKitInitializer re-route the dependencies to be loaded out
2010         of the Safari installation directory.
2011
2012         Also replaced all uses of kCFAllocatorDefault with 0 (which means the
2013         same thing), since we can't import the kCFAllocatorDefault symbol when
2014         delay-loading CoreFoundation.dll.
2015
2016         Rubberstamped by Sam.
2017
2018         * DumpRenderTree/win/DumpRenderTree.cpp:
2019         (runTest):
2020         (javaScriptThreads):
2021         * DumpRenderTree/win/DumpRenderTree.vcproj:
2022         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2023         (LayoutTestController::setWaitToDump):
2024
2025 2007-09-25  Adam Roben  <aroben@apple.com>
2026
2027         Pull ole32.lib into WebKitInitializer
2028
2029         Rubberstamped by Sam.
2030
2031         * WebKitInitializer/WebKitInitializer.vcproj:
2032
2033 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
2034
2035         Reviewed by Adam.
2036
2037         - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2038           LGPL'ed files contain incorrect FSF address
2039
2040         * Drosera/config.h:
2041
2042 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
2043
2044         Reviewed by Adam.
2045
2046         Make svn-apply and svn-unapply work with git-diff formatted patches.
2047
2048         * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
2049         (gitdiff2svndiff): Added.
2050         * Scripts/svn-unapply: Ditto.
2051         (gitdiff2svndiff): Added.
2052
2053 2007-09-25  Adam Roben  <aroben@apple.com>
2054
2055         Pull advapi32.lib into WebKitInitializer
2056
2057         This is needed to get the registry functions we use.
2058
2059         Rubberstamped by Sam.
2060
2061         * WebKitInitializer/WebKitInitializer.vcproj:
2062
2063 2007-09-25  Adam Roben  <aroben@apple.com>
2064
2065         Add python and rsync to cygwin-downloader
2066
2067         Our build slaves need this, and it can't hurt for everyone else to
2068         have it, too.
2069
2070         Reviewed by Sam.
2071
2072         * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
2073         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
2074
2075 2007-09-25  Adam Roben  <aroben@apple.com>
2076
2077         Add WebKitInitializer and use it in DumpRenderTree
2078
2079         WebKitInitializer is a static library that has one function,
2080         initializeWebKit(). This registers WebKit and sets up the DLL search
2081         path so that WebKit's dependencies that are installed with Safari can
2082         be found.
2083
2084         Reviewed by Sam.
2085
2086         * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
2087         DumpRenderTree depend on it.
2088         * DumpRenderTree/win/DumpRenderTree.cpp:
2089         (initialize): Call initializeWebKit.
2090         * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
2091         WebKitInitializer.lib.
2092         * WebKitInitializer/WebKitInitializer.cpp: Added.
2093         (getStringValue):
2094         (getWebViewCLSID):
2095         (getInstalledWebKitDirectory):
2096         (initializeWebKit):
2097         * WebKitInitializer/WebKitInitializer.h: Added.
2098         * WebKitInitializer/WebKitInitializer.vcproj: Added.
2099         * WebKitInitializer/debug.vsprops: Added.
2100         * WebKitInitializer/release.vsprops: Added.
2101
2102 2007-09-25  Adam Roben  <aroben@apple.com>
2103
2104         Make run-webkit-tests respect set-webkit-configuration
2105
2106         Reviewed by Sam.
2107
2108         * Scripts/run-webkit-tests: Initialize $configuration to whatever
2109         set-webkit-configuration was last set to.
2110
2111 2007-09-25  Mark Rowe  <mrowe@apple.com>
2112
2113         Rubber-stamped by Eric.
2114
2115         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
2116         This makes it possible to automate nightly builds for the feature-branch.
2117
2118 2007-09-25  Adam Roben  <aroben@apple.com>
2119
2120         A couple of fixes/enhancements to update-webkit-*-libs
2121
2122         You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
2123         to tell update-webkit-support-libraries where it should find the
2124         WebKitSupportLibrary.zip file you downloaded.
2125
2126         These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
2127         Windows-style path.
2128
2129         Reviewed by Sam.
2130
2131         * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
2132         to $auxiliaryLibsURL and removed an irrelevant comment.
2133         * Scripts/update-webkit-support-libs:
2134
2135 2007-09-25  Adam Treat  <treat@kde.org>
2136
2137         Reviewed by Simon and Lars.
2138
2139         Refactors and cleans up Qt DRT member variable names, member variable
2140         initialization, style fixes and general code cleanup.
2141
2142         Adds queueReload slot to LayoutTestController that some tests require.
2143
2144         Subclasses QWebFrame to make sure that all frames have an associated
2145         LayoutTestController JS window object.
2146
2147         Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
2148         aren't dumped twice.
2149
2150         EOF fixes.
2151
2152         Together, this patch fixes some 20+ layout tests in QtWebKit.
2153
2154         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2155         (WebCore::WebFrame::WebFrame):
2156         (WebCore::WebPage::WebPage):
2157         (WebCore::WebPage::createFrame):
2158         (WebCore::DumpRenderTree::DumpRenderTree):
2159         (WebCore::DumpRenderTree::open):
2160         (WebCore::DumpRenderTree::readStdin):
2161         (WebCore::DumpRenderTree::initJSObjects):
2162         (WebCore::DumpRenderTree::dump):
2163         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2164         (WebCore::DumpRenderTree::layoutTestController):
2165         (WebCore::DumpRenderTree::eventSender):
2166         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2167         (LayoutTestController::LayoutTestController):
2168         (LayoutTestController::reset):
2169         (LayoutTestController::maybeDump):
2170         (LayoutTestController::waitUntilDone):
2171         (LayoutTestController::notifyDone):
2172         (LayoutTestController::queueReload):
2173         (LayoutTestController::provisionalLoad):
2174         (EventSender::EventSender):
2175         (EventSender::mouseDown):
2176         (EventSender::mouseUp):
2177         (EventSender::mouseMoveTo):
2178         (EventSender::frameUnderMouse):
2179         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2180         (LayoutTestController::isLoading):
2181         (LayoutTestController::setLoading):
2182         (LayoutTestController::dumpAsText):
2183         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2184         (main):
2185
2186 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
2187
2188
2189         - Reverted an accidentally checked in file.
2190
2191         * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2192
2193 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
2194         Reviewed by Sam.
2195
2196         - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
2197
2198         * DumpRenderTree/win/DumpRenderTree.vcproj:
2199         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2200
2201 2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
2202
2203         Rubber stamped by Adam.
2204
2205         * GdkLauncher: Removed.
2206         * GdkLauncher/Bakefiles.bkgen: Removed.
2207         * GdkLauncher/ENV: Removed.
2208         * GdkLauncher/GdkLauncher.pro: Removed.
2209         * GdkLauncher/gdklauncher.bkl: Removed.
2210         * GdkLauncher/main.cpp: Removed.
2211         * GdkLauncher/mk: Removed.
2212         * GdkLauncher/simple.svg: Removed.
2213         * GdkLauncher/text.html: Removed.
2214         * GtkLauncher: Added.
2215         * GtkLauncher/GdkLauncher.pro: Removed.
2216         * GtkLauncher/GtkLauncher.pro: Added.
2217         * GtkLauncher/main.cpp:
2218         (updateWindowTitle):
2219         (main):
2220         * Scripts/build-webkit:
2221         * Scripts/regenerate-makefiles:
2222         * Scripts/run-javascriptcore-tests:
2223         * Scripts/run-launcher:
2224         * Scripts/run-webkit-tests:
2225         * Scripts/webkitdirs.pm:
2226
2227 2007-09-21  Timothy Hatcher  <timothy@apple.com>
2228
2229         Reviewed by Darin.
2230
2231         <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
2232
2233         Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
2234         This is tested by plugins/root-object-premature-delete-crash.html.
2235
2236         * DumpRenderTree/mac/ObjCController.m:
2237         (-[ObjCController accessStoredWebScriptObject]):
2238
2239 2007-09-21  Kevin McCullough  <kmccullough@apple.com>
2240
2241         Reviewed by Oliver.
2242
2243         - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
2244
2245         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
2246         (FrameLoadDelegate::FrameLoadDelegate):
2247
2248 2007-09-20  Julien Chaffraix  <julien.chaffraix@gmail.com>
2249
2250         Reviewed by Adam.
2251
2252         Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
2253         webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
2254
2255         Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
2256         Now isQt() and isGdk() use global variables that are only set once.
2257
2258         An array of all the parameters is now given to build-dumprender which includes
2259         the platform on linux.
2260
2261         * Scripts/build-dumprendertree:
2262         * Scripts/run-webkit-tests:
2263         * Scripts/webkitdirs.pm:
2264
2265 2007-09-19  Adam Roben  <aroben@apple.com>
2266
2267         Rubberstamped by Hyatt.
2268
2269         * Spinneret: Removed.
2270
2271 2007-09-19  Tuukka Hastrup  <Tuukka.Hastrup@iki.fi>
2272
2273         Reviewed by David Kilzer.
2274
2275         * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
2276
2277 2007-09-18  Sam Weinig  <sam@webkit.org>
2278
2279         Add JSRetainPtr.h #include to fix some builds.
2280
2281         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2282
2283 2007-09-18  Mike Hommey  <glandium@debian.org>
2284
2285         Reviewed by Adam.
2286
2287         * Scripts/prepare-ChangeLog:
2288         - Properly parse GECOS field.
2289         - Use git configuration for user name and email when appropriate.
2290
2291 2007-09-17  Sam Weinig  <sam@webkit.org>
2292
2293         Build fix.
2294
2295         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2296
2297 2007-09-17  Sam Weinig  <sam@webkit.org>
2298
2299         Reviewed by Adam Roben.
2300
2301         Share more code between mac and windows DRT.
2302             - GCController is now shared.
2303             - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
2304
2305         * DumpRenderTree/GCController.cpp:
2306         * DumpRenderTree/win/DumpRenderTree.cpp:
2307         * DumpRenderTree/win/DumpRenderTree.vcproj:
2308         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
2309         (FrameLoadDelegate::FrameLoadDelegate):
2310         (FrameLoadDelegate::~FrameLoadDelegate):
2311         (FrameLoadDelegate::windowScriptObjectAvailable):
2312         * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
2313         * DumpRenderTree/win/GCController.cpp: Removed.
2314         * DumpRenderTree/win/GCController.h: Removed.
2315         * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
2316         (GCController::collect):
2317         (GCController::collectOnAlternateThread):
2318         (GCController::getJSObjectCount):
2319         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
2320         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
2321
2322 2007-09-17  Sam Weinig  <sam@webkit.org>
2323
2324         Reviewed by Adam Roben.
2325
2326         Begin sharing code between mac and windows DRT.
2327             - both now share LayoutTestController.h/cpp and implement platform dependant 
2328               operations in LayoutTestControllerMac/Win.
2329             - DumpRenderTree.h is now shared.
2330             - WorkQueue and WorkQueueItem are also shared.
2331
2332         * DumpRenderTree/DumpRenderTree.h:
2333         * DumpRenderTree/LayoutTestController.cpp:
2334         * DumpRenderTree/win/DumpRenderTree.cpp:
2335         (displayWebView):
2336         (dumpFrameScrollPosition):
2337         (dumpFramesAsText):
2338         (dump):
2339         (runTest):
2340         * DumpRenderTree/win/DumpRenderTree.h: Removed.
2341         * DumpRenderTree/win/DumpRenderTree.vcproj:
2342         * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
2343         * DumpRenderTree/win/EditingDelegate.cpp:
2344         (EditingDelegate::shouldBeginEditingInDOMRange):
2345         (EditingDelegate::shouldEndEditingInDOMRange):
2346         (EditingDelegate::shouldInsertNode):
2347         (EditingDelegate::shouldInsertText):
2348         (EditingDelegate::shouldDeleteDOMRange):
2349         (EditingDelegate::shouldChangeSelectedDOMRange):
2350         (EditingDelegate::shouldApplyStyle):
2351         (EditingDelegate::shouldChangeTypingStyle):
2352         (EditingDelegate::doPlatformCommand):
2353         (EditingDelegate::webViewDidBeginEditing):
2354         (EditingDelegate::webViewDidChange):
2355         (EditingDelegate::webViewDidEndEditing):
2356         (EditingDelegate::webViewDidChangeTypingStyle):
2357         (EditingDelegate::webViewDidChangeSelection):
2358         * DumpRenderTree/win/LayoutTestController.cpp: Removed.
2359         * DumpRenderTree/win/LayoutTestController.h: Removed.
2360         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
2361         (LayoutTestController::addDisallowedURL):
2362         (LayoutTestController::clearBackForwardList):
2363         (LayoutTestController::copyDecodedHostName):
2364         (LayoutTestController::copyEncodedHostName):
2365         (LayoutTestController::display):
2366         (LayoutTestController::keepWebHistory):
2367         (LayoutTestController::notifyDone):
2368         (LayoutTestController::queueBackNavigation):
2369         (LayoutTestController::queueForwardNavigation):
2370         (jsStringRefToWString):
2371         (LayoutTestController::queueLoad):
2372         (LayoutTestController::queueReload):
2373         (LayoutTestController::queueScript):
2374         (LayoutTestController::setAcceptsEditing):
2375         (LayoutTestController::setCustomPolicyDelegate):
2376         (LayoutTestController::setMainFrameIsFirstResponder):
2377         (LayoutTestController::setTabKeyCyclesThroughElements):
2378         (LayoutTestController::setUseDashboardCompatibilityMode):
2379         (LayoutTestController::setUserStyleSheetEnabled):
2380         (LayoutTestController::setUserStyleSheetLocation):
2381         (LayoutTestController::setWindowIsKey):
2382         (waitUntilDoneWatchdogFired):
2383         (LayoutTestController::setWaitToDump):
2384         (LayoutTestController::windowCount):
2385         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
2386         (FrameLoadDelegate::didReceiveTitle):
2387         (FrameLoadDelegate::processWork):
2388         (FrameLoadDelegate::locationChangeDone):
2389         (FrameLoadDelegate::windowScriptObjectAvailable):
2390         * DumpRenderTree/win/WorkQueue.cpp: Removed.
2391         * DumpRenderTree/win/WorkQueue.h: Removed.
2392         * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
2393         * DumpRenderTree/win/WorkQueueItem.h: Removed.
2394         * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
2395         (jsStringRefToWString):
2396         (LoadItem::invoke):
2397         (ScriptItem::invoke):
2398
2399 2007-09-17  Sam Weinig  <sam@webkit.org>
2400
2401         Reviewed by Adam Roben.
2402
2403         - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
2404
2405         * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
2406         * DumpRenderTree/DumpRenderTree.vcproj: Removed.
2407         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
2408         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
2409         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
2410         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
2411         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
2412         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
2413         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
2414         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
2415         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
2416         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
2417         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
2418         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
2419         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
2420         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
2421         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
2422         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
2423         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
2424         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
2425         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
2426         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
2427         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
2428         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
2429         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
2430         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
2431         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
2432         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
2433         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
2434         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
2435         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
2436         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
2437         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
2438         * DumpRenderTree/win: Added.
2439         * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
2440         * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
2441         * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
2442         * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
2443         * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
2444         * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
2445         * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
2446         * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
2447         * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
2448         * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
2449         * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
2450         * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
2451         * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
2452         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2453         * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
2454         * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
2455         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
2456         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
2457         * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
2458         * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
2459         * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
2460         * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
2461         * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
2462         * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
2463         * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
2464         * Scripts/run-webkit-tests: Update to point to the new location of the sln.
2465
2466 2007-09-15  Mark Rowe  <mrowe@apple.com>
2467
2468         Build fix for DumpRenderTree.
2469
2470         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:  Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2471
2472 2007-09-14  Sam Weinig  <sam@webkit.org>
2473
2474         Rubber stamped by Adam Roben.
2475
2476         Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
2477           - The UIDelegate was put into a new file while the FrameLoadDelegate was
2478             kept in the WaitUntilDoneDelegate file for the time being.
2479
2480         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2481         (main):
2482         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2483         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
2484         (UIDelegate::QueryInterface):
2485         (UIDelegate::AddRef):
2486         (UIDelegate::Release):
2487         (UIDelegate::hasCustomMenuImplementation):
2488         (UIDelegate::setFrame):
2489         (UIDelegate::webViewFrame):
2490         (UIDelegate::runJavaScriptAlertPanelWithMessage):
2491         (UIDelegate::webViewAddMessageToConsole):
2492         (UIDelegate::doDragDrop):
2493         (UIDelegate::webViewGetDlgCode):
2494         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
2495         (UIDelegate::UIDelegate):
2496         (UIDelegate::createWebViewWithRequest):
2497         (UIDelegate::webViewShow):
2498         (UIDelegate::webViewClose):
2499         (UIDelegate::webViewFocus):
2500         (UIDelegate::webViewUnfocus):
2501         (UIDelegate::webViewFirstResponder):
2502         (UIDelegate::makeFirstResponder):
2503         (UIDelegate::setStatusText):
2504         (UIDelegate::webViewStatusText):
2505         (UIDelegate::webViewAreToolbarsVisible):
2506         (UIDelegate::setToolbarsVisible):
2507         (UIDelegate::webViewIsStatusBarVisible):
2508         (UIDelegate::setStatusBarVisible):
2509         (UIDelegate::webViewIsResizable):
2510         (UIDelegate::setResizable):
2511         (UIDelegate::setContentRect):
2512         (UIDelegate::webViewContentRect):
2513         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2514         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2515         (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
2516         (UIDelegate::runOpenPanelForFileButtonWithResultListener):
2517         (UIDelegate::mouseDidMoveOverElement):
2518         (UIDelegate::contextMenuItemsForElement):
2519         (UIDelegate::validateUserInterfaceItem):
2520         (UIDelegate::shouldPerformAction):
2521         (UIDelegate::dragDestinationActionMaskForDraggingInfo):
2522         (UIDelegate::willPerformDragDestinationAction):
2523         (UIDelegate::dragSourceActionMaskForPoint):
2524         (UIDelegate::willPerformDragSourceAction):
2525         (UIDelegate::contextMenuItemSelected):
2526         (UIDelegate::trackCustomPopupMenu):
2527         (UIDelegate::measureCustomMenuItem):
2528         (UIDelegate::drawCustomMenuItem):
2529         (UIDelegate::addCustomMenuDrawingData):
2530         (UIDelegate::cleanUpCustomMenuDrawingData):
2531         (UIDelegate::canTakeFocus):
2532         (UIDelegate::takeFocus):
2533         (UIDelegate::registerUndoWithTarget):
2534         (UIDelegate::removeAllActionsWithTarget):
2535         (UIDelegate::setActionTitle):
2536         (UIDelegate::undo):
2537         (UIDelegate::redo):
2538         (UIDelegate::canUndo):
2539         (UIDelegate::canRedo):
2540         (UIDelegate::webViewResizerRect):
2541         (UIDelegate::webViewDrawResizer):
2542         (UIDelegate::webViewScrolled):
2543         (UIDelegate::webViewShouldInterruptJavaScript):
2544         (UIDelegate::webViewReceivedFocus):
2545         (UIDelegate::webViewLostFocus):
2546         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2547         (FrameLoadDelegate::QueryInterface):
2548         (FrameLoadDelegate::AddRef):
2549         (FrameLoadDelegate::Release):
2550         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2551         (FrameLoadDelegate::didCommitLoadForFrame):
2552         (FrameLoadDelegate::didReceiveTitle):
2553         (FrameLoadDelegate::processWork):
2554         (processWorkTimer):
2555         (FrameLoadDelegate::locationChangeDone):
2556         (FrameLoadDelegate::didFinishLoadForFrame):
2557         (FrameLoadDelegate::didFailLoadWithError):
2558         (FrameLoadDelegate::windowScriptObjectAvailable):
2559         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
2560         (FrameLoadDelegate::FrameLoadDelegate):
2561
2562 2007-09-14  Sam Weinig  <sam@webkit.org>
2563
2564         Reviewed by Kevin McCullough.
2565
2566         Move mac specific globals in to mac/DumpRenderTreeMac.h
2567
2568         * DumpRenderTree/DumpRenderTree.h:
2569         * DumpRenderTree/DumpRenderTree.mm: Removed.
2570         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2571         * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
2572         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2573
2574 2007-09-14  Brady Eidson  <beidson@apple.com>
2575
2576         Rubberstamped by Weinig
2577
2578         You know, Sam, some of us use case-sensitve filesystems...
2579
2580         * DumpRenderTree/DumpRenderTree.h:
2581         * DumpRenderTree/mac/UIDelegate.mm:
2582
2583 2007-09-14  Sam Weinig  <sam@webkit.org>
2584
2585         Rubber stamped by Adam Roben.
2586
2587         - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
2588         - Move mac specific DumpRenderTree files to DumpRenderTree/mac
2589
2590         * DumpRenderTree/AppleScriptController.h: Removed.
2591         * DumpRenderTree/AppleScriptController.m: Removed.
2592         * DumpRenderTree/DumpRenderTree.h:
2593         * DumpRenderTree/DumpRenderTree.mm:
2594         (startJavaScriptThreads):
2595         (stopJavaScriptThreads):
2596         (activateAhemFont):
2597         (setDefaultColorProfileToRGB):
2598         (makeLargeMallocFailSilently):
2599         (dumpFrameScrollPosition):
2600         (dumpFramesAsText):
2601         (dump):
2602         (runTest):
2603         (-[DumpRenderTreeWindow isKeyWindow]):
2604         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2605         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
2606         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
2607         * DumpRenderTree/EditingDelegate.h: Removed.
2608         * DumpRenderTree/EditingDelegate.m: Removed.
2609         * DumpRenderTree/EventSendingController.h: Removed.
2610         * DumpRenderTree/EventSendingController.m: Removed.
2611         * DumpRenderTree/FrameLoadDelegate.h: Removed.
2612         * DumpRenderTree/FrameLoadDelegate.mm: Removed.
2613         * DumpRenderTree/GCController.mm: Removed.
2614         * DumpRenderTree/ImageDiff.m: Removed.
2615         * DumpRenderTree/LayoutTestController.cpp:
2616         (LayoutTestController::LayoutTestController):
2617         (dumpAsTextCallback):
2618         (dumpBackForwardListCallback):
2619         (dumpChildFramesAsTextCallback):
2620         (dumpChildFrameScrollPositionsCallback):
2621         (dumpDOMAsWebArchiveCallback):
2622         (dumpEditingCallbacksCallback):
2623         (dumpFrameLoadCallbacksCallback):
2624         (dumpResourceLoadCallbacksCallback):
2625         (dumpSelectionRectCallback):
2626         (dumpSourceAsWebArchiveCallback):
2627         (dumpTitleChangesCallback):
2628         (repaintSweepHorizontallyCallback):
2629         (setCallCloseOnWebViewsCallback):
2630         (setCanOpenWindowsCallback):
2631         (setCloseRemainingWindowsWhenCompleteCallback):
2632         (testRepaintCallback):
2633         (addFileToPasteboardOnDragCallback):
2634         (waitUntilDoneCallback):
2635         * DumpRenderTree/LayoutTestController.h:
2636         (LayoutTestController::dumpAsText):
2637         (LayoutTestController::setDumpAsText):
2638         (LayoutTestController::dumpBackForwardList):
2639         (LayoutTestController::setDumpBackForwardList):
2640         (LayoutTestController::dumpChildFrameScrollPositions):
2641         (LayoutTestController::setDumpChildFrameScrollPositions):
2642         (LayoutTestController::dumpChildFramesAsText):
2643         (LayoutTestController::setDumpChildFramesAsText):
2644         (LayoutTestController::dumpDOMAsWebArchive):
2645         (LayoutTestController::setDumpDOMAsWebArchive):
2646         (LayoutTestController::dumpSelectionRect):
2647         (LayoutTestController::setDumpSelectionRect):
2648         (LayoutTestController::dumpSourceAsWebArchive):
2649         (LayoutTestController::setDumpSourceAsWebArchive):
2650         (LayoutTestController::dumpTitleChanges):
2651         (LayoutTestController::setDumpTitleChanges):
2652         (LayoutTestController::dumpEditingCallbacks):
2653         (LayoutTestController::setDumpEditingCallbacks):
2654         (LayoutTestController::dumpResourceLoadCallbacks):
2655         (LayoutTestController::setDumpResourceLoadCallbacks):
2656         (LayoutTestController::dumpFrameLoadCallbacks):
2657         (LayoutTestController::setDumpFrameLoadCallbacks):
2658         (LayoutTestController::addFileToPasteboardOnDrag):
2659         (LayoutTestController::setAddFileToPasteboardOnDrag):
2660         (LayoutTestController::callCloseOnWebViews):
2661         (LayoutTestController::setCallCloseOnWebViews):
2662         (LayoutTestController::canOpenWindows):
2663         (LayoutTestController::setCanOpenWindows):
2664         (LayoutTestController::closeRemainingWindowsWhenComplete):
2665         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
2666         (LayoutTestController::testRepaint):
2667         (LayoutTestController::setTestRepaint):
2668         (LayoutTestController::testRepaintSweepHorizontally):
2669         (LayoutTestController::setTestRepaintSweepHorizontally):
2670         (LayoutTestController::waitToDump):
2671         (LayoutTestController::windowIsKey):
2672         * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
2673         * DumpRenderTree/NavigationController.h: Removed.
2674         * DumpRenderTree/NavigationController.m: Removed.
2675         * DumpRenderTree/ObjCController.h: Removed.
2676         * DumpRenderTree/ObjCController.m: Removed.
2677         * DumpRenderTree/ObjCPlugin.h: Removed.
2678         * DumpRenderTree/ObjCPlugin.m: Removed.
2679         * DumpRenderTree/ObjCPluginFunction.h: Removed.
2680         * DumpRenderTree/ObjCPluginFunction.m: Removed.
2681         * DumpRenderTree/PolicyDelegate.h: Removed.
2682         * DumpRenderTree/PolicyDelegate.m: Removed.
2683         * DumpRenderTree/ResourceLoadDelegate.h: Removed.
2684         * DumpRenderTree/ResourceLoadDelegate.m: Removed.
2685         * DumpRenderTree/TextInputController.h: Removed.
2686         * DumpRenderTree/TextInputController.m: Removed.
2687         * DumpRenderTree/UIDelegate.h: Removed.
2688         * DumpRenderTree/UIDelegate.mm: Removed.
2689         * DumpRenderTree/WorkQueueItemMac.mm: Removed.
2690         * DumpRenderTree/mac: Added.
2691         * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
2692         * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
2693         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
2694         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
2695         * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
2696         * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
2697         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2698         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2699         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2700         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2701         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2702         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2703         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2704         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2705         (-[EditingDelegate webViewDidBeginEditing:]):
2706         (-[EditingDelegate webViewDidChange:]):
2707         (-[EditingDelegate webViewDidEndEditing:]):
2708         (-[EditingDelegate webViewDidChangeTypingStyle:]):
2709         (-[EditingDelegate webViewDidChangeSelection:]):
2710         * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
2711         * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
2712         * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
2713         * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
2714         (-[FrameLoadDelegate init]):
2715         (-[FrameLoadDelegate dealloc]):
2716         (-[FrameLoadDelegate processWork:]):
2717         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2718         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2719         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2720         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2721         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2722         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2723         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2724         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2725         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2726         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2727         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2728         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2729         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2730         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2731         (-[FrameLoadDelegate webView:willCloseFrame:]):
2732         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2733         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2734         * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
2735         * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
2736         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
2737         (LayoutTestController::notifyDone):
2738         (LayoutTestController::setWindowIsKey):
2739         (LayoutTestController::setWaitToDump):
2740         * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
2741         * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
2742         * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
2743         * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
2744         * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
2745         * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
2746         * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
2747         * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
2748         * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
2749         * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
2750         * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
2751         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
2752         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2753         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2754         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2755         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2756         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2757         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2758         * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
2759         * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
2760         * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
2761         * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
2762         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2763         (-[UIDelegate webViewFocus:]):
2764         (-[UIDelegate webView:createWebViewWithRequest:]):
2765         (-[UIDelegate webViewClose:]):
2766         * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2767
2768 2007-09-14  Kevin McCullough  <kmccullough@apple.com>
2769
2770         Reviewed by Adam.
2771
2772         - Changing Win version of Drosera work with recent changes.
2773
2774         * Drosera/DebuggerDocument.cpp:
2775         * Drosera/DebuggerDocument.h:
2776         * Drosera/mac/DebuggerDocumentPlatform.mm:
2777         (NSStringCreateWithJSStringRef):
2778         (JSValueRefCreateWithNSString):
2779         * Drosera/win/DebuggerClient.cpp:
2780         (DebuggerClient::stepInto):
2781         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2782
2783 2007-09-13  Kevin McCullough  <kmccullough@apple.com>
2784
2785         Reviewed by Tim.
2786
2787         - Moved isPaused into the JS for efficiency and simplicity.
2788
2789         * Drosera/DebuggerDocument.cpp:
2790         (DebuggerDocument::DebuggerDocument):
2791         (DebuggerDocument::pauseCallback):
2792         (DebuggerDocument::resumeCallback):
2793         (DebuggerDocument::isPaused):
2794         (DebuggerDocument::staticFunctions):
2795         * Drosera/DebuggerDocument.h:
2796         * Drosera/console.js:
2797         * Drosera/debugger.js:
2798         * Drosera/mac/DebuggerClient.mm:
2799         (-[DebuggerClient validateUserInterfaceItem:]):
2800
2801 2007-09-13  Sam Weinig  <sam@webkit.org>
2802
2803         Rubber stamped by Darin.
2804
2805         Make DumpRenderTree more cross platform ready.
2806         - Convert GCController to use the JSCore API instead of the WebScriptObject.
2807         - Use CF types instead of NS objects.
2808         - General cleanup.
2809
2810         * DumpRenderTree/DumpRenderTree.h:
2811         * DumpRenderTree/DumpRenderTree.mm:
2812         (dumpRenderTree):
2813         (dump):
2814         (runTest):
2815         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2816         * DumpRenderTree/EditingDelegate.m:
2817         * DumpRenderTree/FrameLoadDelegate.h:
2818         * DumpRenderTree/FrameLoadDelegate.mm:
2819         (-[FrameLoadDelegate init]):
2820         (-[FrameLoadDelegate dealloc]):
2821         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2822         * DumpRenderTree/GCController.cpp: Added.
2823         (GCController::GCController):
2824         (GCController::~GCController):
2825         (collectCallback):
2826         (collectOnAlternateThreadCallback):
2827         (getJSObjectCountCallback):
2828         (GCController::makeWindowObject):
2829         (GCController::getJSClass):
2830         (GCController::staticFunctions):
2831         * DumpRenderTree/GCController.h:
2832         * DumpRenderTree/GCController.mm:
2833         (GCController::collect):
2834         (GCController::collectOnAlternateThread):
2835         (GCController::getJSObjectCount):
2836         * DumpRenderTree/LayoutTestController.cpp:
2837         (LayoutTestController::makeWindowObject):
2838         (LayoutTestController::getJSClass):
2839         * DumpRenderTree/LayoutTestController.h:
2840         * DumpRenderTree/LayoutTestControllerMac.mm:
2841         (LayoutTestController::addDisallowedURL):
2842         (waitUntilDoneWatchdogFired):
2843         (LayoutTestController::waitUntilDone):
2844         * DumpRenderTree/ResourceLoadDelegate.m:
2845         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2846
2847 2007-09-12  Sam Weinig  <sam@webkit.org>
2848
2849         Reviewed by Stephanie.
2850
2851         Fix leaks in mac DumpRenderTree.
2852
2853         * DumpRenderTree/FrameLoadDelegate.mm:
2854         (-[FrameLoadDelegate init]): Initalize in the correct order.
2855         (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
2856         * DumpRenderTree/LayoutTestController.cpp:
2857         (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
2858         (encodeHostNameCallback): ditto.
2859         * DumpRenderTree/LayoutTestController.h:
2860         * DumpRenderTree/LayoutTestControllerMac.mm:
2861         (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
2862         (LayoutTestController::copyEncodedHostName): ditto
2863         (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2864
2865 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
2866
2867         Reviewed by Geof.
2868
2869         - Updated Leopard leak list to include a leak which appears to be fixed in 9A549 but not the version the bot is on.  This will allow us to get the bot green, but later we should remove it.
2870
2871         * Scripts/run-webkit-tests:
2872
2873 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
2874
2875         Reviewed by Darin.
2876
2877         - Simplified code paths and extracted out functions to increase encapsulation.
2878
2879         * Drosera/DebuggerDocument.cpp:
2880         (DebuggerDocument::breakpointEditorHTMLCallback):
2881         (DebuggerDocument::isPausedCallback):
2882         (DebuggerDocument::pauseCallback):
2883         (DebuggerDocument::resumeCallback):
2884         (DebuggerDocument::stepIntoCallback):
2885         (DebuggerDocument::evaluateScriptCallback):
2886         (DebuggerDocument::currentFunctionStackCallback):
2887         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2888         (DebuggerDocument::valueForScopeVariableNamedCallback):
2889         (DebuggerDocument::logCallback):
2890         * Drosera/DebuggerDocument.h:
2891         (DebuggerDocument::getPaused):
2892         * Drosera/mac/DebuggerClient.mm:
2893         (-[DebuggerClient pause:]):
2894         (-[DebuggerClient resume:]):
2895         (-[DebuggerClient stepInto:]):
2896         (-[DebuggerClient stepOver:]):
2897         (-[DebuggerClient stepOut:]):
2898         (-[DebuggerClient showConsole:]):
2899         (-[DebuggerClient closeCurrentFile:]):
2900         (-[DebuggerClient validateUserInterfaceItem:]):
2901         * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
2902         (+[NSString stringOrNilFromWebScriptResult:]):
2903         (DebuggerDocument::platformPause):
2904         (DebuggerDocument::platformResume):
2905         (DebuggerDocument::platformStepInto):
2906         (DebuggerDocument::platformEvaluateScript):
2907         (DebuggerDocument::getPlatformCurrentFunctionStack):
2908         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2909         (DebuggerDocument::platformValueForScopeVariableNamed):
2910         (DebuggerDocument::platformLog):
2911         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2912
2913 2007-09-12  Sam Weinig  <sam@webkit.org>
2914
2915         Build fix for Buildbot.
2916
2917         * DumpRenderTree/DumpRenderTree.mm:
2918         (dump):
2919
2920 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
2921
2922         Reviewed by Geoff.
2923
2924         - Updated the leaks list for leopard to help identify regressions.
2925
2926         * Scripts/run-webkit-tests:
2927
2928 2007-09-12  Sam Weinig  <sam@webkit.org>
2929
2930         Rubber stamped by Darin.
2931
2932         Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
2933
2934         * DumpRenderTree/DumpRenderTree.h: Re-order variables. 
2935         * DumpRenderTree/DumpRenderTree.m: Removed.
2936         * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
2937         (stopJavaScriptThreads): Fix initialization.
2938         (setDefaultColorProfileToRGB): Add explicit cast from void*.
2939         (dumpRenderTree): Ditto.
2940         (runTest):
2941         Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
2942
2943         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2944         * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
2945         * DumpRenderTree/FrameLoadDelegate.m: Removed.
2946         * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
2947         (-[FrameLoadDelegate init]):
2948         (-[FrameLoadDelegate dealloc]):
2949         (-[FrameLoadDelegate processWork:]):
2950         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
2951         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2952         Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
2953         
2954         * DumpRenderTree/LayoutTestController.cpp: Added.
2955         (LayoutTestController::LayoutTestController):
2956         (LayoutTestController::~LayoutTestController):
2957         (dumpAsTextCallback):
2958         (dumpBackForwardListCallback):
2959         (dumpChildFramesAsTextCallback):
2960         (dumpChildFrameScrollPositionsCallback):
2961         (dumpDOMAsWebArchiveCallback):
2962         (dumpEditingCallbacksCallback):
2963         (dumpFrameLoadCallbacksCallback):
2964         (dumpResourceLoadCallbacksCallback):
2965         (dumpSelectionRectCallback):
2966         (dumpSourceAsWebArchiveCallback):
2967         (dumpTitleChangesCallback):
2968         (repaintSweepHorizontallyCallback):
2969         (setCallCloseOnWebViewsCallback):
2970         (setCanOpenWindowsCallback):
2971         (setCloseRemainingWindowsWhenCompleteCallback):
2972         (testRepaintCallback):
2973         (addFileToPasteboardOnDragCallback):
2974         (addDisallowedURLCallback):
2975         (clearBackForwardListCallback):
2976         (decodeHostNameCallback):
2977         (displayCallback):
2978         (encodeHostNameCallback):
2979         (keepWebHistoryCallback):
2980         (notifyDoneCallback):
2981         (queueBackNavigationCallback):
2982         (queueForwardNavigationCallback):
2983         (queueLoadCallback):
2984         (queueReloadCallback):
2985         (queueScriptCallback):
2986         (setAcceptsEditingCallback):
2987         (setCustomPolicyDelegateCallback):
2988         (setMainFrameIsFirstResponderCallback):
2989         (setTabKeyCyclesThroughElementsCallback):
2990         (setUseDashboardCompatibilityModeCallback):
2991         (setUserStyleSheetEnabledCallback):
2992         (setUserStyleSheetLocationCallback):
2993         (setWindowIsKeyCallback):
2994         (waitUntilDoneCallback):
2995         (windowCountCallback):
2996         (LayoutTestController::makeWindowObject):
2997         (LayoutTestController::getLayoutTestControllerJSClass):
2998         (LayoutTestController::staticFunctions):
2999         * DumpRenderTree/LayoutTestController.h: Replaced.
3000         * DumpRenderTree/LayoutTestController.m: Removed.
3001         * DumpRenderTree/LayoutTestControllerMac.mm: Added.
3002         (LayoutTestController::dumpAsText):
3003         (LayoutTestController::dumpBackForwardList):
3004         (LayoutTestController::dumpChildFramesAsText):
3005         (LayoutTestController::dumpChildFrameScrollPositions):
3006         (LayoutTestController::dumpDOMAsWebArchive):
3007         (LayoutTestController::dumpEditingCallbacks):
3008         (LayoutTestController::dumpFrameLoadCallbacks):
3009         (LayoutTestController::dumpResourceLoadCallbacks):
3010         (LayoutTestController::dumpSelectionRect):
3011         (LayoutTestController::dumpSourceAsWebArchive):
3012         (LayoutTestController::dumpTitleChanges):
3013         (LayoutTestController::repaintSweepHorizontally):
3014         (LayoutTestController::setCallCloseOnWebViews):
3015         (LayoutTestController::setCanOpenWindows):
3016         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
3017         (LayoutTestController::testRepaint):
3018         (LayoutTestController::addFileToPasteboardOnDrag):
3019         (LayoutTestController::addDisallowedURL):
3020         (LayoutTestController::clearBackForwardList):
3021         (LayoutTestController::decodeHostName):
3022         (LayoutTestController::encodeHostName):
3023         (LayoutTestController::display):
3024         (LayoutTestController::keepWebHistory):
3025         (LayoutTestController::notifyDone):
3026         (LayoutTestController::queueBackNavigation):
3027         (LayoutTestController::queueForwardNavigation):
3028         (LayoutTestController::queueLoad):
3029         (LayoutTestController::queueReload):
3030         (LayoutTestController::queueScript):
3031         (LayoutTestController::setAcceptsEditing):
3032         (LayoutTestController::setCustomPolicyDelegate):
3033         (LayoutTestController::setMainFrameIsFirstResponder):
3034         (LayoutTestController::setTabKeyCyclesThroughElements):
3035         (LayoutTestController::setUseDashboardCompatibilityMode):
3036         (LayoutTestController::setUserStyleSheetEnabled):
3037         (LayoutTestController::setUserStyleSheetLocation):
3038         (LayoutTestController::setWindowIsKey):
3039         (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
3040         (LayoutTestController::waitUntilDone):
3041         (LayoutTestController::windowCount):
3042         Use the JSCore API to implement the LayoutTestController.
3043
3044         * DumpRenderTree/ObjCController.h:
3045         * DumpRenderTree/ObjCController.m:
3046         (+[ObjCController isSelectorExcludedFromWebScript:]):
3047         (+[ObjCController webScriptNameForSelector:]):
3048         (-[ObjCController accessStoredWebScriptObject]):
3049         (-[ObjCController storeWebScriptObject:]):
3050         (-[ObjCController dealloc]):
3051         (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
3052         Move WebScriptObject tests to ObjCController.
3053
3054         * DumpRenderTree/UIDelegate.m: Removed.
3055         * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
3056
3057         * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
3058         * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
3059         * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
3060         (WorkQueueItem::~WorkQueueItem):
3061         (LoadItem::LoadItem):
3062         (LoadItem::url):
3063         (LoadItem::target):
3064         (ScriptItem::ScriptItem):
3065         (ScriptItem::script):
3066         * DumpRenderTree/WorkQueueItemMac.mm: Added.
3067         (LoadItem::invoke):
3068         (ReloadItem::invoke):
3069         (ScriptItem::invoke):
3070         (BackForwardItem::invoke):
3071         Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
3072         to avoid conversion until the last possible moment.  These changes will be merged with the windows DRT when we start
3073         sharing code.
3074
3075 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
3076
3077         Reviewed by Maciej.
3078
3079         - Updated Win side to take advantage of the platform separating changes.
3080
3081         * Drosera/DebuggerDocument.cpp:
3082         (DebuggerDocument::localScopeVariableNamesForCallFrame):
3083         * Drosera/DebuggerDocument.h:
3084         * Drosera/win/DebuggerClient.cpp:
3085         (DebuggerClient::pause):
3086         (DebuggerClient::resume):
3087         (DebuggerClient::stepInto):
3088         (DebuggerDocument::platformPause):
3089         (DebuggerDocument::platformResume):
3090         (DebuggerDocument::platformStepInto):
3091         (DebuggerDocument::platformEvaluateScript):
3092         (DebuggerDocument::getPlatformCurrentFunctionStack):
3093         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3094         (DebuggerDocument::platformValueForScopeVariableNamed):
3095         (DebuggerDocument::platformLog):
3096         * Drosera/win/DebuggerClient.h:
3097         * Drosera/win/Drosera.cpp:
3098         (Drosera::Drosera):
3099         (Drosera::windowScriptObjectAvailable):
3100         (Drosera::initWithServerName):
3101         (Drosera::switchToServerNamed):
3102         * Drosera/win/Drosera.h:
3103         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3104
3105 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
3106
3107         Reviewed by Adam.
3108
3109         - Just doing the moves in a separate patch so the changes are easier to see.
3110
3111         * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
3112         * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
3113         * Drosera/win/DebuggerDocumentWin.cpp: Removed.
3114         * Drosera/win/DebuggerDocumentWin.h: Removed.
3115         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3116
3117 2007-09-11  Sven Herzberg  <sven@imendio.com>
3118
3119         Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
3120         http://bugs.webkit.org/show_bug.cgi?id=15176
3121
3122         * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
3123         $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
3124         other paths eg. from jhbuild)
3125
3126 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
3127
3128         Reviewed by Adam.
3129
3130         - Made an order-of-deletion mistake.
3131
3132         * Drosera/DebuggerDocument.h:
3133         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
3134         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
3135         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
3136         * Drosera/mac/DebuggerClient.mm:
3137         (DebuggerDocument::platformPause):
3138         (DebuggerDocument::platformResume):
3139         (DebuggerDocument::platformStepInto):
3140         (DebuggerDocument::platformEvaluateScript):
3141         (DebuggerDocument::getPlatformCurrentFunctionStack):
3142         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3143         (DebuggerDocument::platformValueForScopeVariableNamed):
3144         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3145
3146 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
3147
3148         Reviewed by Darin.
3149
3150         - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
3151
3152         * Drosera/DebuggerDocument.cpp:
3153         (DebuggerDocument::DebuggerDocument):
3154         * Drosera/DebuggerDocument.h:
3155         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
3156         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
3157         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
3158         * Drosera/mac/DebuggerApplication.mm:
3159         (-[DebuggerApplication attach:]):
3160         * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
3161         * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
3162         (DebuggerDocument::platformPause):
3163         (DebuggerDocument::platformResume):
3164         (DebuggerDocument::platformStepInto):
3165         (DebuggerDocument::platformEvaluateScript):
3166         (DebuggerDocument::getPlatformCurrentFunctionStack):
3167         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3168         (DebuggerDocument::platformValueForScopeVariableNamed):
3169         (DebuggerDocument::platformLog):
3170         * Drosera/mac/DebuggerDocumentMac.h: Removed.
3171         * Drosera/mac/DebuggerDocumentMac.mm: Removed.
3172         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3173
3174 2007-09-09  Sam Weinig  <sam@webkit.org>
3175
3176         Reviewed by Mark Rowe.
3177
3178         Remove 'objC' prefix from methods now in the ObjCController. 
3179
3180         * DumpRenderTree/ObjCController.m:
3181         (+[ObjCController isSelectorExcludedFromWebScript:]):
3182         (+[ObjCController webScriptNameForSelector:]):
3183         (-[ObjCController classNameOf:]):
3184         (-[ObjCController objectOfClass:]):
3185         (-[ObjCController identityIsEqual::]):
3186         (-[ObjCController longLongRoundTrip:]):
3187         (-[ObjCController unsignedLongLongRoundTrip:]):
3188
3189 2007-09-09  Sam Weinig  <sam@webkit.org>
3190
3191         Reviewed by Oliver.
3192
3193         Initial refactor of DumpRenderTree in preparation of making it more platform independent. 
3194         - Move LayoutTestController into its own file.
3195         - Move Objective-C only functions on LayoutTestController into a new controller called the
3196           ObjCController. 
3197
3198         * DumpRenderTree/DumpRenderTree.h:
3199         * DumpRenderTree/DumpRenderTree.m:
3200         (displayWebView):
3201         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3202         * DumpRenderTree/FrameLoadDelegate.m:
3203         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3204         * DumpRenderTree/LayoutTestController.h: Added.
3205         * DumpRenderTree/LayoutTestController.m: Added.
3206         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3207         (+[LayoutTestController webScriptNameForSelector:]):
3208         (-[LayoutTestController clearBackForwardList]):
3209         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
3210         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
3211         (-[LayoutTestController setCustomPolicyDelegate:]):
3212         (-[LayoutTestController keepWebHistory]):
3213         (-[LayoutTestController setCallCloseOnWebViews:]):
3214         (-[LayoutTestController setCanOpenWindows]):
3215         (-[LayoutTestController waitUntilDone]):
3216         (-[LayoutTestController waitUntilDoneWatchdogFired]):
3217         (-[LayoutTestController notifyDone]):
3218         (-[LayoutTestController dumpAsText]):
3219         (-[LayoutTestController addFileToPasteboardOnDrag]):
3220         (-[LayoutTestController addDisallowedURL:]):
3221         (-[LayoutTestController setUserStyleSheetLocation:]):
3222         (-[LayoutTestController setUserStyleSheetEnabled:]):
3223         (-[LayoutTestController dumpDOMAsWebArchive]):
3224         (-[LayoutTestController dumpSourceAsWebArchive]):
3225         (-[LayoutTestController dumpSelectionRect]):
3226         (-[LayoutTestController dumpTitleChanges]):
3227         (-[LayoutTestController dumpBackForwardList]):
3228         (-[LayoutTestController windowCount]):
3229         (-[LayoutTestController dumpChildFrameScrollPositions]):
3230         (-[LayoutTestController dumpChildFramesAsText]):
3231         (-[LayoutTestController dumpEditingCallbacks]):
3232         (-[LayoutTestController dumpResourceLoadCallbacks]):
3233         (-[LayoutTestController dumpFrameLoadCallbacks]):
3234         (-[LayoutTestController setWindowIsKey:]):
3235         (-[LayoutTestController setMainFrameIsFirstResponder:]):
3236         (-[LayoutTestController display]):
3237         (-[LayoutTestController testRepaint]):
3238         (-[LayoutTestController repaintSweepHorizontally]):
3239         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
3240         (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
3241         (-[LayoutTestController _doLoad:target:]):
3242         (-[LayoutTestController _doBackOrForwardNavigation:]):
3243         (-[LayoutTestController queueBackNavigation:]):
3244         (-[LayoutTestController queueForwardNavigation:]):
3245         (-[LayoutTestController queueReload]):
3246         (-[LayoutTestController queueScript:]):
3247         (-[LayoutTestController queueLoad:target:]):
3248         (-[LayoutTestController setAcceptsEditing:]):
3249         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
3250         (-[LayoutTestController storeWebScriptObject:]):
3251         (-[LayoutTestController accessStoredWebScriptObject]):
3252         (-[LayoutTestController dealloc]):
3253         (-[LayoutTestController decodeHostName:]):
3254         (-[LayoutTestController encodeHostName:]):
3255         * DumpRenderTree/ObjCController.h: Added.
3256         * DumpRenderTree/ObjCController.m: Added.
3257         (+[ObjCController isSelectorExcludedFromWebScript:]):
3258         (+[ObjCController webScriptNameForSelector:]):
3259         (-[ObjCController objCClassNameOf:]):
3260         (-[ObjCController objCObjectOfClass:]):
3261         (-[ObjCController objCIdentityIsEqual::]):
3262         (-[ObjCController objCLongLongRoundTrip:]):
3263         (-[ObjCController objCUnsignedLongLongRoundTrip:]):
3264         (-[ObjCController testWrapperRoundTripping:]):
3265
3266 2007-09-07  Sam Weinig  <sam@webkit.org>
3267
3268         Reviewed by Alice.
3269
3270         Strip trailing and leading space/newline characters from skiplist file names.
3271
3272         * Scripts/run-webkit-tests:
3273
3274 2007-09-06  Kevin McCullough  <kmccullough@apple.com>
3275
3276         Reviewed by Maciej.
3277
3278         - Changed Drosera to take advantage of the JSRetainPtr changes.
3279
3280         * Drosera/DebuggerDocument.cpp:
3281         (DebuggerDocument::breakpointEditorHTML):
3282         (DebuggerDocument::evaluateScript):
3283         (DebuggerDocument::valueForScopeVariableNamed):
3284         (DebuggerDocument::log):
3285         (DebuggerDocument::windowScriptObjectAvailable):
3286         (DebuggerDocument::toJSArray):
3287         (DebuggerDocument::callFunctionOnObject):
3288         (DebuggerDocument::logException):
3289         * Drosera/mac/DebuggerDocumentMac.mm:
3290         (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
3291         (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3292         (DebuggerDocument::platformEvaluateScript):
3293         (DebuggerDocument::getPlatformCurrentFunctionStack):
3294         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3295         (DebuggerDocument::platformValueForScopeVariableNamed):
3296
3297 2007-09-05  Kevin McCullough  <kmccullough@apple.com>
3298
3299         Reviewed by Adam, Sam, Darin.
3300
3301         - Separated what is platform dependant from what is not.  Creating the structure needed for Drosera for Win.
3302
3303         * Drosera/Debugger.h: Added.
3304         * Drosera/DebuggerDocument.cpp:
3305         (DebuggerDocument::breakpointEditorHTMLCallback):
3306         (DebuggerDocument::isPausedCallback):
3307         (DebuggerDocument::pauseCallback):
3308         (DebuggerDocument::resumeCallback):
3309         (DebuggerDocument::stepIntoCallback):
3310         (DebuggerDocument::evaluateScriptCallback):
3311         (DebuggerDocument::currentFunctionStackCallback):
3312         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
3313         (DebuggerDocument::valueForScopeVariableNamedCallback):
3314         (DebuggerDocument::logCallback):
3315         (DebuggerDocument::breakpointEditorHTML):
3316         (DebuggerDocument::isPaused):
3317         (DebuggerDocument::pause):
3318         (DebuggerDocument::resume):
3319         (DebuggerDocument::stepInto):
3320         (DebuggerDocument::evaluateScript):
3321         (DebuggerDocument::currentFunctionStack):
3322         (DebuggerDocument::localScopeVariableNamesForCallFrame):
3323         (DebuggerDocument::valueForScopeVariableNamed):
3324         (DebuggerDocument::log):
3325         (DebuggerDocument::toolbarPause):
3326         (DebuggerDocument::toolbarResume):
3327         (DebuggerDocument::toolbarStepInto):
3328         (DebuggerDocument::toolbarStepOver):
3329         (DebuggerDocument::toolbarStepOut):
3330         (DebuggerDocument::toolbarShowConsole):
3331         (DebuggerDocument::toolbarCloseCurrentFile):
3332         (DebuggerDocument::updateFileSource):
3333         (DebuggerDocument::didParseScript):
3334         (DebuggerDocument::willExecuteStatement):
3335         (DebuggerDocument::didEnterCallFrame):
3336         (DebuggerDocument::willLeaveCallFrame):
3337         (DebuggerDocument::exceptionWasRaised):
3338         (DebuggerDocument::windowScriptObjectAvailable):
3339         (DebuggerDocument::toJSArray):
3340         (DebuggerDocument::callGlobalFunction):
3341         (DebuggerDocument::callFunctionOnObject):
3342         (DebuggerDocument::getDroseraJSClass):
3343         (DebuggerDocument::staticFunctions):
3344         (DebuggerDocument::logException):
3345         * Drosera/DebuggerDocument.h:
3346         (DebuggerDocument::DebuggerDocument):
3347         * Drosera/ForwardingHeaders: Added.
3348         * Drosera/ForwardingHeaders/wtf: Added.
3349         * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
3350         * Drosera/config.h:
3351         * Drosera/console.html:
3352         * Drosera/console.js:
3353         * Drosera/debugger.js:
3354         * Drosera/mac/DebuggerApplication.mm:
3355         (-[DebuggerApplication attach:]):
3356         * Drosera/mac/DebuggerDocumentMac.h:
3357         * Drosera/mac/DebuggerDocumentMac.mm:
3358         (+[NSString stringOrNilFromWebScriptResult:]):
3359         (+[DebuggerClientMac log:]):
3360         (-[DebuggerClientMac initWithServerName:]):
3361         (-[DebuggerClientMac dealloc]):
3362         (-[DebuggerClientMac pause]):
3363         (-[DebuggerClientMac resume]):
3364         (-[DebuggerClientMac pause:]):
3365         (-[DebuggerClientMac resume:]):
3366         (-[DebuggerClientMac stepInto:]):
3367         (-[DebuggerClientMac stepOver:]):
3368         (-[DebuggerClientMac stepOut:]):
3369         (-[DebuggerClientMac showConsole:]):
3370         (-[DebuggerClientMac closeCurrentFile:]):
3371         (-[DebuggerClientMac validateUserInterfaceItem:]):
3372         (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
3373         (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3374         (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3375         (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3376         (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3377         (DebuggerDocument::platformPause):
3378         (DebuggerDocument::platformResume):
3379         (DebuggerDocument::platformStepInto):
3380         (DebuggerDocument::platformEvaluateScript):
3381         (DebuggerDocument::platformCurrentFunctionStack):
3382         (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
3383         (DebuggerDocument::platformValueForScopeVariableNamed):
3384         (DebuggerDocument::platformLog):
3385         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3386
3387 2007-09-06  Sam Weinig  <sam@webkit.org>
3388
3389         Reviewed by Adam Roben.
3390
3391         Register the WebKit DLL on initialization of the DumpRenderTree.
3392
3393         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3394         (initialize):
3395
3396 2007-09-05  Sam Weinig  <sam@webkit.org>
3397
3398         Reviewed by Oliver.
3399
3400         Fix many layout test failures caused by r25364.
3401         Set text size to standand size at the begining of each test matching the mac.
3402
3403         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3404         (runTest):
3405
3406 2007-09-04  Sam Weinig  <sam@webkit.org>
3407
3408         Reviewed by Adam.
3409
3410         Fix for <rdar://problem/5382277>
3411         Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
3412
3413         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
3414         (textZoomInCallback):
3415         (textZoomOutCallback):
3416
3417 2007-08-29  David Kilzer  <ddkilzer@apple.com>
3418
3419         Reviewed by Adam.
3420
3421         Added case-insensitivity to checks for adding regression tests.
3422
3423         * Scripts/prepare-ChangeLog:
3424         (generateFileList):
3425
3426 2007-08-28  David Kilzer  <ddkilzer@apple.com>
3427
3428         Reviewed by Maciej.
3429
3430         Ignore files in /resources/ subdirectories when creating a list of added tests.
3431
3432         * Scripts/prepare-ChangeLog:
3433         (generateFileList):
3434
3435 2007-08-27  Kevin McCullough  <kmccullough@apple.com>
3436
3437         Reviewed by John.
3438
3439         - Removed Leopard leaks list since all of those radars were fixed.
3440
3441         * Scripts/run-webkit-tests:
3442
3443 2007-08-27  Adam Roben  <aroben@apple.com>
3444
3445         Rubberstamped by Mark.
3446
3447         * Scripts/pdevenv: Pass arguments along to devenv.com.
3448
3449 2007-08-26  David Kilzer  <ddkilzer@webkit.org>
3450
3451         Reviewed by Mark Rowe.
3452
3453         Update prepare-ChangeLog to generate the datestamp in the correct timezone.
3454
3455         * Scripts/prepare-ChangeLog:
3456         (changeLogDate): Added.
3457
3458 2007-08-24  Sam Weinig  <sam@webkit.org>
3459
3460         Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
3461
3462 2007-08-24  Sam Weinig  <sam@webkit.org>
3463
3464         Rubber-stamped by Adam Roben.
3465
3466         <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
3467
3468         Rename COM DOM bindings to use Deprecated prefix.
3469
3470         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3471         (dumpFramesAsText):
3472         (dump):
3473         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
3474         (dumpPath):
3475         (dump):
3476         (EditingDelegate::shouldBeginEditingInDOMRange):
3477         (EditingDelegate::shouldEndEditingInDOMRange):
3478         (EditingDelegate::shouldInsertNode):
3479         (EditingDelegate::shouldInsertText):
3480         (EditingDelegate::shouldDeleteDOMRange):
3481         (EditingDelegate::shouldChangeSelectedDOMRange):
3482         (EditingDelegate::shouldApplyStyle):
3483         (EditingDelegate::shouldChangeTypingStyle):
3484         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
3485
3486 2007-08-24  Oliver Hunt  <oliver@apple.com>
3487
3488         Reviewed by John H.
3489
3490         WebDataSource::response can legitimately have a null response, so we
3491         must check that case.
3492
3493         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3494         (queueLoadCallback):
3495
3496 2007-08-23  Mitz Pettel  <mitz@webkit.org>
3497
3498         Reviewed by Darin and Adam.
3499
3500         - DumpRenderTree changes to allow testing for
3501           http://bugs.webkit.org/show_bug.cgi?id=11756
3502           REGRESSION: link targeting a frame in another window does not work
3503           <rdar://problem/5286420>
3504
3505         Use a frame group name for all WebViews created by DumpRenderTree to
3506         allow testing of cross-page frame lookup.
3507
3508         * DumpRenderTree/DumpRenderTree.m:
3509         (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
3510         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3511         (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
3512
3513 2007-08-23  David Kilzer  <ddkilzer@webkit.org>
3514
3515         Reviewed by Adam.
3516
3517         Quote the $sslCertificate path in case it contains a space.
3518
3519         * Scripts/run-webkit-httpd:
3520         * Scripts/run-webkit-tests:
3521
3522 2007-08-22  Oliver Hunt  <oliver@apple.com>
3523
3524         Reviewed by John and Adam.
3525         
3526         WebDataSource::response can legitimately have a null response, so we
3527         must check that case.
3528
3529         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3530         (dump):
3531
3532 2007-08-21  Kevin McCullough  <kmccullough@apple.com>
3533
3534         Reviewed by Geof.
3535
3536         - Changing the usage to be more clear.
3537
3538         * Scripts/run-testkjs:
3539
3540 2007-08-20  John Sullivan  <sullivan@apple.com>
3541
3542         Reviewed by Adam Roben
3543
3544         * DumpRenderTree/DumpRenderTree.m:
3545         (runTest):
3546         call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
3547         in layout tests on Tiger and Leopard
3548
3549 2007-08-20  Adam Roben  <aroben@apple.com>
3550
3551         Put LayoutTests after all other ChangeLogs in commit logs
3552
3553         We use "~" to sort LayoutTests after all the other ChangeLogs because
3554         "~" is the last ASCII character (other than "DEL").
3555
3556         Reviewed by Sam.
3557
3558         * Scripts/commit-log-editor:
3559
3560 2007-08-20  Adam Roben  <aroben@apple.com>
3561
3562         Detect that DRT crashed even if a crash dialog is running
3563
3564         On Windows, when DRT crashes a crash dialog commonly appears. The DRT
3565         process is still running at this point, so run-webkit-tests wouldn't
3566         detect that DRT had crashed. We now record the crash in our SIGPIPE
3567         handler so that we know if DRT crashed even if the crash dialog is up.
3568
3569         Reviewed by Sam.
3570
3571         * Scripts/run-webkit-tests:
3572         (sub catch_pipe): Set the crashed bit.
3573         (sub openDumpTool): Reset the crashed bit.
3574         (sub dumpToolDidCrash): Check the crashed bit.
3575
3576 2007-08-20  Adam Roben  <aroben@apple.com>
3577
3578         Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
3579
3580         http://bugs.webkit.org/show_bug.cgi?id=15026
3581
3582         Reviewed by David Kilzer and Darin Adler.
3583
3584         * Scripts/prepare-ChangeLog:
3585         (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
3586         (sub isAddedStatus): Ditto.
3587         (sub testListForChangeLog): Added.
3588
3589 2007-08-19  Oleg Sukhodolsky  <son.two@gmail.com>
3590
3591         Reviewed by Mark.
3592
3593         -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
3594
3595         * Scripts/webkitdirs.pm:
3596         qt and gtk ports now explicitly pass debug (or release) mode to qmake.
3597
3598 2007-08-17  Darin Adler  <darin@apple.com>
3599
3600         Reviewed by Oliver Hunt.
3601
3602         - don't look for Apple-style localizable strings in the GTK version of WebKit
3603
3604         * Scripts/extract-localizable-strings: Add a feature where you can pass in the
3605         name of subdirectories to skip.
3606         * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
3607         to skip.
3608
3609 2007-08-17  Anders Carlsson  <andersca@apple.com>
3610
3611         Build fix.
3612         
3613         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3614         (NPP_SetWindow):
3615
3616 2007-08-17  Anders Carlsson  <andersca@apple.com>
3617
3618         Reviewed by Dave Hyatt.
3619
3620         <rdar://problem/5379040>
3621         REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
3622
3623         Add a way for the plug-in to dump the width and height when it gets its  NPP_SetWindow call.
3624         
3625         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3626         (pluginAllocate):
3627         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3628         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3629         (NPP_New):
3630         (NPP_SetWindow):
3631
3632 2007-08-16  Alice Liu  <alice.liu@apple.com>
3633
3634         Reviewed by Maciej.
3635
3636         Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
3637
3638         * DumpRenderTree/DumpRenderTree.m:
3639         (createWebView):
3640         Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
3641         (dumpRenderTree):
3642         Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow. 
3643
3644 2007-08-16  Kevin McCullough  <kmccullough@apple.com>
3645
3646         Reviewed by Adam.
3647
3648         - Added tests for regressions in other components.  In this case we also need to add a skipped list for Tiger since this functionality didn't exist in 10.4.
3649
3650         * Scripts/run-webkit-tests:
3651
3652 2007-08-15  Timothy Hatcher  <timothy@apple.com>
3653
3654         Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
3655         The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
3656
3657         Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
3658         this prevents making "build" directories in each project folder.
3659
3660         * Scripts/webkitdirs.pm:
3661
3662 2007-08-14  Geoffrey Garen  <ggaren@apple.com>
3663
3664         Reviewed by Kevin Mccullough.
3665         
3666         Removed special case that didn't belong. (It would allow a global 
3667         initializer to sneak into production builds, which would cause a 
3668         system-wide performance regression on Mac OS X.)
3669
3670         * Scripts/check-for-global-initializers:
3671
3672 2007-08-14  Justin Garcia  <justin.garcia@apple.com>
3673
3674         Reviewed by Tim.
3675         
3676         <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
3677
3678         * DumpRenderTree/EditingDelegate.m:
3679         (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
3680         only for elements with the class needsDeletionUI.
3681
3682 2007-08-14  David Kilzer  <ddkilzer@webkit.org>
3683
3684         Reviewed by Darin.
3685
3686         - fix http://bugs.webkit.org/show_bug.cgi?id=14965
3687           svn-create-patch uses deprecated tail switch
3688
3689         * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
3690
3691 2007-08-13  Sam Weinig  <sam@webkit.org>
3692
3693         Reviewed by Adam Roben.
3694
3695         Use the cygwin specific Apache config file under cygwin.
3696
3697         * Scripts/run-webkit-httpd:
3698
3699 2007-08-12  Adam Roben  <aroben@apple.com>
3700
3701         Generate results for new tests in a more logical location
3702
3703         New platform-specific tests always have their results generated right
3704         next to the test. New cross-platform tests will have their results
3705         generated a) in the cross-platform directory, if they are text-only,
3706         or b) in the least-specific platform directory, if they are render
3707         tree dumps.
3708
3709         Reviewed by Lars.
3710
3711         * Scripts/run-webkit-tests:
3712
3713 2007-08-12  Adam Roben  <aroben@apple.com>
3714
3715         Print the actual directory where new results are generated.
3716
3717         Before, we were printing an unpredictable, context-specific substring
3718         of the directory.
3719
3720         Reviewed by Lars.
3721
3722         * Scripts/run-webkit-tests:
3723
3724 2007-08-12  Adam Roben  <aroben@apple.com>
3725
3726         Factor some common code into a stripExtension() subroutine.
3727
3728         Reviewed by Lars.
3729
3730         * Scripts/run-webkit-tests: Also removed some debugging output.
3731
3732 2007-08-11  Matt Lilek  <pewtermoose@gmail.com>
3733
3734         Reviewed over and over and over by Adam Roben.
3735
3736         Bug 14740: Hierarchical layout tests and platform organization
3737         http://bugs.webkit.org/show_bug.cgi?id=14740
3738
3739         Add support for platform-specific layout tests and results.
3740
3741         * Scripts/run-webkit-tests:
3742
3743 2007-08-11  David Kilzer  <ddkilzer@webkit.org>
3744
3745         Reviewed by Adam.
3746
3747         Refactored svn-create-path to use a hash-of-hashes data structure to keep
3748         track of changed files.  In the top level hash, keys are paths to files and
3749         values are 'fileData' hashes with the following keys and values:
3750
3751         - isBinary: boolean value (set to true for non-text files like images, etc.)
3752         - isTestFile: boolean value (set to true if file exists within a known test
3753           directory)
3754         - modificationType: string equal to one of 'addition', 'additionWithHistory',
3755           'modification' or 'deletion'
3756         - path: string equal to the path to the file (this may seem redundant, but it
3757           is required to use the second-level 'fileData' hash independent of the
3758           top-level hash)
3759         - sourceFile: [optional] string equal to the path of the original file that was
3760           copied or moved
3761         - sourceRevision: [optional] string equal to the revision of the original file
3762           that was copied or moved
3763
3764         * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
3765         that saves the return value in $result, then checks it before printing help.
3766         Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
3767         and eliminated two for() loops.
3768         (binarycmp): Added.  Used with sort() to order non-binary files before binary
3769         files.
3770         (findBaseUrl): Added.  Extracted from findSourceFileAndRevision().
3771         (findMimeType): Added optional second argument that takes a revision number.
3772         (generateDiff): Updated to take one fileData argument instead of three ($file,
3773         $modificationType, $isBinary).
3774         (generateFileList): Updated to take one hash ref argument (%diffFiles)
3775         instead of three (%sourceFiles, %testFiles, %binaryFiles).  Populates
3776         %diffFiles using paths for keys and fileData hashes for values.
3777         (manufacturePatchForAdditionWithHistory): Updated to take one fileData
3778         argument.
3779         (pathcmp): Updated to take two fileData arguments instead of two strings.
3780         (testfilecmp): Added.  Used with sort() to order non-test files before test
3781         files.
3782
3783 2007-08-11  Darin Adler  <darin@apple.com>
3784
3785         * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
3786
3787 2007-08-06  Nigel Tao  <nigeltao@gnome.org>
3788
3789         Reviewed by David Kilzer.
3790
3791         Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
3792         http://bugs.webkit.org/show_bug.cgi?id=14745
3793
3794         * Scripts/run-launcher:
3795         Scrub the "--gdk" out of the command line args, if given, so that
3796         GdkLauncher doesn't try to interpret it as a URL.
3797
3798 2007-08-03  Adam Roben  <aroben@apple.com>
3799
3800         Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
3801
3802         Reviewed by Sam.
3803
3804         * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
3805
3806 2007-08-03  Sam Weinig  <sam@webkit.org>
3807
3808         Reviewed by Darin.
3809
3810         Recursively dump all frames as text using new
3811         layoutTestController.dumpChildFramesAsText() function.
3812
3813         * DumpRenderTree/DumpRenderTree.m:
3814         (dumpFramesAsText):
3815         (dump):
3816         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3817         (-[LayoutTestController dumpChildFramesAsText]):
3818         (runTest):
3819         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3820         (dumpFramesAsText):
3821         (dump):
3822         (runTest):
3823         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
3824         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
3825         (dumpChildFramesAsTextCallback):
3826         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3827
3828 2007-08-02  Adam Roben  <aroben@apple.com>
3829
3830         Fix fast/dom/Window/alert-undefined.html
3831
3832         Reviewed by Sam.
3833
3834         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
3835         (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
3836         Windows translate a null BSTR into "(null)"
3837
3838 2007-08-02  Kevin McCullough  <kmccullough@apple.com>
3839
3840         Reviewed by Tim. 
3841
3842         - It would help if I actually called the right function.
3843
3844         * Drosera/DebuggerDocument.cpp:
3845         (DebuggerDocument::showConsole):
3846
3847 2007-08-02  Adam Roben  <aroben@apple.com>
3848
3849         Don't delete the stderr file right after creating it
3850
3851         * Scripts/run-webkit-tests:
3852
3853 2007-08-01  Adam Roben  <aroben@apple.com>
3854
3855         When DRT crashes, record stderr and restart DRT
3856
3857         This prevents a DRT crash from causing the next few hundred tests to
3858         "fail" because DRT is no longer running. 
3859
3860         I also changed the terminology that run-webkit-tests uses in its
3861         output a bit, so that crashing tests are referred to as "crashes"
3862         instead of "failures".
3863
3864         Reviewed by Mark.
3865
3866         * Scripts/run-webkit-tests: Detect a crash and record it as a tool
3867         failure.
3868         (sub openDumpTool): Use open3 so that we can access stderr.
3869         (sub dumpToolCrashed): Added.
3870         (sub printFailureMessageForTest): Added.
3871         (sub htmlForExpectedAndActualResults): Added.
3872         (sub deleteExpectedAndActualResults): Added.
3873         (sub recordActualResultsAndDiff): Added.
3874
3875 2007-07-30  Darin Adler  <darin@apple.com>
3876
3877         Reviewed by Tim Hatcher.
3878
3879         * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
3880         characters. This turned out not to be needed for the test case that motivated me to
3881         do it, but it's nice to have this for the future.
3882
3883 2007-07-30  Simon Hausmann  <hausmann@kde.org>
3884
3885         Reviewed by Lars.
3886
3887         Link QtLauncher into $$OUTPUT_DIR/bin
3888
3889         * Scripts/run-launcher:
3890
3891 2007-07-27  David Kilzer  <ddkilzer@apple.com>
3892
3893         Reviewed by Geoff and Darin.
3894
3895         Use a subroutine for validating the --skipped switch.
3896
3897         * Scripts/run-webkit-tests:
3898
3899 2007-07-27  Darin Adler  <darin@apple.com>
3900
3901         Reviewed by Sam.
3902
3903         * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
3904
3905 2007-07-27  Holger Hans Peter Freyther  <zecke@selfish.org>
3906
3907         Reviewed by Mark.
3908
3909         Correct the path of GdkLauncher and make checkFrameworks work on OSX
3910         when building the Qt or Gtk+ port.
3911
3912         * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
3913         * Scripts/run-launcher:
3914         * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
3915
3916 2007-07-27  Simon Hausmann  <hausmann@kde.org>
3917
3918         Done with and reviewed by Lars and Zack.
3919
3920         Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.
3921
3922         * Scripts/webkitdirs.pm:
3923
3924 2007-07-27  Simon Hausmann  <hausmann@kde.org>
3925
3926         Done with and reviewed by Lars and Zack.
3927
3928         For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
3929
3930         * Scripts/webkitdirs.pm:
3931
3932 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
3933
3934         Reviewed by Darin, Geoff, Sam.
3935
3936         - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
3937
3938         - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
3939
3940         * DumpRenderTree/UIDelegate.h:
3941         * DumpRenderTree/UIDelegate.m:
3942         (-[UIDelegate webView:setFrame:]):
3943         (-[UIDelegate webViewFrame:]):
3944
3945 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
3946
3947         Reviewed by Adam.
3948
3949         - Lars wanted this check for Qt but it breaks platform specific layout tests.
3950
3951         * Scripts/run-webkit-tests:
3952
3953 2007-07-25  Kevin McCullough  <kmccullough@apple.com>
3954
3955         Reviewed by Tim, Darin, Oliver.
3956
3957         - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
3958         - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
3959
3960         * ChangeLog:
3961         * DumpRenderTree/DumpRenderTree.m:
3962         (createWebView):
3963         (dumpRenderTree):
3964         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3965         (+[LayoutTestController webScriptNameForSelector:]):
3966         (-[LayoutTestController setCustomPolicyDelegate:]):
3967         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3968         * DumpRenderTree/FrameLoadDelegate.h:
3969         * DumpRenderTree/PolicyDelegate.h: Added.
3970         * DumpRenderTree/PolicyDelegate.m: Added.
3971         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3972         * DumpRenderTree/ResourceLoadDelegate.h:
3973
3974 2007-07-25  Adam Treat  <treat@kde.org>
3975
3976         Reviewed by Niko.
3977
3978         Fix build for some reported systems.
3979
3980         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3981
3982 2007-07-23  Adam Treat  <treat@kde.org>
3983
3984         Reviewed by Nikolas.
3985
3986         Fix qt DRT to suppress js popup alerts and log instead.
3987
3988         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3989         (WebCore::WebPage::javaScriptAlert):
3990
3991 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
3992
3993         Reviewed by Adam.
3994
3995         Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
3996         honor --qmakearg for the Gdk/Gtk build as well.
3997
3998         * GdkLauncher/main.cpp: Switch to the new API
3999         * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR 
4000
4001 2007-07-22  Darin Adler  <darin@apple.com>
4002
4003         * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
4004         Fix a leak by releasing the array used here.
4005
4006 2007-07-22  David Kilzer  <ddkilzer@webkit.org>
4007
4008         Reviewed by Darin.
4009
4010         - fix http://bugs.webkit.org/show_bug.cgi?id=14713
4011           Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
4012
4013         Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
4014         of WebCore/css/CSSPropertyNames.in.  Also updated cssproperties.in.
4015
4016         * Scripts/update-iexploder-cssproperties: Added.
4017         * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
4018         Added new CSS3 property section and Moved box-sizing property to it.
4019
4020 2007-07-22  Oliver Hunt  <oliver@apple.com>
4021
4022         Reviewed by Darin.
4023
4024         http://bugs.webkit.org/show_bug.cgi?id=14710
4025
4026         Add preliminary support for testing Input Method/WebKit behaviour and interaction 
4027         in DRT.  This provides the NSTextInput API which is most of what should be necessary
4028         to mimic the event sequences Input Methods trigger.
4029
4030         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4031         * DumpRenderTree/TextInputController.h:
4032         * DumpRenderTree/TextInputController.m:
4033         (-[WebHTMLView interpretKeyEvents:]):
4034         (+[TextInputController isSelectorExcludedFromWebScript:]):
4035         (+[TextInputController webScriptNameForSelector:]):
4036         (-[TextInputController initWithWebView:]):
4037         (-[TextInputController dealloc]):
4038         (-[TextInputController textInput]):
4039         (-[TextInputController setInputMethodHandler:]):
4040         (-[TextInputController interpretKeyEvents:withSender:]):
4041
4042 2007-07-20  Adam Roben  <aroben@apple.com>
4043
4044         * Scripts/commit-log-editor: Small fix to make an all-whitespace log
4045         message not count as an existing log.
4046
4047 2007-07-19  Geoffrey Garen  <ggaren@apple.com>
4048
4049         Reviewed by Darin Adler.
4050         
4051         Updated DumpRenderTree for <rdar://problem/5348384> Restore old return 
4052         value behavior of stringByEvaluatingJavaScriptFromString
4053
4054         * DumpRenderTree/DumpRenderTree.m:
4055         (testStringByEvaluatingJavaScriptFromString):
4056         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4057
4058 2007-07-19  Adam Roben  <aroben@apple.com>
4059
4060         Make commit-log-editor work with git
4061
4062         Reviewed by Sam.
4063
4064         * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
4065         commit message template. Also removed the unused $breakPoint variable.
4066
4067 2007-07-19  Adam Roben  <aroben@apple.com>
4068
4069         Move generally-useful VCS code into a new VCSUtils.pm module
4070
4071         This is in preparation for making commit-log-editor git-friendly.
4072
4073         Reviewed by Sam.
4074
4075         * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
4076         * Scripts/prepare-ChangeLog: Use VCSUtils.
4077
4078 2007-07-19  Lars Knoll <lars@trolltech.com>
4079
4080         Fix a crash on exit when running DRT against a current
4081         Qt 4.4 snapshot.
4082
4083         Reviewed by Zack
4084
4085         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
4086         (main):
4087
4088 2007-07-18  Adam Roben  <aroben@apple.com>
4089
4090         Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
4091
4092         Reviewed by Mark.
4093
4094         * Scripts/run-webkit-httpd:
4095         * Scripts/run-webkit-tests:
4096
4097 2007-07-18  Adam Roben  <aroben@apple.com>
4098
4099         More git friendliness for prepare-ChangeLog
4100
4101         The overall change is to remove the use of git-status and replace it
4102         with git-diff --name-status (which we were already using in the
4103         --git-commit case).
4104
4105         This lets us respect directories specified on the command line when
4106         using git, just as we do for Subversion. It also speeds things up a
4107         bit, especially in the subdirectory case, as git-status is pretty slow.
4108
4109         I also fixed some issues where we wouldn't detect copied files and
4110         would reverse the new filename and the original filename for renamed files.
4111
4112         Reviewed by Mark.
4113
4114         * Scripts/prepare-ChangeLog:
4115         (sub diffFromToString): Added.
4116         (sub diffCommand): Don't append the paths in the --git-commit case, as
4117         we should be operating on the entire commit.
4118         (sub statusCommand): Always use git-diff --name-status, and added an
4119         extra -C option to git-diff to make it find a few more copied files.
4120         (sub createPatchCommand): Collapsed the two git cases a bit, and added
4121         the extra -C option as above.
4122         (sub generateFileList): Remove the git-status codepath, and recognize
4123         file copies in the --name-status output.
4124         (sub isModifiedOrAddedStatus): Collapsed the status codes into one
4125         dictionary.
4126         (sub isConflictStatus): Updated the git dictionary.
4127         (sub statusDescription): Updated the git dictionary.
4128
4129 2007-07-18  Timothy Hatcher  <timothy@apple.com>
4130
4131         * Scripts/build-drosera: Update where we look for the Xcode project.
4132
4133 2007-07-18  Adam Treat <treat@kde.org>
4134
4135         Reviewed by bdash.
4136
4137         Use the old wording for Safari.
4138
4139         * Scripts/build-webkit:
4140         * Scripts/webkitdirs.pm:
4141
4142 2007-07-18  Adam Treat <treat@kde.org>
4143
4144         Reviewed by bdash.
4145
4146         Add convenience script for launching test apps for Qt and Gdk ports.
4147         Change the build-webkit script accordingly.
4148
4149         * Scripts/build-webkit:
4150         * Scripts/run-launcher: Added.
4151         * Scripts/webkitdirs.pm:
4152
4153 2007-07-18  Timothy Hatcher  <timothy@apple.com>
4154
4155         Reviewed by Adam.
4156
4157         Make the Page with the now required InspectorClient.
4158
4159         * GdkLauncher/main.cpp:
4160         (main):
4161
4162 2007-07-18  Timothy Hatcher  <timothy@apple.com>
4163
4164         Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
4165         Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
4166
4167         * Drosera/Makefile: Added.
4168         * Drosera/mac/Makefile:
4169         * DumpRenderTree/Makefile:
4170         * Makefile:
4171         * Makefile.Drosera: Removed.
4172         * Makefile.shared: Removed.
4173
4174 2007-07-18  Timothy Hatcher  <timothy@apple.com>
4175
4176         The console log was 20px down from the top for no reason, move it up.
4177
4178         * Drosera/console.css:
4179
4180 2007-07-18  Timothy Hatcher  <timothy@apple.com>