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