1 2007-07-18 Timothy Hatcher <timothy@apple.com>
3 The console log was 20px down from the top for no reason, move it up.
7 2007-07-18 Timothy Hatcher <timothy@apple.com>
9 Use contentDocument to get the source view's iframe document.
10 Also adds a null/undefined check for localVariableNames.
12 * Drosera/debugger.js:
14 2007-07-18 Lars Knoll <lars@trolltech.com>
16 Reviewed by Zack & Simon
18 Adjust to changed API in QWebFrame
20 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
21 (WebCore::DumpRenderTree::DumpRenderTree):
23 2007-07-18 Mark Rowe <mrowe@apple.com>
25 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
27 * BuildSlaveSupport/build-launcher-app:
29 2007-07-17 Geoffrey Garen <ggaren@apple.com>
31 Reviewed by Antti Koivisto.
33 Added watchdog timer to waitUntilDone to prevent a run-away test from
34 hanging the test harness.
36 * DumpRenderTree/DumpRenderTree.m:
38 (-[LayoutTestController waitUntilDone]):
39 (-[LayoutTestController waitUntilDoneWatchdogFired]):
40 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
42 2007-07-17 Kevin McCullough <kmccullough@apple.com>
46 - Implemented cross-platform code for functions calling into the JavaScript.
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:]):
79 2007-07-16 Kevin McCullough <kmccullough@apple.com>
83 - Continued x-platform modifications.
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.
94 2007-07-16 Kevin McCullough <kmccullough@apple.com>
98 - Modified files to use cross-platform code.
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):
132 (localScopeVariableNamesForCallFrame_Callback):
136 (valueForScopeVariableNamed_inCallFrame_Callback):
138 * Drosera/win/Drosera.cpp:
139 * Drosera/win/DroseraPrefix.cpp: Added.
140 * Drosera/win/DroseraPrefix.h: Added.
142 2007-07-16 Kevin McCullough <kmccullough@apple.com>
144 Reviewed by Adam, Sam and Tim.
146 - Moving files to prepare for cross-platform architecture.
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.
174 * Makefile.Drosera: Added.
176 2007-07-15 Mark Rowe <mrowe@apple.com>
178 * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
180 2007-07-13 Sam Weinig <sam@webkit.org>
182 Reviewed by Geoff Garen.
184 Add support for running SSL tests over HTTPS.
186 * DumpRenderTree/DumpRenderTree.m:
188 * DumpRenderTree/FrameLoadDelegate.m:
189 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
190 * Scripts/run-webkit-httpd:
191 * Scripts/run-webkit-tests:
193 2007-07-13 David Kilzer <ddkilzer@apple.com>
197 Added support for -h|--help argument and verify that all command line arguments parse
200 * Scripts/run-webkit-httpd:
202 2007-07-12 Mark Rowe <mrowe@apple.com>
206 Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
208 * Scripts/run-webkit-tests:
210 2007-07-12 Geoffrey Garen <ggaren@apple.com>
212 Reviewed by Oliver Hunt.
214 Made the leaks tests pass on Leopard.
216 * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
217 * Scripts/run-leaks: Updated parser for slight change in text output.
219 2007-07-11 David Kilzer <ddkilzer@apple.com>
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>.
226 * iExploder/htdocs/cssproperties.in: Added -webkit-box-sizing. Both box-sizing and
227 -moz-box-sizing remain.
229 2007-07-10 Darin Adler <darin@apple.com>
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.
235 2007-07-10 Alice Liu <alice.liu@apple.com>
237 rubber stamped by Maciej.
239 fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
241 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
242 (initializePreferences):
243 set editable link behavior to match Mac DRT.
245 2007-07-10 Geoffrey Garen <ggaren@apple.com>
247 Reviewed by Tim Hatcher.
249 Ignore Page.o in debug builds because it now has a static PageCounter
252 * Scripts/check-for-global-initializers:
254 2007-07-09 Darin Adler <darin@apple.com>
256 * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
258 2007-07-09 Alice Liu <alice.liu@apple.com>
260 Reviewed by Adam Roben.
262 setting DOM Paste Allowed Pref
264 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
265 (initializePreferences):
267 2007-07-05 Kevin McCullough <kmccullough@apple.com>
269 Reviewed by Adam, Sam, and Ada.
271 - Inital checkin of Drosera for Win. This isn't pretty and doesn't connect to Safari but debug builds and runs.
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):
354 (localScopeVariableNamesForCallFrame_Callback):
358 (valueForScopeVariableNamed_inCallFrame_Callback):
360 * Drosera/win/DebuggerObjectCallbacks.h: Added.
361 * Drosera/win/Drosera.cpp: Added.
363 (RegisterDroseraClass):
369 (Drosera::QueryInterface):
372 (Drosera::didFinishLoadForFrame):
374 (Drosera::windowScriptObjectAvailable):
375 (Drosera::webViewClose):
376 (Drosera::validateUserInterfaceItem):
377 (Drosera::runJavaScriptAlertPanelWithMessage):
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.
388 * Drosera/win/Info.plist: Added.
389 * Drosera/win/resource.h: Added.
390 * Drosera/win/stdafx.cpp: Added.
391 * Drosera/win/stdafx.h: Added.
393 2007-07-09 Adam Treat <adam@staikos.net>
395 Reviewed by George Staikos.
397 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
400 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
401 (WebCore::DumpRenderTree::DumpRenderTree):
403 2007-07-09 Anders Carlsson <andersca@apple.com>
407 <rdar://problem/4954319>
408 Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at
409 com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
411 If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream",
412 return an error from NPP_NewStream.
414 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
416 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
417 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
421 2007-07-08 Mark Rowe <mrowe@apple.com>
423 Change name from WebKit/Qt to WebKit.
425 * CodeCoverage/regenerate-coverage-display:
427 2007-07-08 Rob Buis <buis@kde.org>
431 http://bugs.webkit.org/show_bug.cgi?id=14209
432 DRT should be able to deal with text zoom
434 Allow increasing/decreasing text zoom using eventSender.
436 * DumpRenderTree/DumpRenderTree.m:
438 * DumpRenderTree/EventSendingController.m:
439 (+[EventSendingController initialize]):
440 (+[EventSendingController isSelectorExcludedFromWebScript:]):
441 (-[EventSendingController textZoomIn]):
442 (-[EventSendingController textZoomOut]):
444 2007-07-07 Mark Rowe <mrowe@apple.com>
448 * DumpRenderTree/DumpRenderTree.m:
449 (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
451 2007-07-06 Anders Carlsson <andersca@apple.com>
453 Reviewed by David Kilzer.
455 <rdar://problem/5313502>
456 Many webarchive tests fail due to different NSURLResponse serialization on Leopard
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".
461 * DumpRenderTree/DumpRenderTree.m:
463 (convertWebResourceDataToString):
464 (convertWebResourceResponseToDictionary):
465 (serializeWebArchiveToXML):
467 2007-07-06 Timothy Hatcher <timothy@apple.com>
471 Initialize the NSMutableAttributedString directly instead of creating
472 a NSAttributedString first.
474 * DumpRenderTree/TextInputController.m:
475 (-[TextInputController attributedStringWithString:]):
477 2007-07-06 Anders Carlsson <andersca@apple.com>
479 Reviewed by David Kilzer.
481 Replace "Apple Computer" with "Apple" in the DTD declaration.
483 * DumpRenderTree/DumpRenderTree.m:
484 (serializeWebArchiveToXML):
486 2007-07-06 Adam Treat <adam@staikos.net>
488 Reviewed by George Staikos.
490 Adjust for conversion of QWebFrame to a QFrame from a scroll area.
492 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
493 (WebCore::DumpRenderTree::DumpRenderTree):
495 2007-07-06 George Staikos <staikos@kde.org>
499 Allow passing of additional arguments to qmake with --qmakearg=
501 * Scripts/webkitdirs.pm:
503 2007-07-05 George Staikos <staikos@kde.org>
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.
510 * Scripts/webkitdirs.pm:
512 2007-07-05 Adam Roben <aroben@apple.com>
514 Warn about tests in the Skipped file that succeeded
516 * Scripts/run-webkit-tests:
518 2007-07-05 Adam Roben <aroben@apple.com>
520 Removed unused install-win-extras script
522 Rubberstamped by Mark.
524 * Scripts/install-win-extras: Removed.
526 2007-07-05 Adam Roben <aroben@apple.com>
528 Show the test's extension in the results page
530 * Scripts/run-webkit-tests:
532 2007-07-05 Adam Roben <aroben@apple.com>
534 Add more options for controlling the interpretation of the Skipped file
538 * Scripts/run-webkit-tests:
540 2007-07-04 Adam Roben <aroben@apple.com>
542 Add --skipped-only option to run-webkit-tests
544 When this option is specified, only those tests listed in the Skipped
549 * Scripts/run-webkit-tests:
551 2007-07-04 Adam Roben <aroben@apple.com>
553 Clean up/alphabetize the run-webkit-tests help message
555 * Scripts/run-webkit-tests:
557 2007-07-04 Adam Roben <aroben@apple.com>
559 Enable a Leopard-specific Skipped list.
563 * Scripts/run-webkit-tests: Check for Leopard.
564 * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
566 2007-07-03 Adam Roben <aroben@apple.com>
568 Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
570 Got rid of extract-webkit-localizable-strings because it was trying to
571 do update-webkit-localizable-strings' job.
573 Rubberstamped by Darin.
575 * Scripts/extract-webkit-localizable-strings: Removed.
576 * Scripts/update-webkit-localizable-strings: Renamed from
577 extract-localizable-strings.
579 2007-07-03 Adam Roben <aroben@apple.com>
581 Modify scripts to keep Mac/Windows localized strings in sync
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.
588 Reviewed by Darin and Anders.
590 * Scripts/extract-localizable-strings: Changed to handle multiple
592 * Scripts/extract-webkit-localizable-strings: Added.
594 2007-07-03 Adele Peterson <adele@apple.com>
598 Extended DumpRenderTree to test encoding and decoding host names.
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.
606 2007-07-03 Sam Weinig <sam@webkit.org>
610 Eleventh round of fixes for implicit 64-32 bit conversion errors.
611 <rdar://problem/5292262>
613 Add functions to test long long and unsigned long long.
615 * DumpRenderTree/DumpRenderTree.m:
616 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
617 (+[LayoutTestController webScriptNameForSelector:]):
618 (-[LayoutTestController objCLongLongRoundTrip:]):
619 (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
621 2007-07-01 Adam Roben <aroben@apple.com>
623 Fix some paths to make http tests work again on Windows
625 Rubberstamped by Sam.
627 * Scripts/run-webkit-tests:
629 2007-06-28 Stephanie <slewis@apple.com>
633 Allow tests to use pre-built roots instead of building the tests.
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
639 2007-06-25 Adam Roben <aroben@apple.com>
641 Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
642 http://bugs.webkit.org/show_bug.cgi?id=14405
646 * Scripts/run-webkit-tests:
648 2007-06-25 Adam Roben <aroben@apple.com>
650 Enable running the regression tests on Windows.
652 These changes were developed alongside the Windows WebKit port and
653 have been well tested.
655 Rubberstamped by Sam.
657 * Scripts/run-webkit-tests:
659 2007-06-25 Adam Roben <aroben@apple.com>
661 Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
662 http://bugs.webkit.org/show_bug.cgi?id=14403
664 Reviewed by Mark Rowe.
666 * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
667 (sub createPatchCommand): Generate a correct diff in the $gitCommit
670 2007-06-25 Adam Roben <aroben@apple.com>
672 Land pdevenv and supporting scripts/programs
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:
678 CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
680 parallelcl: Actually performs the parallel compilation by forking
681 multiple instances of the Microsoft-supplied cl.exe.
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.
687 Rubberstamped by Sam.
689 * CLWrapper/CLWrapper.cpp: Added.
691 * CLWrapper/CLWrapper.sln: Added.
692 * CLWrapper/CLWrapper.vcproj: Added.
693 * MIDLWrapper/MIDLWrapper.cpp: Added.
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.
702 2007-06-23 Adam Roben <aroben@apple.com>
704 Land num-cpus for the Windows build.
706 Reviewed by Mark Rowe.
708 * Scripts/num-cpus: Added.
710 2007-06-22 Simon Hausmann <hausmann@kde.org>
712 Reviewed by Adam Roben.
714 Added support for populating ChangeLog entries from given git commits
715 using --git-commit=<commitish> and --git-reviewer=<name>.
717 * Scripts/prepare-ChangeLog:
719 2007-06-22 Timothy Hatcher <timothy@apple.com>
723 <rdar://problem/5228168> Leopard regression test failures: fast/applescript
725 There were some changes in Leopard that made our test output inconsistent with Tiger.
727 NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
728 on Leopard, so output our own readable string for typeType descriptors.
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.
734 * DumpRenderTree/AppleScriptController.m:
735 (convertAEDescToObject):
737 2007-06-21 Anders Carlsson <andersca@apple.com>
741 Don't dump didFirstLayout callbacks, they happen intermittently.
743 * DumpRenderTree/FrameLoadDelegate.m:
745 2007-06-21 Lars Knoll <lars@trolltech.com>
749 look for the Qt library in the installed location
751 * Scripts/webkitdirs.pm:
753 2007-06-20 Geoffrey Garen <ggaren@apple.com>
755 Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
757 Added tests for stringByEvaluatingJavaScriptFromString.
759 * DumpRenderTree/DumpRenderTree.m:
760 (testStringByEvaluatingJavaScriptFromString):
763 2007-06-19 Andrew Wellington <proton@wiretapped.net>
765 Reviewed by Mark Rowe.
767 Support applications with spaces or special characters in their names
769 * Scripts/run-webkit-app:
771 2007-06-18 Anders Carlsson <andersca@apple.com>
773 Reviewed by John Sullivan.
775 Assert that the frame has a dataSource.
777 * DumpRenderTree/FrameLoadDelegate.m:
778 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
780 2007-06-18 Adam Treat <adam@staikos.net>
784 Reflect the library name change.
786 * Scripts/webkitdirs.pm:
788 2007-06-18 Jake Helfert <jake@jakeonthenet.com>
792 - fix http://bugs.webkit.org/show_bug.cgi?id=14154
793 Spinneret doesn't build against the new Win32 port.
795 * Spinneret/Spinneret/Spinneret.cpp:
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.
805 2007-06-14 Sam Weinig <sam@webkit.org>
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.
813 * CygwinDownloader/cygwin-downloader.py:
814 * CygwinDownloader/cygwin-downloader.zip:
816 2007-06-14 Mark Rowe <mrowe@apple.com>
818 Update script to match new nightly.webkit.org infrastructure.
820 * BuildSlaveSupport/build-launcher-dmg: Upload to the live web server, not the caching proxy. Let the server know it's a Mac build.
822 2007-06-12 Adam Roben <aroben@apple.com>
824 Land CygwinDownloader.
826 Rubberstamped by Hyatt.
828 * CygwinDownloader/cygwin-downloader.py: Added.
829 * CygwinDownloader/cygwin-downloader.zip: Added.
830 * CygwinDownloader/make-zip.sh: Added.
831 * CygwinDownloader/setup.py: Added.
833 2007-06-06 Vladimir Olexa <vladimir.olexa@gmail.com>
835 Reviewed by Mark Rowe.
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
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.
844 2007-06-06 Mark Rowe <mrowe@apple.com>
848 http://bugs.webkit.org/show_bug.cgi?id=13988
849 Bug 13988: Colon in file path crashes WebKit Nightly
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.
857 * WebKitLauncher/main.m:
860 2007-06-05 Mark Rowe <mrowe@apple.com>
864 * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
866 2007-05-30 Alp Toker <alp.toker@collabora.co.uk>
870 Enable logging in the Gdk port.
871 http://bugs.webkit.org/show_bug.cgi?id=13936
873 * GdkLauncher/main.cpp:
876 2007-05-29 Holger Freyther <zecke@selfish.org>
880 Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
881 to provide ScrollBars for the FrameView.
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
889 2007-05-29 David Kilzer <ddkilzer@webkit.org>
893 - fix http://bugs.webkit.org/show_bug.cgi?id=13901
894 run-pageloadtest does not obey testName on command-line
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
900 2007-05-29 David Kilzer <ddkilzer@webkit.org>
904 - fix http://bugs.webkit.org/show_bug.cgi?id=13900
905 svnStatus($) subroutine in svn-[un]apply does not work properly with directories
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
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.
919 2007-05-28 David Kilzer <ddkilzer@webkit.org>
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
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.
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.
946 2007-05-28 Holger Freyther <zecke@selfish.org>
948 Reviewed by Mark Rowe.
950 Add scripts and data to generate a coverage data for WebKit.
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
967 2007-05-29 Mark Rowe <mrowe@apple.com>
969 Build fix after r21745.
971 * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
973 2007-05-25 Anders Carlsson <andersca@apple.com>
977 * DumpRenderTree/DumpRenderTree.m:
978 * DumpRenderTree/FrameLoadDelegate.m:
980 2007-05-25 Simon Hausmann <hausmann@kde.org>
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.
987 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
988 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
989 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
991 2007-05-20 David Kilzer <ddkilzer@webkit.org>
993 Reviewed by Adam Roben.
995 - fix http://bugs.webkit.org/show_bug.cgi?id=13565
996 Change svn-create-patch to put LayoutTests in the end
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.
1002 * Scripts/prepare-ChangeLog:
1003 (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
1005 * Scripts/svn-create-patch:
1006 (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
1009 2007-05-18 Mark Rowe <mrowe@apple.com>
1013 Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
1015 * Scripts/svn-create-patch:
1016 * Scripts/webkitdirs.pm:
1018 2007-05-18 Holger Freyther <zecke@selfish.org>
1022 * GdkLauncher/main.cpp: Call setGtkWidget
1025 2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>
1027 Reviewed by Mark Rowe.
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.
1034 2007-05-16 Brady Eidson <beidson@apple.com>
1036 Build fix for some dev configurations
1038 * DumpRenderTree/DumpRenderTree.m:
1040 2007-05-16 Maciej Stachowiak <mjs@apple.com>
1044 - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
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.
1049 Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
1050 optional logging for every FrameLoadDelegate callback, including SPI callbacks.
1052 * DumpRenderTree/DumpRenderTree.h:
1053 * DumpRenderTree/DumpRenderTree.m:
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):
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:]):
1109 2007-05-16 Kevin McCullough <kmccullough@apple.com>
1111 Reviewed by Darin and Geoff.
1113 - rdar://problem/4981886
1114 - Now windows opened by the DOM can be closed by JS.
1116 * DumpRenderTree/DumpRenderTree.m:
1117 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1118 (-[LayoutTestController windowCount]):
1120 2007-05-15 Adam Roben <aroben@apple.com>
1122 Reviewed by David Kilzer.
1124 http://bugs.webkit.org/show_bug.cgi?id=13732
1125 prepare-ChangeLog should work with git
1127 * Scripts/prepare-ChangeLog: Added support for Git.
1129 2007-05-15 Lars Knoll <lars@trolltech.com>
1133 Add the EventSender object to DRT. Currently it implements
1134 mouseDown, mouseUp and mouseMoveTo.
1136 Make run-webkit-tests --strict work somewhat better for form elements.
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:
1155 2007-05-12 Oliver Hunt <oliver@apple.com>
1159 Add new api to DRT to allow us to test a file being dragged
1160 onto <input type="file">
1162 * DumpRenderTree/DumpRenderTree.h:
1163 * DumpRenderTree/DumpRenderTree.m:
1164 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1165 (-[LayoutTestController addFileToPasteboardOnDrag]):
1167 * DumpRenderTree/UIDelegate.m:
1168 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1170 2007-05-11 Holger Hans Peter Freyther <zecke@selfish.org>
1174 Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
1175 http://bugs.webkit.org/show_bug.cgi?id=13656
1177 * GdkLauncher/main.cpp: Handle resizing the drawing area
1178 (frameResizeCallback):
1181 2007-05-11 Geoffrey Garen <ggaren@apple.com>
1183 Reviewed by Darin Adler.
1185 Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:]
1188 * DumpRenderTree/DumpRenderTree.m:
1189 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
1190 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1191 (+[LayoutTestController webScriptNameForSelector:]):
1192 (-[LayoutTestController testWrapperRoundTripping:]):
1194 2007-05-08 Maciej Stachowiak <mjs@apple.com>
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
1201 (Discovered while fixing:
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)
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:
1214 2007-05-10 Mark Rowe <mrowe@apple.com>
1216 Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
1218 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1220 2007-05-09 Geoffrey Garen <ggaren@apple.com>
1222 Reviewed by Maciej Stachowiak.
1224 Added support for testing ObjC/JS type bridging.
1226 Added ASSERT that -JSObject returns nil when the underlying JSObject
1227 is no longer GC protected.
1229 * DumpRenderTree/DumpRenderTree.m:
1230 (returnThisCallback):
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:
1241 2007-05-10 Lars Knoll <lars@trolltech.com>
1245 Move setting of the DPI value a few lines up. Should fix
1246 the last two remaining failures in the layout tests.
1248 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1251 2007-05-09 Holger Freyther <zecke@selfish.org>
1253 Reviewed by Mark Rowe.
1255 * GdkLauncher/main.cpp: Always include config.h.
1257 2007-05-08 Geoffrey Garen <ggaren@apple.com>
1259 Reviewed by Darin Adler.
1261 Added support for testing ObjC object identity.
1263 Added ASSERT to verify that you can round-trip the object passed to you
1264 in -didClearWindowObject:forFrame:.
1266 * DumpRenderTree/DumpRenderTree.m:
1267 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
1268 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1269 (+[LayoutTestController webScriptNameForSelector:]):
1270 (-[LayoutTestController accessStoredWebScriptObject]):
1271 (-[LayoutTestController objCIdentityIsEqual::]):
1273 2007-05-07 Geoffrey Garen <ggaren@apple.com>
1275 Reviewed by Maciej Stachowiak.
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.
1281 * DumpRenderTree/DumpRenderTree.m:
1282 (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
1285 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1286 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
1287 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1289 2007-05-08 Lars Knoll <lars@trolltech.com>
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.
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:
1304 2007-05-08 Lars Knoll <lars@trolltech.com>
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.
1312 Fixes most of the test failures still seen on the build bot.
1314 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
1315 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1318 2007-05-07 Lars Knoll <lars@trolltech.com>
1322 Fix the default font to 9pt Sans Serif.
1324 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1327 2007-05-04 Lars Knoll <lars@trolltech.com>
1331 Revert on line of the last commit. We still want to keep the RPATH
1332 support in the pro file.
1334 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1336 2007-05-04 Lars Knoll <lars@trolltech.com>
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.
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
1349 Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
1350 I use to find the fonts to DumpRenderTree.
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:
1371 * Scripts/run-webkit-tests:
1373 2007-05-03 Holger Freyther <freyther@kde.org>
1375 Reviewed by Zack, landed by Simon.
1376 This is bugzilla bug 13499.
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
1383 2007-05-03 Geoffrey Garen <ggaren@apple.com>
1385 Build fix: Add AllInOneFile.o to the ignore list, since it includes files
1388 * Scripts/check-for-global-initializers:
1390 2007-05-02 Holger Freyther <freyther@kde.org>
1392 Reviewed by Mark Rowe.
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.
1398 2007-04-27 Kevin McCullough <kmccullough@apple.com>
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:
1405 2007-04-27 Adam Roben <aroben@apple.com>
1409 Cleaned up prepare-ChangeLog
1411 * Scripts/prepare-ChangeLog: No code changes, but style now matches
1412 the prevalent style of our perl scripts.
1414 2007-04-27 Nazar Kulyk <schamane@myeburg.net>
1416 Reviewed by Mark Rowe.
1418 Basic auto-correction of user-entered URLs.
1420 * GdkLauncher/main.cpp:
1425 2007-04-28 Mark Rowe <mrowe@apple.com>
1427 Rubber-stamped by Anders.
1429 Rename some methods and variables to match the style guidelines.
1431 * GdkLauncher/main.cpp:
1435 (goButtonClickedCallback):
1436 (urlBarEnterCallback):
1437 (frameResizeCallback):
1438 (frameDestroyCallback):
1439 (menuMainBackCallback):
1440 (menuMainForwardCallback):
1441 (menuMainQuitCallback):
1444 2007-04-27 Holger Freyther <freyther@kde.org>
1448 Remove unmaintained CMake build system.
1450 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
1451 * Scripts/build-webkit: Remove references to CMake.
1452 * Scripts/webkitdirs.pm: Remove references to CMake.
1454 2007-04-26 Alp Toker <alp@atoker.com>
1456 Reviewed by Mark Rowe.
1458 * GdkLauncher/main.cpp:
1459 (main): Avoid use of deprecated API.
1461 2007-04-26 Kevin McCullough <kmccullough@apple.com>
1463 - Changed debugging statements for more information.
1465 * Scripts/run-webkit-tests:
1467 2007-04-26 Kevin McCullough <kmccullough@apple.com>
1469 - Adding debugging statements to see why these tests fail. These will be removed.
1471 * Scripts/run-webkit-tests:
1473 2007-04-25 Anders Carlsson <andersca@apple.com>
1477 Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle
1478 the dashboard compatibility mode.
1480 * DumpRenderTree/DumpRenderTree.m:
1481 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1482 (+[LayoutTestController webScriptNameForSelector:]):
1483 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
1485 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1487 2007-04-24 Timothy Hatcher <timothy@apple.com>
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.
1493 * Drosera/Drosera.xcodeproj/project.pbxproj:
1494 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1496 2007-04-23 Adam Roben <aroben@apple.com>
1498 Reviewed by Mark Rowe and David Kilzer.
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
1504 2007-04-23 Darin Adler <darin@apple.com>
1508 - rename box-sizing to -webkit-box-sizing
1510 * Drosera/console.css: Here.
1511 * Drosera/debugger.css: And here.
1512 * Drosera/viewer.css: And here.
1514 2007-04-21 Mitz Pettel <mitz@webkit.org>
1518 - http://bugs.webkit.org/show_bug.cgi?id=13350
1519 Build Ahem into DumpRenderTree
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.
1530 2007-04-20 Adam Roben <aroben@apple.com>
1534 http://bugs.webkit.org/show_bug.cgi?id=13421
1535 Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
1537 * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
1539 2007-04-18 Brady Eidson <beidson@apple.com>
1543 <rdar://problem/5008925>
1544 Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
1546 * DumpRenderTree/ResourceLoadDelegate.m:
1547 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
1548 Add the willCacheResponse delegate call
1550 2007-04-18 Adam Roben <aroben@apple.com>
1552 Reviewed by David Kilzer.
1554 * Scripts/webkitdirs.pm:
1555 (sub setConfiguration): Added an optional argument to set the
1556 configuration instead of parsing it from ARGV.
1558 2007-04-17 Adam Roben <aroben@apple.com>
1560 * Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
1563 2007-04-17 Adam Roben <aroben@apple.com>
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
1569 * Scripts/find-included-framework-headers: Added.
1571 2007-04-16 Timothy Hatcher <timothy@apple.com>
1573 * Drosera/debugger.css: hide the borders for iframes
1575 2007-04-13 Adam Roben <aroben@apple.com>
1577 Rubberstamped by Anders.
1579 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include
1580 stdio.h so that snprintf is defined.
1582 2007-04-13 Brady Eidson <beidson@apple.com>
1586 Add the ability to dump the back/forward history of all windows open at the end of a test
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
1592 2007-04-13 Anders Carlsson <andersca@apple.com>
1596 By default, close any windows that have been opened during a test. This can be overridden by
1597 calling setCloseRemainingWindowsWhenComplete(false).
1599 Change the windows set to an array so we can gurantee the enumeration order.
1601 * DumpRenderTree/DumpRenderTree.m:
1602 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1603 (+[LayoutTestController webScriptNameForSelector:]):
1604 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
1606 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
1607 (-[DumpRenderTreeWindow dealloc]):
1609 2007-04-13 Geoffrey Garen <ggaren@apple.com>
1613 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1614 (handleCallback): Explicitly cast the void* returned by malloc.
1616 2007-04-12 Deneb Meketa <dmeketa@adobe.com>
1618 Reviewed by Darin Adler.
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.
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.
1635 2007-04-09 Geoffrey Garen <ggaren@apple.com>
1637 Reviewed by Maciej Stachowiak.
1639 Fixed fast/forms/textarea-paste-newline.html.
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.
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.
1653 2007-04-07 Mark Rowe <mrowe@apple.com>
1655 Not reviewed. Update to match some configuration changes that have been active on build.webkit.org.
1657 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1659 2007-04-05 Anders Carlsson <andersca@apple.com>
1663 Add support for opening new windows in DumpRenderTree.
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.
1674 Make sure that only the main window is around when a test has finished running.
1676 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
1677 (-[DumpRenderTreeWindow dealloc]):
1678 Manage the set of windows.
1680 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1681 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1682 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1684 Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not.
1686 * DumpRenderTree/UIDelegate.m:
1687 (-[UIDelegate webView:createWebViewWithRequest:]):
1690 (-[UIDelegate webViewClose:]):
1693 2007-04-05 Anders Carlsson <andersca@apple.com>
1697 Move WebView and NSWindow creation to a separate function in preparation of supporting opening new
1700 * DumpRenderTree/DumpRenderTree.m:
1704 2007-04-03 Anders Carlsson <andersca@apple.com>
1708 Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded.
1710 * DumpRenderTree/DumpRenderTree.h:
1711 * DumpRenderTree/DumpRenderTree.m:
1713 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1714 (+[LayoutTestController webScriptNameForSelector:]):
1715 (-[LayoutTestController addDisallowedURL:]):
1717 * DumpRenderTree/ResourceLoadDelegate.m:
1718 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1720 2007-04-03 Mark Rowe <mrowe@apple.com>
1724 * BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip.
1726 2007-04-02 Anders Carlsson <andersca@apple.com>
1728 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1729 Don't use #import in a header included by C files.
1731 2007-03-31 Mark Rowe <mrowe@apple.com>
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
1738 Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array
1739 rather than -[WebScriptObject count].
1741 * Drosera/DebuggerDocument.m:
1742 (-[DebuggerDocument webScriptAttributeKeysForScriptObject:]):
1744 2007-03-30 Anders Carlsson <andersca@apple.com>
1748 Add an "onstreamload" attribute to the plugin which is called when a stream starts loading.
1750 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1751 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1753 Look for the onstreamload attribute.
1756 Free the onstreamload attribute.
1759 Call the onstreamload handler.
1761 2007-03-30 Geoffrey Garen <ggaren@apple.com>
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.
1767 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1770 2007-03-30 Anders Carlsson <andersca@apple.com>
1774 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c:
1779 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h:
1780 Don't use #import, use #include.
1782 2007-03-30 Anders Carlsson <andersca@apple.com>
1786 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1788 Free the identifier string.
1790 2007-03-30 Anders Carlsson <andersca@apple.com>
1794 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1795 Add TestObject.c and TestObject.h
1797 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1798 (pluginGetProperty):
1799 Implement the testObject property.
1802 Implement testEnumerate which takes an object and an array and enumerates
1803 the properties of the object and adds them to the array.
1806 Allocate the test object.
1809 Free the test object.
1811 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added.
1812 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added.
1813 Add a test object with two enumerable properties.
1815 2007-03-29 Geoffrey Garen <ggaren@apple.com>
1817 Reviewed by Beth Dakin.
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)
1823 Added hasStream property and destroyStream function, used by layout test.
1825 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1826 (pluginGetProperty):
1829 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1830 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1833 2007-03-27 Anders Carlsson <acarlsson@apple.com>
1837 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1839 Add new function which takes a function and calls it using NPN_InvokeDefault.
1841 2007-03-27 Adele Peterson <adele@apple.com>
1845 * DumpRenderTree/DumpRenderTree.m:
1846 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
1848 2007-03-27 Adele Peterson <adele@apple.com>
1850 Fix svg tests by calling displayIfNeeded.
1852 * DumpRenderTree/DumpRenderTree.m:
1853 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
1855 2007-03-26 Mark Rowe <mrowe@apple.com>
1857 Reviewed by Sam Weinig.
1859 Upload crash logs from DumpRenderTree as part of the test results to ease debugging
1860 of hard-to-reproduce crashes.
1862 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1864 2007-03-23 Adam Treat <adam@staikos.net>
1866 Reviewed and committed by George.
1868 Patch by Adam Treat. Removes hardcoded path to .pro file.
1870 2007-03-22 Adam Roben <aroben@apple.com>
1874 Removed eventSender.mouseClick because it was only useful for AppKit
1875 controls, which we don't use anymore.
1877 * DumpRenderTree/EventSendingController.m:
1878 (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed
1881 2007-03-22 Adam Roben <aroben@apple.com>
1885 Make eventSender.mouseClick actually send a mouse up event.
1887 * DumpRenderTree/EventSendingController.m:
1888 (-[EventSendingController mouseClick]):
1890 2007-03-19 David Hyatt <hyatt@apple.com>
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.
1897 * DumpRenderTree/DumpRenderTree.m:
1900 2007-03-18 Dan Waylonis <waylonis@mac.com>
1902 Reviewed by Tim Hatcher.
1904 DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
1905 Bug 13005: WebScriptObject +throwException needs NULL check.
1907 Add tests to ensure that a plugin can safely throw an exception in dealloc.
1909 * DumpRenderTree/ObjCPlugin.h:
1910 * DumpRenderTree/ObjCPlugin.m:
1911 (+[ObjCPlugin webScriptNameForKey:]):
1912 (+[ObjCPlugin isKeyExcludedFromWebScript:]):
1913 (-[ObjCPlugin dealloc]):
1915 2007-03-13 Mark Rowe <mrowe@apple.com>
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.
1924 * WebKitLauncher/main.m:
1925 (locateSafariBundle):
1928 2007-03-12 Darin Adler <darin@apple.com>
1930 Reviewed by Tim Hatcher.
1932 - add a DumpRenderTree feature where you can get the Objective-C
1933 class name of a JavaScript object
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.
1942 2007-03-11 Geoffrey Garen <ggaren@apple.com>
1944 Reviewed by Oliver Hunt.
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
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.
1954 * DumpRenderTree/DumpRenderTree.m:
1955 (javaScriptThreads):
1956 (runJavaScriptThread):
1957 (startJavaScriptThreads):
1958 (stopJavaScriptThreads):
1961 2007-03-11 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
1963 Reviewed by Brady Eidson.
1965 Add forward/backward/quit menus for easier testing.
1967 * GdkLauncher/main.cpp:
1969 (menuMainForwardCb):
1973 2007-03-09 Andrew Wellington <proton@wiretapped.net>
1977 - fix http://bugs.webkit.org/show_bug.cgi?id=13007
1978 svn-create-patch doesn't handle UTF files with BOMs as text
1980 Force diff to treat files that svn-create-patch thinks are text as text.
1982 * Scripts/svn-create-patch: Added -a switch to diff command.
1984 2007-03-09 Mark Rowe <mrowe@apple.com>
1986 Unreviewed. Use the new SVN URL on the buildbot.
1988 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1990 2007-03-08 Mark Rowe <mrowe@apple.com>
1994 Fix compiler warnings when building Drosera as 64-bit.
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.
2001 2007-03-07 Mark Rowe <mrowe@apple.com>
2005 Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o.
2007 * Scripts/check-for-global-initializers:
2009 2007-03-07 Anders Carlsson <acarlsson@apple.com>
2013 Add some assertions.
2015 * DumpRenderTree/DumpRenderTree.m:
2016 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
2017 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2018 (-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2019 (-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]):
2021 2007-03-07 David Kilzer <ddkilzer@webkit.org>
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
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
2034 * DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive.
2035 Added dumpSourceAsWebArchive.
2037 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2038 (-[LayoutTestController dumpDOMAsWebArchive]):
2039 (-[LayoutTestController dumpSourceAsWebArchive]):
2042 2007-03-05 Kevin McCullough <kmccullough@apple.com>
2044 Reviewed by Mark and Dave H.
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
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.
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:]):
2060 2007-03-05 Anders Carlsson <acarlsson@apple.com>
2062 Reviewed by Adam, Darin.
2064 <rdar://problem/5025212>
2065 In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object
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.
2070 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2073 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2074 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2077 2007-03-04 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
2079 Reviewed by Nikolas Zimmermann.
2081 Load a url given on a command line in a way that also
2082 works for local (file://) urls.
2084 * GdkLauncher/main.cpp:
2087 2007-03-02 Geoffrey Garen <ggaren@apple.com>
2089 Tweaked parse-malloc-history to work with new malloc_history output format.
2091 * Scripts/parse-malloc-history:
2093 2007-02-28 Vladimir Olexa <vladimir.olexa@gmail.com>
2097 Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
2098 Bug#12887: [Drosera] Add ability to close loaded files
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
2110 2007-02-28 Nikolas Zimmermann <zimmermann@kde.org>
2114 Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily.
2116 * Scripts/build-webkit:
2118 2007-02-27 Geoffrey Garen <ggaren@apple.com>
2120 Small tweak to run-webkit-tests.
2122 * Scripts/run-webkit-tests: Allow people with lots of RAM to run more than
2123 1000 MallocStackLogging tests at a time.
2125 2007-02-26 Maciej Stachowiak <mjs@apple.com>
2129 - set ENABLE_XSLT even when compiling without SVG support, since that is no
2130 longer hardcoded into config.h.
2132 * Scripts/build-webkit:
2134 2007-02-26 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
2136 Reviewed by Adam Roben.
2138 Rename *_SUPPORT defines to ENABLE_*.
2140 * GdkLauncher/gdklauncher.bkl:
2142 2007-02-24 Geoffrey Garen <ggaren@apple.com>
2144 Reviewed by Darin Adler.
2146 * Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're
2149 2007-02-24 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
2151 Reviewed by Adam Roben.
2153 Improve gdklauncher: add text field for entering url.
2155 * GdkLauncher/gdklauncher.bkl:
2156 * GdkLauncher/main.cpp:
2161 (goButtonClickedCb):
2163 (registerRenderingAreaEvents):
2168 2007-02-22 Vladimir Olexa <vladimir.olexa@gmail.com>
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.
2176 2007-02-22 Adele Peterson <adele@apple.com>
2180 Added option in layoutTestController to setTabKeyCyclesThroughElements, so we
2181 can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body
2183 * DumpRenderTree/DumpRenderTree.m:
2184 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2185 (+[LayoutTestController webScriptNameForSelector:]):
2186 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2188 2007-02-22 Geoffrey Garen <ggaren@apple.com>
2190 Used svn merge -r19786:19785 to roll out previous hack to work around
2191 SVG painting issue in DRT.
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.
2197 This should fix the ~400 new pixel failures introduced in r19786.
2199 * DumpRenderTree/DumpRenderTree.m:
2201 * Scripts/run-webkit-tests:
2203 2007-02-22 Geoffrey Garen <ggaren@apple.com>
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.
2210 * Scripts/run-webkit-tests:
2212 2007-02-21 Geoffrey Garen <ggaren@apple.com>
2214 Reviewed by Adam Roben.
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.
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.
2224 * Scripts/run-webkit-tests:
2226 2007-02-21 Geoffrey Garen <ggaren@apple.com>
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
2232 * Scripts/run-webkit-tests:
2234 2007-02-21 Geoffrey Garen <ggaren@apple.com>
2236 Reviewed by Darin Adler.
2238 Made DRT paint when running run-webkit-tests in --leaks mode, to check
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
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.
2252 2007-02-21 Geoffrey Garen <ggaren@apple.com>
2254 Tools tweak. No review necessary.
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.
2260 2007-02-21 Vladimir Olexa <vladimir.olexa@gmail.com>
2264 Bug 12834: Drosera should remember scroll position of open files like Xcode
2265 http://bugs.webkit.org/show_bug.cgi?id=12834
2267 * Drosera/debugger.js: Implemented scrolling memory
2269 2007-02-20 Geoffrey Garen <ggaren@apple.com>
2271 Tools tweak. No review necessary.
2273 Made parse-malloc-history executable. (Oops!)
2275 Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history"
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
2282 * Scripts/parse-malloc-history:
2284 2007-02-20 Geoffrey Garen <ggaren@apple.com>
2286 * Scripts/parse-malloc-history: Added copyright info.
2288 2007-02-20 Geoffrey Garen <ggaren@apple.com>
2290 Reviewed by Darin Adler.
2292 New script to parse the output from malloc_history, so we can determine
2293 what's using memory in WebKit.
2295 * Scripts/parse-malloc-history: Added.
2297 2007-02-20 Graham Dennis <graham.dennis@gmail.com>
2299 Reviewed by Darin Adler.
2301 Fix for http://bugs.webkit.org/show_bug.cgi?id=12802
2302 WebKit.framework is built with SVG_SUPPORT for No-SVG build
2304 * Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well.
2306 2007-02-19 Geoffrey Garen <ggaren@apple.com>
2310 * Scripts/check-for-global-initializers: Ignore the global counter I added
2311 for SubresourceLoaders.
2313 2007-02-19 Darin Adler <darin@apple.com>
2315 Reviewed by Tim Hatcher.
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
2321 2007-02-16 Mark Rowe <mrowe@apple.com>
2325 <rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode
2327 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests.
2329 2007-02-15 Geoffrey Garen <ggaren@apple.com>
2331 Reviewed by Beth Dakin.
2333 * DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node
2334 leaks anymore, either, since r19486 fixed them, too.
2335 (shouldIgnoreWebCoreNodeLeaks):
2337 2007-02-15 Darin Adler <darin@apple.com>
2339 * Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were
2340 fixed by change 19486.
2342 2007-02-15 Geoffrey Garen <ggaren@apple.com>
2344 Reviewed by Beth Dakin.
2346 Ignore another leak, seen recently on the buildbot.
2348 * Scripts/run-webkit-tests:
2350 2007-02-14 Geoffrey Garen <ggaren@apple.com>
2352 Reviewed by Beth Dakin.
2354 Ignore another leak, seen recently on the buildbot.
2356 * Scripts/run-webkit-tests:
2358 2007-02-13 Darin Adler <darin@apple.com>
2360 * Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one
2363 2007-02-11 Maciej Stachowiak <mjs@apple.com>
2367 - add contextClick() operation to eventSender to be able to test this
2369 * DumpRenderTree/EventSendingController.m:
2370 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2371 (-[EventSendingController contextClick]):
2373 2007-02-11 Darin Adler <darin@apple.com>
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).
2378 2007-02-10 David Kilzer <ddkilzer@webkit.org>
2382 * Scripts/svn-create-patch:
2383 (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
2384 a relative path to the copied file.
2386 2007-02-10 Timothy Hatcher <timothy@apple.com>
2388 Reviewed by Sam Weinig.
2390 * Drosera/Drosera.icns: updated the icon with 512px and 256px variants
2392 2007-02-10 David Kilzer <ddkilzer@webkit.org>
2394 Reviewed by Timothy.
2396 * Scripts/svn-apply:
2397 (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
2400 2007-02-10 Brady Eidson <beidson@apple.com>
2404 <rdar://problem/4965133> WebKit sends file:// url referrers
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
2409 2007-02-08 Geoffrey Garen <ggaren@apple.com>
2411 Reviewed by Beth Dakin.
2413 Ignore another false leak report.
2415 * Scripts/run-webkit-tests:
2417 2007-02-08 Geoffrey Garen <ggaren@apple.com>
2419 Reviewed by Kevin McCullough.
2421 * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
2422 already exists, to avoid confusing error message.
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
2428 2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
2430 Reviewed by Adam Roben.
2432 Linux/gdk build fixes.
2434 * GdkLauncher/main.cpp: Add -exit-after-loading and
2435 -dump-render-tree as debugging aid.
2439 2007-02-08 Geoffrey Garen <ggaren@apple.com>
2441 Minor fixup based on Maciej's review last night.
2443 * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
2444 and do a little math to make it work.
2446 2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
2448 Reviewed by Adam Roben.
2450 Linux/gdk build fixes.
2452 * GdkLauncher/gdklauncher.bkl:
2454 2007-02-08 Kevin McCullough <KMcCullough@apple.com>
2456 - Fix layout test failures.
2458 * Scripts/run-webkit-tests:
2460 2007-02-08 Darin Adler <darin@apple.com>
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.
2468 2007-02-08 Geoffrey Garen <ggaren@apple.com>
2470 Reviewed by Maciej Stachowiak, Adam Roben.
2472 Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
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)
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
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.
2495 * Scripts/run-webkit-tests:
2497 2007-02-06 Geoffrey Garen <ggaren@apple.com>
2499 Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
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.
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!)
2507 * Scripts/run-webkit-tests:
2509 2007-02-06 Geoffrey Garen <ggaren@apple.com>
2511 Reviewed by Bethany P. Dakin.
2513 The 's' is optional when the leaks tool reports 'leaks'.
2515 * Scripts/run-leaks:
2517 2007-02-06 Geoffrey Garen <ggaren@apple.com>
2519 Reviewed by Bethany P. Dakin.
2521 Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
2523 * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
2525 2007-02-06 David Smith <catfish.man@gmail.com>
2529 Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
2530 [Drosera] Console history fixups
2532 * Drosera/console.js: assorted cleanups and fixes
2534 2007-02-05 Geoffrey Garen <ggaren@apple.com>
2536 Reviewed by Darin Adler.
2538 New script that allows you to ignore leaks by regular expression.
2540 * Scripts/run-leaks: Added.
2542 2007-02-03 Sam Weinig <sam@webkit.org>
2546 Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
2547 Drosera doesn't handle CR ( carriage returns ) well
2549 - Normalize all the line endings.
2551 * Drosera/debugger.js:
2553 2007-02-02 Geoffrey Garen <ggaren@apple.com>
2555 Reviewed by Darin Adler.
2557 Added some more known leaks to the leaks ignore list.
2559 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
2560 hate itself so much?
2561 * Scripts/run-webkit-tests:
2563 2007-02-02 Geoffrey Garen <ggaren@apple.com>
2565 Even better build fix than the last.
2568 * DumpRenderTree/DumpRenderTree.m:
2569 (shouldIgnoreWebCoreNodeLeaks):
2571 2007-02-02 Geoffrey Garen <ggaren@apple.com>
2573 Fixed build. Added work-around for GCC bug.
2575 * DumpRenderTree/DumpRenderTree.m:
2576 (shouldIgnoreWebCoreNodeLeaks):
2578 2007-02-01 Geoffrey Garen <ggaren@apple.com>
2580 Reviewed by Maciej Stachowiak.
2582 Added support for selectively ignoring WebCore::Node leaks during layout
2583 tests, so that we can ignore known leaks in other components.
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?
2591 2007-02-01 Anders Carlsson <acarlsson@apple.com>
2595 * DumpRenderTree/UIDelegate.m:
2596 (-[UIDelegate webView:addMessageToConsole:]):
2597 Dump console messages.
2599 2007-01-31 Anders Carlsson <acarlsson@apple.com>
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.
2605 2007-01-31 Geoffrey Garen <ggaren@apple.com>
2607 Reviewed by Darin Adler.
2609 Added Selection::toRange to the leaks -exclude list, since it comes up
2610 as a false positive (Radar 4967949).
2612 Also added RangeCounter to the global initializer exclude list. I added
2613 a RangeCounter since leaks won't detect all Range leaks anymore.
2615 * Scripts/check-for-global-initializers:
2616 * Scripts/run-webkit-tests:
2618 2007-01-31 Anders Carlsson <acarlsson@apple.com>
2620 * DumpRenderTree/ResourceLoadDelegate.m:
2621 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2622 Don't try to create an identifier if resource loads shouldn't be dumped.
2624 2007-01-31 Anders Carlsson <acarlsson@apple.com>
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.
2632 * DumpRenderTree/DumpRenderTree.h:
2633 * DumpRenderTree/DumpRenderTree.m:
2635 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2636 (-[LayoutTestController dumpResourceLoadCallbacks]):
2639 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2640 * DumpRenderTree/ResourceLoadDelegate.h: Added.
2641 * DumpRenderTree/ResourceLoadDelegate.m: Added.
2642 Add new resource load delegate.
2644 2007-01-31 Geoffrey Garen <ggaren@apple.com>
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.
2650 * Scripts/run-webkit-tests:
2652 2007-01-30 Geoffrey Garen <ggaren@apple.com>
2654 Reviewed by Beth Dakin.
2656 Filed some more Radars in other components, added some more leaks to the
2659 * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
2660 CFRunLoopRunSpecific, and NSSpellChecker.
2662 2007-01-30 David Kilzer <ddkilzer@webkit.org>
2666 http://bugs.webkit.org/show_bug.cgi?id=11882
2667 Need a way to regression test .webarchive output files
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".
2676 * DumpRenderTree/DumpRenderTree.m:
2677 (convertWebResourceDataToString): Added.
2678 (normalizeWebResourceURL): Added.
2679 (normalizeWebResourceResponse): Added.
2680 (serializeWebArchiveToXML): Added.
2682 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2683 (-[LayoutTestController dumpAsWebArchive]): Added.
2686 2007-01-30 David Kilzer <ddkilzer@webkit.org>
2688 Reviewed by Mark Rowe.
2690 http://bugs.webkit.org/show_bug.cgi?id=12470
2691 svn-create-patch creates duplicate patches for files within an added/modified directory
2693 * Scripts/svn-create-patch:
2694 (sub generateFileList($\%\%)): Ignore directories when generating the file list.
2696 2007-01-29 Geoffrey Garen <ggaren@apple.com>
2698 Reviewed by Maciej Stachowiak.
2700 Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
2702 No more mollycoddling for you, FastMalloc.o!
2704 * Scripts/check-for-global-initializers:
2706 2007-01-29 Graham Dennis <graham.dennis@gmail.com>
2710 Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
2711 Image data in from RTFD clipboard data thrown away
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.
2717 * DumpRenderTree/DumpRenderTree.m:
2718 (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
2720 2007-01-25 Geoffrey Garen <ggaren@apple.com>
2722 Reviewed by Maciej Stachowiak.
2724 Added support for test for <rdar://problem/4608404> WebScriptObject's
2725 _rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
2727 * DumpRenderTree/DumpRenderTree.m:
2728 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2729 (+[LayoutTestController webScriptNameForSelector:]):
2730 (-[LayoutTestController storeWebScriptObject:]):
2731 (-[LayoutTestController accessStoredWebScriptObject]):
2732 (-[LayoutTestController dealloc]):
2734 2007-01-26 Lars Knoll <lars@trolltech.com>
2738 Small hack to ensure that our top level frame actually has the
2739 correct size. Unfortunately this means I'll have to regenerate
2742 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2743 (WebCore::DumpRenderTree::DumpRenderTree):
2745 2007-01-25 Lars Knoll <lars@trolltech.com>
2747 Reviewed by Darin and Zack
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
2754 Add support for a LayoutTestResults/platform/Skipped file
2755 to run-webkit-tests to be able to ignore certain tests
2757 Remove the old tests-skipped.txt from Qts DumpRenderTree
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:
2767 2007-01-24 Darin Adler <darin@apple.com>
2771 - fix crash seen in layout tests
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.
2777 2007-01-24 Darin Adler <darin@apple.com>
2781 - changed dragMode to be a property instead of a function
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.
2792 2007-01-24 Darin Adler <darin@apple.com>
2796 - made the deferral of mouse events until drag completes conditional
2797 it's needed for drag testing, and harmful for selection testing
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.
2814 2007-01-24 Lars Knoll <lars@trolltech.com>
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)
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:
2831 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
2833 2007-01-22 Darin Adler <darin@apple.com>
2837 - a couple tiny tweaks to make --reset-results work better
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.
2843 2007-01-21 Sanjay Madhav <sanjay12@gmail.com>
2847 Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
2849 This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
2851 * DumpRenderTree/GCController.h:
2852 * DumpRenderTree/GCController.mm:
2853 (+[GCController isSelectorExcludedFromWebScript:]):
2854 (-[GCController getJSObjectCount]):
2856 2007-01-20 Mark Rowe <mrowe@apple.com>
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.
2863 2007-01-20 Adam Roben <aroben@apple.com>
2865 Rubberstamped by Maciej.
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)
2871 2007-01-19 Lars Knoll <lars@trolltech.com>
2873 Reviewed by Adam Roben.
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.
2878 This is required to make it possible to have tests running on multiple
2879 platforms peacefully together.
2881 * Scripts/run-webkit-tests:
2883 2007-01-18 Darin Adler <darin@apple.com>
2885 Reviewed by John Sullivan.
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.
2894 2007-01-17 Lars Knoll <lars@trolltech.com>
2896 Fix my last commit to actually work in all cases.
2898 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2899 (WebCore::DumpRenderTree::readStdin):
2901 2007-01-17 Lars Knoll <lars@trolltech.com>
2905 Make sure DumpRenderTree exits when run-webkit-tests
2908 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2909 (WebCore::DumpRenderTree::readStdin):
2911 2007-01-17 Lars Knoll <lars@trolltech.com>
2915 Small fixes in DumpRenderTree, so we don't by
2916 accident dump twice for the same test.
2918 Exclude one more test as it currently causes DumpRenderTree to
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:
2928 2007-01-17 Lars Knoll <lars@trolltech.com>
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.
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.
2944 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2947 * Scripts/run-webkit-tests:
2949 2007-01-16 Lars Knoll <lars@trolltech.com>
2953 Use the new public API for the Qt build, and don't rely on
2954 WebKit internals anymore.
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:
2972 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
2974 2007-01-15 Justin Garcia <justin.garcia@apple.com>
2978 <rdar://problem/4810960>
2979 Gmail Editor: window.focus() called on keyDown (9640)
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
2986 2007-01-15 Eric Seidel <eric@webkit.org>
2990 Add a script to keep our header guards squeaky clean.
2992 * Scripts/clean-header-guards: Added.
2994 2007-01-15 Lars Knoll <lars@trolltech.com>
2998 Fix a few smaller issues in here, and update
2999 our list of skipped tests.
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:
3016 2007-01-14 Mark Rowe <mrowe@apple.com>
3020 <rdar://problem/4908909> Need to create Leopard nightly build
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:
3032 2007-01-12 Lars Knoll <lars@trolltech.com>
3036 Get DumpRenderTree to work again for the Qt build.
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)
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:
3055 2007-01-12 Zack Rusin <zack@kde.org>
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).
3061 * Scripts/webkitdirs.pm:
3063 2007-01-11 Mitz Pettel <mitz@webkit.org>
3067 - http://bugs.webkit.org/show_bug.cgi?id=10249
3068 Temporarily disable tests that are causing kernel panics
3070 Changed the ImageDiff tool not to use CoreImage filters.
3072 * DumpRenderTree/ImageDiff.m:
3074 (createImageFromStdin):
3076 (getDifferenceBitmap):
3078 2007-01-11 Lars Knoll <lars@trolltech.com>
3082 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3084 2007-01-11 Lars Knoll <lars@trolltech.com>
3088 Adjust to loader changes.
3090 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3091 (WebCore::DumpRenderTree::DumpRenderTree):
3093 2007-01-06 George Staikos <staikos@kde.org>
3095 This doesn't build on all unix platforms!
3097 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3099 2007-01-05 Zack Rusin <zack@kde.org>
3103 Fix the undefined warnings and try to detect
3104 the DISPLAY properly.
3106 * Scripts/run-webkit-tests:
3108 2007-01-05 David Kilzer <ddkilzer@webkit.org>
3110 Reviewed by Mark Rowe.
3112 Speed up svn-create-patch for copied and moved files.
3114 * Scripts/svn-create-patch:
3115 (manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN'
3116 so svn pulls original from local disk.
3118 2007-01-04 Lars Knoll <lars@trolltech.com>
3120 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3121 Link with RPATH to (hopefully) get the automatic tests working.
3123 2007-01-03 Mark Rowe <bdash@webkit.org>
3127 * Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used.
3129 2007-01-02 Zack Rusin <zack@kde.org>
3131 Make it work after javascriptcore/bindings changes.
3133 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3134 (WebCore::DumpRenderTree::initJSObjects):
3135 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3137 2007-01-01 David Kilzer <ddkilzer@webkit.org>
3141 http://bugs.webkit.org/show_bug.cgi?id=12023
3142 svn-create-patch and friends should handle moved/copied files
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.
3154 2006-12-29 Eric Seidel <eric@webkit.org>
3158 Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage
3160 * DumpRenderTree/DumpRenderTree.m:
3161 (dumpRenderTree): clear WebCore cache before exiting
3163 2006-12-29 David Kilzer <ddkilzer@webkit.org>
3165 Reviewed by NOBODY (build fix).
3167 Reverted last commit until WebResourceData issue is fixed.
3169 http://bugs.webkit.org/show_bug.cgi?id=11882
3170 Need a way to regression test .webarchive output files
3172 * DumpRenderTree/DumpRenderTree.m:
3173 (serializeWebArchiveToXML): Removed.
3175 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3176 (-[LayoutTestController dumpAsWebArchive]): Removed.
3179 2006-12-28 David Kilzer <ddkilzer@webkit.org>
3183 http://bugs.webkit.org/show_bug.cgi?id=11882
3184 Need a way to regression test .webarchive output files
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.
3190 * DumpRenderTree/DumpRenderTree.m:
3191 (serializeWebArchiveToXML): Added.
3193 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3194 (-[LayoutTestController dumpAsWebArchive]): Added.
3197 2006-12-28 George Staikos <staikos@kde.org>
3201 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11
3203 2006-12-27 Geoffrey Garen <ggaren@apple.com>
3205 Reviewed by Eric Seidel. Prose edited by Mitz Pettel.
3207 Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html.
3209 No behavior change. Layout tests pass.
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).
3215 * DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so
3216 it would cover both code paths for calling runTest().
3218 (dumpRenderTree): "doneLoading()" => "done"
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
3237 2006-12-26 Eric Seidel <eric@webkit.org>
3239 Reviewed by bradee-oh.
3241 Add very simple run-pageloadtest script for running SVG page load test.
3243 * Scripts/run-pageloadtest: Added.
3245 2006-12-26 Geoffrey Garen <ggaren@apple.com>
3247 Reviewed by Eric Seidel.
3249 Some cleanup in preparation for fixing <rdar://problem/4740328> Safari
3250 crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance
3252 (dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase."
3254 2006-12-23 Geoffrey Garen <ggaren@apple.com>
3256 Reviewed by Maciej Stachowiak.
3258 Added --threaded support to run-webkit-tests and DumpRenderTree.
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.
3265 Ironically, I can proudly state that very few layout tests pass.
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
3273 (dumpRenderTree): Added --threaded command line argument.
3274 * Scripts/run-webkit-tests: ditto
3276 2006-12-22 Mark Rowe <bdash@webkit.org>
3280 Fix for <rdar://problem/4265976>
3281 prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method
3283 * Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration.
3285 2006-12-21 Mark Rowe <bdash@webkit.org>
3287 Reviewed by Tim Hatcher.
3289 http://bugs.webkit.org/show_bug.cgi?id=11922
3290 Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame
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.
3296 2006-12-21 Lars Knoll <lars@trolltech.com>
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).
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:
3350 2006-12-21 Mark Rowe <bdash@webkit.org>
3354 http://bugs.webkit.org/show_bug.cgi?id=11888
3355 Bug 11888: REGRESSION (r18320): Web Inspector panes broken
3357 * Drosera/debugger.js: Use removeProperty to reset a style property to its initial value.
3359 2006-12-18 Geoffrey Garen <ggaren@apple.com>
3361 Reviewed by Beth Dakin.
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.
3368 * DumpRenderTree/EventSendingController.m:
3369 (-[EventSendingController mouseUp]):
3371 2006-12-15 Marvin Decker <marv.decker@gmail.com>
3373 Reviewed by Darin and Alexey.
3375 Fix the Windows build, move various Client implementations out of
3376 WebCore and into WebKit.
3378 * Spinneret/Spinneret.sln:
3380 2006-12-14 Timothy Hatcher <timothy@apple.com>
3384 * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
3386 2006-12-13 Zack Rusin <zack@kde.org>
3390 Use the qmake build by default with Qt - it's the one that works
3393 * Scripts/build-webkit:
3394 * Scripts/webkitdirs.pm:
3396 2006-12-10 Lars Knoll <lars@trolltech.com>
3400 Some more fixes to the dumprendertree application.
3401 Fix the run-webkit-tests script for Qt.
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:
3411 2006-12-10 Rob Buis <buis@kde.org>
3415 * DumpRenderTree/DumpRenderTree.m:
3418 2006-12-10 Lars Knoll <lars@trolltech.com>
3422 Get the DumpRenderTree app to compile again
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:
3435 2006-12-09 George Staikos <staikos@kde.org>
3439 Repair QMake build on OS X.
3441 * Scripts/build-webkit:
3443 2006-12-09 Zack Rusin <zack@kde.org>
3445 Fixing small mistakes in the build scripts for
3448 * Scripts/build-webkit:
3449 * Scripts/webkitdirs.pm:
3451 2006-12-09 Simon Hausmann <hausmann@kde.org>
3455 Add support for a QMake build using build-webkit --qmake
3457 * Scripts/build-webkit:
3458 * Scripts/webkitdirs.pm:
3460 2006-12-09 George Staikos <staikos@kde.org>
3464 Remove reference to Unity.
3466 * Scripts/webkitdirs.pm:
3468 2006-12-08 Zack Rusin <zack@kde.org>
3472 Fix the compile after recent API changes.
3474 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3475 (WebCore::DumpRenderTree::DumpRenderTree):
3476 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3479 2006-12-08 George Staikos <staikos@kde.org>
3483 Build Qt webkit on non-linux, and prefer it if $QTDIR is set
3485 * Scripts/build-webkit:
3486 * Scripts/webkitdirs.pm:
3488 2006-12-06 Steve Falkenburg <sfalken@apple.com>
3490 Support C strings for localization
3492 * Scripts/extract-localizable-strings:
3494 2006-12-04 Steve Falkenburg <sfalken@apple.com>
3498 Make extract-localizable-strings compatible with cpp file extensions.
3500 * Scripts/extract-localizable-strings:
3502 2006-11-21 Darin Adler <darin@apple.com>
3506 - a couple changes to reduce the chance of false positives on the leakbot
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.
3518 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
3519 because I don't have what it takes to fight the power.
3521 2006-11-17 Zack Rusin <zack@kde.org>
3523 Reviewed by Mitz. Landed by Niko.
3527 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3528 (WebCore::DumpRenderTree::DumpRenderTree): Adding
3529 ContextMenuClient to the constructor
3531 2006-11-12 Mark Rowe <bdash@webkit.org>
3535 Clean up of GdkLauncher bakefile.
3537 * GdkLauncher/gdklauncher.bkl:
3539 2006-11-11 Nikolas Zimmermann <zimmermann@kde.org>
3541 Reviewed and landed by Anders.
3543 Make DRT work again on Qt/Linux.
3545 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3546 (WebCore::DumpRenderTree::DumpRenderTree):
3548 2006-11-10 Zack Rusin <zack@kde.org>
3550 Reviewed and landed by Anders.
3552 Adjusting to the recent loader changes, making it compile
3555 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3556 (WebCore::DumpRenderTree::DumpRenderTree):
3557 (WebCore::DumpRenderTree::checkLoaded):
3558 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3560 2006-11-10 Zack Rusin <zack@kde.org>
3564 Making the Qt code work after refactorings in WebCore.
3566 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3567 (WebCore::DumpRenderTree::DumpRenderTree):
3568 (WebCore::DumpRenderTree::checkLoaded):
3569 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3571 2006-11-08 Darin Adler <darin@apple.com>
3575 - same change as below, only tested this time
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
3583 2006-11-08 Darin Adler <darin@apple.com>
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.
3591 2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
3595 Linux\gdk build fixes.
3597 * GdkLauncher/main.cpp:
3598 (LauncherFrameGdk::LauncherFrameGdk):
3601 2006-11-06 Alexey Proskuryakov <ap@nypop.com>
3603 Build fix, approved in principle by Tim H.
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.
3609 2006-11-05 Timothy Hatcher <timothy@apple.com>
3613 Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
3614 http://bugs.webkit.org/show_bug.cgi?id=11525
3616 * Drosera/debugger.js: imporved the function name code
3618 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
3622 Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
3623 being attributed to the next test.
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:]):
3642 2006-11-06 Mark Rowe <bdash@webkit.org>
3646 Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
3648 * Scripts/run-webkit-tests: import the POSIX module.
3650 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
3654 Test for http://bugs.webkit.org/show_bug.cgi?id=11517
3655 REGRESSION: Flash clicks/interactivity not working properly
3657 Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
3659 <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
3661 plg.eventLoggingEnabled = true;
3662 // use eventSender to simulate events...
3665 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3666 (pluginGetProperty):
3667 (pluginSetProperty):
3669 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
3670 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
3673 2006-11-04 David Smith <catfish.man@gmail.com>
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
3680 * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
3682 2006-11-04 David Smith <catfish.man@gmail.com>
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.
3689 * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
3691 2006-11-04 David Smith <catfish.man@gmail.com>
3695 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
3696 Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
3698 * Drosera/debugger.js: blur() the function popup when we're done with it.
3700 2006-11-04 Mark Rowe <bdash@webkit.org>
3704 Fix use of uninitialized value in pattern match.
3706 * Scripts/webkitdirs.pm:
3708 2006-11-04 Darin Adler <darin@apple.com>
3710 Reviewed by Tim Hatcher.
3712 * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
3714 2006-11-03 David Smith <catfish.man@gmail.com>
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.
3721 * Drosera/DebuggerApplication.m:
3722 (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
3724 2006-11-03 Vladimir Olexa <vladimir.olexa@gmail.com>
3728 Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
3729 Bug 9596: [Drosera] add a function popup to the source pane
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
3735 2006-11-03 Michael Emmel <mike.emmel@gmail.com>
3739 http://bugs.webkit.org/show_bug.cgi?id=9671
3742 Adds astyle sed script formats according to most of the style guidelines.
3744 2006-11-03 Alexey Proskuryakov <ap@nypop.com>
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
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.
3755 When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
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:]):
3769 2006-11-02 Geoffrey Garen <ggaren@apple.com>
3771 Reviewed by Justin Garcia.
3773 Made dumping of editing callbacks opt-in, so that editing spew doesn't
3774 cloud non-editing tests.
3776 * DumpRenderTree/DumpRenderTree.m:
3777 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3778 (-[LayoutTestController shouldDumpEditingCallbacks]):
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:]):
3795 2006-11-02 Alexey Proskuryakov <ap@nypop.com>
3797 Reviewed by Maciej, landed by Anders.
3799 - http://bugs.webkit.org/show_bug.cgi?id=7802
3800 devenv.com not available in VC++ Express installations
3802 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
3803 * Scripts/install-win-extras: Make setx.exe actually run.
3805 2006-11-01 Stephanie Lewis <slewis@apple.com>
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.
3814 http://bugs.webkit.org/show_bug.cgi?id=11462
3815 http://bugs.webkit.org/show_bug.cgi?id=6168
3817 * Scripts/build-webkit:
3818 * Scripts/run-javascriptcore-tests:
3820 2006-11-01 Brady Eidson <beidson@apple.com>
3822 Reviewed by Tim Hatcher
3824 Added accessor to get the source directory for use in client scripts
3826 * Scripts/webkitdirs.pm:
3828 2006-11-01 Mark Rowe <bdash@webkit.org>
3832 Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
3834 * Spinneret/Spinneret/Spinneret.cpp:
3836 * WebKitLauncher/WebKitNightlyEnabler.m:
3837 (cleanUpAfterOurselves):
3839 2006-10-31 Mark Rowe <bdash@webkit.org>
3841 Reviewed by Stephanie.
3843 Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
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.
3848 2006-10-31 Darin Adler <darin@apple.com>
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,
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.
3860 2006-10-30 Darin Adler <darin@apple.com>
3864 * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
3865 Don't use CFPasteboard.
3867 2006-10-30 Vladimir Olexa <vladimir.olexa@gmail.com>
3871 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
3873 * Drosera/debugger.js: ParsedURL() object now recognizes local files
3875 2006-10-30 Darin Adler <darin@apple.com>
3877 Reviewed by Tim Hatcher.
3879 * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
3880 This should make our buildbot tests no longer need a pasteboard server.
3882 2006-10-30 Geoffrey Garen <ggaren@apple.com>
3886 Reorganized project file into Delegates and Controllers groups, and split
3887 UIDelegate stuff into a UIDelegate class.
3889 A little birdy told me that I might end up adding some UIDelegate methods
3892 * DumpRenderTree/DumpRenderTree.m:
3895 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3897 2006-10-31 Nikolas Zimmermann <zimmermann@kde.org>
3901 Add new platform/graphics include directory.
3903 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
3905 2006-10-30 Timothy Hatcher <timothy@apple.com>
3907 Reviewed by Stephanie.
3909 Add a special case for the Internal makefiles, so it can find the OepnSource.
3911 * Scripts/webkitdirs.pm:
3913 2006-10-30 Stephanie Lewis <slewis@apple.com>
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
3922 * Scripts/webkitdirs.pm:
3924 2006-10-30 Matt Lilek <pewtermoose@gmail.com>
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.
3931 The console now gets focus when its activated but already open. Command + L also
3932 now activates/focuses the console.
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:
3939 2006-10-29 Darin Adler <darin@apple.com>
3941 * Scripts/do-file-rename: Renames done, ready for the next round.
3942 * Scripts/do-webcore-rename: Ditto.
3944 2006-10-29 Darin Adler <darin@apple.com>
3946 * Scripts/do-file-rename: And again.
3948 2006-10-29 Darin Adler <darin@apple.com>
3950 * Scripts/do-webcore-rename: Tweaked plans for renaming again.
3952 2006-10-29 Darin Adler <darin@apple.com>
3956 * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
3957 Added. Does nothing, which prevents a beep.
3959 * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
3961 2006-10-27 Brady Eidson <beidson@apple.com>
3963 Rubber stamped by Tim Hatcher
3965 Added "make universal" to build universal binaries
3970 2006-10-26 Sam Weinig <sam.weinig@gmail.com>
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
3978 * DumpRenderTree/EventSendingController.m:
3979 (-[EventSendingController mouseMoveToX:Y:]):
3981 2006-10-26 Nikolas Zimmermann <zimmermann@kde.org>
3987 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3988 (WebCore::DumpRenderTree::open):
3990 2006-10-24 Stephanie Lewis <slewis@apple.com>
3994 - Changed run-javascriptcore tests to build testkjs before running.
3996 * Scripts/run-javascriptcore-tests:
3998 2006-10-24 Nikolas Zimmermann <zimmermann@kde.org>
4004 - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
4005 - Fix CMakeLists.txt to include platform/network.
4007 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
4009 2006-10-24 David Smith <catfish.man@gmail.com>
4013 Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
4014 http://bugs.webkit.org/show_bug.cgi?id=11382
4016 * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
4018 2006-10-21 Darin Adler <darin@apple.com>
4020 * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
4021 This was still using "symroots" so it almost never worked!
4023 2006-10-21 Darin Adler <darin@apple.com>
4025 * Makefile: Build DumpRenderTree too.
4026 * Scripts/do-webcore-rename: Removed bogus comment.
4028 2006-10-20 David Smith <catfish.man@gmail.com>
4032 Bug 11367: Inline Breakpoint Editor Improvements: Act III
4033 http://bugs.webkit.org/show_bug.cgi?id=11367
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
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.
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:
4056 2006-10-18 David Smith <catfish.man@gmail.com>
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.
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:
4067 2006-10-18 Timothy Hatcher <timothy@apple.com>
4071 Bug 10851: Crash with Drosera
4072 http://bugs.webkit.org/show_bug.cgi?id=10851
4074 This crash results in an assert in debug builds.
4076 assert(implementsCall());
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.
4082 * Drosera/DebuggerDocument.m:
4083 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
4085 2006-10-18 Mark Rowe <bdash@webkit.org>
4089 http://bugs.webkit.org/show_bug.cgi?id=11304
4090 Bug 11304: Drosera fails to link as universal binary on PowerPC machine
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.
4095 2006-10-18 Adam Roben <aroben@apple.com>
4097 fixo el buildo II: Release's Pride.
4099 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4101 2006-10-18 Geoffrey Garen <ggaren@apple.com>
4105 Work around #import of <PDFKit/PDFView.h>.
4107 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4109 2006-10-18 David Smith <catfish.man@gmail.com>
4113 Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
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:
4123 2006-10-18 David Harrison <harrison@apple.com>
4127 Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
4128 http://bugs.webkit.org/show_bug.cgi?id=11341
4130 Link editing behavior became a preference. DumpRenderTree needs to specify the
4131 non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
4133 * DumpRenderTree/DumpRenderTree.m:
4136 2006-10-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
4140 Make compiler not complain about unused gk. SpinneretWebHost was not setting
4141 initial refcount upon creation, so it is completely bogus.
4143 * GdkLauncher/main.cpp:
4145 * Spinneret/Spinneret/Spinneret.h:
4146 (SpinneretWebHost::SpinneretWebHost):
4148 2006-10-15 Nikolas Zimmermann <zimmermann@kde.org>
4152 Add another hanging test, to the "to be skipped" list.
4154 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
4156 2006-10-14 Nikolas Zimmermann <zimmermann@kde.org>
4160 Some fixes to get the Qt BuildSlave to run the LayoutTests.
4162 * Scripts/build-dumprendertree: No need to call cmake again.
4163 * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
4165 2006-10-13 Nikolas Zimmermann <zimmermann@kde.org>
4169 Force --no-http on Qt/Linux.
4171 * Scripts/run-webkit-tests:
4173 2006-10-13 Kevin McCullough <KMcCullough@apple.com>
4177 Gets JavaScripCore tests running on windows.
4179 * Scripts/run-javascriptcore-tests:
4180 * Scripts/webkitdirs.pm:
4182 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
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 :-)
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.
4198 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
4202 Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
4204 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
4205 (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
4206 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
4208 2006-10-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
4212 Also regenerate GdkLauncher makefiles, since not doing that might
4213 lead to mismatch between WebCore and GdkLauncher compiler settings.
4215 * Scripts/regenerate-makefiles:
4217 2006-10-10 David Smith <catfish.man@gmail.com>
4221 Bug 11246: Minor Drosera code cleanup
4222 http://bugs.webkit.org/show_bug.cgi?id=11246
4224 * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
4226 2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
4230 Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
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
4244 2006-10-10 Darin Adler <darin@apple.com>
4246 * Scripts/do-file-rename: Added.
4248 2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
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.
4255 * GdkLauncher/gdklauncher.bkl:
4256 * GdkLauncher/main.cpp:
4257 (LauncherFrameGdk::LauncherFrameGdk):
4258 (LauncherFrameGdk::setExitAfterLoading):
4259 (LauncherFrameGdk::handledOnloadEvents):
4263 2006-10-06 David Smith <catfish.man@gmail.com>
4265 Reviewed by Timothy.
4267 Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
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.
4275 2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
4279 Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
4281 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
4282 (WebCore::DumpRenderTree::DumpRenderTree):
4284 2006-10-05 Oliver Hunt <ohunt@apple.com>
4288 * Scripts/run-webkit-tests:
4291 2006-10-04 Anders Carlsson <acarlsson@apple.com>