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