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