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