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