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