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