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