WebKitQt:
[WebKit-https.git] / WebKitTools / ChangeLog
1 2007-07-27  Holger Hans Peter Freyther  <zecke@selfish.org>
2
3         Reviewed by Mark.
4
5         Correct the path of GdkLauncher and make checkFrameworks work on OSX
6         when building the Qt or Gtk+ port.
7
8         * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
9         * Scripts/run-launcher:
10         * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
11
12 2007-07-27  Simon Hausmann  <hausmann@kde.org>
13
14         Done with and reviewed by Lars and Zack.
15
16         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.
17
18         * Scripts/webkitdirs.pm:
19
20 2007-07-27  Simon Hausmann  <hausmann@kde.org>
21
22         Done with and reviewed by Lars and Zack.
23
24         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.
25
26         * Scripts/webkitdirs.pm:
27
28 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
29
30         Reviewed by Darin, Geoff, Sam.
31
32         - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
33
34         - 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.
35
36         * DumpRenderTree/UIDelegate.h:
37         * DumpRenderTree/UIDelegate.m:
38         (-[UIDelegate webView:setFrame:]):
39         (-[UIDelegate webViewFrame:]):
40
41 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
42
43         Reviewed by Adam.
44
45         - Lars wanted this check for Qt but it breaks platform specific layout tests.
46
47         * Scripts/run-webkit-tests:
48
49 2007-07-25  Kevin McCullough  <kmccullough@apple.com>
50
51         Reviewed by Tim, Darin, Oliver.
52
53         - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
54         - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
55
56         * ChangeLog:
57         * DumpRenderTree/DumpRenderTree.m:
58         (createWebView):
59         (dumpRenderTree):
60         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
61         (+[LayoutTestController webScriptNameForSelector:]):
62         (-[LayoutTestController setCustomPolicyDelegate:]):
63         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
64         * DumpRenderTree/FrameLoadDelegate.h:
65         * DumpRenderTree/PolicyDelegate.h: Added.
66         * DumpRenderTree/PolicyDelegate.m: Added.
67         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
68         * DumpRenderTree/ResourceLoadDelegate.h:
69
70 2007-07-25  Adam Treat  <treat@kde.org>
71
72         Reviewed by Niko.
73
74         Fix build for some reported systems.
75
76         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
77
78 2007-07-23  Adam Treat  <treat@kde.org>
79
80         Reviewed by Nikolas.
81
82         Fix qt DRT to suppress js popup alerts and log instead.
83
84         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
85         (WebCore::WebPage::javaScriptAlert):
86
87 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
88
89         Reviewed by Adam.
90
91         Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
92         honor --qmakearg for the Gdk/Gtk build as well.
93
94         * GdkLauncher/main.cpp: Switch to the new API
95         * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR 
96
97 2007-07-22  Darin Adler  <darin@apple.com>
98
99         * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
100         Fix a leak by releasing the array used here.
101
102 2007-07-22  David Kilzer  <ddkilzer@webkit.org>
103
104         Reviewed by Darin.
105
106         - fix http://bugs.webkit.org/show_bug.cgi?id=14713
107           Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
108
109         Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
110         of WebCore/css/CSSPropertyNames.in.  Also updated cssproperties.in.
111
112         * Scripts/update-iexploder-cssproperties: Added.
113         * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
114         Added new CSS3 property section and Moved box-sizing property to it.
115
116 2007-07-22  Oliver Hunt  <oliver@apple.com>
117
118         Reviewed by Darin.
119
120         http://bugs.webkit.org/show_bug.cgi?id=14710
121
122         Add preliminary support for testing Input Method/WebKit behaviour and interaction 
123         in DRT.  This provides the NSTextInput API which is most of what should be necessary
124         to mimic the event sequences Input Methods trigger.
125
126         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
127         * DumpRenderTree/TextInputController.h:
128         * DumpRenderTree/TextInputController.m:
129         (-[WebHTMLView interpretKeyEvents:]):
130         (+[TextInputController isSelectorExcludedFromWebScript:]):
131         (+[TextInputController webScriptNameForSelector:]):
132         (-[TextInputController initWithWebView:]):
133         (-[TextInputController dealloc]):
134         (-[TextInputController textInput]):
135         (-[TextInputController setInputMethodHandler:]):
136         (-[TextInputController interpretKeyEvents:withSender:]):
137
138 2007-07-20  Adam Roben  <aroben@apple.com>
139
140         * Scripts/commit-log-editor: Small fix to make an all-whitespace log
141         message not count as an existing log.
142
143 2007-07-19  Geoffrey Garen  <ggaren@apple.com>
144
145         Reviewed by Darin Adler.
146         
147         Updated DumpRenderTree for <rdar://problem/5348384> Restore old return 
148         value behavior of stringByEvaluatingJavaScriptFromString
149
150         * DumpRenderTree/DumpRenderTree.m:
151         (testStringByEvaluatingJavaScriptFromString):
152         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
153
154 2007-07-19  Adam Roben  <aroben@apple.com>
155
156         Make commit-log-editor work with git
157
158         Reviewed by Sam.
159
160         * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
161         commit message template. Also removed the unused $breakPoint variable.
162
163 2007-07-19  Adam Roben  <aroben@apple.com>
164
165         Move generally-useful VCS code into a new VCSUtils.pm module
166
167         This is in preparation for making commit-log-editor git-friendly.
168
169         Reviewed by Sam.
170
171         * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
172         * Scripts/prepare-ChangeLog: Use VCSUtils.
173
174 2007-07-19  Lars Knoll <lars@trolltech.com>
175
176         Fix a crash on exit when running DRT against a current
177         Qt 4.4 snapshot.
178
179         Reviewed by Zack
180
181         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
182         (main):
183
184 2007-07-18  Adam Roben  <aroben@apple.com>
185
186         Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
187
188         Reviewed by Mark.
189
190         * Scripts/run-webkit-httpd:
191         * Scripts/run-webkit-tests:
192
193 2007-07-18  Adam Roben  <aroben@apple.com>
194
195         More git friendliness for prepare-ChangeLog
196
197         The overall change is to remove the use of git-status and replace it
198         with git-diff --name-status (which we were already using in the
199         --git-commit case).
200
201         This lets us respect directories specified on the command line when
202         using git, just as we do for Subversion. It also speeds things up a
203         bit, especially in the subdirectory case, as git-status is pretty slow.
204
205         I also fixed some issues where we wouldn't detect copied files and
206         would reverse the new filename and the original filename for renamed files.
207
208         Reviewed by Mark.
209
210         * Scripts/prepare-ChangeLog:
211         (sub diffFromToString): Added.
212         (sub diffCommand): Don't append the paths in the --git-commit case, as
213         we should be operating on the entire commit.
214         (sub statusCommand): Always use git-diff --name-status, and added an
215         extra -C option to git-diff to make it find a few more copied files.
216         (sub createPatchCommand): Collapsed the two git cases a bit, and added
217         the extra -C option as above.
218         (sub generateFileList): Remove the git-status codepath, and recognize
219         file copies in the --name-status output.
220         (sub isModifiedOrAddedStatus): Collapsed the status codes into one
221         dictionary.
222         (sub isConflictStatus): Updated the git dictionary.
223         (sub statusDescription): Updated the git dictionary.
224
225 2007-07-18  Timothy Hatcher  <timothy@apple.com>
226
227         * Scripts/build-drosera: Update where we look for the Xcode project.
228
229 2007-07-18  Adam Treat <treat@kde.org>
230
231         Reviewed by bdash.
232
233         Use the old wording for Safari.
234
235         * Scripts/build-webkit:
236         * Scripts/webkitdirs.pm:
237
238 2007-07-18  Adam Treat <treat@kde.org>
239
240         Reviewed by bdash.
241
242         Add convenience script for launching test apps for Qt and Gdk ports.
243         Change the build-webkit script accordingly.
244
245         * Scripts/build-webkit:
246         * Scripts/run-launcher: Added.
247         * Scripts/webkitdirs.pm:
248
249 2007-07-18  Timothy Hatcher  <timothy@apple.com>
250
251         Reviewed by Adam.
252
253         Make the Page with the now required InspectorClient.
254
255         * GdkLauncher/main.cpp:
256         (main):
257
258 2007-07-18  Timothy Hatcher  <timothy@apple.com>
259
260         Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
261         Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
262
263         * Drosera/Makefile: Added.
264         * Drosera/mac/Makefile:
265         * DumpRenderTree/Makefile:
266         * Makefile:
267         * Makefile.Drosera: Removed.
268         * Makefile.shared: Removed.
269
270 2007-07-18  Timothy Hatcher  <timothy@apple.com>
271
272         The console log was 20px down from the top for no reason, move it up.
273
274         * Drosera/console.css:
275
276 2007-07-18  Timothy Hatcher  <timothy@apple.com>
277
278         Use contentDocument to get the source view's iframe document.
279         Also adds a null/undefined check for localVariableNames.
280
281         * Drosera/debugger.js:
282
283 2007-07-18  Lars Knoll <lars@trolltech.com>
284
285         We really don't want to compare non text only tests to the 
286         Mac results if we don't have a result for Qt, as this would
287         give a failure and not a notification that the test is new.
288
289         Reviewed by Zack
290
291         * Scripts/run-webkit-tests:
292
293 2007-07-18  Lars Knoll <lars@trolltech.com>
294
295         Reviewed by Zack & Simon
296
297         Adjust to changed API in QWebFrame
298
299         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
300         (WebCore::DumpRenderTree::DumpRenderTree):
301
302 2007-07-18  Mark Rowe  <mrowe@apple.com>
303
304         Update path to the Drosera Xcode project now that it has moved into a subdirectory.
305
306         * BuildSlaveSupport/build-launcher-app:
307
308 2007-07-17  Geoffrey Garen  <ggaren@apple.com>
309
310         Reviewed by Antti Koivisto.
311         
312         Added watchdog timer to waitUntilDone to prevent a run-away test from
313         hanging the test harness.
314
315         * DumpRenderTree/DumpRenderTree.m:
316         (dump):
317         (-[LayoutTestController waitUntilDone]):
318         (-[LayoutTestController waitUntilDoneWatchdogFired]):
319         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
320
321 2007-07-17  Kevin McCullough  <kmccullough@apple.com>
322
323         Reviewed by Adam.
324
325         - Implemented cross-platform code for functions calling into the JavaScript.
326
327         * Drosera/DebuggerDocument.cpp:
328         (DebuggerDocument::callAsFunction):
329         (DebuggerDocument::pauseJS):
330         (DebuggerDocument::resumeJS):
331         (DebuggerDocument::stepIntoJS):
332         (DebuggerDocument::stepOverJS):
333         (DebuggerDocument::stepOutJS):
334         (DebuggerDocument::showConsoleJS):
335         (DebuggerDocument::closeCurrentFileJS):
336         (DebuggerDocument::updateFileSource):
337         (DebuggerDocument::didParseScript):
338         (DebuggerDocument::willExecuteStatement):
339         (DebuggerDocument::didEnterCallFrame):
340         (DebuggerDocument::willLeaveCallFrame):
341         (DebuggerDocument::exceptionWasRaised):
342         * Drosera/DebuggerDocument.h:
343         * Drosera/mac/DebuggerDocumentMac.mm:
344         (-[DebuggerDocumentMac pause:]):
345         (-[DebuggerDocumentMac resume:]):
346         (-[DebuggerDocumentMac stepInto:]):
347         (-[DebuggerDocumentMac stepOver:]):
348         (-[DebuggerDocumentMac stepOut:]):
349         (-[DebuggerDocumentMac showConsole:]):
350         (-[DebuggerDocumentMac closeCurrentFile:]):
351         (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
352         (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
353         (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
354         (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
355         (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
356         (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
357
358 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
359
360         Reviewed by Darin.
361
362         - Continued x-platform modifications.
363
364         * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
365         * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
366         * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
367         * Drosera/win/DebuggerObjectCallbacks.h: Removed.
368         * Drosera/win/Drosera.cpp:
369         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
370         * Drosera/win/stdafx.cpp: Removed.
371         * Drosera/win/stdafx.h: Removed.
372
373 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
374
375         Reviewed by Sam.
376
377         - Modified files to use cross-platform code.
378
379         * Drosera/DebuggerDocument.cpp: Added.
380         (DebuggerDocument::breakpointEditorHTML):
381         (DebuggerDocument::isPaused):
382         (DebuggerDocument::pause):
383         (DebuggerDocument::resume):
384         (DebuggerDocument::stepInto):
385         (DebuggerDocument::evaluateScript):
386         (DebuggerDocument::currentFunctionStack):
387         (DebuggerDocument::localScopeVariableNamesForCallFrame):
388         (DebuggerDocument::valueForScopeVariableNamed):
389         * Drosera/DebuggerDocument.h: Added.
390         (DebuggerDocument::DebuggerDocument):
391         * Drosera/config.h: Added.
392         * Drosera/mac/DebuggerApplication.mm:
393         (-[DebuggerApplication attach:]):
394         * Drosera/mac/DebuggerDocument.h: Removed.
395         * Drosera/mac/DebuggerDocument.mm: Removed.
396         * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
397         * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
398         (-[DebuggerDocumentMac initWithServerName:]):
399         (-[DebuggerDocumentMac dealloc]):
400         (-[DebuggerDocumentMac breakpointEditorHTML]):
401         (-[DebuggerDocumentMac isPaused]):
402         (-[DebuggerDocumentMac pause]):
403         (-[DebuggerDocumentMac resume]):
404         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
405         * Drosera/win/DebuggerApplication.cpp:
406         * Drosera/win/DebuggerObjectCallbacks.cpp:
407         (breakpointEditorHTMLCallback):
408         (currentFunctionStackCallback):
409         (evaluateScript_inCallFrame_Callback):
410         (isPausedCallback):
411         (localScopeVariableNamesForCallFrame_Callback):
412         (pauseCallback):
413         (resumeCallback):
414         (stepIntoCallback):
415         (valueForScopeVariableNamed_inCallFrame_Callback):
416         (staticFunctions):
417         * Drosera/win/Drosera.cpp:
418         * Drosera/win/DroseraPrefix.cpp: Added.
419         * Drosera/win/DroseraPrefix.h: Added.
420
421 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
422
423         Reviewed by Adam, Sam and Tim.
424
425         - Moving files to prepare for cross-platform architecture.
426
427         * Drosera/DebuggerApplication.h: Removed.
428         * Drosera/DebuggerApplication.m: Removed.
429         * Drosera/DebuggerDocument.h: Removed.
430         * Drosera/DebuggerDocument.m: Removed.
431         * Drosera/Drosera.pch: Removed.
432         * Drosera/Drosera.xcodeproj: Removed.
433         * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
434         * Drosera/Info.plist: Removed.
435         * Drosera/LauncherInfo.plist: Removed.
436         * Drosera/Makefile: Removed.
437         * Drosera/launcher.m: Removed.
438         * Drosera/mac: Added.
439         * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
440         * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
441         * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
442         * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
443         * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
444         * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
445         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
446         * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
447         * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
448         * Drosera/mac/Makefile: Copied from Drosera/Makefile.
449         * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
450         * Drosera/mac/main.m: Copied from Drosera/main.m.
451         * Drosera/main.m: Removed.
452         * Makefile:
453         * Makefile.Drosera: Added.
454
455 2007-07-15  Mark Rowe  <mrowe@apple.com>
456
457         * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
458
459 2007-07-13  Sam Weinig  <sam@webkit.org>
460
461         Reviewed by Geoff Garen.
462
463         Add support for running SSL tests over HTTPS.
464
465         * DumpRenderTree/DumpRenderTree.m:
466         (runTest):
467         * DumpRenderTree/FrameLoadDelegate.m:
468         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
469         * Scripts/run-webkit-httpd:
470         * Scripts/run-webkit-tests:
471
472 2007-07-13  David Kilzer  <ddkilzer@apple.com>
473
474         Reviewed by Darin.
475
476         Added support for -h|--help argument and verify that all command line arguments parse
477         correctly.
478
479         * Scripts/run-webkit-httpd:
480
481 2007-07-12  Mark Rowe  <mrowe@apple.com>
482
483         Reviewed by Ada.
484
485         Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
486
487         * Scripts/run-webkit-tests:
488
489 2007-07-12  Geoffrey Garen  <ggaren@apple.com>
490
491         Reviewed by Oliver Hunt.
492         
493         Made the leaks tests pass on Leopard.
494
495         * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
496         * Scripts/run-leaks: Updated parser for slight change in text output.
497
498 2007-07-11  David Kilzer  <ddkilzer@apple.com>
499
500         Reviewed by Maciej.
501
502         Update the iExploder list of CSS properties after box-sizing was renamed to
503         -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
504
505         * iExploder/htdocs/cssproperties.in:  Added -webkit-box-sizing.  Both box-sizing and
506         -moz-box-sizing remain.
507
508 2007-07-10  Darin Adler  <darin@apple.com>
509
510         * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
511         Foundation's multipart/mixed-replace support -- I already verified that
512         the bug has been fixed.
513
514 2007-07-10  Alice Liu  <alice.liu@apple.com>
515
516         rubber stamped by Maciej.
517
518         fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
519
520         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
521         (initializePreferences):
522         set editable link behavior to match Mac DRT. 
523
524 2007-07-10  Geoffrey Garen  <ggaren@apple.com>
525
526         Reviewed by Tim Hatcher.
527
528         Ignore Page.o in debug builds because it now has a static PageCounter
529         object.
530
531         * Scripts/check-for-global-initializers:
532
533 2007-07-09  Darin Adler  <darin@apple.com>
534
535         * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
536
537 2007-07-09  Alice Liu  <alice.liu@apple.com>
538
539         Reviewed by Adam Roben.
540
541         setting DOM Paste Allowed Pref 
542
543         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
544         (initializePreferences):
545
546 2007-07-05  Kevin McCullough  <kmccullough@apple.com>
547
548         Reviewed by Adam, Sam, and Ada.
549
550         - Inital checkin of Drosera for Win.  This isn't pretty and doesn't connect to Safari but debug builds and runs.
551
552         * Drosera/Images/Drosera.ico: Added.
553         * Drosera/Images/small.ico: Added.
554         * Drosera/win: Added.
555         * Drosera/win/BaseDelegate.h: Added.
556         (BaseDelegate::QueryInterface):
557         (BaseDelegate::didFinishLoadForFrame):
558         (BaseDelegate::windowScriptObjectAvailable):
559         (BaseDelegate::didStartProvisionalLoadForFrame):
560         (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
561         (BaseDelegate::didFailProvisionalLoadWithError):
562         (BaseDelegate::didCommitLoadForFrame):
563         (BaseDelegate::didReceiveTitle):
564         (BaseDelegate::didReceiveIcon):
565         (BaseDelegate::didFailLoadWithError):
566         (BaseDelegate::didChangeLocationWithinPageForFrame):
567         (BaseDelegate::willPerformClientRedirectToURL):
568         (BaseDelegate::didCancelClientRedirectForFrame):
569         (BaseDelegate::willCloseFrame):
570         (BaseDelegate::createWebViewWithRequest):
571         (BaseDelegate::webViewShow):
572         (BaseDelegate::webViewClose):
573         (BaseDelegate::webViewFocus):
574         (BaseDelegate::webViewUnfocus):
575         (BaseDelegate::webViewFirstResponder):
576         (BaseDelegate::makeFirstResponder):
577         (BaseDelegate::setStatusText):
578         (BaseDelegate::webViewStatusText):
579         (BaseDelegate::webViewAreToolbarsVisible):
580         (BaseDelegate::setToolbarsVisible):
581         (BaseDelegate::webViewIsStatusBarVisible):
582         (BaseDelegate::setStatusBarVisible):
583         (BaseDelegate::webViewIsResizable):
584         (BaseDelegate::setResizable):
585         (BaseDelegate::setFrame):
586         (BaseDelegate::webViewFrame):
587         (BaseDelegate::setContentRect):
588         (BaseDelegate::webViewContentRect):
589         (BaseDelegate::runJavaScriptAlertPanelWithMessage):
590         (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
591         (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
592         (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
593         (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
594         (BaseDelegate::mouseDidMoveOverElement):
595         (BaseDelegate::contextMenuItemsForElement):
596         (BaseDelegate::validateUserInterfaceItem):
597         (BaseDelegate::shouldPerformAction):
598         (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
599         (BaseDelegate::willPerformDragDestinationAction):
600         (BaseDelegate::dragSourceActionMaskForPoint):
601         (BaseDelegate::willPerformDragSourceAction):
602         (BaseDelegate::contextMenuItemSelected):
603         (BaseDelegate::hasCustomMenuImplementation):
604         (BaseDelegate::trackCustomPopupMenu):
605         (BaseDelegate::measureCustomMenuItem):
606         (BaseDelegate::drawCustomMenuItem):
607         (BaseDelegate::addCustomMenuDrawingData):
608         (BaseDelegate::cleanUpCustomMenuDrawingData):
609         (BaseDelegate::canTakeFocus):
610         (BaseDelegate::takeFocus):
611         (BaseDelegate::registerUndoWithTarget):
612         (BaseDelegate::removeAllActionsWithTarget):
613         (BaseDelegate::setActionTitle):
614         (BaseDelegate::undo):
615         (BaseDelegate::redo):
616         (BaseDelegate::canUndo):
617         (BaseDelegate::canRedo):
618         * Drosera/win/DebuggerApplication.cpp: Added.
619         (DebuggerApplication::serverLoaded):
620         (DebuggerApplication::serverUnloaded):
621         (DebuggerApplication::attach):
622         (DebuggerApplication::numberOfRowsInTableView):
623         (DebuggerApplication::tableView):
624         * Drosera/win/DebuggerApplication.h: Added.
625         (DebuggerApplication::DebuggerApplication):
626         (DebuggerApplication::knownServers):
627         * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
628         (breakpointEditorHTMLCallback):
629         (currentFunctionStackCallback):
630         (doubleClickMillisecondsCallback):
631         (evaluateScript_inCallFrame_Callback):
632         (isPausedCallback):
633         (localScopeVariableNamesForCallFrame_Callback):
634         (pauseCallback):
635         (resumeCallback):
636         (stepIntoCallback):
637         (valueForScopeVariableNamed_inCallFrame_Callback):
638         (staticFunctions):
639         * Drosera/win/DebuggerObjectCallbacks.h: Added.
640         * Drosera/win/Drosera.cpp: Added.
641         (_tWinMain):
642         (RegisterDroseraClass):
643         (DroseraWndProc):
644         (About):
645         (Attach):
646         (Drosera::Drosera):
647         (Drosera::initUI):
648         (Drosera::QueryInterface):
649         (Drosera::AddRef):
650         (Drosera::Release):
651         (Drosera::didFinishLoadForFrame):
652         (getDroseraJSClass):
653         (Drosera::windowScriptObjectAvailable):
654         (Drosera::webViewClose):
655         (Drosera::validateUserInterfaceItem):
656         (Drosera::runJavaScriptAlertPanelWithMessage):
657         (Drosera::onSize):
658         * Drosera/win/Drosera.h: Added.
659         (Drosera::webViewLoaded):
660         * Drosera/win/Drosera.vcproj: Added.
661         * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
662         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
663         * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
664         * Drosera/win/Drosera.vcproj/release.vsprops: Added.
665         * Drosera/win/HelperFunctions.h: Added.
666         (CFStringToBSTR):
667         * Drosera/win/Info.plist: Added.
668         * Drosera/win/resource.h: Added.
669         * Drosera/win/stdafx.cpp: Added.
670         * Drosera/win/stdafx.h: Added.
671
672 2007-07-09  Adam Treat  <adam@staikos.net>
673
674         Reviewed by George Staikos.
675
676         Convert QWebFrame from a QFrame to a pure QObject to eliminate all
677         traces of widgets.
678
679         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
680         (WebCore::DumpRenderTree::DumpRenderTree):
681
682 2007-07-09  Anders Carlsson  <andersca@apple.com>
683
684         Reviewed by Oliver.
685
686         <rdar://problem/4954319> 
687         Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at 
688         com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
689         
690         If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream", 
691         return an error from NPP_NewStream.
692         
693         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
694         (pluginAllocate):
695         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
696         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
697         (NPP_New):
698         (NPP_NewStream):
699
700 2007-07-08  Mark Rowe  <mrowe@apple.com>
701
702         Change name from WebKit/Qt to WebKit.
703
704         * CodeCoverage/regenerate-coverage-display:
705
706 2007-07-08  Rob Buis  <buis@kde.org>
707
708         Reviewed by Mitz.
709
710         http://bugs.webkit.org/show_bug.cgi?id=14209
711         DRT should be able to deal with text zoom
712
713         Allow increasing/decreasing text zoom using eventSender.
714
715         * DumpRenderTree/DumpRenderTree.m:
716         (runTest):
717         * DumpRenderTree/EventSendingController.m:
718         (+[EventSendingController initialize]):
719         (+[EventSendingController isSelectorExcludedFromWebScript:]):
720         (-[EventSendingController textZoomIn]):
721         (-[EventSendingController textZoomOut]):
722
723 2007-07-07  Mark Rowe  <mrowe@apple.com>
724
725         Reviewed by Oliver.
726
727         * DumpRenderTree/DumpRenderTree.m:
728         (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
729
730 2007-07-06  Anders Carlsson  <andersca@apple.com>
731
732         Reviewed by David Kilzer.
733
734         <rdar://problem/5313502>
735         Many webarchive tests fail due to different NSURLResponse serialization on Leopard
736
737         Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
738         response's attributes. Also change the JavaScript MIME type to be "text/javascript".
739         
740         * DumpRenderTree/DumpRenderTree.m:
741         (convertMIMEType):
742         (convertWebResourceDataToString):
743         (convertWebResourceResponseToDictionary):
744         (serializeWebArchiveToXML):
745
746 2007-07-06  Timothy Hatcher  <timothy@apple.com>
747
748         Reviewed by Oliver.
749
750         Initialize the NSMutableAttributedString directly instead of creating
751         a NSAttributedString first.
752
753         * DumpRenderTree/TextInputController.m:
754         (-[TextInputController attributedStringWithString:]):
755
756 2007-07-06  Anders Carlsson  <andersca@apple.com>
757
758         Reviewed by David Kilzer.
759
760         Replace "Apple Computer" with "Apple" in the DTD declaration.
761
762         * DumpRenderTree/DumpRenderTree.m:
763         (serializeWebArchiveToXML):
764
765 2007-07-06  Adam Treat  <adam@staikos.net>
766
767         Reviewed by George Staikos.
768
769         Adjust for conversion of QWebFrame to a QFrame from a scroll area.
770
771         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
772         (WebCore::DumpRenderTree::DumpRenderTree):
773
774 2007-07-06  George Staikos  <staikos@kde.org>
775
776         Reviewed by Anders.
777
778         Allow passing of additional arguments to qmake with --qmakearg=
779
780         * Scripts/webkitdirs.pm:
781
782 2007-07-05  George Staikos  <staikos@kde.org>
783
784         Reviewed by Maciej.
785
786         Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
787         give a path to a specific qmake binary.  Both are optional.
788
789         * Scripts/webkitdirs.pm:
790
791 2007-07-05  Adam Roben  <aroben@apple.com>
792
793         Warn about tests in the Skipped file that succeeded
794
795         * Scripts/run-webkit-tests:
796
797 2007-07-05  Adam Roben  <aroben@apple.com>
798
799         Removed unused install-win-extras script
800
801         Rubberstamped by Mark.
802
803         * Scripts/install-win-extras: Removed.
804
805 2007-07-05  Adam Roben  <aroben@apple.com>
806
807         Show the test's extension in the results page
808
809         * Scripts/run-webkit-tests:
810
811 2007-07-05  Adam Roben  <aroben@apple.com>
812
813         Add more options for controlling the interpretation of the Skipped file
814
815         Reviewed by Mark.
816
817         * Scripts/run-webkit-tests:
818
819 2007-07-04  Adam Roben  <aroben@apple.com>
820
821         Add --skipped-only option to run-webkit-tests
822
823         When this option is specified, only those tests listed in the Skipped
824         file are run.
825
826         Reviewed by Mark.
827
828         * Scripts/run-webkit-tests:
829
830 2007-07-04  Adam Roben  <aroben@apple.com>
831
832         Clean up/alphabetize the run-webkit-tests help message
833
834         * Scripts/run-webkit-tests:
835
836 2007-07-04  Adam Roben  <aroben@apple.com>
837
838         Enable a Leopard-specific Skipped list.
839
840         Reviewed by Mark.
841
842         * Scripts/run-webkit-tests: Check for Leopard.
843         * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
844
845 2007-07-03  Adam Roben  <aroben@apple.com>
846
847         Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
848
849         Got rid of extract-webkit-localizable-strings because it was trying to
850         do update-webkit-localizable-strings' job.
851
852         Rubberstamped by Darin.
853
854         * Scripts/extract-webkit-localizable-strings: Removed.
855         * Scripts/update-webkit-localizable-strings: Renamed from
856         extract-localizable-strings.
857
858 2007-07-03  Adam Roben  <aroben@apple.com>
859
860         Modify scripts to keep Mac/Windows localized strings in sync
861
862         extract-webkit-localizable-strings now handles extracting strings from
863         both the Mac and Windows WebKit ports and updating their respective
864         Localizable.strings files. extract-localizable-strings is now really a
865         piece of plumbing rather than a top-level tool.
866
867         Reviewed by Darin and Anders.
868
869         * Scripts/extract-localizable-strings: Changed to handle multiple
870         directories.
871         * Scripts/extract-webkit-localizable-strings: Added.
872
873 2007-07-03  Adele Peterson  <adele@apple.com>
874
875         Reviewed by Darin.
876
877         Extended DumpRenderTree to test encoding and decoding host names.
878
879         * DumpRenderTree/DumpRenderTree.m:
880         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
881         (+[LayoutTestController webScriptNameForSelector:]): ditto.
882         (-[LayoutTestController decodeHostName:]): Added.
883         (-[LayoutTestController encodeHostName:]): Added.
884
885 2007-07-03  Sam Weinig  <sam@webkit.org>
886
887         Reviewed by Darin.
888
889         Eleventh round of fixes for implicit 64-32 bit conversion errors.
890         <rdar://problem/5292262>
891
892         Add functions to test long long and unsigned long long.
893
894         * DumpRenderTree/DumpRenderTree.m:
895         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
896         (+[LayoutTestController webScriptNameForSelector:]):
897         (-[LayoutTestController objCLongLongRoundTrip:]):
898         (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
899
900 2007-07-01  Adam Roben  <aroben@apple.com>
901
902         Fix some paths to make http tests work again on Windows
903
904         Rubberstamped by Sam.
905
906         * Scripts/run-webkit-tests:
907
908 2007-06-28  Stephanie  <slewis@apple.com>
909
910         Reviewed by Adam,
911
912         Allow tests to use pre-built roots instead of building the tests.
913
914         * Scripts/run-javascriptcore-tests: added --root option
915         * Scripts/run-webkit-tests: added --root option
916         * Scripts/webkitdirs.pm: added support for using a root
917
918 2007-06-25  Adam Roben  <aroben@apple.com>
919
920         Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
921         http://bugs.webkit.org/show_bug.cgi?id=14405
922
923         Reviewed by Anders.
924
925         * Scripts/run-webkit-tests:
926
927 2007-06-25  Adam Roben  <aroben@apple.com>
928
929         Enable running the regression tests on Windows.
930
931         These changes were developed alongside the Windows WebKit port and
932         have been well tested.
933
934         Rubberstamped by Sam.
935
936         * Scripts/run-webkit-tests:
937
938 2007-06-25  Adam Roben  <aroben@apple.com>
939
940         Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
941         http://bugs.webkit.org/show_bug.cgi?id=14403
942
943         Reviewed by Mark Rowe.
944
945         * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
946         (sub createPatchCommand): Generate a correct diff in the $gitCommit
947         case.
948
949 2007-06-25  Adam Roben  <aroben@apple.com>
950
951         Land pdevenv and supporting scripts/programs
952
953         pdevenv is a script that will open an instance of Visual Studio that
954         can compile multiple files in parallel, similar to make -jN. It uses
955         the following scripts/programs to accomplish this:
956
957         CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
958
959         parallelcl: Actually performs the parallel compilation by forking
960         multiple instances of the Microsoft-supplied cl.exe.
961
962         MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
963         Microsoft-supplied midl.exe. This avoids having to invoke perl for
964         every invocation of midl.exe, which would be quite slow.
965
966         Rubberstamped by Sam.
967
968         * CLWrapper/CLWrapper.cpp: Added.
969         (wmain):
970         * CLWrapper/CLWrapper.sln: Added.
971         * CLWrapper/CLWrapper.vcproj: Added.
972         * MIDLWrapper/MIDLWrapper.cpp: Added.
973         (wmain):
974         * MIDLWrapper/MIDLWrapper.sln: Added.
975         * MIDLWrapper/MIDLWrapper.vcproj: Added.
976         * Scripts/parallelcl: Added.
977         * Scripts/pdevenv: Added.
978         * vcbin/cl.exe: Added.
979         * vcbin/midl.exe: Added.
980
981 2007-06-23  Adam Roben  <aroben@apple.com>
982
983         Land num-cpus for the Windows build.
984
985         Reviewed by Mark Rowe.
986
987         * Scripts/num-cpus: Added.
988
989 2007-06-22  Simon Hausmann  <hausmann@kde.org>
990
991         Reviewed by Adam Roben.
992
993         Added support for populating ChangeLog entries from given git commits
994         using --git-commit=<commitish> and --git-reviewer=<name>.
995
996         * Scripts/prepare-ChangeLog:
997
998 2007-06-22  Timothy Hatcher  <timothy@apple.com>
999
1000         Reviewed by Anders.
1001
1002         <rdar://problem/5228168> Leopard regression test failures: fast/applescript
1003
1004         There were some changes in Leopard that made our test output inconsistent with Tiger.
1005
1006         NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
1007         on Leopard, so output our own readable string for typeType descriptors.
1008
1009         NSArray's description also changed on Leopard to output more whitespace, so
1010         make our own string representation for typeAEList descriptors. This requires
1011         a special case typeUnicodeText too, so the output is a quoted string.
1012
1013         * DumpRenderTree/AppleScriptController.m:
1014         (convertAEDescToObject):
1015
1016 2007-06-21  Anders Carlsson  <andersca@apple.com>
1017
1018         Reviewed by Geoff.
1019
1020         Don't dump didFirstLayout callbacks, they happen intermittently.
1021         
1022         * DumpRenderTree/FrameLoadDelegate.m:
1023
1024 2007-06-21  Lars Knoll  <lars@trolltech.com>
1025
1026         Reviewed by Simon.
1027
1028         look for the Qt library in the installed location
1029
1030         * Scripts/webkitdirs.pm:
1031
1032 2007-06-20  Geoffrey Garen  <ggaren@apple.com>
1033
1034         Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
1035
1036         Added tests for stringByEvaluatingJavaScriptFromString.
1037
1038         * DumpRenderTree/DumpRenderTree.m:
1039         (testStringByEvaluatingJavaScriptFromString):
1040         (dumpRenderTree):
1041
1042 2007-06-19  Andrew Wellington  <proton@wiretapped.net>
1043
1044         Reviewed by Mark Rowe.
1045         
1046         Support applications with spaces or special characters in their names
1047
1048         * Scripts/run-webkit-app:
1049
1050 2007-06-18  Anders Carlsson  <andersca@apple.com>
1051
1052         Reviewed by John Sullivan.
1053
1054         Assert that the frame has a dataSource.
1055         
1056         * DumpRenderTree/FrameLoadDelegate.m:
1057         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1058
1059 2007-06-18  Adam Treat <adam@staikos.net>
1060
1061         Reviewed by George.
1062
1063         Reflect the library name change.
1064
1065         * Scripts/webkitdirs.pm:
1066
1067 2007-06-18  Jake Helfert  <jake@jakeonthenet.com>
1068
1069         Reviewed by Adam.
1070
1071         - fix http://bugs.webkit.org/show_bug.cgi?id=14154
1072           Spinneret doesn't build against the new Win32 port.
1073
1074         * Spinneret/Spinneret/Spinneret.cpp:
1075         (_tWinMain): 
1076             -Changed IWebViewExt to IWebViewPrivate
1077             -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
1078              the WIN32 function RegisterDragDrop which requires the Ole* calls.
1079         * Spinneret/Spinneret/Spinneret.h:
1080         (SpinneretWebHost::didReceiveIcon): Updated method signature.
1081         (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
1082         (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
1083
1084 2007-06-14  Sam Weinig  <sam@webkit.org>
1085
1086         Reviewed by Brady.
1087
1088         Update set of files to download for cygwin to include
1089         diffutils and regenerate the zip file.  This should fix
1090         an issue on vista where svn-create-patch doesn't work.
1091
1092         * CygwinDownloader/cygwin-downloader.py:
1093         * CygwinDownloader/cygwin-downloader.zip:
1094
1095 2007-06-14  Mark Rowe  <mrowe@apple.com>
1096
1097         Update script to match new nightly.webkit.org infrastructure.
1098
1099         * BuildSlaveSupport/build-launcher-dmg:  Upload to the live web server, not the caching proxy.  Let the server know it's a Mac build.
1100
1101 2007-06-12  Adam Roben  <aroben@apple.com>
1102
1103         Land CygwinDownloader.
1104
1105         Rubberstamped by Hyatt.
1106
1107         * CygwinDownloader/cygwin-downloader.py: Added.
1108         * CygwinDownloader/cygwin-downloader.zip: Added.
1109         * CygwinDownloader/make-zip.sh: Added.
1110         * CygwinDownloader/setup.py: Added.
1111
1112 2007-06-06  Vladimir Olexa  <vladimir.olexa@gmail.com>
1113
1114         Reviewed by Mark Rowe.
1115
1116         Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996
1117         [Drosera] Items in the file list don't get un-highlighted when 
1118         files are selected from the file drop-down
1119
1120         * Drosera/debugger.js: currentFile was getting modified before file in the file
1121         browser got un-highlighted. Changed the order in which the functions execute. 
1122
1123 2007-06-06  Mark Rowe  <mrowe@apple.com>
1124
1125         Reviewed by Maciej.
1126
1127         http://bugs.webkit.org/show_bug.cgi?id=13988
1128         Bug 13988: Colon in file path crashes WebKit Nightly
1129
1130         The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with
1131         the bundled WebKit framework.  Both of these variables are interpreted as containing a
1132         colon-delimited list of paths.  There is no escaping mechanism defined, so if we detect
1133         a path with a colon in it we need to bail out to prevent `dyld' from throwing an error
1134         when we execute Safari.
1135
1136         * WebKitLauncher/main.m:
1137         (main):
1138
1139 2007-06-05  Mark Rowe  <mrowe@apple.com>
1140
1141         Reviewed by Anders.
1142
1143         * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
1144
1145 2007-05-30  Alp Toker  <alp.toker@collabora.co.uk>
1146
1147         Reviewed by Brady.
1148
1149         Enable logging in the Gdk port.
1150         http://bugs.webkit.org/show_bug.cgi?id=13936
1151
1152         * GdkLauncher/main.cpp:
1153         (main):
1154
1155 2007-05-29  Holger Freyther  <zecke@selfish.org>
1156
1157         Reviewed by Anders.
1158
1159         Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
1160         to provide ScrollBars for the FrameView.
1161
1162         * GdkLauncher/main.cpp:
1163         (registerRenderingAreaEvents):
1164         (layout_realize_callback): Only after realization we can access the GtkLayout::bin_window
1165         (frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust
1166         (main):
1167
1168 2007-05-29  David Kilzer  <ddkilzer@webkit.org>
1169
1170         Reviewed by Darin.
1171
1172         - fix http://bugs.webkit.org/show_bug.cgi?id=13901
1173           run-pageloadtest does not obey testName on command-line
1174
1175         * Scripts/run-pageloadtest: Grab $testName from the command-line if it is present,
1176         otherwise default to "svg".  Added dummy check to make sure $testName.pltsuite
1177         exists.
1178
1179 2007-05-29  David Kilzer  <ddkilzer@webkit.org>
1180
1181         Reviewed by Darin.
1182
1183         - fix http://bugs.webkit.org/show_bug.cgi?id=13900
1184           svnStatus($) subroutine in svn-[un]apply does not work properly with directories
1185
1186         This patch also fixes an instance of the "broken pipe" warning that happened when
1187         a directory contained modified files that were not part of an applied or unapplied
1188         patch.
1189
1190         * Scripts/svn-apply:
1191         (svnStatus($)): If we're trying to get status on a directory (instead of a file),
1192         make sure we actually get the directory's status (if it has one), not the first
1193         file's status reported within the directory.  Fix "broken pipe" warnings by
1194         reading all of the output from the SVN filehandle before closing it.
1195         * Scripts/svn-unapply:
1196         (svnStatus($)): Ditto.
1197
1198 2007-05-28  David Kilzer  <ddkilzer@webkit.org>
1199
1200         Reviewed by Darin.
1201
1202         - fix http://bugs.webkit.org/show_bug.cgi?id=10342
1203           prepare-ChangeLog only shows removed files but not added files when files are moved
1204         - fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408
1205           prepare-ChangeLog and svn-create-patch don't show replaced files
1206
1207         Switched method used to find list of changed files from "diff" to "status".  This
1208         makes added and replaced files with history appear in the changed file list for svn.
1209         Added check for "+" in output from the svn status command to detect file history, and
1210         handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines.
1211
1212         * Scripts/prepare-ChangeLog:
1213         (diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@).
1214         (statusCommand(@)): Switched argument from array ref to array.  Necessary to use
1215         the output of "keys $paths" without creating a temporary array variable.
1216         (findOriginalFileFromSvn($)): Added.  Based on findSourceFileAndRevision($)
1217         subroutine in svn-create-patch.
1218         (generateFileList(\@\@\%)): Added.  Extracted from main body of script.  Runs status
1219         command using command-line arguments instead of list of changed files from the diff
1220         command.  Changed svn regex to only accept file statuses that we know how to handle.
1221         Identify original file when an added/replaced status with history is present.
1222         (statusDescription($$)): Handled added/replaced statuses with history.  Added
1223         fall-through return statement.
1224
1225 2007-05-28  Holger Freyther  <zecke@selfish.org>
1226
1227         Reviewed by Mark Rowe.
1228
1229         Add scripts and data to generate a coverage data for WebKit.
1230
1231         * CodeCoverage/README: Added.
1232         * CodeCoverage/amber.png: Added.
1233         * CodeCoverage/cov.py: Added.
1234         * CodeCoverage/emerald.png: Added.
1235         * CodeCoverage/gcov.css: Added.
1236         * CodeCoverage/glass.png: Added.
1237         * CodeCoverage/regenerate-coverage-display: Added.
1238         * CodeCoverage/ruby.png: Added.
1239         * CodeCoverage/run-generate-coverage-data: Added.
1240         * CodeCoverage/snow.png: Added.
1241         * Scripts/build-webkit: Add --coverage by Niko
1242         * Scripts/check-for-global-initializers: Skip the check on coverage builds
1243         * Scripts/generate-coverage-data: Added.
1244         * Scripts/run-javascriptcore-tests: Add --coverage by Niko
1245
1246 2007-05-29  Mark Rowe  <mrowe@apple.com>
1247
1248         Build fix after r21745.
1249
1250         * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
1251
1252 2007-05-25  Anders Carlsson  <andersca@apple.com>
1253
1254         Fix build.
1255
1256         * DumpRenderTree/DumpRenderTree.m:
1257         * DumpRenderTree/FrameLoadDelegate.m:
1258
1259 2007-05-25  Simon Hausmann  <hausmann@kde.org>
1260
1261         Reviewed by Zack.
1262
1263         For the keyDown binding use QStringList instead of QList<QString>. The former is a default
1264         registered metatype. Also print out critical messages in dumprendertree's qt message handler.
1265
1266         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1267         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1268         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1269
1270 2007-05-20  David Kilzer  <ddkilzer@webkit.org>
1271
1272         Reviewed by Adam Roben.
1273
1274         - fix http://bugs.webkit.org/show_bug.cgi?id=13565
1275           Change svn-create-patch to put LayoutTests in the end
1276
1277         In addition to reordering test files under the LayoutTests directory so that they
1278         appear after source code files, this patch fixes an issue with prepare-ChangeLog
1279         if the first argument passed to it is a file name instead of a directory name.
1280
1281         * Scripts/prepare-ChangeLog:
1282         (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
1283         (isSVN()): Ditto.
1284         * Scripts/svn-create-patch:
1285         (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
1286         source code files.
1287
1288 2007-05-18  Mark Rowe  <mrowe@apple.com>
1289
1290         Reviewed by Oliver.
1291
1292         Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
1293
1294         * Scripts/svn-create-patch:
1295         * Scripts/webkitdirs.pm:
1296
1297 2007-05-18  Holger Freyther  <zecke@selfish.org>
1298
1299         Reviewed by Maciej.
1300
1301         * GdkLauncher/main.cpp: Call setGtkWidget
1302         (main):
1303
1304 2007-05-18  Holger Hans Peter Freyther  <zecke@selfish.org>
1305
1306         Reviewed by Mark Rowe.
1307
1308         * GdkLauncher/main.cpp:
1309         (main): Call Frame::init to catch up with Maciej's changes.
1310         * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
1311         passed to the helper scripts.
1312
1313 2007-05-16  Brady Eidson  <beidson@apple.com>
1314
1315         Build fix for some dev configurations
1316
1317         * DumpRenderTree/DumpRenderTree.m:
1318
1319 2007-05-16  Maciej Stachowiak  <mjs@apple.com>
1320
1321         Reviewed by Justin.
1322         
1323         - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
1324         
1325         The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
1326         that happen before the load commits.
1327         
1328         Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
1329         optional logging for every FrameLoadDelegate callback, including SPI callbacks.
1330
1331         * DumpRenderTree/DumpRenderTree.h:
1332         * DumpRenderTree/DumpRenderTree.m:
1333         (createWebView):
1334         (dumpRenderTree):
1335         (dump):
1336         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1337         (-[LayoutTestController clearBackForwardList]):
1338         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
1339         (-[LayoutTestController dumpFrameLoadCallbacks]):
1340         (-[LayoutTestController setWindowIsKey:]):
1341         (-[LayoutTestController setMainFrameIsFirstResponder:]):
1342         (-[LayoutTestController _doLoad:target:]):
1343         (-[LayoutTestController _doBackOrForwardNavigation:]):
1344         (-[LayoutTestController queueReload]):
1345         (-[LayoutTestController queueScript:]):
1346         (-[LayoutTestController queueLoad:target:]):
1347         (-[LayoutTestController setAcceptsEditing:]):
1348         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
1349         (shouldLogFrameLoadDelegates):
1350         (runTest):
1351         (displayWebView):
1352         (+[DumpRenderTreeEvent mouseLocation]):
1353         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1354         * DumpRenderTree/DumpRenderTreeDraggingInfo.m:
1355         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
1356         * DumpRenderTree/EventSendingController.m:
1357         (-[EventSendingController mouseDown]):
1358         (-[EventSendingController mouseUp]):
1359         (-[EventSendingController mouseMoveToX:Y:]):
1360         (-[EventSendingController contextClick]):
1361         * DumpRenderTree/FrameLoadDelegate.h: Added.
1362         * DumpRenderTree/FrameLoadDelegate.m: Added.
1363         (-[WebFrame _drt_descriptionSuitableForTestResult]):
1364         (-[FrameLoadDelegate processWork:]):
1365         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1366         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1367         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1368         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1369         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1370         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
1371         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1372         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1373         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1374         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
1375         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
1376         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
1377         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
1378         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
1379         (-[FrameLoadDelegate webView:willCloseFrame:]):
1380         (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
1381         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1382         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
1383         * DumpRenderTree/ResourceLoadDelegate.m:
1384         (-[NSURL _drt_descriptionSuitableForTestResult]):
1385         * DumpRenderTree/UIDelegate.m:
1386         (-[UIDelegate webViewFocus:]):
1387
1388 2007-05-16  Kevin McCullough  <kmccullough@apple.com>
1389
1390         Reviewed by Darin and Geoff.
1391
1392         - rdar://problem/4981886
1393         - Now windows opened by the DOM can be closed by JS.
1394
1395         * DumpRenderTree/DumpRenderTree.m:
1396         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1397         (-[LayoutTestController windowCount]):
1398
1399 2007-05-15  Adam Roben  <aroben@apple.com>
1400
1401         Reviewed by David Kilzer.
1402
1403         http://bugs.webkit.org/show_bug.cgi?id=13732
1404         prepare-ChangeLog should work with git
1405
1406         * Scripts/prepare-ChangeLog: Added support for Git.
1407
1408 2007-05-15  Lars Knoll <lars@trolltech.com>
1409
1410         Reviewed by Zack
1411
1412         Add the EventSender object to DRT. Currently it implements
1413         mouseDown, mouseUp and mouseMoveTo.
1414
1415         Make run-webkit-tests --strict work somewhat better for form elements.
1416
1417         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1418         (WebCore::DumpRenderTree::DumpRenderTree):
1419         (WebCore::DumpRenderTree::initJSObjects):
1420         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1421         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1422         (HackWebFrame::mousePressEvent):
1423         (HackWebFrame::mouseReleaseEvent):
1424         (EventSender::EventSender):
1425         (EventSender::mouseDown):
1426         (EventSender::mouseUp):
1427         (EventSender::mouseMoveTo):
1428         (EventSender::leapForward):
1429         (EventSender::keyDown):
1430         (EventSender::frameUnderMouse):
1431         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1432         * Scripts/run-webkit-tests:
1433
1434 2007-05-12  Oliver Hunt  <oliver@apple.com>
1435
1436         Reviewed by Hyatt.
1437         
1438         Add new api to DRT to allow us to test a file being dragged 
1439         onto <input type="file">
1440
1441         * DumpRenderTree/DumpRenderTree.h:
1442         * DumpRenderTree/DumpRenderTree.m:
1443         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1444         (-[LayoutTestController addFileToPasteboardOnDrag]):
1445         (runTest):
1446         * DumpRenderTree/UIDelegate.m:
1447         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1448
1449 2007-05-11  Holger Hans Peter Freyther  <zecke@selfish.org>
1450
1451         Reviewed by Maciej.
1452
1453         Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
1454         http://bugs.webkit.org/show_bug.cgi?id=13656
1455
1456         * GdkLauncher/main.cpp: Handle resizing the drawing area
1457         (frameResizeCallback):
1458         (main):
1459
1460 2007-05-11  Geoffrey Garen  <ggaren@apple.com>
1461
1462         Reviewed by Darin Adler.
1463
1464         Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:] 
1465         is gone.
1466
1467         * DumpRenderTree/DumpRenderTree.m:
1468         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
1469         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1470         (+[LayoutTestController webScriptNameForSelector:]):
1471         (-[LayoutTestController testWrapperRoundTripping:]):
1472
1473 2007-05-08  Maciej Stachowiak  <mjs@apple.com>
1474
1475         Reviewed by Oliver.
1476         
1477         - don't clear events whenever an EventSendingController goes away, only do it at predictable times, 
1478         since destroying a subframe can make one go away
1479         
1480         (Discovered while fixing:
1481         
1482         <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
1483         <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
1484
1485         * DumpRenderTree/DumpRenderTree.m:
1486         (runTest): explicitly clear saved events after every page load
1487         * DumpRenderTree/EventSendingController.h:
1488         * DumpRenderTree/EventSendingController.m:
1489         (-[EventSendingController dealloc]): don't clear saved events here...
1490         (+[EventSendingController clearSavedEvents]): do it here
1491         * Scripts/check-for-global-initializers:
1492
1493 2007-05-10  Mark Rowe  <mrowe@apple.com>
1494
1495         Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
1496
1497         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1498
1499 2007-05-09  Geoffrey Garen  <ggaren@apple.com>
1500
1501         Reviewed by Maciej Stachowiak.
1502         
1503         Added support for testing ObjC/JS type bridging.
1504         
1505         Added ASSERT that -JSObject returns nil when the underlying JSObject
1506         is no longer GC protected.
1507
1508         * DumpRenderTree/DumpRenderTree.m:
1509         (returnThisCallback):
1510         (returnThisClass):
1511         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
1512         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1513         (+[LayoutTestController webScriptNameForSelector:]):
1514         (-[LayoutTestController accessStoredWebScriptObject]):
1515         (-[LayoutTestController testWrapperRoundTripping]):
1516         (-[LayoutTestController objCClassNameOf:]):
1517         (-[LayoutTestController objCObjectOfClass:]):
1518         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1519
1520 2007-05-10  Lars Knoll <lars@trolltech.com>
1521
1522         Reviewed by Simon
1523
1524         Move setting of the DPI value a few lines up. Should fix
1525         the last two remaining failures in the layout tests.
1526
1527         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1528         (main):
1529
1530 2007-05-09  Holger Freyther <zecke@selfish.org>
1531
1532         Reviewed by Mark Rowe.
1533
1534         * GdkLauncher/main.cpp: Always include config.h.
1535
1536 2007-05-08  Geoffrey Garen  <ggaren@apple.com>
1537
1538         Reviewed by Darin Adler.
1539         
1540         Added support for testing ObjC object identity.
1541         
1542         Added ASSERT to verify that you can round-trip the object passed to you
1543         in -didClearWindowObject:forFrame:.
1544
1545         * DumpRenderTree/DumpRenderTree.m:
1546         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
1547         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1548         (+[LayoutTestController webScriptNameForSelector:]):
1549         (-[LayoutTestController accessStoredWebScriptObject]):
1550         (-[LayoutTestController objCIdentityIsEqual::]):
1551
1552 2007-05-07  Geoffrey Garen  <ggaren@apple.com>
1553
1554         Reviewed by Maciej Stachowiak.
1555         
1556         Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext], 
1557         and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject 
1558         forFrame:(WebFrame *)frame, in the form of ASSERTs.
1559         
1560         * DumpRenderTree/DumpRenderTree.m:
1561         (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
1562         to complain about.
1563
1564         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1565         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
1566         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1567
1568 2007-05-08  Lars Knoll <lars@trolltech.com>
1569
1570         Reviewed by Zack.
1571
1572         Dump JavaScript console messages as well. Also requires a slight
1573         change in run-webkit-tests, so we still correctly differentiate
1574         between text only and rendertree tests.
1575
1576         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1577         (WebCore::WebPage::WebPage):
1578         (WebCore::WebPage::javaScriptConsoleMessage):
1579         (WebCore::DumpRenderTree::DumpRenderTree):
1580         (WebCore::DumpRenderTree::dump):
1581         * Scripts/run-webkit-tests:
1582
1583 2007-05-08  Lars Knoll <lars@trolltech.com>
1584
1585         Reviewed by Zack
1586
1587         Specify what the serif, sans-serif and monospace aliases
1588         should map to and explicitly select the Gui style of
1589         DRT to be plastique.
1590
1591         Fixes most of the test failures still seen on the build bot.
1592
1593         * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
1594         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1595         (main):
1596
1597 2007-05-07  Lars Knoll <lars@trolltech.com>
1598
1599         Reviewed by Zack
1600
1601         Fix the default font to 9pt Sans Serif.
1602
1603         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1604         (main):
1605
1606 2007-05-04  Lars Knoll <lars@trolltech.com>
1607
1608         Reviewed by Zack
1609
1610         Revert on line of the last commit. We still want to keep the RPATH
1611         support in the pro file.
1612
1613         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1614
1615 2007-05-04  Lars Knoll <lars@trolltech.com>
1616
1617         Reviewed by Zack
1618
1619         Remove the old bitmap fonts I tried using to get reliable results from
1620         DumpRenderTree on X11. Instead we now use the URW Type1 fonts from 
1621         ghostscript. I've added a mirror to simply check them out at 
1622         svn://labs.trolltech.com/svn/webkit/testfonts.
1623
1624         Fixed DumpRenderTree to make sure these fonts are the only ones we use
1625         on X11 and added a fonts.conf file to get a well defined fontconfig
1626         configuration.
1627
1628         Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
1629         I use to find the fonts to DumpRenderTree.
1630
1631         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1632         * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed.
1633         * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed.
1634         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed.
1635         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed.
1636         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed.
1637         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed.
1638         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed.
1639         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed.
1640         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed.
1641         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed.
1642         * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed.
1643         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed.
1644         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed.
1645         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed.
1646         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed.
1647         * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added.
1648         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1649         (main):
1650         * Scripts/run-webkit-tests:
1651
1652 2007-05-03  Holger Freyther <freyther@kde.org>
1653
1654         Reviewed by Zack, landed by Simon.
1655         This is bugzilla bug 13499.
1656
1657         * GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake
1658         * GdkLauncher/main.cpp: We don't have a config.h with the qmake build
1659         * Scripts/build-webkit: Add --gdk for the Gdk port
1660         * Scripts/webkitdirs.pm: Add helper methods for the Gdk port
1661
1662 2007-05-03  Geoffrey Garen  <ggaren@apple.com>
1663
1664         Build fix: Add AllInOneFile.o to the ignore list, since it includes files
1665         in the ignore list.
1666         
1667         * Scripts/check-for-global-initializers:
1668
1669 2007-05-02  Holger Freyther <freyther@kde.org>
1670
1671         Reviewed by Mark Rowe.
1672
1673         * Scripts/build-webkit: Remove the CMake call.
1674         * Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only
1675         buildsystem for the Qt port.
1676
1677 2007-04-27  Kevin McCullough  <kmccullough@apple.com>
1678
1679         - Removed debugging statements and took out the removal of the deletion
1680           of the symlink.  This is because multiple instances of run-webkit-tests
1681           can be running at the same time.
1682         * Scripts/run-webkit-tests:
1683
1684 2007-04-27  Adam Roben <aroben@apple.com>
1685
1686         Reviewed by Maciej.
1687
1688         Cleaned up prepare-ChangeLog
1689         
1690         * Scripts/prepare-ChangeLog: No code changes, but style now matches
1691         the prevalent style of our perl scripts.
1692
1693 2007-04-27  Nazar Kulyk  <schamane@myeburg.net>
1694
1695         Reviewed by Mark Rowe.
1696
1697         Basic auto-correction of user-entered URLs.
1698
1699         * GdkLauncher/main.cpp:
1700         (autocorrectURL):
1701         (goToURLBarText):
1702         (main):
1703
1704 2007-04-28  Mark Rowe  <mrowe@apple.com>
1705
1706         Rubber-stamped by Anders.
1707
1708         Rename some methods and variables to match the style guidelines.
1709
1710         * GdkLauncher/main.cpp:
1711         (stringIsEmpty):
1712         (stringIsEqual):
1713         (goToURLBarText):
1714         (goButtonClickedCallback):
1715         (urlBarEnterCallback):
1716         (frameResizeCallback):
1717         (frameDestroyCallback):
1718         (menuMainBackCallback):
1719         (menuMainForwardCallback):
1720         (menuMainQuitCallback):
1721         (main):
1722
1723 2007-04-27  Holger Freyther <freyther@kde.org>
1724
1725         Reviewed by Maciej.
1726
1727         Remove unmaintained CMake build system.
1728
1729         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
1730         * Scripts/build-webkit: Remove references to CMake.
1731         * Scripts/webkitdirs.pm: Remove references to CMake.
1732
1733 2007-04-26  Alp Toker  <alp@atoker.com>
1734
1735         Reviewed by Mark Rowe.
1736
1737         * GdkLauncher/main.cpp:
1738         (main): Avoid use of deprecated API.
1739
1740 2007-04-26  Kevin McCullough  <kmccullough@apple.com>
1741
1742         - Changed debugging statements for more information.
1743
1744         * Scripts/run-webkit-tests:
1745
1746 2007-04-26  Kevin McCullough  <kmccullough@apple.com>
1747
1748         - Adding debugging statements to see why these tests fail.  These will be removed.
1749
1750         * Scripts/run-webkit-tests:
1751
1752 2007-04-25  Anders Carlsson  <andersca@apple.com>
1753
1754         Reviewed by Mitz.
1755
1756         Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle
1757         the dashboard compatibility mode.
1758         
1759         * DumpRenderTree/DumpRenderTree.m:
1760         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1761         (+[LayoutTestController webScriptNameForSelector:]):
1762         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
1763         (runTest):
1764         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1765
1766 2007-04-24  Timothy Hatcher  <timothy@apple.com>
1767
1768         Setting the valid architectures to 32-bit only, so these projects
1769         will ignore requests to build them 64-bit. Once they can be built 64-bit,
1770         the valid architectures can be updated.
1771
1772         * Drosera/Drosera.xcodeproj/project.pbxproj:
1773         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1774
1775 2007-04-23  Adam Roben  <aroben@apple.com>
1776
1777         Reviewed by Mark Rowe and David Kilzer.
1778
1779         * Scripts/build-webkit: Print the path to the run-safari script when
1780         finished building so that users can copy-and-paste the command to
1781         execute it.
1782
1783 2007-04-23  Darin Adler  <darin@apple.com>
1784
1785         Reviewed by Hyatt.
1786
1787         - rename box-sizing to -webkit-box-sizing
1788
1789         * Drosera/console.css: Here.
1790         * Drosera/debugger.css: And here.
1791         * Drosera/viewer.css: And here.
1792
1793 2007-04-21  Mitz Pettel  <mitz@webkit.org>
1794
1795         Reviewed by Darin.
1796
1797         - http://bugs.webkit.org/show_bug.cgi?id=13350
1798           Build Ahem into DumpRenderTree
1799
1800         * DumpRenderTree/DumpRenderTree.m:
1801         (activateAhemFont): Added. Activates the copy of Ahem included in the
1802         DumpRenderTree binary.
1803         (dumpRenderTree): Replaced the check that Ahem is available with a call
1804         to activateAhemFont().
1805         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1806           Added linker options to include Ahem in the data section of the
1807           DumpRenderTree binary.
1808
1809 2007-04-20  Adam Roben  <aroben@apple.com>
1810
1811         Reviewed by Darin.
1812
1813         http://bugs.webkit.org/show_bug.cgi?id=13421
1814         Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
1815
1816         * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
1817
1818 2007-04-18  Brady Eidson  <beidson@apple.com>
1819
1820         Reviewed by Tim
1821
1822         <rdar://problem/5008925>
1823         Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
1824
1825         * DumpRenderTree/ResourceLoadDelegate.m:
1826         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]): 
1827           Add the willCacheResponse delegate call
1828
1829 2007-04-18  Adam Roben  <aroben@apple.com>
1830
1831         Reviewed by David Kilzer.
1832
1833         * Scripts/webkitdirs.pm:
1834         (sub setConfiguration): Added an optional argument to set the
1835         configuration instead of parsing it from ARGV.
1836
1837 2007-04-17  Adam Roben  <aroben@apple.com>
1838
1839         * Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
1840         files as well.
1841
1842 2007-04-17  Adam Roben  <aroben@apple.com>
1843
1844         Added a simple shell script to find all the headers from a specified
1845         framework or frameworks that are included by files beneath the working
1846         directory.
1847
1848         * Scripts/find-included-framework-headers: Added.
1849
1850 2007-04-16  Timothy Hatcher  <timothy@apple.com>
1851
1852         * Drosera/debugger.css: hide the borders for iframes
1853
1854 2007-04-13  Adam Roben  <aroben@apple.com>
1855
1856         Rubberstamped by Anders.
1857
1858         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include
1859         stdio.h so that snprintf is defined.
1860
1861 2007-04-13  Brady Eidson  <beidson@apple.com>
1862
1863         Reviewed by Anders
1864
1865         Add the ability to dump the back/forward history of all windows open at the end of a test
1866
1867         * DumpRenderTree/DumpRenderTree.m:
1868         (dumpBackForwardListForWebView): Dump B/F list for the given WebView
1869         (dump): Call dumpBackForwardListForWebView for each WebView open after the test
1870
1871 2007-04-13  Anders Carlsson  <andersca@apple.com>
1872
1873         Reviewed by Brady.
1874
1875         By default, close any windows that have been opened during a test. This can be overridden by
1876         calling setCloseRemainingWindowsWhenComplete(false).
1877         
1878         Change the windows set to an array so we can gurantee the enumeration order.
1879         
1880         * DumpRenderTree/DumpRenderTree.m:
1881         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1882         (+[LayoutTestController webScriptNameForSelector:]):
1883         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
1884         (runTest):
1885         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
1886         (-[DumpRenderTreeWindow dealloc]):
1887
1888 2007-04-13  Geoffrey Garen  <ggaren@apple.com>
1889
1890         Build fix.
1891
1892         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1893         (handleCallback): Explicitly cast the void* returned by malloc.
1894
1895 2007-04-12  Deneb Meketa  <dmeketa@adobe.com>
1896
1897         Reviewed by Darin Adler.
1898
1899         http://bugs.webkit.org/show_bug.cgi?id=13029
1900         rdar://problem/4994849
1901         Bug 13029: Permit NPAPI plug-ins to see HTTP response headers.
1902         Changes in WebKitTools are only for the NPAPI test plugin.
1903
1904         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: main test logic.
1905         (pluginInvoke): support null window argument for NPStream creation.
1906         (pluginAllocate): initialization.
1907         (pluginDeallocate): cleanup.
1908         (handleCallback): add second JS callback arg: header dump.
1909         (notifyStream): added; hook from NPP_NewStream to record headers.
1910         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: declarations.
1911         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: call new header hook.
1912         (NPP_NewStream): call new header hook.
1913
1914 2007-04-09  Geoffrey Garen  <ggaren@apple.com>
1915
1916         Reviewed by Maciej Stachowiak.
1917         
1918         Fixed fast/forms/textarea-paste-newline.html.
1919         
1920         This failure was pretty funny. run-webkit-tests kills and respawns
1921         DumpRenderTree once every 1000 runs. Adding a few tests caused 
1922         textarea-paste-newline.html to run right at the beginning of DumpRenderTree's 
1923         lifetime, before any render tree dumps had occurred. However, WebCore 
1924         used a render tree dump as the hook that set a global flag to allow 
1925         pasting through the DOM API, so running before any render tree dumps had 
1926         occurred caused this test to fail.
1927
1928         * DumpRenderTree/DumpRenderTree.m:
1929         (dumpRenderTree): Explicitly tell WebKit to allow pasting through the DOM
1930         API, instead of hoping it will read the tea leaves.
1931
1932 2007-04-07  Mark Rowe  <mrowe@apple.com>
1933
1934         Not reviewed.  Update to match some configuration changes that have been active on build.webkit.org.
1935
1936         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1937
1938 2007-04-05  Anders Carlsson  <andersca@apple.com>
1939
1940         Reviewed by Adam.
1941
1942         Add support for opening new windows in DumpRenderTree.
1943         
1944         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1945         (+[LayoutTestController webScriptNameForSelector:]):
1946         (-[LayoutTestController setCallCloseOnWebViews:]):
1947         (-[LayoutTestController setCanOpenWindows]):
1948         Add two new methods callable from JavaScript. setCanOpenWindows controls whether a test
1949         can open new windows, and setCallCloseOnWebViews controls whether -[WebView close] should be called on 
1950         web views that are about to be closed.
1951         
1952         (runTest):
1953         Make sure that only the main window is around when a test has finished running.
1954         
1955         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
1956         (-[DumpRenderTreeWindow dealloc]):
1957         Manage the set of windows.
1958         
1959         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1960         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1961         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1962         (NPP_Destroy):
1963         Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not.
1964         
1965         * DumpRenderTree/UIDelegate.m:
1966         (-[UIDelegate webView:createWebViewWithRequest:]):
1967         Create new windows.
1968         
1969         (-[UIDelegate webViewClose:]):
1970         Close windows.
1971         
1972 2007-04-05  Anders Carlsson  <andersca@apple.com>
1973
1974         Reviewed by Maciej.
1975
1976         Move WebView and NSWindow creation to a separate function in preparation of supporting opening new
1977         windows in DRT.
1978
1979         * DumpRenderTree/DumpRenderTree.m:
1980         (createWebView):
1981         (dumpRenderTree):
1982
1983 2007-04-03  Anders Carlsson  <andersca@apple.com>
1984
1985         Reviewed by Darin.
1986
1987         Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded.
1988         
1989         * DumpRenderTree/DumpRenderTree.h:
1990         * DumpRenderTree/DumpRenderTree.m:
1991         (dumpRenderTree):
1992         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1993         (+[LayoutTestController webScriptNameForSelector:]):
1994         (-[LayoutTestController addDisallowedURL:]):
1995         (runTest):
1996         * DumpRenderTree/ResourceLoadDelegate.m:
1997         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1998
1999 2007-04-03  Mark Rowe  <mrowe@apple.com>
2000
2001         Reviewed by Antti.
2002
2003         * BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip.
2004
2005 2007-04-02  Anders Carlsson  <andersca@apple.com>
2006
2007         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2008         Don't use #import in a header included by C files.
2009
2010 2007-03-31  Mark Rowe  <mrowe@apple.com>
2011
2012         Reviewed by Mitz.
2013
2014         Fix http://bugs.webkit.org/show_bug.cgi?id=13239
2015         Bug 13239: REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process
2016
2017         Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array
2018         rather than -[WebScriptObject count].
2019
2020         * Drosera/DebuggerDocument.m:
2021         (-[DebuggerDocument webScriptAttributeKeysForScriptObject:]):
2022
2023 2007-03-30  Anders Carlsson  <andersca@apple.com>
2024
2025         Reviewed by Geoff.
2026
2027         Add an "onstreamload" attribute to the plugin which is called when a stream starts loading.
2028         
2029         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2030         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2031         (NPP_New):
2032         Look for the onstreamload attribute.
2033         
2034         (NPP_Destroy):
2035         Free the onstreamload attribute.
2036         
2037         (NPP_NewStream):
2038         Call the onstreamload handler.
2039
2040 2007-03-30  Geoffrey Garen  <ggaren@apple.com>
2041
2042         Removing an assertion I just added because it's crashing the Leopard 
2043         buildbot. The related layout test will still report a failure, so we 
2044         don't really need this assertion.
2045
2046         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2047         (pluginInvoke):
2048
2049 2007-03-30  Anders Carlsson  <andersca@apple.com>
2050
2051         Reviewed by Geoff.
2052
2053         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c:
2054         (testAllocate):
2055         (testEnumerate):
2056         Add casts.
2057         
2058         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h:
2059         Don't use #import, use #include.
2060
2061 2007-03-30  Anders Carlsson  <andersca@apple.com>
2062
2063         Reviewed by Alexey.
2064
2065         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2066         (pluginInvoke):
2067         Free the identifier string.
2068
2069 2007-03-30  Anders Carlsson  <andersca@apple.com>
2070
2071         Reviewed by Geoff.
2072
2073         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2074         Add TestObject.c and TestObject.h
2075         
2076         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2077         (pluginGetProperty):
2078         Implement the testObject property.
2079         
2080         (pluginInvoke):
2081         Implement testEnumerate which takes an object and an array and enumerates
2082         the properties of the object and adds them to the array.
2083         
2084         (pluginAllocate):
2085         Allocate the test object.
2086         
2087         (pluginDeallocate):
2088         Free the test object.
2089         
2090         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added.
2091         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added.
2092         Add a test object with two enumerable properties.
2093
2094 2007-03-29  Geoffrey Garen  <ggaren@apple.com>
2095
2096         Reviewed by Beth Dakin.
2097         
2098         Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in 
2099         -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:] 
2100         navigating away from page with DivX movie plug-in (13203)
2101         
2102         Added hasStream property and destroyStream function, used by layout test.
2103
2104         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2105         (pluginGetProperty):
2106         (pluginInvoke):
2107         (pluginAllocate):
2108         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2109         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2110         (NPP_NewStream):
2111
2112 2007-03-27  Anders Carlsson  <acarlsson@apple.com>
2113
2114         Reviewed by Geoff.
2115
2116         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2117         (pluginInvoke):
2118         Add new function which takes a function and calls it using NPN_InvokeDefault.
2119
2120 2007-03-27  Adele Peterson  <adele@apple.com>
2121
2122         Adding comment.
2123
2124         * DumpRenderTree/DumpRenderTree.m:
2125         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
2126
2127 2007-03-27  Adele Peterson  <adele@apple.com>
2128
2129         Fix svg tests by calling displayIfNeeded.
2130
2131         * DumpRenderTree/DumpRenderTree.m:
2132         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
2133
2134 2007-03-26  Mark Rowe  <mrowe@apple.com>
2135
2136         Reviewed by Sam Weinig.
2137
2138         Upload crash logs from DumpRenderTree as part of the test results to ease debugging
2139         of hard-to-reproduce crashes.
2140
2141         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
2142
2143 2007-03-23  Adam Treat  <adam@staikos.net>
2144
2145         Reviewed and committed by George.
2146
2147         Patch by Adam Treat.  Removes hardcoded path to .pro file.
2148
2149 2007-03-22  Adam Roben  <aroben@apple.com>
2150
2151         Reviewed by Geoff.
2152
2153         Removed eventSender.mouseClick because it was only useful for AppKit
2154         controls, which we don't use anymore.
2155
2156         * DumpRenderTree/EventSendingController.m:
2157         (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed
2158         mouseClick.
2159
2160 2007-03-22  Adam Roben  <aroben@apple.com>
2161
2162         Reviewed by Ada.
2163
2164         Make eventSender.mouseClick actually send a mouse up event.
2165
2166         * DumpRenderTree/EventSendingController.m:
2167         (-[EventSendingController mouseClick]):
2168
2169 2007-03-19  David Hyatt  <hyatt@apple.com>
2170
2171         Update the minimum font size pref to match the actual default setting in Safari.  It should have been 1
2172         all this time and not 9.
2173
2174         Reviewed by aroben
2175
2176         * DumpRenderTree/DumpRenderTree.m:
2177         (dumpRenderTree):
2178
2179 2007-03-18  Dan Waylonis  <waylonis@mac.com>
2180
2181         Reviewed by Tim Hatcher.
2182
2183         DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
2184         Bug 13005: WebScriptObject +throwException needs NULL check.
2185
2186         Add tests to ensure that a plugin can safely throw an exception in dealloc.
2187
2188         * DumpRenderTree/ObjCPlugin.h:
2189         * DumpRenderTree/ObjCPlugin.m:
2190         (+[ObjCPlugin webScriptNameForKey:]):
2191         (+[ObjCPlugin isKeyExcludedFromWebScript:]):
2192         (-[ObjCPlugin dealloc]):
2193
2194 2007-03-13  Mark Rowe  <mrowe@apple.com>
2195
2196         Reviewed by Maciej.
2197
2198         Have the nightly launcher prefer Safari found in /Applications or ~/Applications
2199         if present, otherwise fall back on using LaunchServices to locate it elsewhere
2200         on the system.  The motivation for this is to make the behaviour of the nightly
2201         builds more predictable on machines with multiple copies of Safari present.
2202
2203         * WebKitLauncher/main.m:
2204         (locateSafariBundle):
2205         (main):
2206
2207 2007-03-12  Darin Adler  <darin@apple.com>
2208
2209         Reviewed by Tim Hatcher.
2210
2211         - add a DumpRenderTree feature where you can get the Objective-C
2212           class name of a JavaScript object
2213
2214         * DumpRenderTree/DumpRenderTree.m:
2215         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add the
2216         objCClassNameOf: selector.
2217         (+[LayoutTestController webScriptNameForSelector:]): Add the
2218         objCClassNameOf: selector, with the name "objCClassName".
2219         (-[LayoutTestController objCClassNameOf:]): Added.
2220
2221 2007-03-11  Geoffrey Garen  <ggaren@apple.com>
2222
2223         Reviewed by Oliver Hunt.
2224         
2225         Beefed up --threaded mode in light of <rdar://problem/4681051> Installer 
2226         crashes in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*) 
2227         trying to install iLife 06 using Rosetta on an Intel Machine
2228         
2229         --threaded mode now runs a bunch of different JavaScript threads, randomly
2230         killing and respawning them. This was sufficient for reproducing the
2231         bug on my MacBook Pro.
2232
2233         * DumpRenderTree/DumpRenderTree.m:
2234         (javaScriptThreads):
2235         (runJavaScriptThread):
2236         (startJavaScriptThreads):
2237         (stopJavaScriptThreads):
2238         (dumpRenderTree):
2239
2240 2007-03-11  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
2241
2242         Reviewed by Brady Eidson.
2243
2244         Add forward/backward/quit menus for easier testing.
2245
2246         * GdkLauncher/main.cpp:
2247         (menuMainBackCb):
2248         (menuMainForwardCb):
2249         (menuMainQuitCb):
2250         (main):
2251
2252 2007-03-09  Andrew Wellington  <proton@wiretapped.net>
2253
2254         Reviewed by Darin.
2255
2256         - fix http://bugs.webkit.org/show_bug.cgi?id=13007
2257           svn-create-patch doesn't handle UTF files with BOMs as text
2258
2259         Force diff to treat files that svn-create-patch thinks are text as text.
2260
2261         * Scripts/svn-create-patch: Added -a switch to diff command.
2262
2263 2007-03-09  Mark Rowe  <mrowe@apple.com>
2264
2265         Unreviewed.  Use the new SVN URL on the buildbot.
2266
2267         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
2268
2269 2007-03-08  Mark Rowe  <mrowe@apple.com>
2270
2271         Reviewed by Antti.
2272
2273         Fix compiler warnings when building Drosera as 64-bit.
2274
2275         * Drosera/DebuggerDocument.m:
2276         (-[DebuggerDocument breakpointEditorHTML]): Move away from deprecated NSString method.
2277         (-[DebuggerDocument scriptConfirmSheetDidEnd:returnCode:contextInfo:]): Update type.
2278         (-[DebuggerDocument webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Update type to accommodate constant.
2279
2280 2007-03-07  Mark Rowe  <mrowe@apple.com>
2281
2282         Reviewed by Maciej.
2283
2284         Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o.
2285
2286         * Scripts/check-for-global-initializers:
2287
2288 2007-03-07  Anders Carlsson  <acarlsson@apple.com>
2289
2290         Reviewed by Adam.
2291
2292         Add some assertions.
2293
2294         * DumpRenderTree/DumpRenderTree.m:
2295         (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
2296         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2297         (-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2298         (-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]):
2299
2300 2007-03-07  David Kilzer  <ddkilzer@webkit.org>
2301
2302         Reviewed by Darin.
2303
2304         - WebKitTools part of fix for http://bugs.webkit.org/show_bug.cgi?id=12463
2305           WebArchiver - attempt to insert nil exception when archive empty iframe
2306
2307         The dumpDOMAsWebArchive() test method uses the DOMDocument as a basis for creating
2308         a webarchive while the dumpSourceAsWebArchive() test method uses the original
2309         dataSource (page source) to create a webarchive.  Most tests currently use
2310         dumpDOMAsWebArchive() since this is what Safari does when saving a web page as a
2311         webarchive.
2312
2313         * DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive.
2314         Added dumpSourceAsWebArchive.
2315         (dump):
2316         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2317         (-[LayoutTestController dumpDOMAsWebArchive]):
2318         (-[LayoutTestController dumpSourceAsWebArchive]):
2319         (runTest):
2320
2321 2007-03-05  Kevin McCullough  <kmccullough@apple.com>
2322
2323         Reviewed by Mark and Dave H.
2324
2325         - rdar://problem/4922454
2326         - This fixes a security issue by making remote referrers not able to access local
2327         resources, unless they register their schemes to be treated as local. The result is
2328         that those schemes can access local resources and cannot be accessed by remote
2329         referrers.
2330         Because this behavior is new a link-on-or-after check is made to determine if the
2331         app should use the older, less safe, behavior.
2332
2333         * DumpRenderTree/DumpRenderTree.m: Add ability to set user style sheet to DRT.
2334         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2335         (+[LayoutTestController webScriptNameForSelector:]):
2336         (-[LayoutTestController setUserStyleSheetLocation:]):
2337         (-[LayoutTestController setUserStyleSheetEnabled:]):
2338
2339 2007-03-05  Anders Carlsson  <acarlsson@apple.com>
2340
2341         Reviewed by Adam, Darin.
2342
2343         <rdar://problem/5025212>
2344         In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object
2345         
2346         Add a "getURLNotify" method to the plugin object. This lets you pass a URL, a target and a callback function
2347         to be run when the URL has finished (or failed) loading.
2348         
2349         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2350         (pluginInvoke):
2351         (handleCallback):
2352         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2353         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2354         (NPP_URLNotify):
2355
2356 2007-03-04  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
2357
2358         Reviewed by Nikolas Zimmermann.
2359
2360         Load a url given on a command line in a way that also
2361         works for local (file://) urls.
2362
2363         * GdkLauncher/main.cpp:
2364         (main):
2365
2366 2007-03-02  Geoffrey Garen  <ggaren@apple.com>
2367
2368         Tweaked parse-malloc-history to work with new malloc_history output format.
2369
2370         * Scripts/parse-malloc-history:
2371
2372 2007-02-28  Vladimir Olexa  <vladimir.olexa@gmail.com>
2373
2374         Reviewed by Tim H.
2375
2376         Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
2377         Bug#12887: [Drosera] Add ability to close loaded files
2378
2379         * Drosera/DebuggerDocument.h:
2380         * Drosera/DebuggerDocument.m:
2381         (-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files
2382         * Drosera/Drosera.xcodeproj/project.pbxproj:
2383         * Drosera/English.lproj/MainMenu.nib/classes.nib: 
2384         * Drosera/English.lproj/MainMenu.nib/info.nib:
2385         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item
2386         * Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style
2387         * Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file
2388
2389 2007-02-28  Nikolas Zimmermann  <zimmermann@kde.org>
2390
2391         Reviewed by Maciej.
2392
2393         Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily.
2394
2395         * Scripts/build-webkit:
2396
2397 2007-02-27  Geoffrey Garen  <ggaren@apple.com>
2398
2399         Small tweak to run-webkit-tests.
2400
2401         * Scripts/run-webkit-tests: Allow people with lots of RAM to run more than
2402         1000 MallocStackLogging tests at a time.
2403
2404 2007-02-26  Maciej Stachowiak  <mjs@apple.com>
2405
2406         Reviewed by Lars.
2407         
2408         - set ENABLE_XSLT even when compiling without SVG support, since that is no
2409         longer hardcoded into config.h.
2410
2411         * Scripts/build-webkit:
2412
2413 2007-02-26  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
2414
2415         Reviewed by Adam Roben.
2416
2417         Rename *_SUPPORT defines to ENABLE_*.
2418
2419         * GdkLauncher/gdklauncher.bkl:
2420
2421 2007-02-24  Geoffrey Garen  <ggaren@apple.com>
2422
2423         Reviewed by Darin Adler.
2424         
2425         * Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're
2426         fixed.
2427
2428 2007-02-24  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
2429
2430         Reviewed by Adam Roben.
2431
2432         Improve gdklauncher: add text field for entering url.
2433
2434         * GdkLauncher/gdklauncher.bkl:
2435         * GdkLauncher/main.cpp:
2436         (strEmpty):
2437         (strEq):
2438         (handleGdkEvent):
2439         (goToUrlBarText):
2440         (goButtonClickedCb):
2441         (urlBarEnterCb):
2442         (registerRenderingAreaEvents):
2443         (frameResizeCb):
2444         (frameDestroyCb):
2445         (main):
2446
2447 2007-02-22  Vladimir Olexa  <vladimir.olexa@gmail.com>
2448
2449         Reviewed by Tim H.
2450
2451         Fixes: http://bugs.webkit.org/show_bug.cgi?id=12852
2452         Bug#12852: Drosera should select function name, not "function" keyword when selecting from function list pop-up
2453         * Drosera/debugger.js: Fixed some logic errors resulting in generating double IDs and names.
2454
2455 2007-02-22  Adele Peterson  <adele@apple.com>
2456
2457         Reviewed by Darin.
2458
2459         Added option in layoutTestController to setTabKeyCyclesThroughElements, so we
2460         can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body
2461
2462         * DumpRenderTree/DumpRenderTree.m:
2463         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2464         (+[LayoutTestController webScriptNameForSelector:]):
2465         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2466
2467 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
2468
2469         Used svn merge -r19786:19785 to roll out previous hack to work around
2470         SVG painting issue in DRT.
2471         
2472         Implemented new work-around, which makes --paint paint *after* dumping
2473         the render tree instead of before, so that painting doesn't influence
2474         the SVG render tree.
2475
2476         This should fix the ~400 new pixel failures introduced in r19786.
2477
2478         * DumpRenderTree/DumpRenderTree.m:
2479         (dump):
2480         * Scripts/run-webkit-tests:
2481
2482 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
2483
2484         Resetting --leaks mode default to run 1000 tests at a time because setting it
2485         to 750 didn't stop the stack logging related crashes, and running more tests
2486         at a time is faster. The crashes seem to be a real bug in stack logging, 
2487         not an out of memory condition.
2488
2489         * Scripts/run-webkit-tests:
2490
2491 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
2492
2493         Reviewed by Adam Roben.
2494         
2495         Added hack to force painting when running an SVG test. This is a work-around
2496         for http://bugs.webkit.org/show_bug.cgi?id=12849 SVG renderers update at 
2497         paint time instead of style resolution time.
2498
2499         We need this so that --leaks mode, which always paints, doesn't appear to 
2500         fail SVG tests. We also need this if we ever want to test style application 
2501         in SVG, since many SVGs don't apply style to their renderers until they paint.
2502
2503         * Scripts/run-webkit-tests:
2504
2505 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
2506         
2507         Reduced --leaks mode to running only 750 tests at a time, in the hopes
2508         of fixing intermittent crasher that may be caused by out of memory
2509         conditions.
2510
2511         * Scripts/run-webkit-tests:
2512
2513 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
2514
2515         Reviewed by Darin Adler.
2516
2517         Made DRT paint when running run-webkit-tests in --leaks mode, to check
2518         for painting leaks.
2519
2520         * DumpRenderTree/DumpRenderTree.m: Removed some "NO" initializations, since
2521         that's the default for statics.
2522         (dumpRenderTree): Added --paint command line option, which specifies that
2523         DRT should paint at the end of every test.
2524         (displayWebView): New function, called by dump() and -[LayoutTestController display].
2525         * Scripts/run-webkit-tests: Use the --paint command line option when checking
2526         for leaks.
2527
2528         * Scripts/run-webkit-tests: Added a new, painting leak to the ignore list. 
2529         Removed stale comment about THRD leaks -- we now ignore them reliably.
2530
2531 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
2532
2533         Tools tweak. No review necessary.
2534         
2535         * Scripts/parse-malloc-history: Enabled multiple merge-regexp command line
2536         arguments. Changed command line argument variables from special implicit 
2537         no-op values to specific empty values that we test explicitly.
2538
2539 2007-02-21  Vladimir Olexa  <vladimir.olexa@gmail.com>
2540
2541         Reviewed by Tim H.
2542
2543         Bug 12834: Drosera should remember scroll position of open files like Xcode
2544         http://bugs.webkit.org/show_bug.cgi?id=12834
2545
2546         * Drosera/debugger.js: Implemented scrolling memory 
2547
2548 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
2549
2550         Tools tweak. No review necessary.
2551         
2552         Made parse-malloc-history executable. (Oops!)
2553         
2554         Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history" 
2555         output.
2556         
2557         Added the ability to merge callstacks by regexp, not just depth, so you 
2558         can ask questions like, "How many of these allocations were due to that one 
2559         call to ...?"
2560         
2561         * Scripts/parse-malloc-history:
2562
2563 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
2564
2565         * Scripts/parse-malloc-history: Added copyright info.
2566
2567 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
2568
2569         Reviewed by Darin Adler.
2570         
2571         New script to parse the output from malloc_history, so we can determine
2572         what's using memory in WebKit.
2573
2574         * Scripts/parse-malloc-history: Added.
2575
2576 2007-02-20  Graham Dennis  <graham.dennis@gmail.com>
2577
2578         Reviewed by Darin Adler.
2579         
2580         Fix for http://bugs.webkit.org/show_bug.cgi?id=12802
2581         WebKit.framework is built with SVG_SUPPORT for No-SVG build
2582
2583         * Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well.
2584
2585 2007-02-19  Geoffrey Garen  <ggaren@apple.com>
2586
2587         Build fix.
2588         
2589         * Scripts/check-for-global-initializers: Ignore the global counter I added
2590         for SubresourceLoaders.
2591
2592 2007-02-19  Darin Adler  <darin@apple.com>
2593
2594         Reviewed by Tim Hatcher.
2595
2596         * Scripts/check-for-global-initializers: Delete the linked executable if the check fails.
2597         Without this, you only see the global initializer error once, which makes it very easy
2598         to miss them.
2599
2600 2007-02-16  Mark Rowe  <mrowe@apple.com>
2601
2602         Not reviewed.
2603
2604         <rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode
2605
2606         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests.
2607
2608 2007-02-15  Geoffrey Garen  <ggaren@apple.com>
2609
2610         Reviewed by Beth Dakin.
2611         
2612         * DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node
2613         leaks anymore, either, since r19486 fixed them, too.
2614         (shouldIgnoreWebCoreNodeLeaks):
2615
2616 2007-02-15  Darin Adler  <darin@apple.com>
2617
2618         * Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were
2619         fixed by change 19486.
2620
2621 2007-02-15  Geoffrey Garen  <ggaren@apple.com>
2622
2623         Reviewed by Beth Dakin.
2624         
2625         Ignore another leak, seen recently on the buildbot.
2626
2627         * Scripts/run-webkit-tests:
2628
2629 2007-02-14  Geoffrey Garen  <ggaren@apple.com>
2630
2631         Reviewed by Beth Dakin.
2632         
2633         Ignore another leak, seen recently on the buildbot.
2634
2635         * Scripts/run-webkit-tests:
2636
2637 2007-02-13  Darin Adler  <darin@apple.com>
2638
2639         * Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one
2640         giant line.
2641
2642 2007-02-11  Maciej Stachowiak  <mjs@apple.com>
2643
2644         Reviewed by Mitz.
2645         
2646         - add contextClick() operation to eventSender to be able to test this
2647
2648         * DumpRenderTree/EventSendingController.m:
2649         (+[EventSendingController isSelectorExcludedFromWebScript:]):
2650         (-[EventSendingController contextClick]):
2651
2652 2007-02-11  Darin Adler  <darin@apple.com>
2653
2654         * Scripts/check-for-global-initializers: Fix case where executable doesn't exist at all
2655         so it doesn't give a perl exception (happens in clean builds, for example).
2656
2657 2007-02-10  David Kilzer  <ddkilzer@webkit.org>
2658
2659         Reviewed by Adam.
2660
2661         * Scripts/svn-create-patch:
2662         (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
2663         a relative path to the copied file.
2664
2665 2007-02-10  Timothy Hatcher  <timothy@apple.com>
2666
2667         Reviewed by Sam Weinig.
2668
2669         * Drosera/Drosera.icns: updated the icon with 512px and 256px variants
2670
2671 2007-02-10  David Kilzer  <ddkilzer@webkit.org>
2672
2673         Reviewed by Timothy.
2674
2675         * Scripts/svn-apply:
2676         (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
2677         encoded text.
2678
2679 2007-02-10  Brady Eidson <beidson@apple.com>
2680
2681         Reviewed by Maciej
2682
2683         <rdar://problem/4965133> WebKit sends file:// url referrers
2684
2685         * Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests
2686           on local files, but have an httpd for remote resources
2687
2688 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
2689
2690         Reviewed by Beth Dakin.
2691         
2692         Ignore another false leak report.
2693
2694         * Scripts/run-webkit-tests:
2695
2696 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
2697
2698         Reviewed by Kevin McCullough.
2699
2700         * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
2701         already exists, to avoid confusing error message.
2702         
2703         Also, remove /tmp/LayoutTests after running so unsupecting fools don't 
2704         try to rm -rf it, only later to discover that they have completely hosed 
2705         their machines.
2706
2707 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
2708
2709         Reviewed by Adam Roben.
2710
2711         Linux/gdk build fixes.
2712
2713         * GdkLauncher/main.cpp: Add -exit-after-loading and
2714         -dump-render-tree as debugging aid.
2715         (strEq):
2716         (main):
2717
2718 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
2719
2720         Minor fixup based on Maciej's review last night.
2721         
2722         * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
2723         and do a little math to make it work.
2724
2725 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
2726
2727         Reviewed by Adam Roben.
2728
2729         Linux/gdk build fixes.
2730
2731         * GdkLauncher/gdklauncher.bkl:
2732
2733 2007-02-08  Kevin McCullough  <KMcCullough@apple.com>
2734
2735         - Fix layout test failures.
2736
2737         * Scripts/run-webkit-tests:
2738
2739 2007-02-08  Darin Adler  <darin@apple.com>
2740
2741         Reviewed by Anders.
2742
2743         * Scripts/check-for-global-initializers: For speed, only check files that
2744         have been modified since the last time we linked. For tidiness, capture
2745         stderr from nm, and prevent "nm: no name list" messages from going out.
2746
2747 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
2748
2749         Reviewed by Maciej Stachowiak, Adam Roben.
2750         
2751         Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
2752         arbitrary number n.
2753         
2754         Plus some renames:
2755             - DumpRenderTree => "dumpTool" (to match abstraction elsewhere)
2756             - checkLeaks => "shouldCheckLeaks" (to match style guidelines)
2757             - tool => dumpTool (to match abstraction elsewhere)
2758             - httpdOpen => isHttpdOpen (to match style guidelines)
2759         
2760         Plus a few logic fixups:
2761             - Don't check isDumpToolOpen when we know we've called openDumpTool().
2762             - Use a single code path to decide when to shut down dumpTool and
2763               when to check for leaks, since the operations are coincidental. 
2764             - Use a single code path for running the leaks tool, since the only 
2765               thing that varies between configurations is the output file name.
2766             - Increment $count after each test finishes, instead of at the end
2767               of the loop, to help with comparing to the length of the array
2768               and %-ing by n.
2769             - Use a more robust test inside the loop to determine if we need to
2770               close dumpTool, instead of copying the closing code outside the loop.
2771         
2772         Layout tests pass.
2773
2774         * Scripts/run-webkit-tests:
2775
2776 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
2777
2778         Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
2779         
2780         Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can
2781         catch all reports of them, not just those inside pthread_create.
2782         
2783         Also, use "\\" instead of "\" because we need the actual \ to get into the
2784         regexp string if it's going to do any escaping. (Oops!)
2785
2786         * Scripts/run-webkit-tests:
2787
2788 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
2789
2790         Reviewed by Bethany P. Dakin.
2791         
2792         The 's' is optional when the leaks tool reports 'leaks'.
2793         
2794         * Scripts/run-leaks:
2795
2796 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
2797
2798         Reviewed by Bethany P. Dakin.
2799         
2800         Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
2801
2802         * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
2803
2804 2007-02-06  David Smith  <catfish.man@gmail.com>
2805
2806         Reviewed by Darin.
2807
2808         Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
2809         [Drosera] Console history fixups
2810
2811         * Drosera/console.js: assorted cleanups and fixes
2812
2813 2007-02-05  Geoffrey Garen  <ggaren@apple.com>
2814
2815         Reviewed by Darin Adler.
2816         
2817         New script that allows you to ignore leaks by regular expression.
2818
2819         * Scripts/run-leaks: Added.
2820
2821 2007-02-03  Sam Weinig  <sam@webkit.org>
2822
2823         Reviewed by Mark.
2824
2825         Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
2826         Drosera doesn't handle CR ( carriage returns ) well
2827
2828         - Normalize all the line endings.
2829
2830         * Drosera/debugger.js:
2831
2832 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
2833
2834         Reviewed by Darin Adler.
2835
2836         Added some more known leaks to the leaks ignore list.
2837
2838         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
2839         hate itself so much?
2840         * Scripts/run-webkit-tests:
2841
2842 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
2843
2844         Even better build fix than the last.
2845
2846         * ChangeLog:
2847         * DumpRenderTree/DumpRenderTree.m:
2848         (shouldIgnoreWebCoreNodeLeaks):
2849
2850 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
2851
2852         Fixed build. Added work-around for GCC bug.
2853
2854         * DumpRenderTree/DumpRenderTree.m:
2855         (shouldIgnoreWebCoreNodeLeaks):
2856
2857 2007-02-01  Geoffrey Garen  <ggaren@apple.com>
2858
2859         Reviewed by Maciej Stachowiak.
2860         
2861         Added support for selectively ignoring WebCore::Node leaks during layout
2862         tests, so that we can ignore known leaks in other components.
2863
2864         * DumpRenderTree/DumpRenderTree.m:
2865         (shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose
2866         WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook
2867         confuse anyone else? 
2868         (runTest):
2869
2870 2007-02-01  Anders Carlsson  <acarlsson@apple.com>
2871
2872         Reviewed by Darin.
2873
2874         * DumpRenderTree/UIDelegate.m:
2875         (-[UIDelegate webView:addMessageToConsole:]):
2876         Dump console messages.
2877
2878 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
2879
2880         * DumpRenderTree/ResourceLoadDelegate.m:
2881         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2882         Use an NSString here so we can guarantee that -description always returns the same value.
2883
2884 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
2885
2886         Reviewed by Darin Adler.
2887
2888         Added Selection::toRange to the leaks -exclude list, since it comes up
2889         as a false positive (Radar 4967949).
2890         
2891         Also added RangeCounter to the global initializer exclude list. I added
2892         a RangeCounter since leaks won't detect all Range leaks anymore.
2893
2894         * Scripts/check-for-global-initializers:
2895         * Scripts/run-webkit-tests:
2896
2897 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
2898
2899         * DumpRenderTree/ResourceLoadDelegate.m:
2900         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2901         Don't try to create an identifier if resource loads shouldn't be dumped.
2902
2903 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
2904
2905         Reviewed by Geoff.
2906
2907         Add dumping of resource loads. This isn't completely tweaked yet since the test results would
2908         rely on resources being delivered in the same order which might not always be true. However, it works good
2909         enough for the simple webarchive tests I want to do right now.
2910         
2911         * DumpRenderTree/DumpRenderTree.h:
2912         * DumpRenderTree/DumpRenderTree.m:
2913         (dumpRenderTree):
2914         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2915         (-[LayoutTestController dumpResourceLoadCallbacks]):
2916         (runTest):
2917         
2918         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2919         * DumpRenderTree/ResourceLoadDelegate.h: Added.
2920         * DumpRenderTree/ResourceLoadDelegate.m: Added.
2921         Add new resource load delegate.
2922         
2923 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
2924
2925         Backing out the CFRunLoopRunSpecific exclude command because it was overly
2926         broad. We'll either need to work around this leak in DRT, or do some
2927         custom grep-based leak ignoring.
2928
2929         * Scripts/run-webkit-tests:
2930
2931 2007-01-30  Geoffrey Garen  <ggaren@apple.com>
2932
2933         Reviewed by Beth Dakin.
2934
2935         Filed some more Radars in other components, added some more leaks to the
2936         exclusion list.
2937
2938         * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
2939         CFRunLoopRunSpecific, and NSSpellChecker.
2940
2941 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
2942
2943         Reviewed by Darin.
2944
2945         http://bugs.webkit.org/show_bug.cgi?id=11882
2946         Need a way to regression test .webarchive output files
2947
2948         Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
2949         Alters WebResourceResponse and WebResourceURL properties within WebArchive format
2950         to normalize URLs to remove path where WebKit was checked out.  Also converts
2951         WebDataResource properties from data to string if the corresponding
2952         WebResourceMIMEType property starts with "text/" or equals
2953         "application/x-javascript".
2954
2955         * DumpRenderTree/DumpRenderTree.m:
2956         (convertWebResourceDataToString): Added.
2957         (normalizeWebResourceURL): Added.
2958         (normalizeWebResourceResponse): Added.
2959         (serializeWebArchiveToXML): Added.
2960         (dump):
2961         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2962         (-[LayoutTestController dumpAsWebArchive]): Added.
2963         (runTest):
2964
2965 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
2966
2967         Reviewed by Mark Rowe.
2968
2969         http://bugs.webkit.org/show_bug.cgi?id=12470
2970         svn-create-patch creates duplicate patches for files within an added/modified directory
2971
2972         * Scripts/svn-create-patch:
2973         (sub generateFileList($\%\%)): Ignore directories when generating the file list.
2974
2975 2007-01-29  Geoffrey Garen  <ggaren@apple.com>
2976
2977         Reviewed by Maciej Stachowiak.
2978
2979         Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
2980         
2981         No more mollycoddling for you, FastMalloc.o!
2982         
2983         * Scripts/check-for-global-initializers:
2984
2985 2007-01-29  Graham Dennis  <graham.dennis@gmail.com>
2986
2987         Reviewed by Maciej.
2988         
2989         Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
2990         Image data in from RTFD clipboard data thrown away
2991         
2992         - This method is needed because NSArrays are bridged to JS Arrays,
2993           which in turn are bridged back to WebScriptObjects when passed from
2994           JS to ObjC. Hence it is not possbile to pass an NSArray from JS.
2995
2996         * DumpRenderTree/DumpRenderTree.m:
2997         (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
2998
2999 2007-01-25  Geoffrey Garen  <ggaren@apple.com>
3000
3001         Reviewed by Maciej Stachowiak.
3002         
3003         Added support for test for <rdar://problem/4608404> WebScriptObject's 
3004         _rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
3005         
3006         * DumpRenderTree/DumpRenderTree.m:
3007         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3008         (+[LayoutTestController webScriptNameForSelector:]):
3009         (-[LayoutTestController storeWebScriptObject:]):
3010         (-[LayoutTestController accessStoredWebScriptObject]):
3011         (-[LayoutTestController dealloc]):
3012
3013 2007-01-26  Lars Knoll <lars@trolltech.com>
3014
3015         Reviewed by Zack
3016
3017         Small hack to ensure that our top level frame actually has the
3018         correct size. Unfortunately this means I'll have to regenerate 
3019         all test cases :/
3020
3021         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3022         (WebCore::DumpRenderTree::DumpRenderTree):
3023
3024 2007-01-25  Lars Knoll <lars@trolltech.com>
3025
3026         Reviewed by Darin and Zack
3027         
3028         Move the test results for Qt into a directory of it's own
3029         (WebKit/LayoutTestResults/qt). Leave the Mac results where
3030         they are for now and share the text only results between 
3031         Mac and Qt.
3032
3033         Add support for a LayoutTestResults/platform/Skipped file
3034         to run-webkit-tests to be able to ignore certain tests
3035
3036         Remove the old tests-skipped.txt from Qts DumpRenderTree
3037         implementation. 
3038
3039         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3040         (WebCore::DumpRenderTree::DumpRenderTree):
3041         (WebCore::DumpRenderTree::open):
3042         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3043         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed.
3044         * Scripts/run-webkit-tests:
3045
3046 2007-01-24  Darin Adler  <darin@apple.com>
3047
3048         Reviewed by Oliver.
3049
3050         - fix crash seen in layout tests
3051
3052         * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
3053         Add back the line of code that sets savedMouseEvents to nil. I thought it was
3054         a field of the EventSendingController, but it's actually a global.
3055
3056 2007-01-24  Darin Adler  <darin@apple.com>
3057
3058         Reviewed by Maciej.
3059
3060         - changed dragMode to be a property instead of a function
3061
3062         * DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode.
3063         * DumpRenderTree/EventSendingController.m:
3064         (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode.
3065         (+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode.
3066         (-[EventSendingController init]): Updated for name change.
3067         (-[EventSendingController leapForward:]): Ditto.
3068         (-[EventSendingController mouseUp]): Ditto.
3069         (-[EventSendingController mouseMoveToX:Y:]): Ditto.
3070
3071 2007-01-24  Darin Adler  <darin@apple.com>
3072
3073         Reviewed by Maciej.
3074
3075         - made the deferral of mouse events until drag completes conditional
3076           it's needed for drag testing, and harmful for selection testing
3077
3078         * DumpRenderTree/EventSendingController.h: Added inDragMode boolean.
3079         * DumpRenderTree/EventSendingController.m:
3080         (+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:.
3081         (+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode,
3082         and remove unneeded clearKillRing name.
3083         (-[EventSendingController init]): Initialize inDragMode to true.
3084         (-[EventSendingController dealloc]): Removed overzealous assertions -- we should
3085         not be asserting things that are dependent on the test content!
3086         (-[EventSendingController leapForward:]): Only queue events in drag mode.
3087         (-[EventSendingController setDragMode:]): Added.
3088         (-[EventSendingController mouseDown]): Removed overzealous assertion.
3089         (-[EventSendingController mouseUp]): Removed overzealous assertions.
3090         Only queue events in drag mode.
3091         (-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode.
3092
3093 2007-01-24  Lars Knoll <lars@trolltech.com>
3094
3095         Reviewed by Zack
3096
3097         Add a signal handler, always dump immediately if we get an
3098         error during a page load and raise the timeout to 5 seconds
3099         (as we get a lot less such failures now)
3100
3101         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3102         (WebCore::DumpRenderTree::DumpRenderTree):
3103         (WebCore::DumpRenderTree::maybeDump):
3104         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3105         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3106         (LayoutTestController::waitUntilDone):
3107         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3108         (crashHandler):
3109         (main):
3110         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
3111
3112 2007-01-22  Darin Adler  <darin@apple.com>
3113
3114         Reviewed by Mitz.
3115
3116         - a couple tiny tweaks to make --reset-results work better
3117
3118         * Scripts/run-webkit-tests: Always generate results when --reset-results is specified.
3119         Don't make a separate "new" entry while generating results when --reset-results
3120         is specified since new results are the norm in that case.
3121
3122 2007-01-21  Sanjay Madhav  <sanjay12@gmail.com>
3123
3124         Reviewed by Darin.
3125
3126         Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
3127
3128         This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
3129
3130         * DumpRenderTree/GCController.h:
3131         * DumpRenderTree/GCController.mm:
3132         (+[GCController isSelectorExcludedFromWebScript:]):
3133         (-[GCController getJSObjectCount]):
3134
3135 2007-01-20  Mark Rowe  <mrowe@apple.com>
3136
3137         Reviewed by Maciej.
3138
3139         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
3140         catch single regressions, and don't generate tests results for new tests.
3141
3142 2007-01-20  Adam Roben  <aroben@apple.com>
3143
3144         Rubberstamped by Maciej.
3145
3146         * Scripts/run-webkit-tests: Change the default behavior back to
3147         generating results for new tests (this can be disabled with
3148         --no-new-test-results)
3149
3150 2007-01-19  Lars Knoll <lars@trolltech.com>
3151
3152         Reviewed by Adam Roben.
3153
3154         run-webkit-tests does now not generate new results by default anymore. 
3155         You'll have to pass the --new-tests flag to it to force it to do so.
3156
3157         This is required to make it possible to have tests running on multiple 
3158         platforms peacefully together.
3159
3160         * Scripts/run-webkit-tests:
3161
3162 2007-01-18  Darin Adler  <darin@apple.com>
3163
3164         Reviewed by John Sullivan.
3165
3166         * Scripts/run-webkit-tests: Fix handling of configuration so it
3167         does the right thing when no explicit configuration is passed in.
3168         The old code assumed that the result of setConfiguration() was the
3169         configuration, but it's undefined when no configuration is
3170         explicitly passed in. The correct function to use is
3171         configuration(), and I also streamlined the code.
3172
3173 2007-01-17  Lars Knoll <lars@trolltech.com>
3174
3175         Fix my last commit to actually work in all cases.
3176
3177         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3178         (WebCore::DumpRenderTree::readStdin):
3179
3180 2007-01-17  Lars Knoll <lars@trolltech.com>
3181
3182         Reviewed by Maciej
3183
3184         Make sure DumpRenderTree exits when run-webkit-tests
3185         is done.
3186
3187         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3188         (WebCore::DumpRenderTree::readStdin):
3189
3190 2007-01-17  Lars Knoll <lars@trolltech.com>
3191
3192         Reviewed by Zack
3193
3194         Small fixes in DumpRenderTree, so we don't by
3195         accident dump twice for the same test.
3196
3197         Exclude one more test as it currently causes DumpRenderTree to
3198         hang forever.
3199
3200         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3201         (WebCore::DumpRenderTree::readStdin):
3202         (WebCore::DumpRenderTree::dump):
3203         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3204         (LayoutTestController::notifyDone):
3205         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
3206
3207 2007-01-17  Lars Knoll <lars@trolltech.com>
3208
3209         Reviewed by Zack
3210
3211         Add a message handler to DumpRenderTree that will
3212         suppress all debug output coming from qDebug() statements.
3213         Like this we can get rid of all the noise coming
3214         from the notImplemented() macro when running the
3215         layout tests. You can get it back by adding -v to
3216         DumpRenderTree's command line.
3217
3218         Changed run-webkit-tests slightly, so we by default
3219         don't fail anymore when our output differs from what
3220         is generated on the Mac. Added a --strict option, so
3221         that we can still see this cases and fix them one by one.
3222
3223         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3224         (messageHandler):
3225         (main):
3226         * Scripts/run-webkit-tests:
3227
3228 2007-01-16  Lars Knoll <lars@trolltech.com>
3229
3230         Reviewed by Zack
3231
3232         Use the new public API for the Qt build, and don't rely on
3233         WebKit internals anymore.
3234
3235         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3236         (WebCore::DumpRenderTree::DumpRenderTree):
3237         (WebCore::DumpRenderTree::~DumpRenderTree):
3238         (WebCore::DumpRenderTree::open):
3239         (WebCore::DumpRenderTree::readStdin):
3240         (WebCore::DumpRenderTree::initJSObjects):
3241         (WebCore::DumpRenderTree::dump):
3242         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3243         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3244         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Removed.
3245         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Removed.
3246         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3247         (LayoutTestController::notifyDone):
3248         (LayoutTestController::timerEvent):
3249         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3250         (main):
3251         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
3252
3253 2007-01-15  Justin Garcia  <justin.garcia@apple.com>
3254
3255         Reviewed by mjs
3256
3257         <rdar://problem/4810960>
3258         Gmail Editor: window.focus() called on keyDown (9640)
3259
3260         * DumpRenderTree/EventSendingController.m: Send the keyDown event
3261         to the firstResponder, not the event's locationInWindow.  A
3262         key press's locationInWindow is meaningless and just a dummy 
3263         coordinate.
3264
3265 2007-01-15  Eric Seidel  <eric@webkit.org>
3266
3267         Reviewed by bdash.
3268         
3269         Add a script to keep our header guards squeaky clean.
3270
3271         * Scripts/clean-header-guards: Added.
3272
3273 2007-01-15  Lars Knoll <lars@trolltech.com>
3274
3275         Reviewed by Zack
3276
3277         Fix a few smaller issues in here, and update
3278         our list of skipped tests.
3279
3280         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3281         (WebCore::DumpRenderTree::DumpRenderTree):
3282         (WebCore::DumpRenderTree::readStdin):
3283         (WebCore::DumpRenderTree::dump):
3284         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3285         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3286         (LayoutTestController::LayoutTestController):
3287         (LayoutTestController::reset):
3288         (LayoutTestController::waitUntilDone):
3289         (LayoutTestController::notifyDone):
3290         (LayoutTestController::dumpEditingCallbacks):
3291         (LayoutTestController::timerEvent):
3292         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
3293         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
3294
3295 2007-01-14  Mark Rowe  <mrowe@apple.com>
3296
3297         Reviewed by Adam.
3298
3299         <rdar://problem/4908909> Need to create Leopard nightly build
3300
3301         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Always use the 10.4 Universal SDK.  The disk images don't mount pre-10.4 so we aren't losing anything here.
3302         * WebKitLauncher/WebKitNightlyEnabler.m:
3303         (poseAsWebKitApp): Simplify CoreFoundation-related hackery by using _CFGetProcessPath instead of walking the mach-o symbol tables.  The smaller timeframe where the
3304         CFProcessPath environment variable is set allows this to work correctly on Leopard where the old code failed.
3305         (enableWebKitNightlyBehaviour):
3306         * WebKitLauncher/main.m:
3307         (main): Pass executable path as WebKitAppPath rather than CFProcessPath to prevent it being picked up too early by CoreFoundation.
3308         * Drosera/launcher.m:
3309         (main): Ditto
3310
3311 2007-01-12  Lars Knoll <lars@trolltech.com>
3312
3313         Reviewed by Zack
3314
3315         Get DumpRenderTree to work again for the Qt build.
3316
3317         Make run-webkit-tests a little less verbose when testing
3318         Qt, and add an option to run DumpRenderTree inside valgrind
3319         (useful for debugging)
3320
3321         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3322         (WebCore::DumpRenderTree::DumpRenderTree):
3323         (WebCore::DumpRenderTree::~DumpRenderTree):
3324         (WebCore::DumpRenderTree::open):
3325         (WebCore::DumpRenderTree::dump):
3326         (WebCore::DumpRenderTree::maybeDump):
3327         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3328         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
3329         (WebCore::DumpRenderTreeClient::dispatchDidHandleOnloadEvents):
3330         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
3331         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
3332         * Scripts/run-webkit-tests:
3333
3334 2007-01-12  Zack Rusin  <zack@kde.org>
3335
3336         Add WEBKIT_FULLBUILD env variable to get the
3337         build do a make clean before make to cleanout the
3338         stale depenendencies (for buildbot mainly).
3339
3340         * Scripts/webkitdirs.pm:
3341
3342 2007-01-11  Mitz Pettel  <mitz@webkit.org>
3343
3344         Reviewed by Hyatt.
3345
3346         - http://bugs.webkit.org/show_bug.cgi?id=10249
3347           Temporarily disable tests that are causing kernel panics
3348
3349         Changed the ImageDiff tool not to use CoreImage filters.
3350
3351         * DumpRenderTree/ImageDiff.m:
3352         (main):
3353         (createImageFromStdin):
3354         (compareImages):
3355         (getDifferenceBitmap):
3356
3357 2007-01-11  Lars Knoll <lars@trolltech.com>
3358
3359         Fix compilation
3360
3361         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3362
3363 2007-01-11  Lars Knoll <lars@trolltech.com>
3364
3365         Reviewed by Darin.
3366
3367         Adjust to loader changes.
3368
3369         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3370         (WebCore::DumpRenderTree::DumpRenderTree):
3371
3372 2007-01-06  George Staikos  <staikos@kde.org>
3373
3374         This doesn't build on all unix platforms!
3375
3376         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3377
3378 2007-01-05  Zack Rusin  <zack@kde.org>
3379
3380         Reviewed by Simon.
3381
3382         Fix the undefined warnings and try to detect
3383         the DISPLAY properly.
3384
3385         * Scripts/run-webkit-tests:
3386
3387 2007-01-05  David Kilzer  <ddkilzer@webkit.org>
3388
3389         Reviewed by Mark Rowe.
3390
3391         Speed up svn-create-patch for copied and moved files.
3392
3393         * Scripts/svn-create-patch:
3394         (manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN'
3395         so svn pulls original from local disk.
3396
3397 2007-01-04  Lars Knoll <lars@trolltech.com>
3398
3399         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3400               Link with RPATH to (hopefully) get the automatic tests working.
3401
3402 2007-01-03  Mark Rowe  <bdash@webkit.org>
3403
3404         Reviewed by Anders.
3405
3406         * Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used.
3407
3408 2007-01-02  Zack Rusin  <zack@kde.org>
3409
3410         Make it work after javascriptcore/bindings changes.
3411
3412         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3413         (WebCore::DumpRenderTree::initJSObjects):
3414         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3415
3416 2007-01-01  David Kilzer  <ddkilzer@webkit.org>
3417
3418         Reviewed by Darin.
3419
3420         http://bugs.webkit.org/show_bug.cgi?id=12023
3421         svn-create-patch and friends should handle moved/copied files
3422
3423         * Scripts/svn-apply: Identify copied files and handle those before all other patches.
3424         * Scripts/svn-create-patch: Generate patches with subtle changes for copied files.
3425         (findMimeType($)): Added.
3426         (findModificationTime($)): Added.
3427         (findSourceFileAndRevision($)): Added.
3428         (generateDiff($$$)): Changed to use svn stat instead of svn diff.
3429         (isBinaryMimeType($)): Added.
3430         (manufacturePatchForAdditionWithHistory($$)): Added.
3431         * Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches.
3432
3433 2006-12-29  Eric Seidel  <eric@webkit.org>
3434
3435         Reviewed by olliej.
3436
3437         Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage
3438
3439         * DumpRenderTree/DumpRenderTree.m:
3440         (dumpRenderTree): clear WebCore cache before exiting
3441
3442 2006-12-29  David Kilzer  <ddkilzer@webkit.org>
3443
3444         Reviewed by NOBODY (build fix).
3445
3446         Reverted last commit until WebResourceData issue is fixed.
3447
3448         http://bugs.webkit.org/show_bug.cgi?id=11882
3449         Need a way to regression test .webarchive output files
3450
3451         * DumpRenderTree/DumpRenderTree.m:
3452         (serializeWebArchiveToXML): Removed.
3453         (dump):
3454         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3455         (-[LayoutTestController dumpAsWebArchive]): Removed.
3456         (runTest):
3457
3458 2006-12-28  David Kilzer  <ddkilzer@webkit.org>
3459
3460         Reviewed by Darin.
3461
3462         http://bugs.webkit.org/show_bug.cgi?id=11882
3463         Need a way to regression test .webarchive output files
3464
3465         Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
3466         Saves WebArchive plist in xml format, then alters file:// URLs to remove path
3467         where WebKit was checked out.
3468
3469         * DumpRenderTree/DumpRenderTree.m:
3470         (serializeWebArchiveToXML): Added.
3471         (dump):
3472         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3473         (-[LayoutTestController dumpAsWebArchive]): Added.
3474         (runTest):
3475
3476 2006-12-28  George Staikos  <staikos@kde.org>
3477
3478         Reviewed by Olliej.
3479
3480         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11
3481
3482 2006-12-27  Geoffrey Garen  <ggaren@apple.com>
3483
3484         Reviewed by Eric Seidel. Prose edited by Mitz Pettel.
3485
3486         Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html.
3487         
3488         No behavior change. Layout tests pass.
3489
3490         * DumpRenderTree/DumpRenderTree.h: Exported the done BOOL in place of the
3491         doneLoading() accessor function. This matches the rest of DRT's exports and 
3492         makes it easier to search for clients who check (!done).
3493
3494         * DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so
3495         it would cover both code paths for calling runTest().
3496
3497         (dumpRenderTree): "doneLoading()" => "done"
3498         (dump): ditto
3499         * DumpRenderTree/EditingDelegate.m: ditto
3500         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): ditto
3501         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): ditto
3502         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): ditto
3503         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): ditto
3504         (-[EditingDelegate webView:shouldDeleteDOMRange:]): ditto
3505         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): ditto
3506         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): ditto
3507         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): ditto
3508         (-[EditingDelegate webViewDidBeginEditing:]): ditto
3509         (-[EditingDelegate webViewDidChange:]): ditto
3510         (-[EditingDelegate webViewDidEndEditing:]): ditto
3511         (-[EditingDelegate webViewDidChangeTypingStyle:]): ditto
3512         (-[EditingDelegate webViewDidChangeSelection:]): ditto
3513         * DumpRenderTree/UIDelegate.m: ditto
3514         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): ditto
3515
3516 2006-12-26  Eric Seidel  <eric@webkit.org>
3517
3518         Reviewed by bradee-oh.
3519         
3520         Add very simple run-pageloadtest script for running SVG page load test.
3521
3522         * Scripts/run-pageloadtest: Added.
3523
3524 2006-12-26  Geoffrey Garen  <ggaren@apple.com>
3525
3526         Reviewed by Eric Seidel.
3527
3528         Some cleanup in preparation for fixing <rdar://problem/4740328> Safari 
3529         crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance
3530         
3531         (dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase."
3532
3533 2006-12-23  Geoffrey Garen  <ggaren@apple.com>
3534
3535         Reviewed by Maciej Stachowiak.
3536         
3537         Added --threaded support to run-webkit-tests and DumpRenderTree.
3538         
3539         In "threaded" mode, DRT runs a concurrent JavaScript thread with each test,
3540         stressing the thread safety of JavaScriptCore and the JavaScriptCore/WebCore 
3541         interface. This is useful for tracking down bugs you might see on a system
3542         configured to use a PAC file.
3543         
3544         Ironically, I can proudly state that very few layout tests pass.
3545
3546         * DumpRenderTree/DumpRenderTree.m: Added javaScriptThread and helper functions
3547         for starting and stopping it.
3548         (runJavaScriptThread): helper function
3549         (startJavaScriptThread): helper function
3550         (stopJavaScriptThread): helper function
3551
3552         (dumpRenderTree): Added --threaded command line argument.
3553         * Scripts/run-webkit-tests: ditto
3554
3555 2006-12-22  Mark Rowe  <bdash@webkit.org>
3556
3557         Reviewed by Brady.
3558
3559         Fix for <rdar://problem/4265976>
3560         prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method
3561
3562         * Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration.
3563
3564 2006-12-21  Mark Rowe  <bdash@webkit.org>
3565
3566         Reviewed by Tim Hatcher.
3567
3568         http://bugs.webkit.org/show_bug.cgi?id=11922
3569         Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame
3570
3571         * Drosera/DebuggerDocument.m:
3572         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): Use an anonymous function with function.call to
3573         ensure that the properties are being retrieved from the correct scope object.
3574
3575 2006-12-21  Lars Knoll <lars@trolltech.com>
3576
3577         Reviewed by Zack
3578
3579         Add support for the layoutTestController JavaScript object
3580         to be able to get textOnly dumps.
3581         Added a Qt specific hack to always get the same fonts (the ones
3582         added in this submit) and the same dpi when running the layout tests.
3583         Modified the run-webkit-tests script to also do a comparison to the 
3584         Mac generated outputs (by stripping out positioning information).
3585
3586         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3587         (WebCore::DumpRenderTree::DumpRenderTree):
3588         (WebCore::DumpRenderTree::open):
3589         (WebCore::DumpRenderTree::resetJSObjects):
3590         (WebCore::DumpRenderTree::initJSObjects):
3591         (WebCore::DumpRenderTree::dump):
3592         (WebCore::DumpRenderTree::checkLoaded):
3593         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3594         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3595         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
3596         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
3597         (WebCore::DumpRenderTreeClient::partClearedInBegin):
3598         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
3599         * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Added.
3600         (QX11Info::appDpiY):
3601         (QX11Info::appDpiX):
3602         (qt_x11ft_convert_pattern):
3603         (LayoutTestController::LayoutTestController):
3604         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: Added.
3605         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: Added.
3606         (LayoutTestController::shouldDumpAsText):
3607         (LayoutTestController::shouldWaitUntilDone):
3608         (LayoutTestController::reset):
3609         (LayoutTestController::dumpAsText):
3610         (LayoutTestController::waitUntilDone):
3611         (LayoutTestController::notifyDone):
3612         * DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF: Added.
3613         * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Added.
3614         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Added.
3615         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Added.
3616         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Added.
3617         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Added.
3618         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Added.
3619         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Added.