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