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