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