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