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