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