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