Rubber stamped by Adam.
[WebKit-https.git] / WebKitTools / ChangeLog
1 2007-10-19  Maciej Stachowiak  <mjs@apple.com>
2
3         Rubber stamped by Adam.
4         
5         - don't delay-load WebKit in DumpRenderTree.
6
7         * DumpRenderTree/win/DumpRenderTree.vcproj:
8
9 2007-10-18  Dan Bernstein  <dan.bernstein@apple.com>
10
11         Reviewed by Adam Roben.
12
13         - fix <rdar://problem/5313523>
14         REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
15
16         * DumpRenderTree/mac/DumpRenderTree.mm:
17         (dump): Changed to use _responseMIMEType.
18
19 2007-10-17  Adam Roben  <aroben@apple.com>
20
21         Make it possible to have Windows-specific tests and results
22
23         When searching for tests to run and the Skipped file, we will only
24         look in platform/win and the cross-platform directory. When looking
25         for expected results, we will look in platform/win, then
26         platform/mac-leopard, then platform/mac, then finally the
27         cross-platform directory.
28
29         Reviewed by Sam.
30
31         * Scripts/run-webkit-tests:
32         (sub expectedDirectoryForTest): Search in mac-leopard and mac before
33         searching in the cross-platform directory.
34         (sub buildPlatformHierarchy): Removed some unneeded calls to
35         dirname/basename.
36
37 2007-10-17  Adam Roben  <aroben@apple.com>
38
39         Add back the call to register WebKit that we had before WebKitInitializer existed
40
41         This is needed to ensure that the right WebKit is used when
42         instantiating COM objects.
43
44         Reviewed by Oliver.
45
46         * DumpRenderTree/win/debug_internal.vsprops: Define
47         DEBUG_WEBKIT_HAS_SUFFIX.
48         * DumpRenderTree/win/DumpRenderTree.cpp:
49         (initialize):
50
51 2007-10-17  Adam Roben  <aroben@apple.com>
52
53         Import File::Basename in webkitdirs since we use it
54
55         Reviewed by NOBODY.
56
57         * Scripts/webkitdirs.pm:
58
59 2007-10-17  Kevin McCullough  <kmccullough@apple.com>
60
61         - Updated the tiger leaks list to make the internal bots green.
62
63         * Scripts/run-webkit-tests:
64
65 2007-10-17  Adam Roben  <aroben@apple.com>
66
67         Build fix for VC++ Express
68
69         Reviewed by NOBODY.
70
71         * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
72         and ole32.lib.
73
74 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
75
76         Reviewed by Sam.
77
78         - Minor mac improvements based on observations I made while implementing the
79         Windows code.
80
81         * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
82         then hand it to the Client who will retain it, it should just be the client who
83         creates and owns the server.
84         (-[DebuggerApplication attach:]):
85         * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
86         * Drosera/mac/DebuggerClient.mm: Creates the server.
87         (-[DebuggerClient initWithServerName:]):
88         * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
89         can instead forward declare what it needs.
90
91 2007-10-16  Darin Adler  <darin@apple.com>
92
93         Reviewed by Geoff Garen.
94
95         * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
96         want to turn failing tests into platform-specific test results. Also did a
97         number of tweaks, including fixing a potential bug where expectedDirectoryForTest
98         would take the type of results into account only some of the time.
99
100 2007-10-16  Adam Roben  <aroben@apple.com>
101
102         Add a new nightly launcher script for Windows
103
104         This new script is for versions of Safari that don't delay-load
105         WebKit. I had to make FindSafari be able to print out the nightly
106         launcher script on stdout because Windows shell scripts can't capture
107         the output from a command into an environment variable.
108
109         Reviewed by Steve.
110
111         * FindSafari/FindSafari.cpp:
112         (_tmain): Added /printSafariLauncher option.
113         * Scripts/run-webkit-nightly.cmd: Added.
114
115 2007-10-16  Adam Roben  <aroben@apple.com>
116
117         Replace WebKitInitializer with FindSafari
118
119         We now rely on setting the PATH environment variable to tell Windows
120         where to find WebKit and its dependencies (similar to
121         DYLD_FRAMEWORK_PATH on Mac).
122
123         This change also make DumpRenderTree no longer delay-load WebKit.
124
125         Reviewed by Sam.
126
127         * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
128         FindSafari.
129         * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
130         * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
131         WebKitInitializer, don't delay-load WebKit.
132         * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
133         * Scripts/run-webkit-tests: Ditto.
134         * Scripts/webkitdirs.pm:
135         (sub setPathForRunningWebKitApp): Added.
136         * WebKitInitializer/WebKitInitializer.cpp: Removed.
137         * WebKitInitializer/WebKitInitializer.h: Removed.
138         * WebKitInitializer/WebKitInitializer.vcproj: Removed.
139         * WebKitInitializer/debug.vsprops: Removed.
140         * WebKitInitializer/debug_internal.vsprops: Removed.
141         * WebKitInitializer/release.vsprops: Removed.
142
143 2007-10-16  Adam Roben  <aroben@apple.com>
144
145         Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
146
147         http://bugs.webkit.org/show_bug.cgi?id=15532
148
149         FindSafari simply prints the location of an installed Safari.exe on
150         stdout.
151
152         Reviewed by Darin.
153
154         * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
155         (getStringValue):
156         (getWebViewCLSID):
157         (getInstalledWebKitDirectory):
158         (_tmain):
159         * FindSafari/FindSafari.vcproj: Added.
160         * Scripts/webkitdirs.pm:
161         (sub installedSafariPath): Added. Calls FindSafari on Windows.
162
163 2007-10-16  Adam Roben  <aroben@apple.com>
164
165         Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
166
167         Reviewed by Kevin McCullough.
168
169         * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
170         when referring to WebKit.dll.
171         * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
172         * DumpRenderTree/win/debug_internal.vsprops: Ditto.
173         * DumpRenderTree/win/release.vsprops: Ditto.
174         * Scripts/run-safari: Don't pass /debug to Safari anymore because we
175         never have a _debug suffix on WebKit.dll.
176         * WebKitInitializer/WebKitInitializer.cpp:
177         (initializeWebKit): Only use the _debug suffix for WebKit.dll when
178         specified.
179         * WebKitInitializer/debug_internal.vsprops: Added
180         DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
181
182 2007-10-16  Darin Adler  <darin@apple.com>
183
184         Reviewed by Adele.
185
186         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
187         Remove now-unneeded control/alt key hack; the tests have been updated.
188
189 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
190
191         - Updated leaks list because our internal bot upgraded it's version of leopard and 
192         one of the leaks was fixed between that revision and the bot's previous version of
193         leopard.
194
195         * Scripts/run-webkit-tests:
196
197 2007-10-15  Kevin McCullough  <kmccullough@apple.com>
198
199         Reviewed by Tim.
200
201         - I encapsulated out the server connecton functionality because it is a specific part
202         of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
203         into WebCore and C++.  But if it is encapsulated out it can be easily replaced on
204         Windows.  So the majority of this patch is moving preexisting functionality.
205
206         - Also I removed the prefix header and changed to use config.h because it is more
207         standard on how we use config.h in windows and it didn't make much sense to keep
208         the prefix header and the config.h
209
210         * Drosera/DebuggerDocument.cpp:
211         (DebuggerDocument::DebuggerDocument):
212         * Drosera/DebuggerDocument.h:
213         * Drosera/config.h:
214         * Drosera/mac/DebuggerApplication.mm:
215         (-[DebuggerApplication attach:]):
216         * Drosera/mac/DebuggerClient.h:
217         * Drosera/mac/DebuggerClient.mm:
218         (-[DebuggerClient initWithServerConnection:]):
219         (-[DebuggerClient dealloc]):
220         (-[DebuggerClient windowDidLoad]):
221         (-[DebuggerClient windowWillClose:]):
222         (-[DebuggerClient webView:didFinishLoadForFrame:]):
223         (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
224         * Drosera/mac/DebuggerDocumentPlatform.mm:
225         (DebuggerDocument::platformPause):
226         (DebuggerDocument::platformResume):
227         (DebuggerDocument::platformStepInto):
228         (DebuggerDocument::platformEvaluateScript):
229         (DebuggerDocument::getPlatformCurrentFunctionStack):
230         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
231         (DebuggerDocument::platformValueForScopeVariableNamed):
232         (DebuggerDocument::platformLog):
233         * Drosera/mac/Drosera.pch: Removed.
234         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
235         * Drosera/mac/ServerConnection.h: Added.
236         * Drosera/mac/ServerConnection.mm: Added.
237         (-[ServerConnection initWithServerName:]):
238         (-[ServerConnection dealloc]):
239         (-[ServerConnection setGlobalContext:]):
240         (-[ServerConnection pause]):
241         (-[ServerConnection resume]):
242         (-[ServerConnection stepInto]):
243         (-[ServerConnection switchToServerNamed:]):
244         (-[ServerConnection applicationTerminating:]):
245         (-[ServerConnection serverConnectionDidDie:]):
246         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
247         (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
248         (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
249         (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
250         (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
251         (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
252         (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
253         (-[ServerConnection currentFrame]):
254         (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
255         (-[ServerConnection knownServers]):
256
257 2007-10-15  David Kilzer  <ddkilzer@webkit.org>
258
259         Reviewed by Eric.
260
261         - fix http://bugs.webkit.org/show_bug.cgi?id=15002
262           Script to automatically search nightly builds for regressions (bisect-builds)
263
264         * Scripts/bisect-builds: Added.
265
266 2007-10-14  Maciej Stachowiak  <mjs@apple.com>
267
268         Reviewed by Darin.
269
270         - New JavaScript benchmark
271         http://bugs.webkit.org/show_bug.cgi?id=15515
272
273         * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
274         current development or release build of JavaScriptCore.
275
276 2007-10-15  Mark Rowe  <mrowe@apple.com>
277
278         Reviewed by Sam.
279
280         Fix 'run-webkit-tests --qt' complaining about the --qt argument.
281
282         * Scripts/webkitdirs.pm:
283         - Change checkArgv to remove the options from @ARGV to prevent
284         them from interfering with further option processing.
285         - Fix logic error in determineIsQt that would prevent it from bailing out early.
286         - Change isOSX to mean OS X and not Qt or Gtk.  Most of our uses of isOSX assume that this is the meaning
287         already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
288         incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
289
290 2007-10-15  Darin Adler  <darin@apple.com>
291
292         Reviewed by Sam.
293
294         - added logging of window.prompt and window.confirm
295
296         * DumpRenderTree/mac/UIDelegate.mm:
297         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
298         Implement the recommended delegate rather than the deprecated one.
299         (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
300         Added.
301         (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
302         Added.
303
304         * DumpRenderTree/win/UIDelegate.h:
305         * DumpRenderTree/win/UIDelegate.cpp:
306         (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
307         (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
308         (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
309         (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
310
311 2007-10-15  Alice Liu  <alice.liu@apple.com>
312
313         Reviewed by Sam Weinig.
314
315         Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
316
317         * DumpRenderTree/win/DumpRenderTree.cpp:
318         (runTest): Like on mac, before running each test, set the webview's policy delegate to null
319         (main): allocate the global policy delegate for DRT's custom use
320         * DumpRenderTree/win/DumpRenderTree.vcproj:
321         Adding files to project
322         * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
323         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
324         (LayoutTestController::setCustomPolicyDelegate):
325         set the webview's policy delegate to DRT's custom one if the test requests it.
326         * DumpRenderTree/win/PolicyDelegate.cpp: Added.
327         Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
328         (PolicyDelegate::PolicyDelegate):
329         (PolicyDelegate::QueryInterface):
330         (PolicyDelegate::AddRef):
331         (PolicyDelegate::Release):
332         (PolicyDelegate::decidePolicyForNavigationAction):
333         * DumpRenderTree/win/PolicyDelegate.h: Added.
334         (PolicyDelegate::decidePolicyForNewWindowAction):
335         (PolicyDelegate::decidePolicyForMIMEType):
336         (PolicyDelegate::unableToImplementPolicyWithError):
337
338 2007-10-14  Holger Hans Peter Freyther  <zecke@selfish.org>
339
340         Reviewed by Mark.
341
342         * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
343         when querying for QMAKE_MKSPECS.
344
345 2007-10-14  Andrew Wellington  <proton@wiretapped.net>
346
347         Reviewed by Adam Roben.
348         
349         Fix run-webkit-tests is too greedy calculating platform hierarchy
350         http://bugs.webkit.org/show_bug.cgi?id=15465
351         
352         Fix run-webkit-tests being too greedy in trying to split the platform name up
353         causing it to try and find tests in every directory above the first "-" in the
354         path to the LayoutTests
355
356         * Scripts/run-webkit-tests:
357
358 2007-10-14  Oleg Sukhodolsky <son.two@gmail.com>
359
360         Reviewed by Darin.
361
362         http://bugs.webkit.org/show_bug.cgi?id=15006
363         Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
364         to reduce code duplication.
365
366         * Scripts/build-webkit:
367         * Scripts/webkitdirs.pm:
368         buildQMakeProject() renamed to buildQMakeQtProject().
369         buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
370         unused $colorize has been removed.
371
372 === Start merge of feature-branch 2007-10-12 ===
373
374 2007-10-08  Eric Seidel  <eric@webkit.org>
375
376         Reviewed by Mark Rowe.
377
378         * Scripts/build-webkit: add --help, remove unused --color
379
380 2007-10-07  Eric Seidel  <eric@webkit.org>
381
382         Reviewed by darin.
383
384         * Drosera/mac/DebuggerDocumentPlatform.mm:
385         (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
386
387 2007-10-03  Rob Buis  <buis@kde.org>
388
389         Reviewed by Olliej.
390
391         Adapt to changed location of Ahem font.
392
393         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
394
395 2007-10-02  Eric Seidel  <eric@webkit.org>
396
397         Reviewed by Adam Roben.
398         
399         Make pixel tests more useful!
400         Finally fix the image diff 0.00% mystery problem
401         Highlight any image differences in the image diff.
402         Add a link from image diffs back to original test file.
403
404         * DumpRenderTree/mac/ImageDiff.m:
405         (compareImages): highlight any differences
406         (computePercentageDifferent): round to two decimal places
407         * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
408
409 2007-10-02  Eric Seidel  <eric@webkit.org>
410
411         Reviewed by Alexey Proskuryakov.
412
413         * Scripts/run-webkit-tests: print the % image difference on main results page
414
415 2007-10-02  Mark Rowe  <mrowe@apple.com>
416
417         Reviewed by Oliver.
418
419         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
420
421         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
422         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
423
424 2007-10-01  Mark Rowe  <mrowe@apple.com>
425
426         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
427
428 2007-09-25  Eric Seidel  <eric@webkit.org>
429
430         Reviewed by Mark Rowe.
431         
432         DerivedSources.make was finding "ENABLE_SVG" in the string
433         "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
434         quite correctly.
435
436         * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
437
438 2007-09-25  Mark Rowe  <mrowe@apple.com>
439
440         Rubber-stamped by Eric.
441
442         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
443         This makes it possible to automate nightly builds for the feature-branch.
444
445 2007-07-11  Nikolas Zimmermann  <zimmermann@kde.org>
446
447         Rubber stamped by Mark.
448
449         Enable svg experimental features as default here in feature-branch.
450
451         * Scripts/build-webkit:
452
453 2007-06-29  Antti Koivisto  <antti@apple.com>
454
455         Reviewed by Weinig.
456         
457         Add VIDEO flag for timed media features
458
459         * Scripts/build-webkit
460         
461 === End merge of feature-branch 2007-10-12 ===
462
463 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
464
465         Reviewed by Darin.
466
467         - Updated rational for the leaks list to be more clear.
468
469         * Scripts/run-webkit-tests:
470
471 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
472
473         Rubber Stamp by Sam.
474
475         Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
476         I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
477
478         * Scripts/run-webkit-tests:
479
480 2007-10-10  Simon Hausmann  <hausmann@kde.org>
481
482         Reviewed by Lars.
483
484         Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
485         includes are needed for INT_MAX, std::auto_ptr and the like.
486
487         * DumpRenderTree/qt/main.cpp:
488
489 2007-10-09  Lars Knoll  <lars@trolltech.com>
490
491         Reviewed by Simon.
492
493         implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
494
495         * DumpRenderTree/qt/jsobjects.cpp:
496         (LayoutTestController::encodeHostName):
497         (LayoutTestController::decodeHostName):
498         * DumpRenderTree/qt/jsobjects.h:
499
500 2007-10-09  Lars Knoll  <lars@trolltech.com>
501
502         Reviewed by Simon.
503
504         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.
505
506         * DumpRenderTree/qt/DumpRenderTree.cpp:
507         (WebCore::WebPage::createFrame):
508         (WebCore::DumpRenderTree::DumpRenderTree):
509         (WebCore::DumpRenderTree::titleChanged):
510         * DumpRenderTree/qt/DumpRenderTree.h:
511         * DumpRenderTree/qt/jsobjects.cpp:
512         (LayoutTestController::reset):
513         * DumpRenderTree/qt/jsobjects.h:
514
515 2007-10-09  Lars Knoll  <lars@trolltech.com>
516
517         Reviewed by Simon.
518
519         add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
520
521         * DumpRenderTree/qt/DumpRenderTree.h:
522         * DumpRenderTree/qt/jsobjects.cpp:
523         (LayoutTestController::clearBackForwardList):
524         * DumpRenderTree/qt/jsobjects.h:
525
526 2007-10-09  Lars Knoll  <lars@trolltech.com>
527
528         Reviewed by Simon.
529
530         make --git-reviewer work again.
531
532         * Scripts/prepare-ChangeLog:
533
534 2007-10-07  Holger Hans Peter Freyther  <zecke@selfish.org>
535
536         Rubber stamped by Eric.
537
538         Connect to the "hovering-over-link" signal emitted by WebKitPage and
539         show the current link inside the statusbar.
540         This shows how to make use of this signal and allows to easily test
541         http://bugs.webkit.org/show_bug.cgi?id=15299.
542
543         * GtkLauncher/main.cpp:
544         (hoveringOverLink):
545         (main):
546
547 2007-10-05  Lars Knoll  <lars@trolltech.com>
548
549         add proper error messages to the FrameLoaderClient.
550         Implement ChromeClientQt::closeWindowSoon and
551         FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
552         Some fixes in DRT to make it work correctly with multiple windows.
553
554         Reviewed by Maciej.
555
556         * DumpRenderTree/qt/DumpRenderTree.cpp:
557         (WebCore::DumpRenderTree::DumpRenderTree):
558         (WebCore::DumpRenderTree::createWindow):
559         (WebCore::DumpRenderTree::windowCount):
560         * DumpRenderTree/qt/DumpRenderTree.h:
561         * DumpRenderTree/qt/jsobjects.cpp:
562         (LayoutTestController::maybeDump):
563         (LayoutTestController::windowCount):
564         * DumpRenderTree/qt/jsobjects.h:
565
566 2007-10-05  Lars Knoll  <lars@trolltech.com>
567
568         Add a dummy plugin to DRT  to fix fast/dom/Window/Plug-Ins.html.
569         Add support for layoutTextController.setCanOpenWindows() to DRT
570         fixing another 2 test cases in fast/dom/Window.
571
572         Reviewed by Maciej.
573
574         * DumpRenderTree/qt/DumpRenderTree.cpp:
575         (WebCore::WebPage::WebPage):
576         (WebCore::WebPage::createWindow):
577         (WebCore::DumpRenderTree::resetJSObjects):
578         (WebCore::DumpRenderTree::createWindow):
579         * DumpRenderTree/qt/DumpRenderTree.h:
580         * DumpRenderTree/qt/DumpRenderTree.pro:
581         * DumpRenderTree/qt/jsobjects.cpp:
582         (LayoutTestController::LayoutTestController):
583         (LayoutTestController::reset):
584         * DumpRenderTree/qt/jsobjects.h:
585         * DumpRenderTree/qt/main.cpp:
586         * DumpRenderTree/qt/testplugin.cpp: Added.
587         * DumpRenderTree/qt/testplugin.h: Added.
588
589 2007-10-04  Sam Weinig  <sam@webkit.org>
590
591         Rubber stamped by Adam.
592
593         Remove empty directories.
594
595         * DumpRenderTree/DumpRenderTree.qtproj: Removed.
596         * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
597
598 2007-10-03  Darin Adler  <darin@apple.com>
599
600         Reviewed by Adam.
601
602         * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
603         we find the internal libraries in the libraries directory. This
604         is helpful for Safari team engineers at Apple.
605
606 2007-10-03  Adam Roben  <aroben@apple.com>
607
608         Update the location of AHEM___.TTF after r25968
609
610         Reviewed by Sam.
611
612         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
613
614 2007-10-03  Alp Toker  <alp@atoker.com>
615
616         Reviewed by Adam.
617
618         http://bugs.webkit.org/show_bug.cgi?id=14726
619         [gtk] API design. Mapping the WebView delegates to signals.
620
621         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
622
623         * GtkLauncher/main.cpp:
624         (goToURLBarText):
625         (titleChanged):
626         (progressChanged):
627         (menuMainBackCallback):
628         (menuMainForwardCallback):
629         (main):
630
631 2007-10-03  Lars Knoll  <lars@trolltech.com>
632
633         Reviewed by Rob.
634
635         This fixes --strict mode in run-webkit-tests again after
636         the platform dependent test results have been moved.
637
638         * Scripts/run-webkit-tests:
639
640 2007-10-03  Lars Knoll  <lars@trolltech.com>
641
642         Reviewed by bdash.
643
644         remove the hack in run-webkit-tests that forced text only test
645         to be taken from the platform independent dir. It was only left
646         there from early days.
647         
648         Remove platform dependent results for tests that are text only nowadays,
649         and add one platform dependent result for a text only test that requires it.
650
651         * Scripts/run-webkit-tests:
652
653 2007-10-03  Lars Knoll  <lars@trolltech.com>
654
655         Reviewed by olliej.
656
657         Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
658
659         * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
660         (WebCore::WebFrame::WebFrame):
661         (WebCore::WebPage::WebPage):
662         (WebCore::WebPage::createFrame):
663         (WebCore::WebPage::javaScriptAlert):
664         (WebCore::WebPage::javaScriptConsoleMessage):
665         (WebCore::DumpRenderTree::DumpRenderTree):
666         (WebCore::DumpRenderTree::~DumpRenderTree):
667         (WebCore::DumpRenderTree::open):
668         (WebCore::DumpRenderTree::readStdin):
669         (WebCore::DumpRenderTree::resetJSObjects):
670         (WebCore::DumpRenderTree::initJSObjects):
671         (WebCore::DumpRenderTree::dumpFramesAsText):
672         (WebCore::DumpRenderTree::dump):
673         * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
674         (WebCore::DumpRenderTree::layoutTestController):
675         (WebCore::DumpRenderTree::eventSender):
676         * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
677         * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
678         * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
679         * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
680         (HackWebFrame::mousePressEvent):
681         (HackWebFrame::mouseReleaseEvent):
682         (HackWebFrame::mouseMoveEvent):
683         (HackWebFrame::HackWebFrame):
684         (HackWebFrame::~HackWebFrame):
685         (LayoutTestController::LayoutTestController):
686         (LayoutTestController::reset):
687         (LayoutTestController::maybeDump):
688         (LayoutTestController::waitUntilDone):
689         (LayoutTestController::notifyDone):
690         (LayoutTestController::dumpEditingCallbacks):
691         (LayoutTestController::queueReload):
692         (LayoutTestController::provisionalLoad):
693         (LayoutTestController::timerEvent):
694         (EventSender::EventSender):
695         (EventSender::mouseDown):
696         (EventSender::mouseUp):
697         (EventSender::mouseMoveTo):
698         (EventSender::leapForward):
699         (EventSender::keyDown):
700         (EventSender::frameUnderMouse):
701         * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
702         (LayoutTestController::isLoading):
703         (LayoutTestController::setLoading):
704         (LayoutTestController::shouldDumpAsText):
705         (LayoutTestController::shouldDumpChildrenAsText):
706         (LayoutTestController::shouldWaitUntilDone):
707         (LayoutTestController::dumpAsText):
708         (LayoutTestController::dumpChildFramesAsText):
709         * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
710         (messageHandler):
711         (crashHandler):
712         (main):
713         * Scripts/run-webkit-tests:
714
715 2007-10-03  Mark Rowe  <mrowe@apple.com>
716
717         Reviewed by Alp Toker.
718
719         Fix build-webkit when both QTDIR and --gtk are set.  The presence of --gtk
720         should take precedence over QTDIR when determining which port we are working with.
721
722         * Scripts/webkitdirs.pm: 
723
724 2007-10-02  Adam Roben  <aroben@apple.com>
725
726         Add keychain to the list of default packages to install
727
728         Rubberstamped by Sam.
729
730         * CygwinDownloader/cygwin-downloader.py:
731         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
732
733 2007-10-02  David Kilzer  <ddkilzer@webkit.org>
734
735         Reviewed by Adam.
736
737         Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
738         Also makes WebCore regression test case logic work when using git.
739
740         * Scripts/prepare-ChangeLog:
741         (reviewerAndDescriptionForGitCommit): Added.
742
743 2007-10-02  Lars Knoll  <lars@trolltech.com>
744
745         Reviewed by bdash.
746
747         Add API to retrieve the frame name from QWebFrame.
748         Implement support for DRT::dumpChildrenAsText.
749
750         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
751         (WebCore::DumpRenderTree::dumpFramesAsText):
752         (WebCore::DumpRenderTree::dump):
753         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
754         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
755         (LayoutTestController::LayoutTestController):
756         (LayoutTestController::reset):
757         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
758
759 2007-10-02  Lars Knoll  <lars@trolltech.com>
760
761         Reviewed by bdash.
762
763         Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
764
765         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
766         (WebCore::DumpRenderTree::readStdin):
767
768 2007-10-02  Mark Rowe  <mrowe@apple.com>
769
770         Reviewed by Oliver.
771
772         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
773
774         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
775         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
776
777 2007-10-02  Mark Rowe  <mrowe@apple.com>
778
779         Rubber-stamped by Maciej.
780
781         Configuration changes from build.webkit.org.  The major change is refactoring to work
782         with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
783         last few weeks.
784
785         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
786         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
787         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
788         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
789         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
790         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
791         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
792         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
793
794 2007-10-02  Lars Knoll  <lars@trolltech.com>
795
796         Reviewed by Maciej.
797
798         Add support for eventSender.mouseMove to DRT.
799         Fixes fast/css/hover-affects-child.html
800
801         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
802         (EventSender::mouseMoveTo):
803
804 2007-10-01  Mark Rowe  <mrowe@apple.com>
805
806         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
807
808 2007-10-01  David Kilzer  <ddkilzer@webkit.org>
809
810         Reviewed by Hyatt.
811
812         Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
813
814         * Scripts/svn-apply:
815         (gitdiff2svndiff): Ignore lines beginning with "new file".
816         * Scripts/svn-unapply:
817         (gitdiff2svndiff): Ditto.
818
819 2007-09-30  George Staikos  <staikos@kde.org>
820
821         Qt build fix (Mac OS X specific)
822
823         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
824
825 2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
826
827         Reviewed by Mark.
828
829         -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
830         Remove Bakefiles from svn.
831
832         * GtkLauncher/Bakefiles.bkgen: Removed.
833         * GtkLauncher/ENV: Removed.
834         * GtkLauncher/gdklauncher.bkl: Removed.
835         * GtkLauncher/mk: Removed.
836         * Scripts/regenerate-makefiles: Removed.
837
838 2007-09-25  Kevin McCullough  <kmccullough@apple.com>
839
840         Reviewed by John.
841
842         - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
843
844         * Scripts/run-webkit-tests:
845
846 2007-09-26  Adam Roben  <aroben@apple.com>
847
848         Make not finding an installed WebKit non-fatal
849
850         What really matters is that we are able to load WebKit and its
851         dependencies, not whether we think we've found an installed WebKit.
852
853         Reviewed by Sam.
854
855         * WebKitInitializer/WebKitInitializer.cpp:
856         (getWebViewCLSID): Use new LOG_WARNING macro.
857         (getInstalledWebKitDirectory): Ditto.
858         (initializeWebKit): Don't die if we didn't find an installed WebKit,
859         and use new macros.
860         * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
861
862 2007-09-26  Adam Roben  <aroben@apple.com>
863
864         Committed this file before saving it
865
866         * WebKitInitializer/debug_internal.vsprops:
867
868 2007-09-26  Adam Roben  <aroben@apple.com>
869
870         Load WebKit and its dependencies manually so they come from DllDirectory
871
872         I had to change WebKitInitializer to use malloc/free instead of
873         new/delete to avoid pulling in WebKit (and its dependencies) early
874         through use of fastMalloc.
875
876         Reviewed by Oliver.
877
878         * WebKitInitializer/WebKitInitializer.cpp:
879         (getStringValue): Changed to use malloc/free.
880         (getInstalledWebKitDirectory): Ditto.
881         (initializeWebKit): Call SetDllDirectory first, then load all of
882         WebKit's dependencies manually, finally followed by WebKit itself.
883         * WebKitInitializer/WebKitInitializer.vcproj: Added a new
884         configuration to match our other projects.
885         * WebKitInitializer/debug_internal.vsprops: Added.
886
887 2007-09-25  Adam Roben  <aroben@apple.com>
888
889         Actually define DEBUG/NDEBUG so that we load WebKit correctly
890
891         Rubberstamped by Sam.
892
893         * WebKitInitializer/WebKitInitializer.vcproj:
894
895 2007-09-25  Adam Roben  <aroben@apple.com>
896
897         Make DumpRenderTree delay-load its dependencies
898
899         This lets WebKitInitializer re-route the dependencies to be loaded out
900         of the Safari installation directory.
901
902         Also replaced all uses of kCFAllocatorDefault with 0 (which means the
903         same thing), since we can't import the kCFAllocatorDefault symbol when
904         delay-loading CoreFoundation.dll.
905
906         Rubberstamped by Sam.
907
908         * DumpRenderTree/win/DumpRenderTree.cpp:
909         (runTest):
910         (javaScriptThreads):
911         * DumpRenderTree/win/DumpRenderTree.vcproj:
912         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
913         (LayoutTestController::setWaitToDump):
914
915 2007-09-25  Adam Roben  <aroben@apple.com>
916
917         Pull ole32.lib into WebKitInitializer
918
919         Rubberstamped by Sam.
920
921         * WebKitInitializer/WebKitInitializer.vcproj:
922
923 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
924
925         Reviewed by Adam.
926
927         - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
928           LGPL'ed files contain incorrect FSF address
929
930         * Drosera/config.h:
931
932 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
933
934         Reviewed by Adam.
935
936         Make svn-apply and svn-unapply work with git-diff formatted patches.
937
938         * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
939         (gitdiff2svndiff): Added.
940         * Scripts/svn-unapply: Ditto.
941         (gitdiff2svndiff): Added.
942
943 2007-09-25  Adam Roben  <aroben@apple.com>
944
945         Pull advapi32.lib into WebKitInitializer
946
947         This is needed to get the registry functions we use.
948
949         Rubberstamped by Sam.
950
951         * WebKitInitializer/WebKitInitializer.vcproj:
952
953 2007-09-25  Adam Roben  <aroben@apple.com>
954
955         Add python and rsync to cygwin-downloader
956
957         Our build slaves need this, and it can't hurt for everyone else to
958         have it, too.
959
960         Reviewed by Sam.
961
962         * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
963         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
964
965 2007-09-25  Adam Roben  <aroben@apple.com>
966
967         Add WebKitInitializer and use it in DumpRenderTree
968
969         WebKitInitializer is a static library that has one function,
970         initializeWebKit(). This registers WebKit and sets up the DLL search
971         path so that WebKit's dependencies that are installed with Safari can
972         be found.
973
974         Reviewed by Sam.
975
976         * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
977         DumpRenderTree depend on it.
978         * DumpRenderTree/win/DumpRenderTree.cpp:
979         (initialize): Call initializeWebKit.
980         * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
981         WebKitInitializer.lib.
982         * WebKitInitializer/WebKitInitializer.cpp: Added.
983         (getStringValue):
984         (getWebViewCLSID):
985         (getInstalledWebKitDirectory):
986         (initializeWebKit):
987         * WebKitInitializer/WebKitInitializer.h: Added.
988         * WebKitInitializer/WebKitInitializer.vcproj: Added.
989         * WebKitInitializer/debug.vsprops: Added.
990         * WebKitInitializer/release.vsprops: Added.
991
992 2007-09-25  Adam Roben  <aroben@apple.com>
993
994         Make run-webkit-tests respect set-webkit-configuration
995
996         Reviewed by Sam.
997
998         * Scripts/run-webkit-tests: Initialize $configuration to whatever
999         set-webkit-configuration was last set to.
1000
1001 2007-09-25  Mark Rowe  <mrowe@apple.com>
1002
1003         Rubber-stamped by Eric.
1004
1005         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
1006         This makes it possible to automate nightly builds for the feature-branch.
1007
1008 2007-09-25  Adam Roben  <aroben@apple.com>
1009
1010         A couple of fixes/enhancements to update-webkit-*-libs
1011
1012         You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
1013         to tell update-webkit-support-libraries where it should find the
1014         WebKitSupportLibrary.zip file you downloaded.
1015
1016         These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
1017         Windows-style path.
1018
1019         Reviewed by Sam.
1020
1021         * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
1022         to $auxiliaryLibsURL and removed an irrelevant comment.
1023         * Scripts/update-webkit-support-libs:
1024
1025 2007-09-25  Adam Treat  <treat@kde.org>
1026
1027         Reviewed by Simon and Lars.
1028
1029         Refactors and cleans up Qt DRT member variable names, member variable
1030         initialization, style fixes and general code cleanup.
1031
1032         Adds queueReload slot to LayoutTestController that some tests require.
1033
1034         Subclasses QWebFrame to make sure that all frames have an associated
1035         LayoutTestController JS window object.
1036
1037         Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
1038         aren't dumped twice.
1039
1040         EOF fixes.
1041
1042         Together, this patch fixes some 20+ layout tests in QtWebKit.
1043
1044         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1045         (WebCore::WebFrame::WebFrame):
1046         (WebCore::WebPage::WebPage):
1047         (WebCore::WebPage::createFrame):
1048         (WebCore::DumpRenderTree::DumpRenderTree):
1049         (WebCore::DumpRenderTree::open):
1050         (WebCore::DumpRenderTree::readStdin):
1051         (WebCore::DumpRenderTree::initJSObjects):
1052         (WebCore::DumpRenderTree::dump):
1053         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1054         (WebCore::DumpRenderTree::layoutTestController):
1055         (WebCore::DumpRenderTree::eventSender):
1056         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1057         (LayoutTestController::LayoutTestController):
1058         (LayoutTestController::reset):
1059         (LayoutTestController::maybeDump):
1060         (LayoutTestController::waitUntilDone):
1061         (LayoutTestController::notifyDone):
1062         (LayoutTestController::queueReload):
1063         (LayoutTestController::provisionalLoad):
1064         (EventSender::EventSender):
1065         (EventSender::mouseDown):
1066         (EventSender::mouseUp):
1067         (EventSender::mouseMoveTo):
1068         (EventSender::frameUnderMouse):
1069         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1070         (LayoutTestController::isLoading):
1071         (LayoutTestController::setLoading):
1072         (LayoutTestController::dumpAsText):
1073         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1074         (main):
1075
1076 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
1077
1078
1079         - Reverted an accidentally checked in file.
1080
1081         * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
1082
1083 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
1084         Reviewed by Sam.
1085
1086         - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
1087
1088         * DumpRenderTree/win/DumpRenderTree.vcproj:
1089         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1090
1091 2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
1092
1093         Rubber stamped by Adam.
1094
1095         * GdkLauncher: Removed.
1096         * GdkLauncher/Bakefiles.bkgen: Removed.
1097         * GdkLauncher/ENV: Removed.
1098         * GdkLauncher/GdkLauncher.pro: Removed.
1099         * GdkLauncher/gdklauncher.bkl: Removed.
1100         * GdkLauncher/main.cpp: Removed.
1101         * GdkLauncher/mk: Removed.
1102         * GdkLauncher/simple.svg: Removed.
1103         * GdkLauncher/text.html: Removed.
1104         * GtkLauncher: Added.
1105         * GtkLauncher/GdkLauncher.pro: Removed.
1106         * GtkLauncher/GtkLauncher.pro: Added.
1107         * GtkLauncher/main.cpp:
1108         (updateWindowTitle):
1109         (main):
1110         * Scripts/build-webkit:
1111         * Scripts/regenerate-makefiles:
1112         * Scripts/run-javascriptcore-tests:
1113         * Scripts/run-launcher:
1114         * Scripts/run-webkit-tests:
1115         * Scripts/webkitdirs.pm:
1116
1117 2007-09-21  Timothy Hatcher  <timothy@apple.com>
1118
1119         Reviewed by Darin.
1120
1121         <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
1122
1123         Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
1124         This is tested by plugins/root-object-premature-delete-crash.html.
1125
1126         * DumpRenderTree/mac/ObjCController.m:
1127         (-[ObjCController accessStoredWebScriptObject]):
1128
1129 2007-09-21  Kevin McCullough  <kmccullough@apple.com>
1130
1131         Reviewed by Oliver.
1132
1133         - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
1134
1135         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1136         (FrameLoadDelegate::FrameLoadDelegate):
1137
1138 2007-09-20  Julien Chaffraix  <julien.chaffraix@gmail.com>
1139
1140         Reviewed by Adam.
1141
1142         Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
1143         webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
1144
1145         Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
1146         Now isQt() and isGdk() use global variables that are only set once.
1147
1148         An array of all the parameters is now given to build-dumprender which includes
1149         the platform on linux.
1150
1151         * Scripts/build-dumprendertree:
1152         * Scripts/run-webkit-tests:
1153         * Scripts/webkitdirs.pm:
1154
1155 2007-09-19  Adam Roben  <aroben@apple.com>
1156
1157         Rubberstamped by Hyatt.
1158
1159         * Spinneret: Removed.
1160
1161 2007-09-19  Tuukka Hastrup  <Tuukka.Hastrup@iki.fi>
1162
1163         Reviewed by David Kilzer.
1164
1165         * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
1166
1167 2007-09-18  Sam Weinig  <sam@webkit.org>
1168
1169         Add JSRetainPtr.h #include to fix some builds.
1170
1171         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1172
1173 2007-09-18  Mike Hommey  <glandium@debian.org>
1174
1175         Reviewed by Adam.
1176
1177         * Scripts/prepare-ChangeLog:
1178         - Properly parse GECOS field.
1179         - Use git configuration for user name and email when appropriate.
1180
1181 2007-09-17  Sam Weinig  <sam@webkit.org>
1182
1183         Build fix.
1184
1185         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1186
1187 2007-09-17  Sam Weinig  <sam@webkit.org>
1188
1189         Reviewed by Adam Roben.
1190
1191         Share more code between mac and windows DRT.
1192             - GCController is now shared.
1193             - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
1194
1195         * DumpRenderTree/GCController.cpp:
1196         * DumpRenderTree/win/DumpRenderTree.cpp:
1197         * DumpRenderTree/win/DumpRenderTree.vcproj:
1198         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
1199         (FrameLoadDelegate::FrameLoadDelegate):
1200         (FrameLoadDelegate::~FrameLoadDelegate):
1201         (FrameLoadDelegate::windowScriptObjectAvailable):
1202         * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
1203         * DumpRenderTree/win/GCController.cpp: Removed.
1204         * DumpRenderTree/win/GCController.h: Removed.
1205         * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
1206         (GCController::collect):
1207         (GCController::collectOnAlternateThread):
1208         (GCController::getJSObjectCount):
1209         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
1210         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
1211
1212 2007-09-17  Sam Weinig  <sam@webkit.org>
1213
1214         Reviewed by Adam Roben.
1215
1216         Begin sharing code between mac and windows DRT.
1217             - both now share LayoutTestController.h/cpp and implement platform dependant 
1218               operations in LayoutTestControllerMac/Win.
1219             - DumpRenderTree.h is now shared.
1220             - WorkQueue and WorkQueueItem are also shared.
1221
1222         * DumpRenderTree/DumpRenderTree.h:
1223         * DumpRenderTree/LayoutTestController.cpp:
1224         * DumpRenderTree/win/DumpRenderTree.cpp:
1225         (displayWebView):
1226         (dumpFrameScrollPosition):
1227         (dumpFramesAsText):
1228         (dump):
1229         (runTest):
1230         * DumpRenderTree/win/DumpRenderTree.h: Removed.
1231         * DumpRenderTree/win/DumpRenderTree.vcproj:
1232         * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
1233         * DumpRenderTree/win/EditingDelegate.cpp:
1234         (EditingDelegate::shouldBeginEditingInDOMRange):
1235         (EditingDelegate::shouldEndEditingInDOMRange):
1236         (EditingDelegate::shouldInsertNode):
1237         (EditingDelegate::shouldInsertText):
1238         (EditingDelegate::shouldDeleteDOMRange):
1239         (EditingDelegate::shouldChangeSelectedDOMRange):
1240         (EditingDelegate::shouldApplyStyle):
1241         (EditingDelegate::shouldChangeTypingStyle):
1242         (EditingDelegate::doPlatformCommand):
1243         (EditingDelegate::webViewDidBeginEditing):
1244         (EditingDelegate::webViewDidChange):
1245         (EditingDelegate::webViewDidEndEditing):
1246         (EditingDelegate::webViewDidChangeTypingStyle):
1247         (EditingDelegate::webViewDidChangeSelection):
1248         * DumpRenderTree/win/LayoutTestController.cpp: Removed.
1249         * DumpRenderTree/win/LayoutTestController.h: Removed.
1250         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
1251         (LayoutTestController::addDisallowedURL):
1252         (LayoutTestController::clearBackForwardList):
1253         (LayoutTestController::copyDecodedHostName):
1254         (LayoutTestController::copyEncodedHostName):
1255         (LayoutTestController::display):
1256         (LayoutTestController::keepWebHistory):
1257         (LayoutTestController::notifyDone):
1258         (LayoutTestController::queueBackNavigation):
1259         (LayoutTestController::queueForwardNavigation):
1260         (jsStringRefToWString):
1261         (LayoutTestController::queueLoad):
1262         (LayoutTestController::queueReload):
1263         (LayoutTestController::queueScript):
1264         (LayoutTestController::setAcceptsEditing):
1265         (LayoutTestController::setCustomPolicyDelegate):
1266         (LayoutTestController::setMainFrameIsFirstResponder):
1267         (LayoutTestController::setTabKeyCyclesThroughElements):
1268         (LayoutTestController::setUseDashboardCompatibilityMode):
1269         (LayoutTestController::setUserStyleSheetEnabled):
1270         (LayoutTestController::setUserStyleSheetLocation):
1271         (LayoutTestController::setWindowIsKey):
1272         (waitUntilDoneWatchdogFired):
1273         (LayoutTestController::setWaitToDump):
1274         (LayoutTestController::windowCount):
1275         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
1276         (FrameLoadDelegate::didReceiveTitle):
1277         (FrameLoadDelegate::processWork):
1278         (FrameLoadDelegate::locationChangeDone):
1279         (FrameLoadDelegate::windowScriptObjectAvailable):
1280         * DumpRenderTree/win/WorkQueue.cpp: Removed.
1281         * DumpRenderTree/win/WorkQueue.h: Removed.
1282         * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
1283         * DumpRenderTree/win/WorkQueueItem.h: Removed.
1284         * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
1285         (jsStringRefToWString):
1286         (LoadItem::invoke):
1287         (ScriptItem::invoke):
1288
1289 2007-09-17  Sam Weinig  <sam@webkit.org>
1290
1291         Reviewed by Adam Roben.
1292
1293         - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
1294
1295         * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
1296         * DumpRenderTree/DumpRenderTree.vcproj: Removed.
1297         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
1298         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
1299         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
1300         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
1301         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
1302         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
1303         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
1304         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
1305         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
1306         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
1307         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
1308         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
1309         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
1310         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
1311         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
1312         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
1313         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
1314         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
1315         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
1316         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
1317         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
1318         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
1319         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
1320         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
1321         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
1322         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
1323         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
1324         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
1325         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
1326         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
1327         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
1328         * DumpRenderTree/win: Added.
1329         * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
1330         * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
1331         * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
1332         * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
1333         * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
1334         * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
1335         * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
1336         * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
1337         * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
1338         * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
1339         * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
1340         * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
1341         * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
1342         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1343         * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
1344         * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
1345         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
1346         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
1347         * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
1348         * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
1349         * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
1350         * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
1351         * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
1352         * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
1353         * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
1354         * Scripts/run-webkit-tests: Update to point to the new location of the sln.
1355
1356 2007-09-15  Mark Rowe  <mrowe@apple.com>
1357
1358         Build fix for DumpRenderTree.
1359
1360         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:  Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
1361
1362 2007-09-14  Sam Weinig  <sam@webkit.org>
1363
1364         Rubber stamped by Adam Roben.
1365
1366         Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
1367           - The UIDelegate was put into a new file while the FrameLoadDelegate was
1368             kept in the WaitUntilDoneDelegate file for the time being.
1369
1370         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1371         (main):
1372         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
1373         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
1374         (UIDelegate::QueryInterface):
1375         (UIDelegate::AddRef):
1376         (UIDelegate::Release):
1377         (UIDelegate::hasCustomMenuImplementation):
1378         (UIDelegate::setFrame):
1379         (UIDelegate::webViewFrame):
1380         (UIDelegate::runJavaScriptAlertPanelWithMessage):
1381         (UIDelegate::webViewAddMessageToConsole):
1382         (UIDelegate::doDragDrop):
1383         (UIDelegate::webViewGetDlgCode):
1384         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
1385         (UIDelegate::UIDelegate):
1386         (UIDelegate::createWebViewWithRequest):
1387         (UIDelegate::webViewShow):
1388         (UIDelegate::webViewClose):
1389         (UIDelegate::webViewFocus):
1390         (UIDelegate::webViewUnfocus):
1391         (UIDelegate::webViewFirstResponder):
1392         (UIDelegate::makeFirstResponder):
1393         (UIDelegate::setStatusText):
1394         (UIDelegate::webViewStatusText):
1395         (UIDelegate::webViewAreToolbarsVisible):
1396         (UIDelegate::setToolbarsVisible):
1397         (UIDelegate::webViewIsStatusBarVisible):
1398         (UIDelegate::setStatusBarVisible):
1399         (UIDelegate::webViewIsResizable):
1400         (UIDelegate::setResizable):
1401         (UIDelegate::setContentRect):
1402         (UIDelegate::webViewContentRect):
1403         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
1404         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
1405         (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
1406         (UIDelegate::runOpenPanelForFileButtonWithResultListener):
1407         (UIDelegate::mouseDidMoveOverElement):
1408         (UIDelegate::contextMenuItemsForElement):
1409         (UIDelegate::validateUserInterfaceItem):
1410         (UIDelegate::shouldPerformAction):
1411         (UIDelegate::dragDestinationActionMaskForDraggingInfo):
1412         (UIDelegate::willPerformDragDestinationAction):
1413         (UIDelegate::dragSourceActionMaskForPoint):
1414         (UIDelegate::willPerformDragSourceAction):
1415         (UIDelegate::contextMenuItemSelected):
1416         (UIDelegate::trackCustomPopupMenu):
1417         (UIDelegate::measureCustomMenuItem):
1418         (UIDelegate::drawCustomMenuItem):
1419         (UIDelegate::addCustomMenuDrawingData):
1420         (UIDelegate::cleanUpCustomMenuDrawingData):
1421         (UIDelegate::canTakeFocus):
1422         (UIDelegate::takeFocus):
1423         (UIDelegate::registerUndoWithTarget):
1424         (UIDelegate::removeAllActionsWithTarget):
1425         (UIDelegate::setActionTitle):
1426         (UIDelegate::undo):
1427         (UIDelegate::redo):
1428         (UIDelegate::canUndo):
1429         (UIDelegate::canRedo):
1430         (UIDelegate::webViewResizerRect):
1431         (UIDelegate::webViewDrawResizer):
1432         (UIDelegate::webViewScrolled):
1433         (UIDelegate::webViewShouldInterruptJavaScript):
1434         (UIDelegate::webViewReceivedFocus):
1435         (UIDelegate::webViewLostFocus):
1436         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
1437         (FrameLoadDelegate::QueryInterface):
1438         (FrameLoadDelegate::AddRef):
1439         (FrameLoadDelegate::Release):
1440         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
1441         (FrameLoadDelegate::didCommitLoadForFrame):
1442         (FrameLoadDelegate::didReceiveTitle):
1443         (FrameLoadDelegate::processWork):
1444         (processWorkTimer):
1445         (FrameLoadDelegate::locationChangeDone):
1446         (FrameLoadDelegate::didFinishLoadForFrame):
1447         (FrameLoadDelegate::didFailLoadWithError):
1448         (FrameLoadDelegate::windowScriptObjectAvailable):
1449         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
1450         (FrameLoadDelegate::FrameLoadDelegate):
1451
1452 2007-09-14  Sam Weinig  <sam@webkit.org>
1453
1454         Reviewed by Kevin McCullough.
1455
1456         Move mac specific globals in to mac/DumpRenderTreeMac.h
1457
1458         * DumpRenderTree/DumpRenderTree.h:
1459         * DumpRenderTree/DumpRenderTree.mm: Removed.
1460         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1461         * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
1462         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
1463
1464 2007-09-14  Brady Eidson  <beidson@apple.com>
1465
1466         Rubberstamped by Weinig
1467
1468         You know, Sam, some of us use case-sensitve filesystems...
1469
1470         * DumpRenderTree/DumpRenderTree.h:
1471         * DumpRenderTree/mac/UIDelegate.mm:
1472
1473 2007-09-14  Sam Weinig  <sam@webkit.org>
1474
1475         Rubber stamped by Adam Roben.
1476
1477         - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
1478         - Move mac specific DumpRenderTree files to DumpRenderTree/mac
1479
1480         * DumpRenderTree/AppleScriptController.h: Removed.
1481         * DumpRenderTree/AppleScriptController.m: Removed.
1482         * DumpRenderTree/DumpRenderTree.h:
1483         * DumpRenderTree/DumpRenderTree.mm:
1484         (startJavaScriptThreads):
1485         (stopJavaScriptThreads):
1486         (activateAhemFont):
1487         (setDefaultColorProfileToRGB):
1488         (makeLargeMallocFailSilently):
1489         (dumpFrameScrollPosition):
1490         (dumpFramesAsText):
1491         (dump):
1492         (runTest):
1493         (-[DumpRenderTreeWindow isKeyWindow]):
1494         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1495         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
1496         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
1497         * DumpRenderTree/EditingDelegate.h: Removed.
1498         * DumpRenderTree/EditingDelegate.m: Removed.
1499         * DumpRenderTree/EventSendingController.h: Removed.
1500         * DumpRenderTree/EventSendingController.m: Removed.
1501         * DumpRenderTree/FrameLoadDelegate.h: Removed.
1502         * DumpRenderTree/FrameLoadDelegate.mm: Removed.
1503         * DumpRenderTree/GCController.mm: Removed.
1504         * DumpRenderTree/ImageDiff.m: Removed.
1505         * DumpRenderTree/LayoutTestController.cpp:
1506         (LayoutTestController::LayoutTestController):
1507         (dumpAsTextCallback):
1508         (dumpBackForwardListCallback):
1509         (dumpChildFramesAsTextCallback):
1510         (dumpChildFrameScrollPositionsCallback):
1511         (dumpDOMAsWebArchiveCallback):
1512         (dumpEditingCallbacksCallback):
1513         (dumpFrameLoadCallbacksCallback):
1514         (dumpResourceLoadCallbacksCallback):
1515         (dumpSelectionRectCallback):
1516         (dumpSourceAsWebArchiveCallback):
1517         (dumpTitleChangesCallback):
1518         (repaintSweepHorizontallyCallback):
1519         (setCallCloseOnWebViewsCallback):
1520         (setCanOpenWindowsCallback):
1521         (setCloseRemainingWindowsWhenCompleteCallback):
1522         (testRepaintCallback):
1523         (addFileToPasteboardOnDragCallback):
1524         (waitUntilDoneCallback):
1525         * DumpRenderTree/LayoutTestController.h:
1526         (LayoutTestController::dumpAsText):
1527         (LayoutTestController::setDumpAsText):
1528         (LayoutTestController::dumpBackForwardList):
1529         (LayoutTestController::setDumpBackForwardList):
1530         (LayoutTestController::dumpChildFrameScrollPositions):
1531         (LayoutTestController::setDumpChildFrameScrollPositions):
1532         (LayoutTestController::dumpChildFramesAsText):
1533         (LayoutTestController::setDumpChildFramesAsText):
1534         (LayoutTestController::dumpDOMAsWebArchive):
1535         (LayoutTestController::setDumpDOMAsWebArchive):
1536         (LayoutTestController::dumpSelectionRect):
1537         (LayoutTestController::setDumpSelectionRect):
1538         (LayoutTestController::dumpSourceAsWebArchive):
1539         (LayoutTestController::setDumpSourceAsWebArchive):
1540         (LayoutTestController::dumpTitleChanges):
1541         (LayoutTestController::setDumpTitleChanges):
1542         (LayoutTestController::dumpEditingCallbacks):
1543         (LayoutTestController::setDumpEditingCallbacks):
1544         (LayoutTestController::dumpResourceLoadCallbacks):
1545         (LayoutTestController::setDumpResourceLoadCallbacks):
1546         (LayoutTestController::dumpFrameLoadCallbacks):
1547         (LayoutTestController::setDumpFrameLoadCallbacks):
1548         (LayoutTestController::addFileToPasteboardOnDrag):
1549         (LayoutTestController::setAddFileToPasteboardOnDrag):
1550         (LayoutTestController::callCloseOnWebViews):
1551         (LayoutTestController::setCallCloseOnWebViews):
1552         (LayoutTestController::canOpenWindows):
1553         (LayoutTestController::setCanOpenWindows):
1554         (LayoutTestController::closeRemainingWindowsWhenComplete):
1555         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
1556         (LayoutTestController::testRepaint):
1557         (LayoutTestController::setTestRepaint):
1558         (LayoutTestController::testRepaintSweepHorizontally):
1559         (LayoutTestController::setTestRepaintSweepHorizontally):
1560         (LayoutTestController::waitToDump):
1561         (LayoutTestController::windowIsKey):
1562         * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
1563         * DumpRenderTree/NavigationController.h: Removed.
1564         * DumpRenderTree/NavigationController.m: Removed.
1565         * DumpRenderTree/ObjCController.h: Removed.
1566         * DumpRenderTree/ObjCController.m: Removed.
1567         * DumpRenderTree/ObjCPlugin.h: Removed.
1568         * DumpRenderTree/ObjCPlugin.m: Removed.
1569         * DumpRenderTree/ObjCPluginFunction.h: Removed.
1570         * DumpRenderTree/ObjCPluginFunction.m: Removed.
1571         * DumpRenderTree/PolicyDelegate.h: Removed.
1572         * DumpRenderTree/PolicyDelegate.m: Removed.
1573         * DumpRenderTree/ResourceLoadDelegate.h: Removed.
1574         * DumpRenderTree/ResourceLoadDelegate.m: Removed.
1575         * DumpRenderTree/TextInputController.h: Removed.
1576         * DumpRenderTree/TextInputController.m: Removed.
1577         * DumpRenderTree/UIDelegate.h: Removed.
1578         * DumpRenderTree/UIDelegate.mm: Removed.
1579         * DumpRenderTree/WorkQueueItemMac.mm: Removed.
1580         * DumpRenderTree/mac: Added.
1581         * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
1582         * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
1583         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
1584         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
1585         * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
1586         * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
1587         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1588         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1589         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1590         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1591         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1592         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1593         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1594         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1595         (-[EditingDelegate webViewDidBeginEditing:]):
1596         (-[EditingDelegate webViewDidChange:]):
1597         (-[EditingDelegate webViewDidEndEditing:]):
1598         (-[EditingDelegate webViewDidChangeTypingStyle:]):
1599         (-[EditingDelegate webViewDidChangeSelection:]):
1600         * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
1601         * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
1602         * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
1603         * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
1604         (-[FrameLoadDelegate init]):
1605         (-[FrameLoadDelegate dealloc]):
1606         (-[FrameLoadDelegate processWork:]):
1607         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1608         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1609         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1610         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1611         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1612         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
1613         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1614         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1615         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1616         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
1617         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
1618         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
1619         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
1620         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
1621         (-[FrameLoadDelegate webView:willCloseFrame:]):
1622         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1623         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
1624         * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
1625         * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
1626         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
1627         (LayoutTestController::notifyDone):
1628         (LayoutTestController::setWindowIsKey):
1629         (LayoutTestController::setWaitToDump):
1630         * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
1631         * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
1632         * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
1633         * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
1634         * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
1635         * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
1636         * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
1637         * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
1638         * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
1639         * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
1640         * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
1641         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
1642         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1643         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1644         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
1645         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
1646         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
1647         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
1648         * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
1649         * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
1650         * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
1651         * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
1652         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1653         (-[UIDelegate webViewFocus:]):
1654         (-[UIDelegate webView:createWebViewWithRequest:]):
1655         (-[UIDelegate webViewClose:]):
1656         * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
1657
1658 2007-09-14  Kevin McCullough  <kmccullough@apple.com>
1659
1660         Reviewed by Adam.
1661
1662         - Changing Win version of Drosera work with recent changes.
1663
1664         * Drosera/DebuggerDocument.cpp:
1665         * Drosera/DebuggerDocument.h:
1666         * Drosera/mac/DebuggerDocumentPlatform.mm:
1667         (NSStringCreateWithJSStringRef):
1668         (JSValueRefCreateWithNSString):
1669         * Drosera/win/DebuggerClient.cpp:
1670         (DebuggerClient::stepInto):
1671         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1672
1673 2007-09-13  Kevin McCullough  <kmccullough@apple.com>
1674
1675         Reviewed by Tim.
1676
1677         - Moved isPaused into the JS for efficiency and simplicity.
1678
1679         * Drosera/DebuggerDocument.cpp:
1680         (DebuggerDocument::DebuggerDocument):
1681         (DebuggerDocument::pauseCallback):
1682         (DebuggerDocument::resumeCallback):
1683         (DebuggerDocument::isPaused):
1684         (DebuggerDocument::staticFunctions):
1685         * Drosera/DebuggerDocument.h:
1686         * Drosera/console.js:
1687         * Drosera/debugger.js:
1688         * Drosera/mac/DebuggerClient.mm:
1689         (-[DebuggerClient validateUserInterfaceItem:]):
1690
1691 2007-09-13  Sam Weinig  <sam@webkit.org>
1692
1693         Rubber stamped by Darin.
1694
1695         Make DumpRenderTree more cross platform ready.
1696         - Convert GCController to use the JSCore API instead of the WebScriptObject.
1697         - Use CF types instead of NS objects.
1698         - General cleanup.
1699
1700         * DumpRenderTree/DumpRenderTree.h:
1701         * DumpRenderTree/DumpRenderTree.mm:
1702         (dumpRenderTree):
1703         (dump):
1704         (runTest):
1705         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1706         * DumpRenderTree/EditingDelegate.m:
1707         * DumpRenderTree/FrameLoadDelegate.h:
1708         * DumpRenderTree/FrameLoadDelegate.mm:
1709         (-[FrameLoadDelegate init]):
1710         (-[FrameLoadDelegate dealloc]):
1711         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1712         * DumpRenderTree/GCController.cpp: Added.
1713         (GCController::GCController):
1714         (GCController::~GCController):
1715         (collectCallback):
1716         (collectOnAlternateThreadCallback):
1717         (getJSObjectCountCallback):
1718         (GCController::makeWindowObject):
1719         (GCController::getJSClass):
1720         (GCController::staticFunctions):
1721         * DumpRenderTree/GCController.h:
1722         * DumpRenderTree/GCController.mm:
1723         (GCController::collect):
1724         (GCController::collectOnAlternateThread):
1725         (GCController::getJSObjectCount):
1726         * DumpRenderTree/LayoutTestController.cpp:
1727         (LayoutTestController::makeWindowObject):
1728         (LayoutTestController::getJSClass):
1729         * DumpRenderTree/LayoutTestController.h:
1730         * DumpRenderTree/LayoutTestControllerMac.mm:
1731         (LayoutTestController::addDisallowedURL):
1732         (waitUntilDoneWatchdogFired):
1733         (LayoutTestController::waitUntilDone):
1734         * DumpRenderTree/ResourceLoadDelegate.m:
1735         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1736
1737 2007-09-12  Sam Weinig  <sam@webkit.org>
1738
1739         Reviewed by Stephanie.
1740
1741         Fix leaks in mac DumpRenderTree.
1742
1743         * DumpRenderTree/FrameLoadDelegate.mm:
1744         (-[FrameLoadDelegate init]): Initalize in the correct order.
1745         (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
1746         * DumpRenderTree/LayoutTestController.cpp:
1747         (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
1748         (encodeHostNameCallback): ditto.
1749         * DumpRenderTree/LayoutTestController.h:
1750         * DumpRenderTree/LayoutTestControllerMac.mm:
1751         (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
1752         (LayoutTestController::copyEncodedHostName): ditto
1753         (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
1754
1755 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
1756
1757         Reviewed by Geof.
1758
1759         - 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.
1760
1761         * Scripts/run-webkit-tests:
1762
1763 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
1764
1765         Reviewed by Darin.
1766
1767         - Simplified code paths and extracted out functions to increase encapsulation.
1768
1769         * Drosera/DebuggerDocument.cpp:
1770         (DebuggerDocument::breakpointEditorHTMLCallback):
1771         (DebuggerDocument::isPausedCallback):
1772         (DebuggerDocument::pauseCallback):
1773         (DebuggerDocument::resumeCallback):
1774         (DebuggerDocument::stepIntoCallback):
1775         (DebuggerDocument::evaluateScriptCallback):
1776         (DebuggerDocument::currentFunctionStackCallback):
1777         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
1778         (DebuggerDocument::valueForScopeVariableNamedCallback):
1779         (DebuggerDocument::logCallback):
1780         * Drosera/DebuggerDocument.h:
1781         (DebuggerDocument::getPaused):
1782         * Drosera/mac/DebuggerClient.mm:
1783         (-[DebuggerClient pause:]):
1784         (-[DebuggerClient resume:]):
1785         (-[DebuggerClient stepInto:]):
1786         (-[DebuggerClient stepOver:]):
1787         (-[DebuggerClient stepOut:]):
1788         (-[DebuggerClient showConsole:]):
1789         (-[DebuggerClient closeCurrentFile:]):
1790         (-[DebuggerClient validateUserInterfaceItem:]):
1791         * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
1792         (+[NSString stringOrNilFromWebScriptResult:]):
1793         (DebuggerDocument::platformPause):
1794         (DebuggerDocument::platformResume):
1795         (DebuggerDocument::platformStepInto):
1796         (DebuggerDocument::platformEvaluateScript):
1797         (DebuggerDocument::getPlatformCurrentFunctionStack):
1798         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1799         (DebuggerDocument::platformValueForScopeVariableNamed):
1800         (DebuggerDocument::platformLog):
1801         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1802
1803 2007-09-12  Sam Weinig  <sam@webkit.org>
1804
1805         Build fix for Buildbot.
1806
1807         * DumpRenderTree/DumpRenderTree.mm:
1808         (dump):
1809
1810 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
1811
1812         Reviewed by Geoff.
1813
1814         - Updated the leaks list for leopard to help identify regressions.
1815
1816         * Scripts/run-webkit-tests:
1817
1818 2007-09-12  Sam Weinig  <sam@webkit.org>
1819
1820         Rubber stamped by Darin.
1821
1822         Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
1823
1824         * DumpRenderTree/DumpRenderTree.h: Re-order variables. 
1825         * DumpRenderTree/DumpRenderTree.m: Removed.
1826         * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
1827         (stopJavaScriptThreads): Fix initialization.
1828         (setDefaultColorProfileToRGB): Add explicit cast from void*.
1829         (dumpRenderTree): Ditto.
1830         (runTest):
1831         Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
1832
1833         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1834         * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
1835         * DumpRenderTree/FrameLoadDelegate.m: Removed.
1836         * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
1837         (-[FrameLoadDelegate init]):
1838         (-[FrameLoadDelegate dealloc]):
1839         (-[FrameLoadDelegate processWork:]):
1840         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1841         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1842         Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
1843         
1844         * DumpRenderTree/LayoutTestController.cpp: Added.
1845         (LayoutTestController::LayoutTestController):
1846         (LayoutTestController::~LayoutTestController):
1847         (dumpAsTextCallback):
1848         (dumpBackForwardListCallback):
1849         (dumpChildFramesAsTextCallback):
1850         (dumpChildFrameScrollPositionsCallback):
1851         (dumpDOMAsWebArchiveCallback):
1852         (dumpEditingCallbacksCallback):
1853         (dumpFrameLoadCallbacksCallback):
1854         (dumpResourceLoadCallbacksCallback):
1855         (dumpSelectionRectCallback):
1856         (dumpSourceAsWebArchiveCallback):
1857         (dumpTitleChangesCallback):
1858         (repaintSweepHorizontallyCallback):
1859         (setCallCloseOnWebViewsCallback):
1860         (setCanOpenWindowsCallback):
1861         (setCloseRemainingWindowsWhenCompleteCallback):
1862         (testRepaintCallback):
1863         (addFileToPasteboardOnDragCallback):
1864         (addDisallowedURLCallback):
1865         (clearBackForwardListCallback):
1866         (decodeHostNameCallback):
1867         (displayCallback):
1868         (encodeHostNameCallback):
1869         (keepWebHistoryCallback):
1870         (notifyDoneCallback):
1871         (queueBackNavigationCallback):
1872         (queueForwardNavigationCallback):
1873         (queueLoadCallback):
1874         (queueReloadCallback):
1875         (queueScriptCallback):
1876         (setAcceptsEditingCallback):
1877         (setCustomPolicyDelegateCallback):
1878         (setMainFrameIsFirstResponderCallback):
1879         (setTabKeyCyclesThroughElementsCallback):
1880         (setUseDashboardCompatibilityModeCallback):
1881         (setUserStyleSheetEnabledCallback):
1882         (setUserStyleSheetLocationCallback):
1883         (setWindowIsKeyCallback):
1884         (waitUntilDoneCallback):
1885         (windowCountCallback):
1886         (LayoutTestController::makeWindowObject):
1887         (LayoutTestController::getLayoutTestControllerJSClass):
1888         (LayoutTestController::staticFunctions):
1889         * DumpRenderTree/LayoutTestController.h: Replaced.
1890         * DumpRenderTree/LayoutTestController.m: Removed.
1891         * DumpRenderTree/LayoutTestControllerMac.mm: Added.
1892         (LayoutTestController::dumpAsText):
1893         (LayoutTestController::dumpBackForwardList):
1894         (LayoutTestController::dumpChildFramesAsText):
1895         (LayoutTestController::dumpChildFrameScrollPositions):
1896         (LayoutTestController::dumpDOMAsWebArchive):
1897         (LayoutTestController::dumpEditingCallbacks):
1898         (LayoutTestController::dumpFrameLoadCallbacks):
1899         (LayoutTestController::dumpResourceLoadCallbacks):
1900         (LayoutTestController::dumpSelectionRect):
1901         (LayoutTestController::dumpSourceAsWebArchive):
1902         (LayoutTestController::dumpTitleChanges):
1903         (LayoutTestController::repaintSweepHorizontally):
1904         (LayoutTestController::setCallCloseOnWebViews):
1905         (LayoutTestController::setCanOpenWindows):
1906         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
1907         (LayoutTestController::testRepaint):
1908         (LayoutTestController::addFileToPasteboardOnDrag):
1909         (LayoutTestController::addDisallowedURL):
1910         (LayoutTestController::clearBackForwardList):
1911         (LayoutTestController::decodeHostName):
1912         (LayoutTestController::encodeHostName):
1913         (LayoutTestController::display):
1914         (LayoutTestController::keepWebHistory):
1915         (LayoutTestController::notifyDone):
1916         (LayoutTestController::queueBackNavigation):
1917         (LayoutTestController::queueForwardNavigation):
1918         (LayoutTestController::queueLoad):
1919         (LayoutTestController::queueReload):
1920         (LayoutTestController::queueScript):
1921         (LayoutTestController::setAcceptsEditing):
1922         (LayoutTestController::setCustomPolicyDelegate):
1923         (LayoutTestController::setMainFrameIsFirstResponder):
1924         (LayoutTestController::setTabKeyCyclesThroughElements):
1925         (LayoutTestController::setUseDashboardCompatibilityMode):
1926         (LayoutTestController::setUserStyleSheetEnabled):
1927         (LayoutTestController::setUserStyleSheetLocation):
1928         (LayoutTestController::setWindowIsKey):
1929         (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
1930         (LayoutTestController::waitUntilDone):
1931         (LayoutTestController::windowCount):
1932         Use the JSCore API to implement the LayoutTestController.
1933
1934         * DumpRenderTree/ObjCController.h:
1935         * DumpRenderTree/ObjCController.m:
1936         (+[ObjCController isSelectorExcludedFromWebScript:]):
1937         (+[ObjCController webScriptNameForSelector:]):
1938         (-[ObjCController accessStoredWebScriptObject]):
1939         (-[ObjCController storeWebScriptObject:]):
1940         (-[ObjCController dealloc]):
1941         (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
1942         Move WebScriptObject tests to ObjCController.
1943
1944         * DumpRenderTree/UIDelegate.m: Removed.
1945         * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
1946
1947         * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
1948         * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
1949         * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
1950         (WorkQueueItem::~WorkQueueItem):
1951         (LoadItem::LoadItem):
1952         (LoadItem::url):
1953         (LoadItem::target):
1954         (ScriptItem::ScriptItem):
1955         (ScriptItem::script):
1956         * DumpRenderTree/WorkQueueItemMac.mm: Added.
1957         (LoadItem::invoke):
1958         (ReloadItem::invoke):
1959         (ScriptItem::invoke):
1960         (BackForwardItem::invoke):
1961         Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
1962         to avoid conversion until the last possible moment.  These changes will be merged with the windows DRT when we start
1963         sharing code.
1964
1965 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
1966
1967         Reviewed by Maciej.
1968
1969         - Updated Win side to take advantage of the platform separating changes.
1970
1971         * Drosera/DebuggerDocument.cpp:
1972         (DebuggerDocument::localScopeVariableNamesForCallFrame):
1973         * Drosera/DebuggerDocument.h:
1974         * Drosera/win/DebuggerClient.cpp:
1975         (DebuggerClient::pause):
1976         (DebuggerClient::resume):
1977         (DebuggerClient::stepInto):
1978         (DebuggerDocument::platformPause):
1979         (DebuggerDocument::platformResume):
1980         (DebuggerDocument::platformStepInto):
1981         (DebuggerDocument::platformEvaluateScript):
1982         (DebuggerDocument::getPlatformCurrentFunctionStack):
1983         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1984         (DebuggerDocument::platformValueForScopeVariableNamed):
1985         (DebuggerDocument::platformLog):
1986         * Drosera/win/DebuggerClient.h:
1987         * Drosera/win/Drosera.cpp:
1988         (Drosera::Drosera):
1989         (Drosera::windowScriptObjectAvailable):
1990         (Drosera::initWithServerName):
1991         (Drosera::switchToServerNamed):
1992         * Drosera/win/Drosera.h:
1993         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1994
1995 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
1996
1997         Reviewed by Adam.
1998
1999         - Just doing the moves in a separate patch so the changes are easier to see.
2000
2001         * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
2002         * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
2003         * Drosera/win/DebuggerDocumentWin.cpp: Removed.
2004         * Drosera/win/DebuggerDocumentWin.h: Removed.
2005         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2006
2007 2007-09-11  Sven Herzberg  <sven@imendio.com>
2008
2009         Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
2010         http://bugs.webkit.org/show_bug.cgi?id=15176
2011
2012         * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
2013         $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
2014         other paths eg. from jhbuild)
2015
2016 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
2017
2018         Reviewed by Adam.
2019
2020         - Made an order-of-deletion mistake.
2021
2022         * Drosera/DebuggerDocument.h:
2023         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
2024         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
2025         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
2026         * Drosera/mac/DebuggerClient.mm:
2027         (DebuggerDocument::platformPause):
2028         (DebuggerDocument::platformResume):
2029         (DebuggerDocument::platformStepInto):
2030         (DebuggerDocument::platformEvaluateScript):
2031         (DebuggerDocument::getPlatformCurrentFunctionStack):
2032         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2033         (DebuggerDocument::platformValueForScopeVariableNamed):
2034         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2035
2036 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
2037
2038         Reviewed by Darin.
2039
2040         - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
2041
2042         * Drosera/DebuggerDocument.cpp:
2043         (DebuggerDocument::DebuggerDocument):
2044         * Drosera/DebuggerDocument.h:
2045         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2046         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2047         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2048         * Drosera/mac/DebuggerApplication.mm:
2049         (-[DebuggerApplication attach:]):
2050         * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
2051         * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
2052         (DebuggerDocument::platformPause):
2053         (DebuggerDocument::platformResume):
2054         (DebuggerDocument::platformStepInto):
2055         (DebuggerDocument::platformEvaluateScript):
2056         (DebuggerDocument::getPlatformCurrentFunctionStack):
2057         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2058         (DebuggerDocument::platformValueForScopeVariableNamed):
2059         (DebuggerDocument::platformLog):
2060         * Drosera/mac/DebuggerDocumentMac.h: Removed.
2061         * Drosera/mac/DebuggerDocumentMac.mm: Removed.
2062         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2063
2064 2007-09-09  Sam Weinig  <sam@webkit.org>
2065
2066         Reviewed by Mark Rowe.
2067
2068         Remove 'objC' prefix from methods now in the ObjCController. 
2069
2070         * DumpRenderTree/ObjCController.m:
2071         (+[ObjCController isSelectorExcludedFromWebScript:]):
2072         (+[ObjCController webScriptNameForSelector:]):
2073         (-[ObjCController classNameOf:]):
2074         (-[ObjCController objectOfClass:]):
2075         (-[ObjCController identityIsEqual::]):
2076         (-[ObjCController longLongRoundTrip:]):
2077         (-[ObjCController unsignedLongLongRoundTrip:]):
2078
2079 2007-09-09  Sam Weinig  <sam@webkit.org>
2080
2081         Reviewed by Oliver.
2082
2083         Initial refactor of DumpRenderTree in preparation of making it more platform independent. 
2084         - Move LayoutTestController into its own file.
2085         - Move Objective-C only functions on LayoutTestController into a new controller called the
2086           ObjCController. 
2087
2088         * DumpRenderTree/DumpRenderTree.h:
2089         * DumpRenderTree/DumpRenderTree.m:
2090         (displayWebView):
2091         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2092         * DumpRenderTree/FrameLoadDelegate.m:
2093         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2094         * DumpRenderTree/LayoutTestController.h: Added.
2095         * DumpRenderTree/LayoutTestController.m: Added.
2096         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2097         (+[LayoutTestController webScriptNameForSelector:]):
2098         (-[LayoutTestController clearBackForwardList]):
2099         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
2100         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
2101         (-[LayoutTestController setCustomPolicyDelegate:]):
2102         (-[LayoutTestController keepWebHistory]):
2103         (-[LayoutTestController setCallCloseOnWebViews:]):
2104         (-[LayoutTestController setCanOpenWindows]):
2105         (-[LayoutTestController waitUntilDone]):
2106         (-[LayoutTestController waitUntilDoneWatchdogFired]):
2107         (-[LayoutTestController notifyDone]):
2108         (-[LayoutTestController dumpAsText]):
2109         (-[LayoutTestController addFileToPasteboardOnDrag]):
2110         (-[LayoutTestController addDisallowedURL:]):
2111         (-[LayoutTestController setUserStyleSheetLocation:]):
2112         (-[LayoutTestController setUserStyleSheetEnabled:]):
2113         (-[LayoutTestController dumpDOMAsWebArchive]):
2114         (-[LayoutTestController dumpSourceAsWebArchive]):
2115         (-[LayoutTestController dumpSelectionRect]):
2116         (-[LayoutTestController dumpTitleChanges]):
2117         (-[LayoutTestController dumpBackForwardList]):
2118         (-[LayoutTestController windowCount]):
2119         (-[LayoutTestController dumpChildFrameScrollPositions]):
2120         (-[LayoutTestController dumpChildFramesAsText]):
2121         (-[LayoutTestController dumpEditingCallbacks]):
2122         (-[LayoutTestController dumpResourceLoadCallbacks]):
2123         (-[LayoutTestController dumpFrameLoadCallbacks]):
2124         (-[LayoutTestController setWindowIsKey:]):
2125         (-[LayoutTestController setMainFrameIsFirstResponder:]):
2126         (-[LayoutTestController display]):
2127         (-[LayoutTestController testRepaint]):
2128         (-[LayoutTestController repaintSweepHorizontally]):
2129         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
2130         (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
2131         (-[LayoutTestController _doLoad:target:]):
2132         (-[LayoutTestController _doBackOrForwardNavigation:]):
2133         (-[LayoutTestController queueBackNavigation:]):
2134         (-[LayoutTestController queueForwardNavigation:]):
2135         (-[LayoutTestController queueReload]):
2136         (-[LayoutTestController queueScript:]):
2137         (-[LayoutTestController queueLoad:target:]):
2138         (-[LayoutTestController setAcceptsEditing:]):
2139         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2140         (-[LayoutTestController storeWebScriptObject:]):
2141         (-[LayoutTestController accessStoredWebScriptObject]):
2142         (-[LayoutTestController dealloc]):
2143         (-[LayoutTestController decodeHostName:]):
2144         (-[LayoutTestController encodeHostName:]):
2145         * DumpRenderTree/ObjCController.h: Added.
2146         * DumpRenderTree/ObjCController.m: Added.
2147         (+[ObjCController isSelectorExcludedFromWebScript:]):
2148         (+[ObjCController webScriptNameForSelector:]):
2149         (-[ObjCController objCClassNameOf:]):
2150         (-[ObjCController objCObjectOfClass:]):
2151         (-[ObjCController objCIdentityIsEqual::]):
2152         (-[ObjCController objCLongLongRoundTrip:]):
2153         (-[ObjCController objCUnsignedLongLongRoundTrip:]):
2154         (-[ObjCController testWrapperRoundTripping:]):
2155
2156 2007-09-07  Sam Weinig  <sam@webkit.org>
2157
2158         Reviewed by Alice.
2159
2160         Strip trailing and leading space/newline characters from skiplist file names.
2161
2162         * Scripts/run-webkit-tests:
2163
2164 2007-09-06  Kevin McCullough  <kmccullough@apple.com>
2165
2166         Reviewed by Maciej.
2167
2168         - Changed Drosera to take advantage of the JSRetainPtr changes.
2169
2170         * Drosera/DebuggerDocument.cpp:
2171         (DebuggerDocument::breakpointEditorHTML):
2172         (DebuggerDocument::evaluateScript):
2173         (DebuggerDocument::valueForScopeVariableNamed):
2174         (DebuggerDocument::log):
2175         (DebuggerDocument::windowScriptObjectAvailable):
2176         (DebuggerDocument::toJSArray):
2177         (DebuggerDocument::callFunctionOnObject):
2178         (DebuggerDocument::logException):
2179         * Drosera/mac/DebuggerDocumentMac.mm:
2180         (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
2181         (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2182         (DebuggerDocument::platformEvaluateScript):
2183         (DebuggerDocument::getPlatformCurrentFunctionStack):
2184         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2185         (DebuggerDocument::platformValueForScopeVariableNamed):
2186
2187 2007-09-05  Kevin McCullough  <kmccullough@apple.com>
2188
2189         Reviewed by Adam, Sam, Darin.
2190
2191         - Separated what is platform dependant from what is not.  Creating the structure needed for Drosera for Win.
2192
2193         * Drosera/Debugger.h: Added.
2194         * Drosera/DebuggerDocument.cpp:
2195         (DebuggerDocument::breakpointEditorHTMLCallback):
2196         (DebuggerDocument::isPausedCallback):
2197         (DebuggerDocument::pauseCallback):
2198         (DebuggerDocument::resumeCallback):
2199         (DebuggerDocument::stepIntoCallback):
2200         (DebuggerDocument::evaluateScriptCallback):
2201         (DebuggerDocument::currentFunctionStackCallback):
2202         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
2203         (DebuggerDocument::valueForScopeVariableNamedCallback):
2204         (DebuggerDocument::logCallback):
2205         (DebuggerDocument::breakpointEditorHTML):
2206         (DebuggerDocument::isPaused):
2207         (DebuggerDocument::pause):
2208         (DebuggerDocument::resume):
2209         (DebuggerDocument::stepInto):
2210         (DebuggerDocument::evaluateScript):
2211         (DebuggerDocument::currentFunctionStack):
2212         (DebuggerDocument::localScopeVariableNamesForCallFrame):
2213         (DebuggerDocument::valueForScopeVariableNamed):
2214         (DebuggerDocument::log):
2215         (DebuggerDocument::toolbarPause):
2216         (DebuggerDocument::toolbarResume):
2217         (DebuggerDocument::toolbarStepInto):
2218         (DebuggerDocument::toolbarStepOver):
2219         (DebuggerDocument::toolbarStepOut):
2220         (DebuggerDocument::toolbarShowConsole):
2221         (DebuggerDocument::toolbarCloseCurrentFile):
2222         (DebuggerDocument::updateFileSource):
2223         (DebuggerDocument::didParseScript):
2224         (DebuggerDocument::willExecuteStatement):
2225         (DebuggerDocument::didEnterCallFrame):
2226         (DebuggerDocument::willLeaveCallFrame):
2227         (DebuggerDocument::exceptionWasRaised):
2228         (DebuggerDocument::windowScriptObjectAvailable):
2229         (DebuggerDocument::toJSArray):
2230         (DebuggerDocument::callGlobalFunction):
2231         (DebuggerDocument::callFunctionOnObject):
2232         (DebuggerDocument::getDroseraJSClass):
2233         (DebuggerDocument::staticFunctions):
2234         (DebuggerDocument::logException):
2235         * Drosera/DebuggerDocument.h:
2236         (DebuggerDocument::DebuggerDocument):
2237         * Drosera/ForwardingHeaders: Added.
2238         * Drosera/ForwardingHeaders/wtf: Added.
2239         * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
2240         * Drosera/config.h:
2241         * Drosera/console.html:
2242         * Drosera/console.js:
2243         * Drosera/debugger.js:
2244         * Drosera/mac/DebuggerApplication.mm:
2245         (-[DebuggerApplication attach:]):
2246         * Drosera/mac/DebuggerDocumentMac.h:
2247         * Drosera/mac/DebuggerDocumentMac.mm:
2248         (+[NSString stringOrNilFromWebScriptResult:]):
2249         (+[DebuggerClientMac log:]):
2250         (-[DebuggerClientMac initWithServerName:]):
2251         (-[DebuggerClientMac dealloc]):
2252         (-[DebuggerClientMac pause]):
2253         (-[DebuggerClientMac resume]):
2254         (-[DebuggerClientMac pause:]):
2255         (-[DebuggerClientMac resume:]):
2256         (-[DebuggerClientMac stepInto:]):
2257         (-[DebuggerClientMac stepOver:]):
2258         (-[DebuggerClientMac stepOut:]):
2259         (-[DebuggerClientMac showConsole:]):
2260         (-[DebuggerClientMac closeCurrentFile:]):
2261         (-[DebuggerClientMac validateUserInterfaceItem:]):
2262         (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
2263         (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2264         (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2265         (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2266         (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
2267         (DebuggerDocument::platformPause):
2268         (DebuggerDocument::platformResume):
2269         (DebuggerDocument::platformStepInto):
2270         (DebuggerDocument::platformEvaluateScript):
2271         (DebuggerDocument::platformCurrentFunctionStack):
2272         (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
2273         (DebuggerDocument::platformValueForScopeVariableNamed):
2274         (DebuggerDocument::platformLog):
2275         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2276
2277 2007-09-06  Sam Weinig  <sam@webkit.org>
2278
2279         Reviewed by Adam Roben.
2280
2281         Register the WebKit DLL on initialization of the DumpRenderTree.
2282
2283         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2284         (initialize):
2285
2286 2007-09-05  Sam Weinig  <sam@webkit.org>
2287
2288         Reviewed by Oliver.
2289
2290         Fix many layout test failures caused by r25364.
2291         Set text size to standand size at the begining of each test matching the mac.
2292
2293         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2294         (runTest):
2295
2296 2007-09-04  Sam Weinig  <sam@webkit.org>
2297
2298         Reviewed by Adam.
2299
2300         Fix for <rdar://problem/5382277>
2301         Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
2302
2303         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
2304         (textZoomInCallback):
2305         (textZoomOutCallback):
2306
2307 2007-08-29  David Kilzer  <ddkilzer@apple.com>
2308
2309         Reviewed by Adam.
2310
2311         Added case-insensitivity to checks for adding regression tests.
2312
2313         * Scripts/prepare-ChangeLog:
2314         (generateFileList):
2315
2316 2007-08-28  David Kilzer  <ddkilzer@apple.com>
2317
2318         Reviewed by Maciej.
2319
2320         Ignore files in /resources/ subdirectories when creating a list of added tests.
2321
2322         * Scripts/prepare-ChangeLog:
2323         (generateFileList):
2324
2325 2007-08-27  Kevin McCullough  <kmccullough@apple.com>
2326
2327         Reviewed by John.
2328
2329         - Removed Leopard leaks list since all of those radars were fixed.
2330
2331         * Scripts/run-webkit-tests:
2332
2333 2007-08-27  Adam Roben  <aroben@apple.com>
2334
2335         Rubberstamped by Mark.
2336
2337         * Scripts/pdevenv: Pass arguments along to devenv.com.
2338
2339 2007-08-26  David Kilzer  <ddkilzer@webkit.org>
2340
2341         Reviewed by Mark Rowe.
2342
2343         Update prepare-ChangeLog to generate the datestamp in the correct timezone.
2344
2345         * Scripts/prepare-ChangeLog:
2346         (changeLogDate): Added.
2347
2348 2007-08-24  Sam Weinig  <sam@webkit.org>
2349
2350         Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
2351
2352 2007-08-24  Sam Weinig  <sam@webkit.org>
2353
2354         Rubber-stamped by Adam Roben.
2355
2356         <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
2357
2358         Rename COM DOM bindings to use Deprecated prefix.
2359
2360         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2361         (dumpFramesAsText):
2362         (dump):
2363         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
2364         (dumpPath):
2365         (dump):
2366         (EditingDelegate::shouldBeginEditingInDOMRange):
2367         (EditingDelegate::shouldEndEditingInDOMRange):
2368         (EditingDelegate::shouldInsertNode):
2369         (EditingDelegate::shouldInsertText):
2370         (EditingDelegate::shouldDeleteDOMRange):
2371         (EditingDelegate::shouldChangeSelectedDOMRange):
2372         (EditingDelegate::shouldApplyStyle):
2373         (EditingDelegate::shouldChangeTypingStyle):
2374         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
2375
2376 2007-08-24  Oliver Hunt  <oliver@apple.com>
2377
2378         Reviewed by John H.
2379
2380         WebDataSource::response can legitimately have a null response, so we
2381         must check that case.
2382
2383         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
2384         (queueLoadCallback):
2385
2386 2007-08-23  Mitz Pettel  <mitz@webkit.org>
2387
2388         Reviewed by Darin and Adam.
2389
2390         - DumpRenderTree changes to allow testing for
2391           http://bugs.webkit.org/show_bug.cgi?id=11756
2392           REGRESSION: link targeting a frame in another window does not work
2393           <rdar://problem/5286420>
2394
2395         Use a frame group name for all WebViews created by DumpRenderTree to
2396         allow testing of cross-page frame lookup.
2397
2398         * DumpRenderTree/DumpRenderTree.m:
2399         (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
2400         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2401         (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
2402
2403 2007-08-23  David Kilzer  <ddkilzer@webkit.org>
2404
2405         Reviewed by Adam.
2406
2407         Quote the $sslCertificate path in case it contains a space.
2408
2409         * Scripts/run-webkit-httpd:
2410         * Scripts/run-webkit-tests:
2411
2412 2007-08-22  Oliver Hunt  <oliver@apple.com>
2413
2414         Reviewed by John and Adam.
2415         
2416         WebDataSource::response can legitimately have a null response, so we
2417         must check that case.
2418
2419         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2420         (dump):
2421
2422 2007-08-21  Kevin McCullough  <kmccullough@apple.com>
2423
2424         Reviewed by Geof.
2425
2426         - Changing the usage to be more clear.
2427
2428         * Scripts/run-testkjs:
2429
2430 2007-08-20  John Sullivan  <sullivan@apple.com>
2431
2432         Reviewed by Adam Roben
2433
2434         * DumpRenderTree/DumpRenderTree.m:
2435         (runTest):
2436         call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
2437         in layout tests on Tiger and Leopard
2438
2439 2007-08-20  Adam Roben  <aroben@apple.com>
2440
2441         Put LayoutTests after all other ChangeLogs in commit logs
2442
2443         We use "~" to sort LayoutTests after all the other ChangeLogs because
2444         "~" is the last ASCII character (other than "DEL").
2445
2446         Reviewed by Sam.
2447
2448         * Scripts/commit-log-editor:
2449
2450 2007-08-20  Adam Roben  <aroben@apple.com>
2451
2452         Detect that DRT crashed even if a crash dialog is running
2453
2454         On Windows, when DRT crashes a crash dialog commonly appears. The DRT
2455         process is still running at this point, so run-webkit-tests wouldn't
2456         detect that DRT had crashed. We now record the crash in our SIGPIPE
2457         handler so that we know if DRT crashed even if the crash dialog is up.
2458
2459         Reviewed by Sam.
2460
2461         * Scripts/run-webkit-tests:
2462         (sub catch_pipe): Set the crashed bit.
2463         (sub openDumpTool): Reset the crashed bit.
2464         (sub dumpToolDidCrash): Check the crashed bit.
2465
2466 2007-08-20  Adam Roben  <aroben@apple.com>
2467
2468         Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
2469
2470         http://bugs.webkit.org/show_bug.cgi?id=15026
2471
2472         Reviewed by David Kilzer and Darin Adler.
2473
2474         * Scripts/prepare-ChangeLog:
2475         (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
2476         (sub isAddedStatus): Ditto.
2477         (sub testListForChangeLog): Added.
2478
2479 2007-08-19  Oleg Sukhodolsky  <son.two@gmail.com>
2480
2481         Reviewed by Mark.
2482
2483         -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
2484
2485         * Scripts/webkitdirs.pm:
2486         qt and gtk ports now explicitly pass debug (or release) mode to qmake.
2487
2488 2007-08-17  Darin Adler  <darin@apple.com>
2489
2490         Reviewed by Oliver Hunt.
2491
2492         - don't look for Apple-style localizable strings in the GTK version of WebKit
2493
2494         * Scripts/extract-localizable-strings: Add a feature where you can pass in the
2495         name of subdirectories to skip.
2496         * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
2497         to skip.
2498
2499 2007-08-17  Anders Carlsson  <andersca@apple.com>
2500
2501         Build fix.
2502         
2503         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2504         (NPP_SetWindow):
2505
2506 2007-08-17  Anders Carlsson  <andersca@apple.com>
2507
2508         Reviewed by Dave Hyatt.
2509
2510         <rdar://problem/5379040>
2511         REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
2512
2513         Add a way for the plug-in to dump the width and height when it gets its  NPP_SetWindow call.
2514         
2515         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2516         (pluginAllocate):
2517         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2518         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2519         (NPP_New):
2520         (NPP_SetWindow):
2521
2522 2007-08-16  Alice Liu  <alice.liu@apple.com>
2523
2524         Reviewed by Maciej.
2525
2526         Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
2527
2528         * DumpRenderTree/DumpRenderTree.m:
2529         (createWebView):
2530         Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
2531         (dumpRenderTree):
2532         Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow. 
2533
2534 2007-08-16  Kevin McCullough  <kmccullough@apple.com>
2535
2536         Reviewed by Adam.
2537
2538         - Added tests for regressions in other components.  In this case we also need to add a skipped list for Tiger since this functionality didn't exist in 10.4.
2539
2540         * Scripts/run-webkit-tests:
2541
2542 2007-08-15  Timothy Hatcher  <timothy@apple.com>
2543
2544         Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
2545         The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
2546
2547         Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
2548         this prevents making "build" directories in each project folder.
2549
2550         * Scripts/webkitdirs.pm:
2551
2552 2007-08-14  Geoffrey Garen  <ggaren@apple.com>
2553
2554         Reviewed by Kevin Mccullough.
2555         
2556         Removed special case that didn't belong. (It would allow a global 
2557         initializer to sneak into production builds, which would cause a 
2558         system-wide performance regression on Mac OS X.)
2559
2560         * Scripts/check-for-global-initializers:
2561
2562 2007-08-14  Justin Garcia  <justin.garcia@apple.com>
2563
2564         Reviewed by Tim.
2565         
2566         <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
2567
2568         * DumpRenderTree/EditingDelegate.m:
2569         (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
2570         only for elements with the class needsDeletionUI.
2571
2572 2007-08-14  David Kilzer  <ddkilzer@webkit.org>
2573
2574         Reviewed by Darin.
2575
2576         - fix http://bugs.webkit.org/show_bug.cgi?id=14965
2577           svn-create-patch uses deprecated tail switch
2578
2579         * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
2580
2581 2007-08-13  Sam Weinig  <sam@webkit.org>
2582
2583         Reviewed by Adam Roben.
2584
2585         Use the cygwin specific Apache config file under cygwin.
2586
2587         * Scripts/run-webkit-httpd:
2588
2589 2007-08-12  Adam Roben  <aroben@apple.com>
2590
2591         Generate results for new tests in a more logical location
2592
2593         New platform-specific tests always have their results generated right
2594         next to the test. New cross-platform tests will have their results
2595         generated a) in the cross-platform directory, if they are text-only,
2596         or b) in the least-specific platform directory, if they are render
2597         tree dumps.
2598
2599         Reviewed by Lars.
2600
2601         * Scripts/run-webkit-tests:
2602
2603 2007-08-12  Adam Roben  <aroben@apple.com>
2604
2605         Print the actual directory where new results are generated.
2606
2607         Before, we were printing an unpredictable, context-specific substring
2608         of the directory.
2609
2610         Reviewed by Lars.
2611
2612         * Scripts/run-webkit-tests:
2613
2614 2007-08-12  Adam Roben  <aroben@apple.com>
2615
2616         Factor some common code into a stripExtension() subroutine.
2617
2618         Reviewed by Lars.
2619
2620         * Scripts/run-webkit-tests: Also removed some debugging output.
2621
2622 2007-08-11  Matt Lilek  <pewtermoose@gmail.com>
2623
2624         Reviewed over and over and over by Adam Roben.
2625
2626         Bug 14740: Hierarchical layout tests and platform organization
2627         http://bugs.webkit.org/show_bug.cgi?id=14740
2628
2629         Add support for platform-specific layout tests and results.
2630
2631         * Scripts/run-webkit-tests:
2632
2633 2007-08-11  David Kilzer  <ddkilzer@webkit.org>
2634
2635         Reviewed by Adam.
2636
2637         Refactored svn-create-path to use a hash-of-hashes data structure to keep
2638         track of changed files.  In the top level hash, keys are paths to files and
2639         values are 'fileData' hashes with the following keys and values:
2640
2641         - isBinary: boolean value (set to true for non-text files like images, etc.)
2642         - isTestFile: boolean value (set to true if file exists within a known test
2643           directory)
2644         - modificationType: string equal to one of 'addition', 'additionWithHistory',
2645           'modification' or 'deletion'
2646         - path: string equal to the path to the file (this may seem redundant, but it
2647           is required to use the second-level 'fileData' hash independent of the
2648           top-level hash)
2649         - sourceFile: [optional] string equal to the path of the original file that was
2650           copied or moved
2651         - sourceRevision: [optional] string equal to the revision of the original file
2652           that was copied or moved
2653
2654         * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
2655         that saves the return value in $result, then checks it before printing help.
2656         Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
2657         and eliminated two for() loops.
2658         (binarycmp): Added.  Used with sort() to order non-binary files before binary
2659         files.
2660         (findBaseUrl): Added.  Extracted from findSourceFileAndRevision().
2661         (findMimeType): Added optional second argument that takes a revision number.
2662         (generateDiff): Updated to take one fileData argument instead of three ($file,
2663         $modificationType, $isBinary).
2664         (generateFileList): Updated to take one hash ref argument (%diffFiles)
2665         instead of three (%sourceFiles, %testFiles, %binaryFiles).  Populates
2666         %diffFiles using paths for keys and fileData hashes for values.
2667         (manufacturePatchForAdditionWithHistory): Updated to take one fileData
2668         argument.
2669         (pathcmp): Updated to take two fileData arguments instead of two strings.
2670         (testfilecmp): Added.  Used with sort() to order non-test files before test
2671         files.
2672
2673 2007-08-11  Darin Adler  <darin@apple.com>
2674
2675         * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
2676
2677 2007-08-06  Nigel Tao  <nigeltao@gnome.org>
2678
2679         Reviewed by David Kilzer.
2680
2681         Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
2682         http://bugs.webkit.org/show_bug.cgi?id=14745
2683
2684         * Scripts/run-launcher:
2685         Scrub the "--gdk" out of the command line args, if given, so that
2686         GdkLauncher doesn't try to interpret it as a URL.
2687
2688 2007-08-03  Adam Roben  <aroben@apple.com>
2689
2690         Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
2691
2692         Reviewed by Sam.
2693
2694         * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
2695
2696 2007-08-03  Sam Weinig  <sam@webkit.org>
2697
2698         Reviewed by Darin.
2699
2700         Recursively dump all frames as text using new
2701         layoutTestController.dumpChildFramesAsText() function.
2702
2703         * DumpRenderTree/DumpRenderTree.m:
2704         (dumpFramesAsText):
2705         (dump):
2706         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2707         (-[LayoutTestController dumpChildFramesAsText]):
2708         (runTest):
2709         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2710         (dumpFramesAsText):
2711         (dump):
2712         (runTest):
2713         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
2714         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
2715         (dumpChildFramesAsTextCallback):
2716         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2717
2718 2007-08-02  Adam Roben  <aroben@apple.com>
2719
2720         Fix fast/dom/Window/alert-undefined.html
2721
2722         Reviewed by Sam.
2723
2724         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
2725         (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
2726         Windows translate a null BSTR into "(null)"
2727
2728 2007-08-02  Kevin McCullough  <kmccullough@apple.com>
2729
2730         Reviewed by Tim. 
2731
2732         - It would help if I actually called the right function.
2733
2734         * Drosera/DebuggerDocument.cpp:
2735         (DebuggerDocument::showConsole):
2736
2737 2007-08-02  Adam Roben  <aroben@apple.com>
2738
2739         Don't delete the stderr file right after creating it
2740
2741         Reviewed by NOBODY.
2742
2743         * Scripts/run-webkit-tests:
2744
2745 2007-08-01  Adam Roben  <aroben@apple.com>
2746
2747         When DRT crashes, record stderr and restart DRT
2748
2749         This prevents a DRT crash from causing the next few hundred tests to
2750         "fail" because DRT is no longer running. 
2751
2752         I also changed the terminology that run-webkit-tests uses in its
2753         output a bit, so that crashing tests are referred to as "crashes"
2754         instead of "failures".
2755
2756         Reviewed by Mark.
2757
2758         * Scripts/run-webkit-tests: Detect a crash and record it as a tool
2759         failure.
2760         (sub openDumpTool): Use open3 so that we can access stderr.
2761         (sub dumpToolCrashed): Added.
2762         (sub printFailureMessageForTest): Added.
2763         (sub htmlForExpectedAndActualResults): Added.
2764         (sub deleteExpectedAndActualResults): Added.
2765         (sub recordActualResultsAndDiff): Added.
2766
2767 2007-07-30  Darin Adler  <darin@apple.com>
2768
2769         Reviewed by Tim Hatcher.
2770
2771         * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
2772         characters. This turned out not to be needed for the test case that motivated me to
2773         do it, but it's nice to have this for the future.
2774
2775 2007-07-30  Simon Hausmann  <hausmann@kde.org>
2776
2777         Reviewed by Lars.
2778
2779         Link QtLauncher into $$OUTPUT_DIR/bin
2780
2781         * Scripts/run-launcher:
2782
2783 2007-07-27  David Kilzer  <ddkilzer@apple.com>
2784
2785         Reviewed by Geoff and Darin.
2786
2787         Use a subroutine for validating the --skipped switch.
2788
2789         * Scripts/run-webkit-tests:
2790
2791 2007-07-27  Darin Adler  <darin@apple.com>
2792
2793         Reviewed by Sam.
2794
2795         * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
2796
2797 2007-07-27  Holger Hans Peter Freyther  <zecke@selfish.org>
2798
2799         Reviewed by Mark.
2800
2801         Correct the path of GdkLauncher and make checkFrameworks work on OSX
2802         when building the Qt or Gtk+ port.
2803
2804         * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
2805         * Scripts/run-launcher:
2806         * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
2807
2808 2007-07-27  Simon Hausmann  <hausmann@kde.org>
2809
2810         Done with and reviewed by Lars and Zack.
2811
2812         Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.
2813
2814         * Scripts/webkitdirs.pm:
2815
2816 2007-07-27  Simon Hausmann  <hausmann@kde.org>
2817
2818         Done with and reviewed by Lars and Zack.
2819
2820         For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
2821
2822         * Scripts/webkitdirs.pm:
2823
2824 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
2825
2826         Reviewed by Darin, Geoff, Sam.
2827
2828         - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
2829
2830         - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
2831
2832         * DumpRenderTree/UIDelegate.h:
2833         * DumpRenderTree/UIDelegate.m:
2834         (-[UIDelegate webView:setFrame:]):
2835         (-[UIDelegate webViewFrame:]):
2836
2837 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
2838
2839         Reviewed by Adam.
2840
2841         - Lars wanted this check for Qt but it breaks platform specific layout tests.
2842
2843         * Scripts/run-webkit-tests:
2844
2845 2007-07-25  Kevin McCullough  <kmccullough@apple.com>
2846
2847         Reviewed by Tim, Darin, Oliver.
2848
2849         - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
2850         - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
2851
2852         * ChangeLog:
2853         * DumpRenderTree/DumpRenderTree.m:
2854         (createWebView):
2855         (dumpRenderTree):
2856         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2857         (+[LayoutTestController webScriptNameForSelector:]):
2858         (-[LayoutTestController setCustomPolicyDelegate:]):
2859         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2860         * DumpRenderTree/FrameLoadDelegate.h:
2861         * DumpRenderTree/PolicyDelegate.h: Added.
2862         * DumpRenderTree/PolicyDelegate.m: Added.
2863         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
2864         * DumpRenderTree/ResourceLoadDelegate.h:
2865
2866 2007-07-25  Adam Treat  <treat@kde.org>
2867
2868         Reviewed by Niko.
2869
2870         Fix build for some reported systems.
2871
2872         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2873
2874 2007-07-23  Adam Treat  <treat@kde.org>
2875
2876         Reviewed by Nikolas.
2877
2878         Fix qt DRT to suppress js popup alerts and log instead.
2879
2880         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2881         (WebCore::WebPage::javaScriptAlert):
2882
2883 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
2884
2885         Reviewed by Adam.
2886
2887         Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
2888         honor --qmakearg for the Gdk/Gtk build as well.
2889
2890         * GdkLauncher/main.cpp: Switch to the new API
2891         * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR 
2892
2893 2007-07-22  Darin Adler  <darin@apple.com>
2894
2895         * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
2896         Fix a leak by releasing the array used here.
2897
2898 2007-07-22  David Kilzer  <ddkilzer@webkit.org>
2899
2900         Reviewed by Darin.
2901
2902         - fix http://bugs.webkit.org/show_bug.cgi?id=14713
2903           Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
2904
2905         Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
2906         of WebCore/css/CSSPropertyNames.in.  Also updated cssproperties.in.
2907
2908         * Scripts/update-iexploder-cssproperties: Added.
2909         * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
2910         Added new CSS3 property section and Moved box-sizing property to it.
2911
2912 2007-07-22  Oliver Hunt  <oliver@apple.com>
2913
2914         Reviewed by Darin.
2915
2916         http://bugs.webkit.org/show_bug.cgi?id=14710
2917
2918         Add preliminary support for testing Input Method/WebKit behaviour and interaction 
2919         in DRT.  This provides the NSTextInput API which is most of what should be necessary
2920         to mimic the event sequences Input Methods trigger.
2921
2922         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2923         * DumpRenderTree/TextInputController.h:
2924         * DumpRenderTree/TextInputController.m:
2925         (-[WebHTMLView interpretKeyEvents:]):
2926         (+[TextInputController isSelectorExcludedFromWebScript:]):
2927         (+[TextInputController webScriptNameForSelector:]):
2928         (-[TextInputController initWithWebView:]):
2929         (-[TextInputController dealloc]):
2930         (-[TextInputController textInput]):
2931         (-[TextInputController setInputMethodHandler:]):
2932         (-[TextInputController interpretKeyEvents:withSender:]):
2933
2934 2007-07-20  Adam Roben  <aroben@apple.com>
2935
2936         * Scripts/commit-log-editor: Small fix to make an all-whitespace log
2937         message not count as an existing log.
2938
2939 2007-07-19  Geoffrey Garen  <ggaren@apple.com>
2940
2941         Reviewed by Darin Adler.
2942         
2943         Updated DumpRenderTree for <rdar://problem/5348384> Restore old return 
2944         value behavior of stringByEvaluatingJavaScriptFromString
2945
2946         * DumpRenderTree/DumpRenderTree.m:
2947         (testStringByEvaluatingJavaScriptFromString):
2948         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2949
2950 2007-07-19  Adam Roben  <aroben@apple.com>
2951
2952         Make commit-log-editor work with git
2953
2954         Reviewed by Sam.
2955
2956         * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
2957         commit message template. Also removed the unused $breakPoint variable.
2958
2959 2007-07-19  Adam Roben  <aroben@apple.com>
2960
2961         Move generally-useful VCS code into a new VCSUtils.pm module
2962
2963         This is in preparation for making commit-log-editor git-friendly.
2964
2965         Reviewed by Sam.
2966
2967         * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
2968         * Scripts/prepare-ChangeLog: Use VCSUtils.
2969
2970 2007-07-19  Lars Knoll <lars@trolltech.com>
2971
2972         Fix a crash on exit when running DRT against a current
2973         Qt 4.4 snapshot.
2974
2975         Reviewed by Zack
2976
2977         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2978         (main):
2979
2980 2007-07-18  Adam Roben  <aroben@apple.com>
2981
2982         Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
2983
2984         Reviewed by Mark.
2985
2986         * Scripts/run-webkit-httpd:
2987         * Scripts/run-webkit-tests:
2988
2989 2007-07-18  Adam Roben  <aroben@apple.com>
2990
2991         More git friendliness for prepare-ChangeLog
2992
2993         The overall change is to remove the use of git-status and replace it
2994         with git-diff --name-status (which we were already using in the
2995         --git-commit case).
2996
2997         This lets us respect directories specified on the command line when
2998         using git, just as we do for Subversion. It also speeds things up a
2999         bit, especially in the subdirectory case, as git-status is pretty slow.
3000
3001         I also fixed some issues where we wouldn't detect copied files and
3002         would reverse the new filename and the original filename for renamed files.
3003
3004         Reviewed by Mark.
3005
3006         * Scripts/prepare-ChangeLog:
3007         (sub diffFromToString): Added.
3008         (sub diffCommand): Don't append the paths in the --git-commit case, as
3009         we should be operating on the entire commit.
3010         (sub statusCommand): Always use git-diff --name-status, and added an
3011         extra -C option to git-diff to make it find a few more copied files.
3012         (sub createPatchCommand): Collapsed the two git cases a bit, and added
3013         the extra -C option as above.
3014         (sub generateFileList): Remove the git-status codepath, and recognize
3015         file copies in the --name-status output.
3016         (sub isModifiedOrAddedStatus): Collapsed the status codes into one
3017         dictionary.
3018         (sub isConflictStatus): Updated the git dictionary.
3019         (sub statusDescription): Updated the git dictionary.
3020
3021 2007-07-18  Timothy Hatcher  <timothy@apple.com>
3022
3023         * Scripts/build-drosera: Update where we look for the Xcode project.
3024
3025 2007-07-18  Adam Treat <treat@kde.org>
3026
3027         Reviewed by bdash.
3028
3029         Use the old wording for Safari.
3030
3031         * Scripts/build-webkit:
3032         * Scripts/webkitdirs.pm:
3033
3034 2007-07-18  Adam Treat <treat@kde.org>
3035
3036         Reviewed by bdash.
3037
3038         Add convenience script for launching test apps for Qt and Gdk ports.
3039         Change the build-webkit script accordingly.
3040
3041         * Scripts/build-webkit:
3042         * Scripts/run-launcher: Added.
3043         * Scripts/webkitdirs.pm:
3044
3045 2007-07-18  Timothy Hatcher  <timothy@apple.com>
3046
3047         Reviewed by Adam.
3048
3049         Make the Page with the now required InspectorClient.
3050
3051         * GdkLauncher/main.cpp:
3052         (main):
3053
3054 2007-07-18  Timothy Hatcher  <timothy@apple.com>
3055
3056         Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
3057         Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
3058
3059         * Drosera/Makefile: Added.
3060         * Drosera/mac/Makefile:
3061         * DumpRenderTree/Makefile:
3062         * Makefile:
3063         * Makefile.Drosera: Removed.
3064         * Makefile.shared: Removed.
3065
3066 2007-07-18  Timothy Hatcher  <timothy@apple.com>
3067
3068         The console log was 20px down from the top for no reason, move it up.
3069
3070         * Drosera/console.css:
3071
3072 2007-07-18  Timothy Hatcher  <timothy@apple.com>
3073
3074         Use contentDocument to get the source view's iframe document.
3075         Also adds a null/undefined check for localVariableNames.
3076
3077         * Drosera/debugger.js:
3078
3079 2007-07-18  Lars Knoll <lars@trolltech.com>
3080
3081         We really don't want to compare non text only tests to the 
3082         Mac results if we don't have a result for Qt, as this would
3083         give a failure and not a notification that the test is new.
3084
3085         Reviewed by Zack
3086
3087         * Scripts/run-webkit-tests:
3088
3089 2007-07-18  Lars Knoll <lars@trolltech.com>
3090
3091         Reviewed by Zack & Simon
3092
3093         Adjust to changed API in QWebFrame
3094
3095         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3096         (WebCore::DumpRenderTree::DumpRenderTree):
3097
3098 2007-07-18  Mark Rowe  <mrowe@apple.com>
3099
3100         Update path to the Drosera Xcode project now that it has moved into a subdirectory.
3101
3102         * BuildSlaveSupport/build-launcher-app:
3103
3104 2007-07-17  Geoffrey Garen  <ggaren@apple.com>
3105
3106         Reviewed by Antti Koivisto.
3107         
3108         Added watchdog timer to waitUntilDone to prevent a run-away test from
3109         hanging the test harness.
3110
3111         * DumpRenderTree/DumpRenderTree.m:
3112         (dump):
3113         (-[LayoutTestController waitUntilDone]):
3114         (-[LayoutTestController waitUntilDoneWatchdogFired]):
3115         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3116
3117 2007-07-17  Kevin McCullough  <kmccullough@apple.com>
3118
3119         Reviewed by Adam.
3120
3121         - Implemented cross-platform code for functions calling into the JavaScript.
3122
3123         * Drosera/DebuggerDocument.cpp:
3124         (DebuggerDocument::callAsFunction):
3125         (DebuggerDocument::pauseJS):
3126         (DebuggerDocument::resumeJS):
3127         (DebuggerDocument::stepIntoJS):
3128         (DebuggerDocument::stepOverJS):
3129         (DebuggerDocument::stepOutJS):
3130         (DebuggerDocument::showConsoleJS):
3131         (DebuggerDocument::closeCurrentFileJS):
3132         (DebuggerDocument::updateFileSource):
3133         (DebuggerDocument::didParseScript):
3134         (DebuggerDocument::willExecuteStatement):
3135         (DebuggerDocument::didEnterCallFrame):
3136         (DebuggerDocument::willLeaveCallFrame):
3137         (DebuggerDocument::exceptionWasRaised):
3138         * Drosera/DebuggerDocument.h:
3139         * Drosera/mac/DebuggerDocumentMac.mm:
3140         (-[DebuggerDocumentMac pause:]):
3141         (-[DebuggerDocumentMac resume:]):
3142         (-[DebuggerDocumentMac stepInto:]):
3143         (-[DebuggerDocumentMac stepOver:]):
3144         (-[DebuggerDocumentMac stepOut:]):
3145         (-[DebuggerDocumentMac showConsole:]):
3146         (-[DebuggerDocumentMac closeCurrentFile:]):
3147         (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
3148         (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3149         (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3150         (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3151         (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3152         (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3153
3154 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
3155
3156         Reviewed by Darin.
3157
3158         - Continued x-platform modifications.
3159
3160         * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
3161         * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
3162         * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
3163         * Drosera/win/DebuggerObjectCallbacks.h: Removed.
3164         * Drosera/win/Drosera.cpp:
3165         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3166         * Drosera/win/stdafx.cpp: Removed.
3167         * Drosera/win/stdafx.h: Removed.
3168
3169 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
3170
3171         Reviewed by Sam.
3172
3173         - Modified files to use cross-platform code.
3174
3175         * Drosera/DebuggerDocument.cpp: Added.
3176         (DebuggerDocument::breakpointEditorHTML):
3177         (DebuggerDocument::isPaused):
3178         (DebuggerDocument::pause):
3179         (DebuggerDocument::resume):
3180         (DebuggerDocument::stepInto):
3181         (DebuggerDocument::evaluateScript):
3182         (DebuggerDocument::currentFunctionStack):
3183         (DebuggerDocument::localScopeVariableNamesForCallFrame):
3184         (DebuggerDocument::valueForScopeVariableNamed):
3185         * Drosera/DebuggerDocument.h: Added.
3186         (DebuggerDocument::DebuggerDocument):
3187         * Drosera/config.h: Added.
3188         * Drosera/mac/DebuggerApplication.mm:
3189         (-[DebuggerApplication attach:]):
3190         * Drosera/mac/DebuggerDocument.h: Removed.
3191         * Drosera/mac/DebuggerDocument.mm: Removed.
3192         * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
3193         * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
3194         (-[DebuggerDocumentMac initWithServerName:]):
3195         (-[DebuggerDocumentMac dealloc]):
3196         (-[DebuggerDocumentMac breakpointEditorHTML]):
3197         (-[DebuggerDocumentMac isPaused]):
3198         (-[DebuggerDocumentMac pause]):
3199         (-[DebuggerDocumentMac resume]):
3200         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3201         * Drosera/win/DebuggerApplication.cpp:
3202         * Drosera/win/DebuggerObjectCallbacks.cpp:
3203         (breakpointEditorHTMLCallback):
3204         (currentFunctionStackCallback):
3205         (evaluateScript_inCallFrame_Callback):
3206         (isPausedCallback):
3207         (localScopeVariableNamesForCallFrame_Callback):
3208         (pauseCallback):
3209         (resumeCallback):
3210         (stepIntoCallback):
3211         (valueForScopeVariableNamed_inCallFrame_Callback):
3212         (staticFunctions):
3213         * Drosera/win/Drosera.cpp:
3214         * Drosera/win/DroseraPrefix.cpp: Added.
3215         * Drosera/win/DroseraPrefix.h: Added.
3216
3217 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
3218
3219         Reviewed by Adam, Sam and Tim.
3220
3221         - Moving files to prepare for cross-platform architecture.
3222
3223         * Drosera/DebuggerApplication.h: Removed.
3224         * Drosera/DebuggerApplication.m: Removed.
3225         * Drosera/DebuggerDocument.h: Removed.
3226         * Drosera/DebuggerDocument.m: Removed.
3227         * Drosera/Drosera.pch: Removed.
3228         * Drosera/Drosera.xcodeproj: Removed.
3229         * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
3230         * Drosera/Info.plist: Removed.
3231         * Drosera/LauncherInfo.plist: Removed.
3232         * Drosera/Makefile: Removed.
3233         * Drosera/launcher.m: Removed.
3234         * Drosera/mac: Added.
3235         * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
3236         * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
3237         * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
3238         * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
3239         * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
3240         * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
3241         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3242         * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
3243         * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
3244         * Drosera/mac/Makefile: Copied from Drosera/Makefile.
3245         * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
3246         * Drosera/mac/main.m: Copied from Drosera/main.m.
3247         * Drosera/main.m: Removed.
3248         * Makefile:
3249         * Makefile.Drosera: Added.
3250
3251 2007-07-15  Mark Rowe  <mrowe@apple.com>
3252
3253         * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
3254
3255 2007-07-13  Sam Weinig  <sam@webkit.org>
3256
3257         Reviewed by Geoff Garen.
3258
3259         Add support for running SSL tests over HTTPS.
3260
3261         * DumpRenderTree/DumpRenderTree.m:
3262         (runTest):
3263         * DumpRenderTree/FrameLoadDelegate.m:
3264         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3265         * Scripts/run-webkit-httpd:
3266         * Scripts/run-webkit-tests:
3267
3268 2007-07-13  David Kilzer  <ddkilzer@apple.com>
3269
3270         Reviewed by Darin.
3271
3272         Added support for -h|--help argument and verify that all command line arguments parse
3273         correctly.
3274
3275         * Scripts/run-webkit-httpd:
3276
3277 2007-07-12  Mark Rowe  <mrowe@apple.com>
3278
3279         Reviewed by Ada.
3280
3281         Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
3282
3283         * Scripts/run-webkit-tests:
3284
3285 2007-07-12  Geoffrey Garen  <ggaren@apple.com>
3286
3287         Reviewed by Oliver Hunt.
3288         
3289         Made the leaks tests pass on Leopard.
3290
3291         * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
3292         * Scripts/run-leaks: Updated parser for slight change in text output.
3293
3294 2007-07-11  David Kilzer  <ddkilzer@apple.com>
3295
3296         Reviewed by Maciej.
3297
3298         Update the iExploder list of CSS properties after box-sizing was renamed to
3299         -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
3300
3301         * iExploder/htdocs/cssproperties.in:  Added -webkit-box-sizing.  Both box-sizing and
3302         -moz-box-sizing remain.
3303
3304 2007-07-10  Darin Adler  <darin@apple.com>
3305
3306         * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
3307         Foundation's multipart/mixed-replace support -- I already verified that
3308         the bug has been fixed.
3309
3310 2007-07-10  Alice Liu  <alice.liu@apple.com>
3311
3312         rubber stamped by Maciej.
3313
3314         fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
3315
3316         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3317         (initializePreferences):
3318         set editable link behavior to match Mac DRT. 
3319
3320 2007-07-10  Geoffrey Garen  <ggaren@apple.com>
3321
3322         Reviewed by Tim Hatcher.
3323
3324         Ignore Page.o in debug builds because it now has a static PageCounter
3325         object.
3326
3327         * Scripts/check-for-global-initializers:
3328
3329 2007-07-09  Darin Adler  <darin@apple.com>
3330
3331         * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
3332
3333 2007-07-09  Alice Liu  <alice.liu@apple.com>
3334
3335         Reviewed by Adam Roben.
3336
3337         setting DOM Paste Allowed Pref 
3338
3339         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
3340         (initializePreferences):
3341
3342 2007-07-05  Kevin McCullough  <kmccullough@apple.com>
3343
3344         Reviewed by Adam, Sam, and Ada.
3345
3346         - Inital checkin of Drosera for Win.  This isn't pretty and doesn't connect to Safari but debug builds and runs.
3347
3348         * Drosera/Images/Drosera.ico: Added.
3349         * Drosera/Images/small.ico: Added.
3350         * Drosera/win: Added.
3351         * Drosera/win/BaseDelegate.h: Added.
3352         (BaseDelegate::QueryInterface):
3353         (BaseDelegate::didFinishLoadForFrame):
3354         (BaseDelegate::windowScriptObjectAvailable):
3355         (BaseDelegate::didStartProvisionalLoadForFrame):
3356         (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
3357         (BaseDelegate::didFailProvisionalLoadWithError):
3358         (BaseDelegate::didCommitLoadForFrame):
3359         (BaseDelegate::didReceiveTitle):
3360         (BaseDelegate::didReceiveIcon):
3361         (BaseDelegate::didFailLoadWithError):
3362         (BaseDelegate::didChangeLocationWithinPageForFrame):
3363         (BaseDelegate::willPerformClientRedirectToURL):
3364         (BaseDelegate::didCancelClientRedirectForFrame):
3365         (BaseDelegate::willCloseFrame):
3366         (BaseDelegate::createWebViewWithRequest):
3367         (BaseDelegate::webViewShow):
3368         (BaseDelegate::webViewClose):
3369         (BaseDelegate::webViewFocus):
3370         (BaseDelegate::webViewUnfocus):
3371         (BaseDelegate::webViewFirstResponder):
3372         (BaseDelegate::makeFirstResponder):
3373         (BaseDelegate::setStatusText):
3374         (BaseDelegate::webViewStatusText):
3375         (BaseDelegate::webViewAreToolbarsVisible):
3376         (BaseDelegate::setToolbarsVisible):
3377         (BaseDelegate::webViewIsStatusBarVisible):
3378         (BaseDelegate::setStatusBarVisible):
3379         (BaseDelegate::webViewIsResizable):
3380         (BaseDelegate::setResizable):
3381         (BaseDelegate::setFrame):
3382         (BaseDelegate::webViewFrame):
3383         (BaseDelegate::setContentRect):
3384         (BaseDelegate::webViewContentRect):
3385         (BaseDelegate::runJavaScriptAlertPanelWithMessage):
3386         (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
3387         (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
3388         (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
3389         (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
3390         (BaseDelegate::mouseDidMoveOverElement):
3391         (BaseDelegate::contextMenuItemsForElement):
3392         (BaseDelegate::validateUserInterfaceItem):
3393         (BaseDelegate::shouldPerformAction):
3394         (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
3395         (BaseDelegate::willPerformDragDestinationAction):
3396         (BaseDelegate::dragSourceActionMaskForPoint):
3397         (BaseDelegate::willPerformDragSourceAction):
3398         (BaseDelegate::contextMenuItemSelected):
3399         (BaseDelegate::hasCustomMenuImplementation):
3400         (BaseDelegate::trackCustomPopupMenu):
3401         (BaseDelegate::measureCustomMenuItem):
3402         (BaseDelegate::drawCustomMenuItem):
3403         (BaseDelegate::addCustomMenuDrawingData):
3404         (BaseDelegate::cleanUpCustomMenuDrawingData):
3405         (BaseDelegate::canTakeFocus):
3406         (BaseDelegate::takeFocus):
3407         (BaseDelegate::registerUndoWithTarget):
3408         (BaseDelegate::removeAllActionsWithTarget):
3409         (BaseDelegate::setActionTitle):
3410         (BaseDelegate::undo):
3411         (BaseDelegate::redo):
3412         (BaseDelegate::canUndo):
3413         (BaseDelegate::canRedo):
3414         * Drosera/win/DebuggerApplication.cpp: Added.
3415         (DebuggerApplication::serverLoaded):
3416         (DebuggerApplication::serverUnloaded):
3417         (DebuggerApplication::attach):
3418         (DebuggerApplication::numberOfRowsInTableView):
3419         (DebuggerApplication::tableView):
3420         * Drosera/win/DebuggerApplication.h: Added.
3421         (DebuggerApplication::DebuggerApplication):
3422         (DebuggerApplication::knownServers):
3423         * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
3424         (breakpointEditorHTMLCallback):
3425         (currentFunctionStackCallback):
3426         (doubleClickMillisecondsCallback):
3427         (evaluateScript_inCallFrame_Callback):
3428         (isPausedCallback):
3429         (localScopeVariableNamesForCallFrame_Callback):
3430         (pauseCallback):
3431         (resumeCallback):
3432         (stepIntoCallback):
3433         (valueForScopeVariableNamed_inCallFrame_Callback):
3434         (staticFunctions):
3435         * Drosera/win/DebuggerObjectCallbacks.h: Added.
3436         * Drosera/win/Drosera.cpp: Added.
3437         (_tWinMain):
3438         (RegisterDroseraClass):
3439         (DroseraWndProc):
3440         (About):
3441         (Attach):
3442         (Drosera::Drosera):
3443         (Drosera::initUI):
3444         (Drosera::QueryInterface):
3445         (Drosera::AddRef):
3446         (Drosera::Release):
3447         (Drosera::didFinishLoadForFrame):
3448         (getDroseraJSClass):
3449         (Drosera::windowScriptObjectAvailable):
3450         (Drosera::webViewClose):
3451         (Drosera::validateUserInterfaceItem):
3452         (Drosera::runJavaScriptAlertPanelWithMessage):
3453         (Drosera::onSize):
3454         * Drosera/win/Drosera.h: Added.
3455         (Drosera::webViewLoaded):
3456         * Drosera/win/Drosera.vcproj: Added.
3457         * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
3458         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
3459         * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
3460         * Drosera/win/Drosera.vcproj/release.vsprops: Added.
3461         * Drosera/win/HelperFunctions.h: Added.
3462         (CFStringToBSTR):
3463         * Drosera/win/Info.plist: Added.
3464         * Drosera/win/resource.h: Added.
3465         * Drosera/win/stdafx.cpp: Added.
3466         * Drosera/win/stdafx.h: Added.
3467
3468 2007-07-09  Adam Treat  <adam@staikos.net>
3469
3470         Reviewed by George Staikos.
3471
3472         Convert QWebFrame from a QFrame to a pure QObject to eliminate all
3473         traces of widgets.
3474
3475         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3476         (WebCore::DumpRenderTree::DumpRenderTree):
3477
3478 2007-07-09  Anders Carlsson  <andersca@apple.com>
3479
3480         Reviewed by Oliver.
3481
3482         <rdar://problem/4954319> 
3483         Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at 
3484         com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
3485         
3486         If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream", 
3487         return an error from NPP_NewStream.
3488         
3489         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3490         (pluginAllocate):
3491         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3492         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3493         (NPP_New):
3494         (NPP_NewStream):
3495
3496 2007-07-08  Mark Rowe  <mrowe@apple.com>
3497
3498         Change name from WebKit/Qt to WebKit.
3499
3500         * CodeCoverage/regenerate-coverage-display:
3501
3502 2007-07-08  Rob Buis  <buis@kde.org>
3503
3504         Reviewed by Mitz.
3505
3506         http://bugs.webkit.org/show_bug.cgi?id=14209
3507         DRT should be able to deal with text zoom
3508
3509         Allow increasing/decreasing text zoom using eventSender.
3510
3511         * DumpRenderTree/DumpRenderTree.m:
3512         (runTest):
3513         * DumpRenderTree/EventSendingController.m:
3514         (+[EventSendingController initialize]):
3515         (+[EventSendingController isSelectorExcludedFromWebScript:]):
3516         (-[EventSendingController textZoomIn]):
3517         (-[EventSendingController textZoomOut]):
3518
3519 2007-07-07  Mark Rowe  <mrowe@apple.com>
3520
3521         Reviewed by Oliver.
3522
3523         * DumpRenderTree/DumpRenderTree.m:
3524         (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
3525
3526 2007-07-06  Anders Carlsson  <andersca@apple.com>
3527
3528         Reviewed by David Kilzer.
3529
3530         <rdar://problem/5313502>
3531         Many webarchive tests fail due to different NSURLResponse serialization on Leopard
3532
3533         Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
3534         response's attributes. Also change the JavaScript MIME type to be "text/javascript".
3535         
3536         * DumpRenderTree/DumpRenderTree.m:
3537         (convertMIMEType):
3538         (convertWebResourceDataToString):
3539         (convertWebResourceResponseToDictionary):
3540         (serializeWebArchiveToXML):
3541
3542 2007-07-06  Timothy Hatcher  <timothy@apple.com>
3543
3544         Reviewed by Oliver.
3545
3546         Initialize the NSMutableAttributedString directly instead of creating
3547         a NSAttributedString first.
3548
3549         * DumpRenderTree/TextInputController.m:
3550         (-[TextInputController attributedStringWithString:]):
3551
3552 2007-07-06  Anders Carlsson  <andersca@apple.com>
3553
3554         Reviewed by David Kilzer.
3555
3556         Replace "Apple Computer" with "Apple" in the DTD declaration.
3557
3558         * DumpRenderTree/DumpRenderTree.m:
3559         (serializeWebArchiveToXML):
3560
3561 2007-07-06  Adam Treat  <adam@staikos.net>
3562
3563         Reviewed by George Staikos.
3564
3565         Adjust for conversion of QWebFrame to a QFrame from a scroll area.
3566
3567         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: