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