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