1 2007-07-18 Timothy Hatcher <timothy@apple.com>
3 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
4 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
6 * Drosera/Makefile: Added.
7 * Drosera/mac/Makefile:
8 * DumpRenderTree/Makefile:
10 * Makefile.Drosera: Removed.
11 * Makefile.shared: Removed.
13 2007-07-18 Timothy Hatcher <timothy@apple.com>
15 The console log was 20px down from the top for no reason, move it up.
17 * Drosera/console.css:
19 2007-07-18 Timothy Hatcher <timothy@apple.com>
21 Use contentDocument to get the source view's iframe document.
22 Also adds a null/undefined check for localVariableNames.
24 * Drosera/debugger.js:
26 2007-07-18 Lars Knoll <lars@trolltech.com>
28 Reviewed by Zack & Simon
30 Adjust to changed API in QWebFrame
32 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
33 (WebCore::DumpRenderTree::DumpRenderTree):
35 2007-07-18 Mark Rowe <mrowe@apple.com>
37 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
39 * BuildSlaveSupport/build-launcher-app:
41 2007-07-17 Geoffrey Garen <ggaren@apple.com>
43 Reviewed by Antti Koivisto.
45 Added watchdog timer to waitUntilDone to prevent a run-away test from
46 hanging the test harness.
48 * DumpRenderTree/DumpRenderTree.m:
50 (-[LayoutTestController waitUntilDone]):
51 (-[LayoutTestController waitUntilDoneWatchdogFired]):
52 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
54 2007-07-17 Kevin McCullough <kmccullough@apple.com>
58 - Implemented cross-platform code for functions calling into the JavaScript.
60 * Drosera/DebuggerDocument.cpp:
61 (DebuggerDocument::callAsFunction):
62 (DebuggerDocument::pauseJS):
63 (DebuggerDocument::resumeJS):
64 (DebuggerDocument::stepIntoJS):
65 (DebuggerDocument::stepOverJS):
66 (DebuggerDocument::stepOutJS):
67 (DebuggerDocument::showConsoleJS):
68 (DebuggerDocument::closeCurrentFileJS):
69 (DebuggerDocument::updateFileSource):
70 (DebuggerDocument::didParseScript):
71 (DebuggerDocument::willExecuteStatement):
72 (DebuggerDocument::didEnterCallFrame):
73 (DebuggerDocument::willLeaveCallFrame):
74 (DebuggerDocument::exceptionWasRaised):
75 * Drosera/DebuggerDocument.h:
76 * Drosera/mac/DebuggerDocumentMac.mm:
77 (-[DebuggerDocumentMac pause:]):
78 (-[DebuggerDocumentMac resume:]):
79 (-[DebuggerDocumentMac stepInto:]):
80 (-[DebuggerDocumentMac stepOver:]):
81 (-[DebuggerDocumentMac stepOut:]):
82 (-[DebuggerDocumentMac showConsole:]):
83 (-[DebuggerDocumentMac closeCurrentFile:]):
84 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
85 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
86 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
87 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
88 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
89 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
91 2007-07-16 Kevin McCullough <kmccullough@apple.com>
95 - Continued x-platform modifications.
97 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
98 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
99 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
100 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
101 * Drosera/win/Drosera.cpp:
102 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
103 * Drosera/win/stdafx.cpp: Removed.
104 * Drosera/win/stdafx.h: Removed.
106 2007-07-16 Kevin McCullough <kmccullough@apple.com>
110 - Modified files to use cross-platform code.
112 * Drosera/DebuggerDocument.cpp: Added.
113 (DebuggerDocument::breakpointEditorHTML):
114 (DebuggerDocument::isPaused):
115 (DebuggerDocument::pause):
116 (DebuggerDocument::resume):
117 (DebuggerDocument::stepInto):
118 (DebuggerDocument::evaluateScript):
119 (DebuggerDocument::currentFunctionStack):
120 (DebuggerDocument::localScopeVariableNamesForCallFrame):
121 (DebuggerDocument::valueForScopeVariableNamed):
122 * Drosera/DebuggerDocument.h: Added.
123 (DebuggerDocument::DebuggerDocument):
124 * Drosera/config.h: Added.
125 * Drosera/mac/DebuggerApplication.mm:
126 (-[DebuggerApplication attach:]):
127 * Drosera/mac/DebuggerDocument.h: Removed.
128 * Drosera/mac/DebuggerDocument.mm: Removed.
129 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
130 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
131 (-[DebuggerDocumentMac initWithServerName:]):
132 (-[DebuggerDocumentMac dealloc]):
133 (-[DebuggerDocumentMac breakpointEditorHTML]):
134 (-[DebuggerDocumentMac isPaused]):
135 (-[DebuggerDocumentMac pause]):
136 (-[DebuggerDocumentMac resume]):
137 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
138 * Drosera/win/DebuggerApplication.cpp:
139 * Drosera/win/DebuggerObjectCallbacks.cpp:
140 (breakpointEditorHTMLCallback):
141 (currentFunctionStackCallback):
142 (evaluateScript_inCallFrame_Callback):
144 (localScopeVariableNamesForCallFrame_Callback):
148 (valueForScopeVariableNamed_inCallFrame_Callback):
150 * Drosera/win/Drosera.cpp:
151 * Drosera/win/DroseraPrefix.cpp: Added.
152 * Drosera/win/DroseraPrefix.h: Added.
154 2007-07-16 Kevin McCullough <kmccullough@apple.com>
156 Reviewed by Adam, Sam and Tim.
158 - Moving files to prepare for cross-platform architecture.
160 * Drosera/DebuggerApplication.h: Removed.
161 * Drosera/DebuggerApplication.m: Removed.
162 * Drosera/DebuggerDocument.h: Removed.
163 * Drosera/DebuggerDocument.m: Removed.
164 * Drosera/Drosera.pch: Removed.
165 * Drosera/Drosera.xcodeproj: Removed.
166 * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
167 * Drosera/Info.plist: Removed.
168 * Drosera/LauncherInfo.plist: Removed.
169 * Drosera/Makefile: Removed.
170 * Drosera/launcher.m: Removed.
171 * Drosera/mac: Added.
172 * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
173 * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
174 * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
175 * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
176 * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
177 * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
178 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
179 * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
180 * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
181 * Drosera/mac/Makefile: Copied from Drosera/Makefile.
182 * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
183 * Drosera/mac/main.m: Copied from Drosera/main.m.
184 * Drosera/main.m: Removed.
186 * Makefile.Drosera: Added.
188 2007-07-15 Mark Rowe <mrowe@apple.com>
190 * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
192 2007-07-13 Sam Weinig <sam@webkit.org>
194 Reviewed by Geoff Garen.
196 Add support for running SSL tests over HTTPS.
198 * DumpRenderTree/DumpRenderTree.m:
200 * DumpRenderTree/FrameLoadDelegate.m:
201 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
202 * Scripts/run-webkit-httpd:
203 * Scripts/run-webkit-tests:
205 2007-07-13 David Kilzer <ddkilzer@apple.com>
209 Added support for -h|--help argument and verify that all command line arguments parse
212 * Scripts/run-webkit-httpd:
214 2007-07-12 Mark Rowe <mrowe@apple.com>
218 Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
220 * Scripts/run-webkit-tests:
222 2007-07-12 Geoffrey Garen <ggaren@apple.com>
224 Reviewed by Oliver Hunt.
226 Made the leaks tests pass on Leopard.
228 * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
229 * Scripts/run-leaks: Updated parser for slight change in text output.
231 2007-07-11 David Kilzer <ddkilzer@apple.com>
235 Update the iExploder list of CSS properties after box-sizing was renamed to
236 -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
238 * iExploder/htdocs/cssproperties.in: Added -webkit-box-sizing. Both box-sizing and
239 -moz-box-sizing remain.
241 2007-07-10 Darin Adler <darin@apple.com>
243 * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
244 Foundation's multipart/mixed-replace support -- I already verified that
245 the bug has been fixed.
247 2007-07-10 Alice Liu <alice.liu@apple.com>
249 rubber stamped by Maciej.
251 fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
253 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
254 (initializePreferences):
255 set editable link behavior to match Mac DRT.
257 2007-07-10 Geoffrey Garen <ggaren@apple.com>
259 Reviewed by Tim Hatcher.
261 Ignore Page.o in debug builds because it now has a static PageCounter
264 * Scripts/check-for-global-initializers:
266 2007-07-09 Darin Adler <darin@apple.com>
268 * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
270 2007-07-09 Alice Liu <alice.liu@apple.com>
272 Reviewed by Adam Roben.
274 setting DOM Paste Allowed Pref
276 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
277 (initializePreferences):
279 2007-07-05 Kevin McCullough <kmccullough@apple.com>
281 Reviewed by Adam, Sam, and Ada.
283 - Inital checkin of Drosera for Win. This isn't pretty and doesn't connect to Safari but debug builds and runs.
285 * Drosera/Images/Drosera.ico: Added.
286 * Drosera/Images/small.ico: Added.
287 * Drosera/win: Added.
288 * Drosera/win/BaseDelegate.h: Added.
289 (BaseDelegate::QueryInterface):
290 (BaseDelegate::didFinishLoadForFrame):
291 (BaseDelegate::windowScriptObjectAvailable):
292 (BaseDelegate::didStartProvisionalLoadForFrame):
293 (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
294 (BaseDelegate::didFailProvisionalLoadWithError):
295 (BaseDelegate::didCommitLoadForFrame):
296 (BaseDelegate::didReceiveTitle):
297 (BaseDelegate::didReceiveIcon):
298 (BaseDelegate::didFailLoadWithError):
299 (BaseDelegate::didChangeLocationWithinPageForFrame):
300 (BaseDelegate::willPerformClientRedirectToURL):
301 (BaseDelegate::didCancelClientRedirectForFrame):
302 (BaseDelegate::willCloseFrame):
303 (BaseDelegate::createWebViewWithRequest):
304 (BaseDelegate::webViewShow):
305 (BaseDelegate::webViewClose):
306 (BaseDelegate::webViewFocus):
307 (BaseDelegate::webViewUnfocus):
308 (BaseDelegate::webViewFirstResponder):
309 (BaseDelegate::makeFirstResponder):
310 (BaseDelegate::setStatusText):
311 (BaseDelegate::webViewStatusText):
312 (BaseDelegate::webViewAreToolbarsVisible):
313 (BaseDelegate::setToolbarsVisible):
314 (BaseDelegate::webViewIsStatusBarVisible):
315 (BaseDelegate::setStatusBarVisible):
316 (BaseDelegate::webViewIsResizable):
317 (BaseDelegate::setResizable):
318 (BaseDelegate::setFrame):
319 (BaseDelegate::webViewFrame):
320 (BaseDelegate::setContentRect):
321 (BaseDelegate::webViewContentRect):
322 (BaseDelegate::runJavaScriptAlertPanelWithMessage):
323 (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
324 (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
325 (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
326 (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
327 (BaseDelegate::mouseDidMoveOverElement):
328 (BaseDelegate::contextMenuItemsForElement):
329 (BaseDelegate::validateUserInterfaceItem):
330 (BaseDelegate::shouldPerformAction):
331 (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
332 (BaseDelegate::willPerformDragDestinationAction):
333 (BaseDelegate::dragSourceActionMaskForPoint):
334 (BaseDelegate::willPerformDragSourceAction):
335 (BaseDelegate::contextMenuItemSelected):
336 (BaseDelegate::hasCustomMenuImplementation):
337 (BaseDelegate::trackCustomPopupMenu):
338 (BaseDelegate::measureCustomMenuItem):
339 (BaseDelegate::drawCustomMenuItem):
340 (BaseDelegate::addCustomMenuDrawingData):
341 (BaseDelegate::cleanUpCustomMenuDrawingData):
342 (BaseDelegate::canTakeFocus):
343 (BaseDelegate::takeFocus):
344 (BaseDelegate::registerUndoWithTarget):
345 (BaseDelegate::removeAllActionsWithTarget):
346 (BaseDelegate::setActionTitle):
347 (BaseDelegate::undo):
348 (BaseDelegate::redo):
349 (BaseDelegate::canUndo):
350 (BaseDelegate::canRedo):
351 * Drosera/win/DebuggerApplication.cpp: Added.
352 (DebuggerApplication::serverLoaded):
353 (DebuggerApplication::serverUnloaded):
354 (DebuggerApplication::attach):
355 (DebuggerApplication::numberOfRowsInTableView):
356 (DebuggerApplication::tableView):
357 * Drosera/win/DebuggerApplication.h: Added.
358 (DebuggerApplication::DebuggerApplication):
359 (DebuggerApplication::knownServers):
360 * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
361 (breakpointEditorHTMLCallback):
362 (currentFunctionStackCallback):
363 (doubleClickMillisecondsCallback):
364 (evaluateScript_inCallFrame_Callback):
366 (localScopeVariableNamesForCallFrame_Callback):
370 (valueForScopeVariableNamed_inCallFrame_Callback):
372 * Drosera/win/DebuggerObjectCallbacks.h: Added.
373 * Drosera/win/Drosera.cpp: Added.
375 (RegisterDroseraClass):
381 (Drosera::QueryInterface):
384 (Drosera::didFinishLoadForFrame):
386 (Drosera::windowScriptObjectAvailable):
387 (Drosera::webViewClose):
388 (Drosera::validateUserInterfaceItem):
389 (Drosera::runJavaScriptAlertPanelWithMessage):
391 * Drosera/win/Drosera.h: Added.
392 (Drosera::webViewLoaded):
393 * Drosera/win/Drosera.vcproj: Added.
394 * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
395 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
396 * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
397 * Drosera/win/Drosera.vcproj/release.vsprops: Added.
398 * Drosera/win/HelperFunctions.h: Added.
400 * Drosera/win/Info.plist: Added.
401 * Drosera/win/resource.h: Added.
402 * Drosera/win/stdafx.cpp: Added.
403 * Drosera/win/stdafx.h: Added.
405 2007-07-09 Adam Treat <adam@staikos.net>
407 Reviewed by George Staikos.
409 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
412 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
413 (WebCore::DumpRenderTree::DumpRenderTree):
415 2007-07-09 Anders Carlsson <andersca@apple.com>
419 <rdar://problem/4954319>
420 Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at
421 com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
423 If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream",
424 return an error from NPP_NewStream.
426 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
428 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
429 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
433 2007-07-08 Mark Rowe <mrowe@apple.com>
435 Change name from WebKit/Qt to WebKit.
437 * CodeCoverage/regenerate-coverage-display:
439 2007-07-08 Rob Buis <buis@kde.org>
443 http://bugs.webkit.org/show_bug.cgi?id=14209
444 DRT should be able to deal with text zoom
446 Allow increasing/decreasing text zoom using eventSender.
448 * DumpRenderTree/DumpRenderTree.m:
450 * DumpRenderTree/EventSendingController.m:
451 (+[EventSendingController initialize]):
452 (+[EventSendingController isSelectorExcludedFromWebScript:]):
453 (-[EventSendingController textZoomIn]):
454 (-[EventSendingController textZoomOut]):
456 2007-07-07 Mark Rowe <mrowe@apple.com>
460 * DumpRenderTree/DumpRenderTree.m:
461 (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
463 2007-07-06 Anders Carlsson <andersca@apple.com>
465 Reviewed by David Kilzer.
467 <rdar://problem/5313502>
468 Many webarchive tests fail due to different NSURLResponse serialization on Leopard
470 Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
471 response's attributes. Also change the JavaScript MIME type to be "text/javascript".
473 * DumpRenderTree/DumpRenderTree.m:
475 (convertWebResourceDataToString):
476 (convertWebResourceResponseToDictionary):
477 (serializeWebArchiveToXML):
479 2007-07-06 Timothy Hatcher <timothy@apple.com>
483 Initialize the NSMutableAttributedString directly instead of creating
484 a NSAttributedString first.
486 * DumpRenderTree/TextInputController.m:
487 (-[TextInputController attributedStringWithString:]):
489 2007-07-06 Anders Carlsson <andersca@apple.com>
491 Reviewed by David Kilzer.
493 Replace "Apple Computer" with "Apple" in the DTD declaration.
495 * DumpRenderTree/DumpRenderTree.m:
496 (serializeWebArchiveToXML):
498 2007-07-06 Adam Treat <adam@staikos.net>
500 Reviewed by George Staikos.
502 Adjust for conversion of QWebFrame to a QFrame from a scroll area.
504 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
505 (WebCore::DumpRenderTree::DumpRenderTree):
507 2007-07-06 George Staikos <staikos@kde.org>
511 Allow passing of additional arguments to qmake with --qmakearg=
513 * Scripts/webkitdirs.pm:
515 2007-07-05 George Staikos <staikos@kde.org>
519 Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
520 give a path to a specific qmake binary. Both are optional.
522 * Scripts/webkitdirs.pm:
524 2007-07-05 Adam Roben <aroben@apple.com>
526 Warn about tests in the Skipped file that succeeded
528 * Scripts/run-webkit-tests:
530 2007-07-05 Adam Roben <aroben@apple.com>
532 Removed unused install-win-extras script
534 Rubberstamped by Mark.
536 * Scripts/install-win-extras: Removed.
538 2007-07-05 Adam Roben <aroben@apple.com>
540 Show the test's extension in the results page
542 * Scripts/run-webkit-tests:
544 2007-07-05 Adam Roben <aroben@apple.com>
546 Add more options for controlling the interpretation of the Skipped file
550 * Scripts/run-webkit-tests:
552 2007-07-04 Adam Roben <aroben@apple.com>
554 Add --skipped-only option to run-webkit-tests
556 When this option is specified, only those tests listed in the Skipped
561 * Scripts/run-webkit-tests:
563 2007-07-04 Adam Roben <aroben@apple.com>
565 Clean up/alphabetize the run-webkit-tests help message
567 * Scripts/run-webkit-tests:
569 2007-07-04 Adam Roben <aroben@apple.com>
571 Enable a Leopard-specific Skipped list.
575 * Scripts/run-webkit-tests: Check for Leopard.
576 * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
578 2007-07-03 Adam Roben <aroben@apple.com>
580 Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
582 Got rid of extract-webkit-localizable-strings because it was trying to
583 do update-webkit-localizable-strings' job.
585 Rubberstamped by Darin.
587 * Scripts/extract-webkit-localizable-strings: Removed.
588 * Scripts/update-webkit-localizable-strings: Renamed from
589 extract-localizable-strings.
591 2007-07-03 Adam Roben <aroben@apple.com>
593 Modify scripts to keep Mac/Windows localized strings in sync
595 extract-webkit-localizable-strings now handles extracting strings from
596 both the Mac and Windows WebKit ports and updating their respective
597 Localizable.strings files. extract-localizable-strings is now really a
598 piece of plumbing rather than a top-level tool.
600 Reviewed by Darin and Anders.
602 * Scripts/extract-localizable-strings: Changed to handle multiple
604 * Scripts/extract-webkit-localizable-strings: Added.
606 2007-07-03 Adele Peterson <adele@apple.com>
610 Extended DumpRenderTree to test encoding and decoding host names.
612 * DumpRenderTree/DumpRenderTree.m:
613 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
614 (+[LayoutTestController webScriptNameForSelector:]): ditto.
615 (-[LayoutTestController decodeHostName:]): Added.
616 (-[LayoutTestController encodeHostName:]): Added.
618 2007-07-03 Sam Weinig <sam@webkit.org>
622 Eleventh round of fixes for implicit 64-32 bit conversion errors.
623 <rdar://problem/5292262>
625 Add functions to test long long and unsigned long long.
627 * DumpRenderTree/DumpRenderTree.m:
628 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
629 (+[LayoutTestController webScriptNameForSelector:]):
630 (-[LayoutTestController objCLongLongRoundTrip:]):
631 (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
633 2007-07-01 Adam Roben <aroben@apple.com>
635 Fix some paths to make http tests work again on Windows
637 Rubberstamped by Sam.
639 * Scripts/run-webkit-tests:
641 2007-06-28 Stephanie <slewis@apple.com>
645 Allow tests to use pre-built roots instead of building the tests.
647 * Scripts/run-javascriptcore-tests: added --root option
648 * Scripts/run-webkit-tests: added --root option
649 * Scripts/webkitdirs.pm: added support for using a root
651 2007-06-25 Adam Roben <aroben@apple.com>
653 Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
654 http://bugs.webkit.org/show_bug.cgi?id=14405
658 * Scripts/run-webkit-tests:
660 2007-06-25 Adam Roben <aroben@apple.com>
662 Enable running the regression tests on Windows.
664 These changes were developed alongside the Windows WebKit port and
665 have been well tested.
667 Rubberstamped by Sam.
669 * Scripts/run-webkit-tests:
671 2007-06-25 Adam Roben <aroben@apple.com>
673 Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
674 http://bugs.webkit.org/show_bug.cgi?id=14403
676 Reviewed by Mark Rowe.
678 * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
679 (sub createPatchCommand): Generate a correct diff in the $gitCommit
682 2007-06-25 Adam Roben <aroben@apple.com>
684 Land pdevenv and supporting scripts/programs
686 pdevenv is a script that will open an instance of Visual Studio that
687 can compile multiple files in parallel, similar to make -jN. It uses
688 the following scripts/programs to accomplish this:
690 CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
692 parallelcl: Actually performs the parallel compilation by forking
693 multiple instances of the Microsoft-supplied cl.exe.
695 MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
696 Microsoft-supplied midl.exe. This avoids having to invoke perl for
697 every invocation of midl.exe, which would be quite slow.
699 Rubberstamped by Sam.
701 * CLWrapper/CLWrapper.cpp: Added.
703 * CLWrapper/CLWrapper.sln: Added.
704 * CLWrapper/CLWrapper.vcproj: Added.
705 * MIDLWrapper/MIDLWrapper.cpp: Added.
707 * MIDLWrapper/MIDLWrapper.sln: Added.
708 * MIDLWrapper/MIDLWrapper.vcproj: Added.
709 * Scripts/parallelcl: Added.
710 * Scripts/pdevenv: Added.
711 * vcbin/cl.exe: Added.
712 * vcbin/midl.exe: Added.
714 2007-06-23 Adam Roben <aroben@apple.com>
716 Land num-cpus for the Windows build.
718 Reviewed by Mark Rowe.
720 * Scripts/num-cpus: Added.
722 2007-06-22 Simon Hausmann <hausmann@kde.org>
724 Reviewed by Adam Roben.
726 Added support for populating ChangeLog entries from given git commits
727 using --git-commit=<commitish> and --git-reviewer=<name>.
729 * Scripts/prepare-ChangeLog:
731 2007-06-22 Timothy Hatcher <timothy@apple.com>
735 <rdar://problem/5228168> Leopard regression test failures: fast/applescript
737 There were some changes in Leopard that made our test output inconsistent with Tiger.
739 NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
740 on Leopard, so output our own readable string for typeType descriptors.
742 NSArray's description also changed on Leopard to output more whitespace, so
743 make our own string representation for typeAEList descriptors. This requires
744 a special case typeUnicodeText too, so the output is a quoted string.
746 * DumpRenderTree/AppleScriptController.m:
747 (convertAEDescToObject):
749 2007-06-21 Anders Carlsson <andersca@apple.com>
753 Don't dump didFirstLayout callbacks, they happen intermittently.
755 * DumpRenderTree/FrameLoadDelegate.m:
757 2007-06-21 Lars Knoll <lars@trolltech.com>
761 look for the Qt library in the installed location
763 * Scripts/webkitdirs.pm:
765 2007-06-20 Geoffrey Garen <ggaren@apple.com>
767 Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
769 Added tests for stringByEvaluatingJavaScriptFromString.
771 * DumpRenderTree/DumpRenderTree.m:
772 (testStringByEvaluatingJavaScriptFromString):
775 2007-06-19 Andrew Wellington <proton@wiretapped.net>
777 Reviewed by Mark Rowe.
779 Support applications with spaces or special characters in their names
781 * Scripts/run-webkit-app:
783 2007-06-18 Anders Carlsson <andersca@apple.com>
785 Reviewed by John Sullivan.
787 Assert that the frame has a dataSource.
789 * DumpRenderTree/FrameLoadDelegate.m:
790 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
792 2007-06-18 Adam Treat <adam@staikos.net>
796 Reflect the library name change.
798 * Scripts/webkitdirs.pm:
800 2007-06-18 Jake Helfert <jake@jakeonthenet.com>
804 - fix http://bugs.webkit.org/show_bug.cgi?id=14154
805 Spinneret doesn't build against the new Win32 port.
807 * Spinneret/Spinneret/Spinneret.cpp:
809 -Changed IWebViewExt to IWebViewPrivate
810 -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
811 the WIN32 function RegisterDragDrop which requires the Ole* calls.
812 * Spinneret/Spinneret/Spinneret.h:
813 (SpinneretWebHost::didReceiveIcon): Updated method signature.
814 (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
815 (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
817 2007-06-14 Sam Weinig <sam@webkit.org>
821 Update set of files to download for cygwin to include
822 diffutils and regenerate the zip file. This should fix
823 an issue on vista where svn-create-patch doesn't work.
825 * CygwinDownloader/cygwin-downloader.py:
826 * CygwinDownloader/cygwin-downloader.zip:
828 2007-06-14 Mark Rowe <mrowe@apple.com>
830 Update script to match new nightly.webkit.org infrastructure.
832 * BuildSlaveSupport/build-launcher-dmg: Upload to the live web server, not the caching proxy. Let the server know it's a Mac build.
834 2007-06-12 Adam Roben <aroben@apple.com>
836 Land CygwinDownloader.
838 Rubberstamped by Hyatt.
840 * CygwinDownloader/cygwin-downloader.py: Added.
841 * CygwinDownloader/cygwin-downloader.zip: Added.
842 * CygwinDownloader/make-zip.sh: Added.
843 * CygwinDownloader/setup.py: Added.
845 2007-06-06 Vladimir Olexa <vladimir.olexa@gmail.com>
847 Reviewed by Mark Rowe.
849 Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996
850 [Drosera] Items in the file list don't get un-highlighted when
851 files are selected from the file drop-down
853 * Drosera/debugger.js: currentFile was getting modified before file in the file
854 browser got un-highlighted. Changed the order in which the functions execute.
856 2007-06-06 Mark Rowe <mrowe@apple.com>
860 http://bugs.webkit.org/show_bug.cgi?id=13988
861 Bug 13988: Colon in file path crashes WebKit Nightly
863 The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with
864 the bundled WebKit framework. Both of these variables are interpreted as containing a
865 colon-delimited list of paths. There is no escaping mechanism defined, so if we detect
866 a path with a colon in it we need to bail out to prevent `dyld' from throwing an error
867 when we execute Safari.
869 * WebKitLauncher/main.m:
872 2007-06-05 Mark Rowe <mrowe@apple.com>
876 * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
878 2007-05-30 Alp Toker <alp.toker@collabora.co.uk>
882 Enable logging in the Gdk port.
883 http://bugs.webkit.org/show_bug.cgi?id=13936
885 * GdkLauncher/main.cpp:
888 2007-05-29 Holger Freyther <zecke@selfish.org>
892 Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
893 to provide ScrollBars for the FrameView.
895 * GdkLauncher/main.cpp:
896 (registerRenderingAreaEvents):
897 (layout_realize_callback): Only after realization we can access the GtkLayout::bin_window
898 (frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust
901 2007-05-29 David Kilzer <ddkilzer@webkit.org>
905 - fix http://bugs.webkit.org/show_bug.cgi?id=13901
906 run-pageloadtest does not obey testName on command-line
908 * Scripts/run-pageloadtest: Grab $testName from the command-line if it is present,
909 otherwise default to "svg". Added dummy check to make sure $testName.pltsuite
912 2007-05-29 David Kilzer <ddkilzer@webkit.org>
916 - fix http://bugs.webkit.org/show_bug.cgi?id=13900
917 svnStatus($) subroutine in svn-[un]apply does not work properly with directories
919 This patch also fixes an instance of the "broken pipe" warning that happened when
920 a directory contained modified files that were not part of an applied or unapplied
924 (svnStatus($)): If we're trying to get status on a directory (instead of a file),
925 make sure we actually get the directory's status (if it has one), not the first
926 file's status reported within the directory. Fix "broken pipe" warnings by
927 reading all of the output from the SVN filehandle before closing it.
928 * Scripts/svn-unapply:
929 (svnStatus($)): Ditto.
931 2007-05-28 David Kilzer <ddkilzer@webkit.org>
935 - fix http://bugs.webkit.org/show_bug.cgi?id=10342
936 prepare-ChangeLog only shows removed files but not added files when files are moved
937 - fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408
938 prepare-ChangeLog and svn-create-patch don't show replaced files
940 Switched method used to find list of changed files from "diff" to "status". This
941 makes added and replaced files with history appear in the changed file list for svn.
942 Added check for "+" in output from the svn status command to detect file history, and
943 handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines.
945 * Scripts/prepare-ChangeLog:
946 (diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@).
947 (statusCommand(@)): Switched argument from array ref to array. Necessary to use
948 the output of "keys $paths" without creating a temporary array variable.
949 (findOriginalFileFromSvn($)): Added. Based on findSourceFileAndRevision($)
950 subroutine in svn-create-patch.
951 (generateFileList(\@\@\%)): Added. Extracted from main body of script. Runs status
952 command using command-line arguments instead of list of changed files from the diff
953 command. Changed svn regex to only accept file statuses that we know how to handle.
954 Identify original file when an added/replaced status with history is present.
955 (statusDescription($$)): Handled added/replaced statuses with history. Added
956 fall-through return statement.
958 2007-05-28 Holger Freyther <zecke@selfish.org>
960 Reviewed by Mark Rowe.
962 Add scripts and data to generate a coverage data for WebKit.
964 * CodeCoverage/README: Added.
965 * CodeCoverage/amber.png: Added.
966 * CodeCoverage/cov.py: Added.
967 * CodeCoverage/emerald.png: Added.
968 * CodeCoverage/gcov.css: Added.
969 * CodeCoverage/glass.png: Added.
970 * CodeCoverage/regenerate-coverage-display: Added.
971 * CodeCoverage/ruby.png: Added.
972 * CodeCoverage/run-generate-coverage-data: Added.
973 * CodeCoverage/snow.png: Added.
974 * Scripts/build-webkit: Add --coverage by Niko
975 * Scripts/check-for-global-initializers: Skip the check on coverage builds
976 * Scripts/generate-coverage-data: Added.
977 * Scripts/run-javascriptcore-tests: Add --coverage by Niko
979 2007-05-29 Mark Rowe <mrowe@apple.com>
981 Build fix after r21745.
983 * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
985 2007-05-25 Anders Carlsson <andersca@apple.com>
989 * DumpRenderTree/DumpRenderTree.m:
990 * DumpRenderTree/FrameLoadDelegate.m:
992 2007-05-25 Simon Hausmann <hausmann@kde.org>
996 For the keyDown binding use QStringList instead of QList<QString>. The former is a default
997 registered metatype. Also print out critical messages in dumprendertree's qt message handler.
999 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1000 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1001 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1003 2007-05-20 David Kilzer <ddkilzer@webkit.org>
1005 Reviewed by Adam Roben.
1007 - fix http://bugs.webkit.org/show_bug.cgi?id=13565
1008 Change svn-create-patch to put LayoutTests in the end
1010 In addition to reordering test files under the LayoutTests directory so that they
1011 appear after source code files, this patch fixes an issue with prepare-ChangeLog
1012 if the first argument passed to it is a file name instead of a directory name.
1014 * Scripts/prepare-ChangeLog:
1015 (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
1017 * Scripts/svn-create-patch:
1018 (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
1021 2007-05-18 Mark Rowe <mrowe@apple.com>
1025 Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
1027 * Scripts/svn-create-patch:
1028 * Scripts/webkitdirs.pm:
1030 2007-05-18 Holger Freyther <zecke@selfish.org>
1034 * GdkLauncher/main.cpp: Call setGtkWidget
1037 2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>
1039 Reviewed by Mark Rowe.
1041 * GdkLauncher/main.cpp:
1042 (main): Call Frame::init to catch up with Maciej's changes.
1043 * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
1044 passed to the helper scripts.
1046 2007-05-16 Brady Eidson <beidson@apple.com>
1048 Build fix for some dev configurations
1050 * DumpRenderTree/DumpRenderTree.m:
1052 2007-05-16 Maciej Stachowiak <mjs@apple.com>
1056 - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
1058 The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
1059 that happen before the load commits.
1061 Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
1062 optional logging for every FrameLoadDelegate callback, including SPI callbacks.
1064 * DumpRenderTree/DumpRenderTree.h:
1065 * DumpRenderTree/DumpRenderTree.m:
1069 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1070 (-[LayoutTestController clearBackForwardList]):
1071 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
1072 (-[LayoutTestController dumpFrameLoadCallbacks]):
1073 (-[LayoutTestController setWindowIsKey:]):
1074 (-[LayoutTestController setMainFrameIsFirstResponder:]):
1075 (-[LayoutTestController _doLoad:target:]):
1076 (-[LayoutTestController _doBackOrForwardNavigation:]):
1077 (-[LayoutTestController queueReload]):
1078 (-[LayoutTestController queueScript:]):
1079 (-[LayoutTestController queueLoad:target:]):
1080 (-[LayoutTestController setAcceptsEditing:]):
1081 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
1082 (shouldLogFrameLoadDelegates):
1085 (+[DumpRenderTreeEvent mouseLocation]):
1086 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1087 * DumpRenderTree/DumpRenderTreeDraggingInfo.m:
1088 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
1089 * DumpRenderTree/EventSendingController.m:
1090 (-[EventSendingController mouseDown]):
1091 (-[EventSendingController mouseUp]):
1092 (-[EventSendingController mouseMoveToX:Y:]):
1093 (-[EventSendingController contextClick]):
1094 * DumpRenderTree/FrameLoadDelegate.h: Added.
1095 * DumpRenderTree/FrameLoadDelegate.m: Added.
1096 (-[WebFrame _drt_descriptionSuitableForTestResult]):
1097 (-[FrameLoadDelegate processWork:]):
1098 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
1099 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
1100 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1101 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
1102 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
1103 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
1104 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1105 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1106 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
1107 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
1108 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
1109 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
1110 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
1111 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
1112 (-[FrameLoadDelegate webView:willCloseFrame:]):
1113 (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
1114 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1115 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
1116 * DumpRenderTree/ResourceLoadDelegate.m:
1117 (-[NSURL _drt_descriptionSuitableForTestResult]):
1118 * DumpRenderTree/UIDelegate.m:
1119 (-[UIDelegate webViewFocus:]):
1121 2007-05-16 Kevin McCullough <kmccullough@apple.com>
1123 Reviewed by Darin and Geoff.
1125 - rdar://problem/4981886
1126 - Now windows opened by the DOM can be closed by JS.
1128 * DumpRenderTree/DumpRenderTree.m:
1129 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1130 (-[LayoutTestController windowCount]):
1132 2007-05-15 Adam Roben <aroben@apple.com>
1134 Reviewed by David Kilzer.
1136 http://bugs.webkit.org/show_bug.cgi?id=13732
1137 prepare-ChangeLog should work with git
1139 * Scripts/prepare-ChangeLog: Added support for Git.
1141 2007-05-15 Lars Knoll <lars@trolltech.com>
1145 Add the EventSender object to DRT. Currently it implements
1146 mouseDown, mouseUp and mouseMoveTo.
1148 Make run-webkit-tests --strict work somewhat better for form elements.
1150 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1151 (WebCore::DumpRenderTree::DumpRenderTree):
1152 (WebCore::DumpRenderTree::initJSObjects):
1153 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
1154 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1155 (HackWebFrame::mousePressEvent):
1156 (HackWebFrame::mouseReleaseEvent):
1157 (EventSender::EventSender):
1158 (EventSender::mouseDown):
1159 (EventSender::mouseUp):
1160 (EventSender::mouseMoveTo):
1161 (EventSender::leapForward):
1162 (EventSender::keyDown):
1163 (EventSender::frameUnderMouse):
1164 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
1165 * Scripts/run-webkit-tests:
1167 2007-05-12 Oliver Hunt <oliver@apple.com>
1171 Add new api to DRT to allow us to test a file being dragged
1172 onto <input type="file">
1174 * DumpRenderTree/DumpRenderTree.h:
1175 * DumpRenderTree/DumpRenderTree.m:
1176 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1177 (-[LayoutTestController addFileToPasteboardOnDrag]):
1179 * DumpRenderTree/UIDelegate.m:
1180 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
1182 2007-05-11 Holger Hans Peter Freyther <zecke@selfish.org>
1186 Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
1187 http://bugs.webkit.org/show_bug.cgi?id=13656
1189 * GdkLauncher/main.cpp: Handle resizing the drawing area
1190 (frameResizeCallback):
1193 2007-05-11 Geoffrey Garen <ggaren@apple.com>
1195 Reviewed by Darin Adler.
1197 Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:]
1200 * DumpRenderTree/DumpRenderTree.m:
1201 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
1202 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1203 (+[LayoutTestController webScriptNameForSelector:]):
1204 (-[LayoutTestController testWrapperRoundTripping:]):
1206 2007-05-08 Maciej Stachowiak <mjs@apple.com>
1210 - don't clear events whenever an EventSendingController goes away, only do it at predictable times,
1211 since destroying a subframe can make one go away
1213 (Discovered while fixing:
1215 <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
1216 <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
1218 * DumpRenderTree/DumpRenderTree.m:
1219 (runTest): explicitly clear saved events after every page load
1220 * DumpRenderTree/EventSendingController.h:
1221 * DumpRenderTree/EventSendingController.m:
1222 (-[EventSendingController dealloc]): don't clear saved events here...
1223 (+[EventSendingController clearSavedEvents]): do it here
1224 * Scripts/check-for-global-initializers:
1226 2007-05-10 Mark Rowe <mrowe@apple.com>
1228 Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
1230 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1232 2007-05-09 Geoffrey Garen <ggaren@apple.com>
1234 Reviewed by Maciej Stachowiak.
1236 Added support for testing ObjC/JS type bridging.
1238 Added ASSERT that -JSObject returns nil when the underlying JSObject
1239 is no longer GC protected.
1241 * DumpRenderTree/DumpRenderTree.m:
1242 (returnThisCallback):
1244 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
1245 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1246 (+[LayoutTestController webScriptNameForSelector:]):
1247 (-[LayoutTestController accessStoredWebScriptObject]):
1248 (-[LayoutTestController testWrapperRoundTripping]):
1249 (-[LayoutTestController objCClassNameOf:]):
1250 (-[LayoutTestController objCObjectOfClass:]):
1251 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1253 2007-05-10 Lars Knoll <lars@trolltech.com>
1257 Move setting of the DPI value a few lines up. Should fix
1258 the last two remaining failures in the layout tests.
1260 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1263 2007-05-09 Holger Freyther <zecke@selfish.org>
1265 Reviewed by Mark Rowe.
1267 * GdkLauncher/main.cpp: Always include config.h.
1269 2007-05-08 Geoffrey Garen <ggaren@apple.com>
1271 Reviewed by Darin Adler.
1273 Added support for testing ObjC object identity.
1275 Added ASSERT to verify that you can round-trip the object passed to you
1276 in -didClearWindowObject:forFrame:.
1278 * DumpRenderTree/DumpRenderTree.m:
1279 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
1280 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1281 (+[LayoutTestController webScriptNameForSelector:]):
1282 (-[LayoutTestController accessStoredWebScriptObject]):
1283 (-[LayoutTestController objCIdentityIsEqual::]):
1285 2007-05-07 Geoffrey Garen <ggaren@apple.com>
1287 Reviewed by Maciej Stachowiak.
1289 Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext],
1290 and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject
1291 forFrame:(WebFrame *)frame, in the form of ASSERTs.
1293 * DumpRenderTree/DumpRenderTree.m:
1294 (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
1297 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
1298 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
1299 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1301 2007-05-08 Lars Knoll <lars@trolltech.com>
1305 Dump JavaScript console messages as well. Also requires a slight
1306 change in run-webkit-tests, so we still correctly differentiate
1307 between text only and rendertree tests.
1309 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1310 (WebCore::WebPage::WebPage):
1311 (WebCore::WebPage::javaScriptConsoleMessage):
1312 (WebCore::DumpRenderTree::DumpRenderTree):
1313 (WebCore::DumpRenderTree::dump):
1314 * Scripts/run-webkit-tests:
1316 2007-05-08 Lars Knoll <lars@trolltech.com>
1320 Specify what the serif, sans-serif and monospace aliases
1321 should map to and explicitly select the Gui style of
1322 DRT to be plastique.
1324 Fixes most of the test failures still seen on the build bot.
1326 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
1327 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1330 2007-05-07 Lars Knoll <lars@trolltech.com>
1334 Fix the default font to 9pt Sans Serif.
1336 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1339 2007-05-04 Lars Knoll <lars@trolltech.com>
1343 Revert on line of the last commit. We still want to keep the RPATH
1344 support in the pro file.
1346 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1348 2007-05-04 Lars Knoll <lars@trolltech.com>
1352 Remove the old bitmap fonts I tried using to get reliable results from
1353 DumpRenderTree on X11. Instead we now use the URW Type1 fonts from
1354 ghostscript. I've added a mirror to simply check them out at
1355 svn://labs.trolltech.com/svn/webkit/testfonts.
1357 Fixed DumpRenderTree to make sure these fonts are the only ones we use
1358 on X11 and added a fonts.conf file to get a well defined fontconfig
1361 Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
1362 I use to find the fonts to DumpRenderTree.
1364 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
1365 * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed.
1366 * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed.
1367 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed.
1368 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed.
1369 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed.
1370 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed.
1371 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed.
1372 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed.
1373 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed.
1374 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed.
1375 * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed.
1376 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed.
1377 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed.
1378 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed.
1379 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed.
1380 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added.
1381 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
1383 * Scripts/run-webkit-tests:
1385 2007-05-03 Holger Freyther <freyther@kde.org>
1387 Reviewed by Zack, landed by Simon.
1388 This is bugzilla bug 13499.
1390 * GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake
1391 * GdkLauncher/main.cpp: We don't have a config.h with the qmake build
1392 * Scripts/build-webkit: Add --gdk for the Gdk port
1393 * Scripts/webkitdirs.pm: Add helper methods for the Gdk port
1395 2007-05-03 Geoffrey Garen <ggaren@apple.com>
1397 Build fix: Add AllInOneFile.o to the ignore list, since it includes files
1400 * Scripts/check-for-global-initializers:
1402 2007-05-02 Holger Freyther <freyther@kde.org>
1404 Reviewed by Mark Rowe.
1406 * Scripts/build-webkit: Remove the CMake call.
1407 * Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only
1408 buildsystem for the Qt port.
1410 2007-04-27 Kevin McCullough <kmccullough@apple.com>
1412 - Removed debugging statements and took out the removal of the deletion
1413 of the symlink. This is because multiple instances of run-webkit-tests
1414 can be running at the same time.
1415 * Scripts/run-webkit-tests:
1417 2007-04-27 Adam Roben <aroben@apple.com>
1421 Cleaned up prepare-ChangeLog
1423 * Scripts/prepare-ChangeLog: No code changes, but style now matches
1424 the prevalent style of our perl scripts.
1426 2007-04-27 Nazar Kulyk <schamane@myeburg.net>
1428 Reviewed by Mark Rowe.
1430 Basic auto-correction of user-entered URLs.
1432 * GdkLauncher/main.cpp:
1437 2007-04-28 Mark Rowe <mrowe@apple.com>
1439 Rubber-stamped by Anders.
1441 Rename some methods and variables to match the style guidelines.
1443 * GdkLauncher/main.cpp:
1447 (goButtonClickedCallback):
1448 (urlBarEnterCallback):
1449 (frameResizeCallback):
1450 (frameDestroyCallback):
1451 (menuMainBackCallback):
1452 (menuMainForwardCallback):
1453 (menuMainQuitCallback):
1456 2007-04-27 Holger Freyther <freyther@kde.org>
1460 Remove unmaintained CMake build system.
1462 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
1463 * Scripts/build-webkit: Remove references to CMake.
1464 * Scripts/webkitdirs.pm: Remove references to CMake.
1466 2007-04-26 Alp Toker <alp@atoker.com>
1468 Reviewed by Mark Rowe.
1470 * GdkLauncher/main.cpp:
1471 (main): Avoid use of deprecated API.
1473 2007-04-26 Kevin McCullough <kmccullough@apple.com>
1475 - Changed debugging statements for more information.
1477 * Scripts/run-webkit-tests:
1479 2007-04-26 Kevin McCullough <kmccullough@apple.com>
1481 - Adding debugging statements to see why these tests fail. These will be removed.
1483 * Scripts/run-webkit-tests:
1485 2007-04-25 Anders Carlsson <andersca@apple.com>
1489 Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle
1490 the dashboard compatibility mode.
1492 * DumpRenderTree/DumpRenderTree.m:
1493 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1494 (+[LayoutTestController webScriptNameForSelector:]):
1495 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
1497 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1499 2007-04-24 Timothy Hatcher <timothy@apple.com>
1501 Setting the valid architectures to 32-bit only, so these projects
1502 will ignore requests to build them 64-bit. Once they can be built 64-bit,
1503 the valid architectures can be updated.
1505 * Drosera/Drosera.xcodeproj/project.pbxproj:
1506 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1508 2007-04-23 Adam Roben <aroben@apple.com>
1510 Reviewed by Mark Rowe and David Kilzer.
1512 * Scripts/build-webkit: Print the path to the run-safari script when
1513 finished building so that users can copy-and-paste the command to
1516 2007-04-23 Darin Adler <darin@apple.com>
1520 - rename box-sizing to -webkit-box-sizing
1522 * Drosera/console.css: Here.
1523 * Drosera/debugger.css: And here.
1524 * Drosera/viewer.css: And here.
1526 2007-04-21 Mitz Pettel <mitz@webkit.org>
1530 - http://bugs.webkit.org/show_bug.cgi?id=13350
1531 Build Ahem into DumpRenderTree
1533 * DumpRenderTree/DumpRenderTree.m:
1534 (activateAhemFont): Added. Activates the copy of Ahem included in the
1535 DumpRenderTree binary.
1536 (dumpRenderTree): Replaced the check that Ahem is available with a call
1537 to activateAhemFont().
1538 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1539 Added linker options to include Ahem in the data section of the
1540 DumpRenderTree binary.
1542 2007-04-20 Adam Roben <aroben@apple.com>
1546 http://bugs.webkit.org/show_bug.cgi?id=13421
1547 Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
1549 * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
1551 2007-04-18 Brady Eidson <beidson@apple.com>
1555 <rdar://problem/5008925>
1556 Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
1558 * DumpRenderTree/ResourceLoadDelegate.m:
1559 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
1560 Add the willCacheResponse delegate call
1562 2007-04-18 Adam Roben <aroben@apple.com>
1564 Reviewed by David Kilzer.
1566 * Scripts/webkitdirs.pm:
1567 (sub setConfiguration): Added an optional argument to set the
1568 configuration instead of parsing it from ARGV.
1570 2007-04-17 Adam Roben <aroben@apple.com>
1572 * Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
1575 2007-04-17 Adam Roben <aroben@apple.com>
1577 Added a simple shell script to find all the headers from a specified
1578 framework or frameworks that are included by files beneath the working
1581 * Scripts/find-included-framework-headers: Added.
1583 2007-04-16 Timothy Hatcher <timothy@apple.com>
1585 * Drosera/debugger.css: hide the borders for iframes
1587 2007-04-13 Adam Roben <aroben@apple.com>
1589 Rubberstamped by Anders.
1591 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include
1592 stdio.h so that snprintf is defined.
1594 2007-04-13 Brady Eidson <beidson@apple.com>
1598 Add the ability to dump the back/forward history of all windows open at the end of a test
1600 * DumpRenderTree/DumpRenderTree.m:
1601 (dumpBackForwardListForWebView): Dump B/F list for the given WebView
1602 (dump): Call dumpBackForwardListForWebView for each WebView open after the test
1604 2007-04-13 Anders Carlsson <andersca@apple.com>
1608 By default, close any windows that have been opened during a test. This can be overridden by
1609 calling setCloseRemainingWindowsWhenComplete(false).
1611 Change the windows set to an array so we can gurantee the enumeration order.
1613 * DumpRenderTree/DumpRenderTree.m:
1614 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1615 (+[LayoutTestController webScriptNameForSelector:]):
1616 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
1618 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
1619 (-[DumpRenderTreeWindow dealloc]):
1621 2007-04-13 Geoffrey Garen <ggaren@apple.com>
1625 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1626 (handleCallback): Explicitly cast the void* returned by malloc.
1628 2007-04-12 Deneb Meketa <dmeketa@adobe.com>
1630 Reviewed by Darin Adler.
1632 http://bugs.webkit.org/show_bug.cgi?id=13029
1633 rdar://problem/4994849
1634 Bug 13029: Permit NPAPI plug-ins to see HTTP response headers.
1635 Changes in WebKitTools are only for the NPAPI test plugin.
1637 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: main test logic.
1638 (pluginInvoke): support null window argument for NPStream creation.
1639 (pluginAllocate): initialization.
1640 (pluginDeallocate): cleanup.
1641 (handleCallback): add second JS callback arg: header dump.
1642 (notifyStream): added; hook from NPP_NewStream to record headers.
1643 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: declarations.
1644 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: call new header hook.
1645 (NPP_NewStream): call new header hook.
1647 2007-04-09 Geoffrey Garen <ggaren@apple.com>
1649 Reviewed by Maciej Stachowiak.
1651 Fixed fast/forms/textarea-paste-newline.html.
1653 This failure was pretty funny. run-webkit-tests kills and respawns
1654 DumpRenderTree once every 1000 runs. Adding a few tests caused
1655 textarea-paste-newline.html to run right at the beginning of DumpRenderTree's
1656 lifetime, before any render tree dumps had occurred. However, WebCore
1657 used a render tree dump as the hook that set a global flag to allow
1658 pasting through the DOM API, so running before any render tree dumps had
1659 occurred caused this test to fail.
1661 * DumpRenderTree/DumpRenderTree.m:
1662 (dumpRenderTree): Explicitly tell WebKit to allow pasting through the DOM
1663 API, instead of hoping it will read the tea leaves.
1665 2007-04-07 Mark Rowe <mrowe@apple.com>
1667 Not reviewed. Update to match some configuration changes that have been active on build.webkit.org.
1669 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
1671 2007-04-05 Anders Carlsson <andersca@apple.com>
1675 Add support for opening new windows in DumpRenderTree.
1677 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1678 (+[LayoutTestController webScriptNameForSelector:]):
1679 (-[LayoutTestController setCallCloseOnWebViews:]):
1680 (-[LayoutTestController setCanOpenWindows]):
1681 Add two new methods callable from JavaScript. setCanOpenWindows controls whether a test
1682 can open new windows, and setCallCloseOnWebViews controls whether -[WebView close] should be called on
1683 web views that are about to be closed.
1686 Make sure that only the main window is around when a test has finished running.
1688 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
1689 (-[DumpRenderTreeWindow dealloc]):
1690 Manage the set of windows.
1692 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1693 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1694 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1696 Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not.
1698 * DumpRenderTree/UIDelegate.m:
1699 (-[UIDelegate webView:createWebViewWithRequest:]):
1702 (-[UIDelegate webViewClose:]):
1705 2007-04-05 Anders Carlsson <andersca@apple.com>
1709 Move WebView and NSWindow creation to a separate function in preparation of supporting opening new
1712 * DumpRenderTree/DumpRenderTree.m:
1716 2007-04-03 Anders Carlsson <andersca@apple.com>
1720 Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded.
1722 * DumpRenderTree/DumpRenderTree.h:
1723 * DumpRenderTree/DumpRenderTree.m:
1725 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1726 (+[LayoutTestController webScriptNameForSelector:]):
1727 (-[LayoutTestController addDisallowedURL:]):
1729 * DumpRenderTree/ResourceLoadDelegate.m:
1730 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1732 2007-04-03 Mark Rowe <mrowe@apple.com>
1736 * BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip.
1738 2007-04-02 Anders Carlsson <andersca@apple.com>
1740 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1741 Don't use #import in a header included by C files.
1743 2007-03-31 Mark Rowe <mrowe@apple.com>
1747 Fix http://bugs.webkit.org/show_bug.cgi?id=13239
1748 Bug 13239: REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process
1750 Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array
1751 rather than -[WebScriptObject count].
1753 * Drosera/DebuggerDocument.m:
1754 (-[DebuggerDocument webScriptAttributeKeysForScriptObject:]):
1756 2007-03-30 Anders Carlsson <andersca@apple.com>
1760 Add an "onstreamload" attribute to the plugin which is called when a stream starts loading.
1762 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1763 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1765 Look for the onstreamload attribute.
1768 Free the onstreamload attribute.
1771 Call the onstreamload handler.
1773 2007-03-30 Geoffrey Garen <ggaren@apple.com>
1775 Removing an assertion I just added because it's crashing the Leopard
1776 buildbot. The related layout test will still report a failure, so we
1777 don't really need this assertion.
1779 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1782 2007-03-30 Anders Carlsson <andersca@apple.com>
1786 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c:
1791 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h:
1792 Don't use #import, use #include.
1794 2007-03-30 Anders Carlsson <andersca@apple.com>
1798 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1800 Free the identifier string.
1802 2007-03-30 Anders Carlsson <andersca@apple.com>
1806 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1807 Add TestObject.c and TestObject.h
1809 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1810 (pluginGetProperty):
1811 Implement the testObject property.
1814 Implement testEnumerate which takes an object and an array and enumerates
1815 the properties of the object and adds them to the array.
1818 Allocate the test object.
1821 Free the test object.
1823 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added.
1824 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added.
1825 Add a test object with two enumerable properties.
1827 2007-03-29 Geoffrey Garen <ggaren@apple.com>
1829 Reviewed by Beth Dakin.
1831 Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in
1832 -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:]
1833 navigating away from page with DivX movie plug-in (13203)
1835 Added hasStream property and destroyStream function, used by layout test.
1837 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1838 (pluginGetProperty):
1841 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1842 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1845 2007-03-27 Anders Carlsson <acarlsson@apple.com>
1849 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1851 Add new function which takes a function and calls it using NPN_InvokeDefault.
1853 2007-03-27 Adele Peterson <adele@apple.com>
1857 * DumpRenderTree/DumpRenderTree.m:
1858 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
1860 2007-03-27 Adele Peterson <adele@apple.com>
1862 Fix svg tests by calling displayIfNeeded.
1864 * DumpRenderTree/DumpRenderTree.m:
1865 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
1867 2007-03-26 Mark Rowe <mrowe@apple.com>
1869 Reviewed by Sam Weinig.
1871 Upload crash logs from DumpRenderTree as part of the test results to ease debugging
1872 of hard-to-reproduce crashes.
1874 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
1876 2007-03-23 Adam Treat <adam@staikos.net>
1878 Reviewed and committed by George.
1880 Patch by Adam Treat. Removes hardcoded path to .pro file.
1882 2007-03-22 Adam Roben <aroben@apple.com>
1886 Removed eventSender.mouseClick because it was only useful for AppKit
1887 controls, which we don't use anymore.
1889 * DumpRenderTree/EventSendingController.m:
1890 (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed
1893 2007-03-22 Adam Roben <aroben@apple.com>
1897 Make eventSender.mouseClick actually send a mouse up event.
1899 * DumpRenderTree/EventSendingController.m:
1900 (-[EventSendingController mouseClick]):
1902 2007-03-19 David Hyatt <hyatt@apple.com>
1904 Update the minimum font size pref to match the actual default setting in Safari. It should have been 1
1905 all this time and not 9.
1909 * DumpRenderTree/DumpRenderTree.m:
1912 2007-03-18 Dan Waylonis <waylonis@mac.com>
1914 Reviewed by Tim Hatcher.
1916 DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
1917 Bug 13005: WebScriptObject +throwException needs NULL check.
1919 Add tests to ensure that a plugin can safely throw an exception in dealloc.
1921 * DumpRenderTree/ObjCPlugin.h:
1922 * DumpRenderTree/ObjCPlugin.m:
1923 (+[ObjCPlugin webScriptNameForKey:]):
1924 (+[ObjCPlugin isKeyExcludedFromWebScript:]):
1925 (-[ObjCPlugin dealloc]):
1927 2007-03-13 Mark Rowe <mrowe@apple.com>
1931 Have the nightly launcher prefer Safari found in /Applications or ~/Applications
1932 if present, otherwise fall back on using LaunchServices to locate it elsewhere
1933 on the system. The motivation for this is to make the behaviour of the nightly
1934 builds more predictable on machines with multiple copies of Safari present.
1936 * WebKitLauncher/main.m:
1937 (locateSafariBundle):
1940 2007-03-12 Darin Adler <darin@apple.com>
1942 Reviewed by Tim Hatcher.
1944 - add a DumpRenderTree feature where you can get the Objective-C
1945 class name of a JavaScript object
1947 * DumpRenderTree/DumpRenderTree.m:
1948 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add the
1949 objCClassNameOf: selector.
1950 (+[LayoutTestController webScriptNameForSelector:]): Add the
1951 objCClassNameOf: selector, with the name "objCClassName".
1952 (-[LayoutTestController objCClassNameOf:]): Added.
1954 2007-03-11 Geoffrey Garen <ggaren@apple.com>
1956 Reviewed by Oliver Hunt.
1958 Beefed up --threaded mode in light of <rdar://problem/4681051> Installer
1959 crashes in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*)
1960 trying to install iLife 06 using Rosetta on an Intel Machine
1962 --threaded mode now runs a bunch of different JavaScript threads, randomly
1963 killing and respawning them. This was sufficient for reproducing the
1964 bug on my MacBook Pro.
1966 * DumpRenderTree/DumpRenderTree.m:
1967 (javaScriptThreads):
1968 (runJavaScriptThread):
1969 (startJavaScriptThreads):
1970 (stopJavaScriptThreads):
1973 2007-03-11 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
1975 Reviewed by Brady Eidson.
1977 Add forward/backward/quit menus for easier testing.
1979 * GdkLauncher/main.cpp:
1981 (menuMainForwardCb):
1985 2007-03-09 Andrew Wellington <proton@wiretapped.net>
1989 - fix http://bugs.webkit.org/show_bug.cgi?id=13007
1990 svn-create-patch doesn't handle UTF files with BOMs as text
1992 Force diff to treat files that svn-create-patch thinks are text as text.
1994 * Scripts/svn-create-patch: Added -a switch to diff command.
1996 2007-03-09 Mark Rowe <mrowe@apple.com>
1998 Unreviewed. Use the new SVN URL on the buildbot.
2000 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
2002 2007-03-08 Mark Rowe <mrowe@apple.com>
2006 Fix compiler warnings when building Drosera as 64-bit.
2008 * Drosera/DebuggerDocument.m:
2009 (-[DebuggerDocument breakpointEditorHTML]): Move away from deprecated NSString method.
2010 (-[DebuggerDocument scriptConfirmSheetDidEnd:returnCode:contextInfo:]): Update type.
2011 (-[DebuggerDocument webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Update type to accommodate constant.
2013 2007-03-07 Mark Rowe <mrowe@apple.com>
2017 Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o.
2019 * Scripts/check-for-global-initializers:
2021 2007-03-07 Anders Carlsson <acarlsson@apple.com>
2025 Add some assertions.
2027 * DumpRenderTree/DumpRenderTree.m:
2028 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
2029 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
2030 (-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2031 (-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]):
2033 2007-03-07 David Kilzer <ddkilzer@webkit.org>
2037 - WebKitTools part of fix for http://bugs.webkit.org/show_bug.cgi?id=12463
2038 WebArchiver - attempt to insert nil exception when archive empty iframe
2040 The dumpDOMAsWebArchive() test method uses the DOMDocument as a basis for creating
2041 a webarchive while the dumpSourceAsWebArchive() test method uses the original
2042 dataSource (page source) to create a webarchive. Most tests currently use
2043 dumpDOMAsWebArchive() since this is what Safari does when saving a web page as a
2046 * DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive.
2047 Added dumpSourceAsWebArchive.
2049 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2050 (-[LayoutTestController dumpDOMAsWebArchive]):
2051 (-[LayoutTestController dumpSourceAsWebArchive]):
2054 2007-03-05 Kevin McCullough <kmccullough@apple.com>
2056 Reviewed by Mark and Dave H.
2058 - rdar://problem/4922454
2059 - This fixes a security issue by making remote referrers not able to access local
2060 resources, unless they register their schemes to be treated as local. The result is
2061 that those schemes can access local resources and cannot be accessed by remote
2063 Because this behavior is new a link-on-or-after check is made to determine if the
2064 app should use the older, less safe, behavior.
2066 * DumpRenderTree/DumpRenderTree.m: Add ability to set user style sheet to DRT.
2067 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2068 (+[LayoutTestController webScriptNameForSelector:]):
2069 (-[LayoutTestController setUserStyleSheetLocation:]):
2070 (-[LayoutTestController setUserStyleSheetEnabled:]):
2072 2007-03-05 Anders Carlsson <acarlsson@apple.com>
2074 Reviewed by Adam, Darin.
2076 <rdar://problem/5025212>
2077 In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object
2079 Add a "getURLNotify" method to the plugin object. This lets you pass a URL, a target and a callback function
2080 to be run when the URL has finished (or failed) loading.
2082 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2085 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2086 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2089 2007-03-04 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
2091 Reviewed by Nikolas Zimmermann.
2093 Load a url given on a command line in a way that also
2094 works for local (file://) urls.
2096 * GdkLauncher/main.cpp:
2099 2007-03-02 Geoffrey Garen <ggaren@apple.com>
2101 Tweaked parse-malloc-history to work with new malloc_history output format.
2103 * Scripts/parse-malloc-history:
2105 2007-02-28 Vladimir Olexa <vladimir.olexa@gmail.com>
2109 Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
2110 Bug#12887: [Drosera] Add ability to close loaded files
2112 * Drosera/DebuggerDocument.h:
2113 * Drosera/DebuggerDocument.m:
2114 (-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files
2115 * Drosera/Drosera.xcodeproj/project.pbxproj:
2116 * Drosera/English.lproj/MainMenu.nib/classes.nib:
2117 * Drosera/English.lproj/MainMenu.nib/info.nib:
2118 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item
2119 * Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style
2120 * Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file
2122 2007-02-28 Nikolas Zimmermann <zimmermann@kde.org>
2126 Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily.
2128 * Scripts/build-webkit:
2130 2007-02-27 Geoffrey Garen <ggaren@apple.com>
2132 Small tweak to run-webkit-tests.
2134 * Scripts/run-webkit-tests: Allow people with lots of RAM to run more than
2135 1000 MallocStackLogging tests at a time.
2137 2007-02-26 Maciej Stachowiak <mjs@apple.com>
2141 - set ENABLE_XSLT even when compiling without SVG support, since that is no
2142 longer hardcoded into config.h.
2144 * Scripts/build-webkit:
2146 2007-02-26 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
2148 Reviewed by Adam Roben.
2150 Rename *_SUPPORT defines to ENABLE_*.
2152 * GdkLauncher/gdklauncher.bkl:
2154 2007-02-24 Geoffrey Garen <ggaren@apple.com>
2156 Reviewed by Darin Adler.
2158 * Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're
2161 2007-02-24 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
2163 Reviewed by Adam Roben.
2165 Improve gdklauncher: add text field for entering url.
2167 * GdkLauncher/gdklauncher.bkl:
2168 * GdkLauncher/main.cpp:
2173 (goButtonClickedCb):
2175 (registerRenderingAreaEvents):
2180 2007-02-22 Vladimir Olexa <vladimir.olexa@gmail.com>
2184 Fixes: http://bugs.webkit.org/show_bug.cgi?id=12852
2185 Bug#12852: Drosera should select function name, not "function" keyword when selecting from function list pop-up
2186 * Drosera/debugger.js: Fixed some logic errors resulting in generating double IDs and names.
2188 2007-02-22 Adele Peterson <adele@apple.com>
2192 Added option in layoutTestController to setTabKeyCyclesThroughElements, so we
2193 can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body
2195 * DumpRenderTree/DumpRenderTree.m:
2196 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2197 (+[LayoutTestController webScriptNameForSelector:]):
2198 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
2200 2007-02-22 Geoffrey Garen <ggaren@apple.com>
2202 Used svn merge -r19786:19785 to roll out previous hack to work around
2203 SVG painting issue in DRT.
2205 Implemented new work-around, which makes --paint paint *after* dumping
2206 the render tree instead of before, so that painting doesn't influence
2207 the SVG render tree.
2209 This should fix the ~400 new pixel failures introduced in r19786.
2211 * DumpRenderTree/DumpRenderTree.m:
2213 * Scripts/run-webkit-tests:
2215 2007-02-22 Geoffrey Garen <ggaren@apple.com>
2217 Resetting --leaks mode default to run 1000 tests at a time because setting it
2218 to 750 didn't stop the stack logging related crashes, and running more tests
2219 at a time is faster. The crashes seem to be a real bug in stack logging,
2220 not an out of memory condition.
2222 * Scripts/run-webkit-tests:
2224 2007-02-21 Geoffrey Garen <ggaren@apple.com>
2226 Reviewed by Adam Roben.
2228 Added hack to force painting when running an SVG test. This is a work-around
2229 for http://bugs.webkit.org/show_bug.cgi?id=12849 SVG renderers update at
2230 paint time instead of style resolution time.
2232 We need this so that --leaks mode, which always paints, doesn't appear to
2233 fail SVG tests. We also need this if we ever want to test style application
2234 in SVG, since many SVGs don't apply style to their renderers until they paint.
2236 * Scripts/run-webkit-tests:
2238 2007-02-21 Geoffrey Garen <ggaren@apple.com>
2240 Reduced --leaks mode to running only 750 tests at a time, in the hopes
2241 of fixing intermittent crasher that may be caused by out of memory
2244 * Scripts/run-webkit-tests:
2246 2007-02-21 Geoffrey Garen <ggaren@apple.com>
2248 Reviewed by Darin Adler.
2250 Made DRT paint when running run-webkit-tests in --leaks mode, to check
2253 * DumpRenderTree/DumpRenderTree.m: Removed some "NO" initializations, since
2254 that's the default for statics.
2255 (dumpRenderTree): Added --paint command line option, which specifies that
2256 DRT should paint at the end of every test.
2257 (displayWebView): New function, called by dump() and -[LayoutTestController display].
2258 * Scripts/run-webkit-tests: Use the --paint command line option when checking
2261 * Scripts/run-webkit-tests: Added a new, painting leak to the ignore list.
2262 Removed stale comment about THRD leaks -- we now ignore them reliably.
2264 2007-02-21 Geoffrey Garen <ggaren@apple.com>
2266 Tools tweak. No review necessary.
2268 * Scripts/parse-malloc-history: Enabled multiple merge-regexp command line
2269 arguments. Changed command line argument variables from special implicit
2270 no-op values to specific empty values that we test explicitly.
2272 2007-02-21 Vladimir Olexa <vladimir.olexa@gmail.com>
2276 Bug 12834: Drosera should remember scroll position of open files like Xcode
2277 http://bugs.webkit.org/show_bug.cgi?id=12834
2279 * Drosera/debugger.js: Implemented scrolling memory
2281 2007-02-20 Geoffrey Garen <ggaren@apple.com>
2283 Tools tweak. No review necessary.
2285 Made parse-malloc-history executable. (Oops!)
2287 Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history"
2290 Added the ability to merge callstacks by regexp, not just depth, so you
2291 can ask questions like, "How many of these allocations were due to that one
2294 * Scripts/parse-malloc-history:
2296 2007-02-20 Geoffrey Garen <ggaren@apple.com>
2298 * Scripts/parse-malloc-history: Added copyright info.
2300 2007-02-20 Geoffrey Garen <ggaren@apple.com>
2302 Reviewed by Darin Adler.
2304 New script to parse the output from malloc_history, so we can determine
2305 what's using memory in WebKit.
2307 * Scripts/parse-malloc-history: Added.
2309 2007-02-20 Graham Dennis <graham.dennis@gmail.com>
2311 Reviewed by Darin Adler.
2313 Fix for http://bugs.webkit.org/show_bug.cgi?id=12802
2314 WebKit.framework is built with SVG_SUPPORT for No-SVG build
2316 * Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well.
2318 2007-02-19 Geoffrey Garen <ggaren@apple.com>
2322 * Scripts/check-for-global-initializers: Ignore the global counter I added
2323 for SubresourceLoaders.
2325 2007-02-19 Darin Adler <darin@apple.com>
2327 Reviewed by Tim Hatcher.
2329 * Scripts/check-for-global-initializers: Delete the linked executable if the check fails.
2330 Without this, you only see the global initializer error once, which makes it very easy
2333 2007-02-16 Mark Rowe <mrowe@apple.com>
2337 <rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode
2339 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests.
2341 2007-02-15 Geoffrey Garen <ggaren@apple.com>
2343 Reviewed by Beth Dakin.
2345 * DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node
2346 leaks anymore, either, since r19486 fixed them, too.
2347 (shouldIgnoreWebCoreNodeLeaks):
2349 2007-02-15 Darin Adler <darin@apple.com>
2351 * Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were
2352 fixed by change 19486.
2354 2007-02-15 Geoffrey Garen <ggaren@apple.com>
2356 Reviewed by Beth Dakin.
2358 Ignore another leak, seen recently on the buildbot.
2360 * Scripts/run-webkit-tests:
2362 2007-02-14 Geoffrey Garen <ggaren@apple.com>
2364 Reviewed by Beth Dakin.
2366 Ignore another leak, seen recently on the buildbot.
2368 * Scripts/run-webkit-tests:
2370 2007-02-13 Darin Adler <darin@apple.com>
2372 * Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one
2375 2007-02-11 Maciej Stachowiak <mjs@apple.com>
2379 - add contextClick() operation to eventSender to be able to test this
2381 * DumpRenderTree/EventSendingController.m:
2382 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2383 (-[EventSendingController contextClick]):
2385 2007-02-11 Darin Adler <darin@apple.com>
2387 * Scripts/check-for-global-initializers: Fix case where executable doesn't exist at all
2388 so it doesn't give a perl exception (happens in clean builds, for example).
2390 2007-02-10 David Kilzer <ddkilzer@webkit.org>
2394 * Scripts/svn-create-patch:
2395 (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
2396 a relative path to the copied file.
2398 2007-02-10 Timothy Hatcher <timothy@apple.com>
2400 Reviewed by Sam Weinig.
2402 * Drosera/Drosera.icns: updated the icon with 512px and 256px variants
2404 2007-02-10 David Kilzer <ddkilzer@webkit.org>
2406 Reviewed by Timothy.
2408 * Scripts/svn-apply:
2409 (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
2412 2007-02-10 Brady Eidson <beidson@apple.com>
2416 <rdar://problem/4965133> WebKit sends file:// url referrers
2418 * Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests
2419 on local files, but have an httpd for remote resources
2421 2007-02-08 Geoffrey Garen <ggaren@apple.com>
2423 Reviewed by Beth Dakin.
2425 Ignore another false leak report.
2427 * Scripts/run-webkit-tests:
2429 2007-02-08 Geoffrey Garen <ggaren@apple.com>
2431 Reviewed by Kevin McCullough.
2433 * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
2434 already exists, to avoid confusing error message.
2436 Also, remove /tmp/LayoutTests after running so unsupecting fools don't
2437 try to rm -rf it, only later to discover that they have completely hosed
2440 2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
2442 Reviewed by Adam Roben.
2444 Linux/gdk build fixes.
2446 * GdkLauncher/main.cpp: Add -exit-after-loading and
2447 -dump-render-tree as debugging aid.
2451 2007-02-08 Geoffrey Garen <ggaren@apple.com>
2453 Minor fixup based on Maciej's review last night.
2455 * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
2456 and do a little math to make it work.
2458 2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
2460 Reviewed by Adam Roben.
2462 Linux/gdk build fixes.
2464 * GdkLauncher/gdklauncher.bkl:
2466 2007-02-08 Kevin McCullough <KMcCullough@apple.com>
2468 - Fix layout test failures.
2470 * Scripts/run-webkit-tests:
2472 2007-02-08 Darin Adler <darin@apple.com>
2476 * Scripts/check-for-global-initializers: For speed, only check files that
2477 have been modified since the last time we linked. For tidiness, capture
2478 stderr from nm, and prevent "nm: no name list" messages from going out.
2480 2007-02-08 Geoffrey Garen <ggaren@apple.com>
2482 Reviewed by Maciej Stachowiak, Adam Roben.
2484 Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
2488 - DumpRenderTree => "dumpTool" (to match abstraction elsewhere)
2489 - checkLeaks => "shouldCheckLeaks" (to match style guidelines)
2490 - tool => dumpTool (to match abstraction elsewhere)
2491 - httpdOpen => isHttpdOpen (to match style guidelines)
2493 Plus a few logic fixups:
2494 - Don't check isDumpToolOpen when we know we've called openDumpTool().
2495 - Use a single code path to decide when to shut down dumpTool and
2496 when to check for leaks, since the operations are coincidental.
2497 - Use a single code path for running the leaks tool, since the only
2498 thing that varies between configurations is the output file name.
2499 - Increment $count after each test finishes, instead of at the end
2500 of the loop, to help with comparing to the length of the array
2502 - Use a more robust test inside the loop to determine if we need to
2503 close dumpTool, instead of copying the closing code outside the loop.
2507 * Scripts/run-webkit-tests:
2509 2007-02-06 Geoffrey Garen <ggaren@apple.com>
2511 Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
2513 Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can
2514 catch all reports of them, not just those inside pthread_create.
2516 Also, use "\\" instead of "\" because we need the actual \ to get into the
2517 regexp string if it's going to do any escaping. (Oops!)
2519 * Scripts/run-webkit-tests:
2521 2007-02-06 Geoffrey Garen <ggaren@apple.com>
2523 Reviewed by Bethany P. Dakin.
2525 The 's' is optional when the leaks tool reports 'leaks'.
2527 * Scripts/run-leaks:
2529 2007-02-06 Geoffrey Garen <ggaren@apple.com>
2531 Reviewed by Bethany P. Dakin.
2533 Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
2535 * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
2537 2007-02-06 David Smith <catfish.man@gmail.com>
2541 Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
2542 [Drosera] Console history fixups
2544 * Drosera/console.js: assorted cleanups and fixes
2546 2007-02-05 Geoffrey Garen <ggaren@apple.com>
2548 Reviewed by Darin Adler.
2550 New script that allows you to ignore leaks by regular expression.
2552 * Scripts/run-leaks: Added.
2554 2007-02-03 Sam Weinig <sam@webkit.org>
2558 Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
2559 Drosera doesn't handle CR ( carriage returns ) well
2561 - Normalize all the line endings.
2563 * Drosera/debugger.js:
2565 2007-02-02 Geoffrey Garen <ggaren@apple.com>
2567 Reviewed by Darin Adler.
2569 Added some more known leaks to the leaks ignore list.
2571 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
2572 hate itself so much?
2573 * Scripts/run-webkit-tests:
2575 2007-02-02 Geoffrey Garen <ggaren@apple.com>
2577 Even better build fix than the last.
2580 * DumpRenderTree/DumpRenderTree.m:
2581 (shouldIgnoreWebCoreNodeLeaks):
2583 2007-02-02 Geoffrey Garen <ggaren@apple.com>
2585 Fixed build. Added work-around for GCC bug.
2587 * DumpRenderTree/DumpRenderTree.m:
2588 (shouldIgnoreWebCoreNodeLeaks):
2590 2007-02-01 Geoffrey Garen <ggaren@apple.com>
2592 Reviewed by Maciej Stachowiak.
2594 Added support for selectively ignoring WebCore::Node leaks during layout
2595 tests, so that we can ignore known leaks in other components.
2597 * DumpRenderTree/DumpRenderTree.m:
2598 (shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose
2599 WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook
2600 confuse anyone else?
2603 2007-02-01 Anders Carlsson <acarlsson@apple.com>
2607 * DumpRenderTree/UIDelegate.m:
2608 (-[UIDelegate webView:addMessageToConsole:]):
2609 Dump console messages.
2611 2007-01-31 Anders Carlsson <acarlsson@apple.com>
2613 * DumpRenderTree/ResourceLoadDelegate.m:
2614 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2615 Use an NSString here so we can guarantee that -description always returns the same value.
2617 2007-01-31 Geoffrey Garen <ggaren@apple.com>
2619 Reviewed by Darin Adler.
2621 Added Selection::toRange to the leaks -exclude list, since it comes up
2622 as a false positive (Radar 4967949).
2624 Also added RangeCounter to the global initializer exclude list. I added
2625 a RangeCounter since leaks won't detect all Range leaks anymore.
2627 * Scripts/check-for-global-initializers:
2628 * Scripts/run-webkit-tests:
2630 2007-01-31 Anders Carlsson <acarlsson@apple.com>
2632 * DumpRenderTree/ResourceLoadDelegate.m:
2633 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2634 Don't try to create an identifier if resource loads shouldn't be dumped.
2636 2007-01-31 Anders Carlsson <acarlsson@apple.com>
2640 Add dumping of resource loads. This isn't completely tweaked yet since the test results would
2641 rely on resources being delivered in the same order which might not always be true. However, it works good
2642 enough for the simple webarchive tests I want to do right now.
2644 * DumpRenderTree/DumpRenderTree.h:
2645 * DumpRenderTree/DumpRenderTree.m:
2647 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2648 (-[LayoutTestController dumpResourceLoadCallbacks]):
2651 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2652 * DumpRenderTree/ResourceLoadDelegate.h: Added.
2653 * DumpRenderTree/ResourceLoadDelegate.m: Added.
2654 Add new resource load delegate.
2656 2007-01-31 Geoffrey Garen <ggaren@apple.com>
2658 Backing out the CFRunLoopRunSpecific exclude command because it was overly
2659 broad. We'll either need to work around this leak in DRT, or do some
2660 custom grep-based leak ignoring.
2662 * Scripts/run-webkit-tests:
2664 2007-01-30 Geoffrey Garen <ggaren@apple.com>
2666 Reviewed by Beth Dakin.
2668 Filed some more Radars in other components, added some more leaks to the
2671 * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
2672 CFRunLoopRunSpecific, and NSSpellChecker.
2674 2007-01-30 David Kilzer <ddkilzer@webkit.org>
2678 http://bugs.webkit.org/show_bug.cgi?id=11882
2679 Need a way to regression test .webarchive output files
2681 Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
2682 Alters WebResourceResponse and WebResourceURL properties within WebArchive format
2683 to normalize URLs to remove path where WebKit was checked out. Also converts
2684 WebDataResource properties from data to string if the corresponding
2685 WebResourceMIMEType property starts with "text/" or equals
2686 "application/x-javascript".
2688 * DumpRenderTree/DumpRenderTree.m:
2689 (convertWebResourceDataToString): Added.
2690 (normalizeWebResourceURL): Added.
2691 (normalizeWebResourceResponse): Added.
2692 (serializeWebArchiveToXML): Added.
2694 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2695 (-[LayoutTestController dumpAsWebArchive]): Added.
2698 2007-01-30 David Kilzer <ddkilzer@webkit.org>
2700 Reviewed by Mark Rowe.
2702 http://bugs.webkit.org/show_bug.cgi?id=12470
2703 svn-create-patch creates duplicate patches for files within an added/modified directory
2705 * Scripts/svn-create-patch:
2706 (sub generateFileList($\%\%)): Ignore directories when generating the file list.
2708 2007-01-29 Geoffrey Garen <ggaren@apple.com>
2710 Reviewed by Maciej Stachowiak.
2712 Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
2714 No more mollycoddling for you, FastMalloc.o!
2716 * Scripts/check-for-global-initializers:
2718 2007-01-29 Graham Dennis <graham.dennis@gmail.com>
2722 Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
2723 Image data in from RTFD clipboard data thrown away
2725 - This method is needed because NSArrays are bridged to JS Arrays,
2726 which in turn are bridged back to WebScriptObjects when passed from
2727 JS to ObjC. Hence it is not possbile to pass an NSArray from JS.
2729 * DumpRenderTree/DumpRenderTree.m:
2730 (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
2732 2007-01-25 Geoffrey Garen <ggaren@apple.com>
2734 Reviewed by Maciej Stachowiak.
2736 Added support for test for <rdar://problem/4608404> WebScriptObject's
2737 _rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
2739 * DumpRenderTree/DumpRenderTree.m:
2740 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2741 (+[LayoutTestController webScriptNameForSelector:]):
2742 (-[LayoutTestController storeWebScriptObject:]):
2743 (-[LayoutTestController accessStoredWebScriptObject]):
2744 (-[LayoutTestController dealloc]):
2746 2007-01-26 Lars Knoll <lars@trolltech.com>
2750 Small hack to ensure that our top level frame actually has the
2751 correct size. Unfortunately this means I'll have to regenerate
2754 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2755 (WebCore::DumpRenderTree::DumpRenderTree):
2757 2007-01-25 Lars Knoll <lars@trolltech.com>
2759 Reviewed by Darin and Zack
2761 Move the test results for Qt into a directory of it's own
2762 (WebKit/LayoutTestResults/qt). Leave the Mac results where
2763 they are for now and share the text only results between
2766 Add support for a LayoutTestResults/platform/Skipped file
2767 to run-webkit-tests to be able to ignore certain tests
2769 Remove the old tests-skipped.txt from Qts DumpRenderTree
2772 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2773 (WebCore::DumpRenderTree::DumpRenderTree):
2774 (WebCore::DumpRenderTree::open):
2775 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2776 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed.
2777 * Scripts/run-webkit-tests:
2779 2007-01-24 Darin Adler <darin@apple.com>
2783 - fix crash seen in layout tests
2785 * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
2786 Add back the line of code that sets savedMouseEvents to nil. I thought it was
2787 a field of the EventSendingController, but it's actually a global.
2789 2007-01-24 Darin Adler <darin@apple.com>
2793 - changed dragMode to be a property instead of a function
2795 * DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode.
2796 * DumpRenderTree/EventSendingController.m:
2797 (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode.
2798 (+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode.
2799 (-[EventSendingController init]): Updated for name change.
2800 (-[EventSendingController leapForward:]): Ditto.
2801 (-[EventSendingController mouseUp]): Ditto.
2802 (-[EventSendingController mouseMoveToX:Y:]): Ditto.
2804 2007-01-24 Darin Adler <darin@apple.com>
2808 - made the deferral of mouse events until drag completes conditional
2809 it's needed for drag testing, and harmful for selection testing
2811 * DumpRenderTree/EventSendingController.h: Added inDragMode boolean.
2812 * DumpRenderTree/EventSendingController.m:
2813 (+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:.
2814 (+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode,
2815 and remove unneeded clearKillRing name.
2816 (-[EventSendingController init]): Initialize inDragMode to true.
2817 (-[EventSendingController dealloc]): Removed overzealous assertions -- we should
2818 not be asserting things that are dependent on the test content!
2819 (-[EventSendingController leapForward:]): Only queue events in drag mode.
2820 (-[EventSendingController setDragMode:]): Added.
2821 (-[EventSendingController mouseDown]): Removed overzealous assertion.
2822 (-[EventSendingController mouseUp]): Removed overzealous assertions.
2823 Only queue events in drag mode.
2824 (-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode.
2826 2007-01-24 Lars Knoll <lars@trolltech.com>
2830 Add a signal handler, always dump immediately if we get an
2831 error during a page load and raise the timeout to 5 seconds
2832 (as we get a lot less such failures now)
2834 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2835 (WebCore::DumpRenderTree::DumpRenderTree):
2836 (WebCore::DumpRenderTree::maybeDump):
2837 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2838 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2839 (LayoutTestController::waitUntilDone):
2840 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2843 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
2845 2007-01-22 Darin Adler <darin@apple.com>
2849 - a couple tiny tweaks to make --reset-results work better
2851 * Scripts/run-webkit-tests: Always generate results when --reset-results is specified.
2852 Don't make a separate "new" entry while generating results when --reset-results
2853 is specified since new results are the norm in that case.
2855 2007-01-21 Sanjay Madhav <sanjay12@gmail.com>
2859 Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
2861 This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
2863 * DumpRenderTree/GCController.h:
2864 * DumpRenderTree/GCController.mm:
2865 (+[GCController isSelectorExcludedFromWebScript:]):
2866 (-[GCController getJSObjectCount]):
2868 2007-01-20 Mark Rowe <mrowe@apple.com>
2872 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
2873 catch single regressions, and don't generate tests results for new tests.
2875 2007-01-20 Adam Roben <aroben@apple.com>
2877 Rubberstamped by Maciej.
2879 * Scripts/run-webkit-tests: Change the default behavior back to
2880 generating results for new tests (this can be disabled with
2881 --no-new-test-results)
2883 2007-01-19 Lars Knoll <lars@trolltech.com>
2885 Reviewed by Adam Roben.
2887 run-webkit-tests does now not generate new results by default anymore.
2888 You'll have to pass the --new-tests flag to it to force it to do so.
2890 This is required to make it possible to have tests running on multiple
2891 platforms peacefully together.
2893 * Scripts/run-webkit-tests:
2895 2007-01-18 Darin Adler <darin@apple.com>
2897 Reviewed by John Sullivan.
2899 * Scripts/run-webkit-tests: Fix handling of configuration so it
2900 does the right thing when no explicit configuration is passed in.
2901 The old code assumed that the result of setConfiguration() was the
2902 configuration, but it's undefined when no configuration is
2903 explicitly passed in. The correct function to use is
2904 configuration(), and I also streamlined the code.
2906 2007-01-17 Lars Knoll <lars@trolltech.com>
2908 Fix my last commit to actually work in all cases.
2910 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2911 (WebCore::DumpRenderTree::readStdin):
2913 2007-01-17 Lars Knoll <lars@trolltech.com>
2917 Make sure DumpRenderTree exits when run-webkit-tests
2920 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2921 (WebCore::DumpRenderTree::readStdin):
2923 2007-01-17 Lars Knoll <lars@trolltech.com>
2927 Small fixes in DumpRenderTree, so we don't by
2928 accident dump twice for the same test.
2930 Exclude one more test as it currently causes DumpRenderTree to
2933 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2934 (WebCore::DumpRenderTree::readStdin):
2935 (WebCore::DumpRenderTree::dump):
2936 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2937 (LayoutTestController::notifyDone):
2938 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
2940 2007-01-17 Lars Knoll <lars@trolltech.com>
2944 Add a message handler to DumpRenderTree that will
2945 suppress all debug output coming from qDebug() statements.
2946 Like this we can get rid of all the noise coming
2947 from the notImplemented() macro when running the
2948 layout tests. You can get it back by adding -v to
2949 DumpRenderTree's command line.
2951 Changed run-webkit-tests slightly, so we by default
2952 don't fail anymore when our output differs from what
2953 is generated on the Mac. Added a --strict option, so
2954 that we can still see this cases and fix them one by one.
2956 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2959 * Scripts/run-webkit-tests:
2961 2007-01-16 Lars Knoll <lars@trolltech.com>
2965 Use the new public API for the Qt build, and don't rely on
2966 WebKit internals anymore.
2968 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2969 (WebCore::DumpRenderTree::DumpRenderTree):
2970 (WebCore::DumpRenderTree::~DumpRenderTree):
2971 (WebCore::DumpRenderTree::open):
2972 (WebCore::DumpRenderTree::readStdin):
2973 (WebCore::DumpRenderTree::initJSObjects):
2974 (WebCore::DumpRenderTree::dump):
2975 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
2976 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2977 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Removed.
2978 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Removed.
2979 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2980 (LayoutTestController::notifyDone):
2981 (LayoutTestController::timerEvent):
2982 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2984 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
2986 2007-01-15 Justin Garcia <justin.garcia@apple.com>
2990 <rdar://problem/4810960>
2991 Gmail Editor: window.focus() called on keyDown (9640)
2993 * DumpRenderTree/EventSendingController.m: Send the keyDown event
2994 to the firstResponder, not the event's locationInWindow. A
2995 key press's locationInWindow is meaningless and just a dummy
2998 2007-01-15 Eric Seidel <eric@webkit.org>
3002 Add a script to keep our header guards squeaky clean.
3004 * Scripts/clean-header-guards: Added.
3006 2007-01-15 Lars Knoll <lars@trolltech.com>
3010 Fix a few smaller issues in here, and update
3011 our list of skipped tests.
3013 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3014 (WebCore::DumpRenderTree::DumpRenderTree):
3015 (WebCore::DumpRenderTree::readStdin):
3016 (WebCore::DumpRenderTree::dump):
3017 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3018 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3019 (LayoutTestController::LayoutTestController):
3020 (LayoutTestController::reset):
3021 (LayoutTestController::waitUntilDone):
3022 (LayoutTestController::notifyDone):
3023 (LayoutTestController::dumpEditingCallbacks):
3024 (LayoutTestController::timerEvent):
3025 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
3026 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
3028 2007-01-14 Mark Rowe <mrowe@apple.com>
3032 <rdar://problem/4908909> Need to create Leopard nightly build
3034 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Always use the 10.4 Universal SDK. The disk images don't mount pre-10.4 so we aren't losing anything here.
3035 * WebKitLauncher/WebKitNightlyEnabler.m:
3036 (poseAsWebKitApp): Simplify CoreFoundation-related hackery by using _CFGetProcessPath instead of walking the mach-o symbol tables. The smaller timeframe where the
3037 CFProcessPath environment variable is set allows this to work correctly on Leopard where the old code failed.
3038 (enableWebKitNightlyBehaviour):
3039 * WebKitLauncher/main.m:
3040 (main): Pass executable path as WebKitAppPath rather than CFProcessPath to prevent it being picked up too early by CoreFoundation.
3041 * Drosera/launcher.m:
3044 2007-01-12 Lars Knoll <lars@trolltech.com>
3048 Get DumpRenderTree to work again for the Qt build.
3050 Make run-webkit-tests a little less verbose when testing
3051 Qt, and add an option to run DumpRenderTree inside valgrind
3052 (useful for debugging)
3054 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3055 (WebCore::DumpRenderTree::DumpRenderTree):
3056 (WebCore::DumpRenderTree::~DumpRenderTree):
3057 (WebCore::DumpRenderTree::open):
3058 (WebCore::DumpRenderTree::dump):
3059 (WebCore::DumpRenderTree::maybeDump):
3060 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3061 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
3062 (WebCore::DumpRenderTreeClient::dispatchDidHandleOnloadEvents):
3063 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
3064 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
3065 * Scripts/run-webkit-tests:
3067 2007-01-12 Zack Rusin <zack@kde.org>
3069 Add WEBKIT_FULLBUILD env variable to get the
3070 build do a make clean before make to cleanout the
3071 stale depenendencies (for buildbot mainly).
3073 * Scripts/webkitdirs.pm:
3075 2007-01-11 Mitz Pettel <mitz@webkit.org>
3079 - http://bugs.webkit.org/show_bug.cgi?id=10249
3080 Temporarily disable tests that are causing kernel panics
3082 Changed the ImageDiff tool not to use CoreImage filters.
3084 * DumpRenderTree/ImageDiff.m:
3086 (createImageFromStdin):
3088 (getDifferenceBitmap):
3090 2007-01-11 Lars Knoll <lars@trolltech.com>
3094 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3096 2007-01-11 Lars Knoll <lars@trolltech.com>
3100 Adjust to loader changes.
3102 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3103 (WebCore::DumpRenderTree::DumpRenderTree):
3105 2007-01-06 George Staikos <staikos@kde.org>
3107 This doesn't build on all unix platforms!
3109 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3111 2007-01-05 Zack Rusin <zack@kde.org>
3115 Fix the undefined warnings and try to detect
3116 the DISPLAY properly.
3118 * Scripts/run-webkit-tests:
3120 2007-01-05 David Kilzer <ddkilzer@webkit.org>
3122 Reviewed by Mark Rowe.
3124 Speed up svn-create-patch for copied and moved files.
3126 * Scripts/svn-create-patch:
3127 (manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN'
3128 so svn pulls original from local disk.
3130 2007-01-04 Lars Knoll <lars@trolltech.com>
3132 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3133 Link with RPATH to (hopefully) get the automatic tests working.
3135 2007-01-03 Mark Rowe <bdash@webkit.org>
3139 * Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used.
3141 2007-01-02 Zack Rusin <zack@kde.org>
3143 Make it work after javascriptcore/bindings changes.
3145 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3146 (WebCore::DumpRenderTree::initJSObjects):
3147 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3149 2007-01-01 David Kilzer <ddkilzer@webkit.org>
3153 http://bugs.webkit.org/show_bug.cgi?id=12023
3154 svn-create-patch and friends should handle moved/copied files
3156 * Scripts/svn-apply: Identify copied files and handle those before all other patches.
3157 * Scripts/svn-create-patch: Generate patches with subtle changes for copied files.
3158 (findMimeType($)): Added.
3159 (findModificationTime($)): Added.
3160 (findSourceFileAndRevision($)): Added.
3161 (generateDiff($$$)): Changed to use svn stat instead of svn diff.
3162 (isBinaryMimeType($)): Added.
3163 (manufacturePatchForAdditionWithHistory($$)): Added.
3164 * Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches.
3166 2006-12-29 Eric Seidel <eric@webkit.org>
3170 Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage
3172 * DumpRenderTree/DumpRenderTree.m:
3173 (dumpRenderTree): clear WebCore cache before exiting
3175 2006-12-29 David Kilzer <ddkilzer@webkit.org>
3177 Reviewed by NOBODY (build fix).
3179 Reverted last commit until WebResourceData issue is fixed.
3181 http://bugs.webkit.org/show_bug.cgi?id=11882
3182 Need a way to regression test .webarchive output files
3184 * DumpRenderTree/DumpRenderTree.m:
3185 (serializeWebArchiveToXML): Removed.
3187 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3188 (-[LayoutTestController dumpAsWebArchive]): Removed.
3191 2006-12-28 David Kilzer <ddkilzer@webkit.org>
3195 http://bugs.webkit.org/show_bug.cgi?id=11882
3196 Need a way to regression test .webarchive output files
3198 Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
3199 Saves WebArchive plist in xml format, then alters file:// URLs to remove path
3200 where WebKit was checked out.
3202 * DumpRenderTree/DumpRenderTree.m:
3203 (serializeWebArchiveToXML): Added.
3205 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3206 (-[LayoutTestController dumpAsWebArchive]): Added.
3209 2006-12-28 George Staikos <staikos@kde.org>
3213 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11
3215 2006-12-27 Geoffrey Garen <ggaren@apple.com>
3217 Reviewed by Eric Seidel. Prose edited by Mitz Pettel.
3219 Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html.
3221 No behavior change. Layout tests pass.
3223 * DumpRenderTree/DumpRenderTree.h: Exported the done BOOL in place of the
3224 doneLoading() accessor function. This matches the rest of DRT's exports and
3225 makes it easier to search for clients who check (!done).
3227 * DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so
3228 it would cover both code paths for calling runTest().
3230 (dumpRenderTree): "doneLoading()" => "done"
3232 * DumpRenderTree/EditingDelegate.m: ditto
3233 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): ditto
3234 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): ditto
3235 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): ditto
3236 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): ditto
3237 (-[EditingDelegate webView:shouldDeleteDOMRange:]): ditto
3238 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): ditto
3239 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): ditto
3240 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): ditto
3241 (-[EditingDelegate webViewDidBeginEditing:]): ditto
3242 (-[EditingDelegate webViewDidChange:]): ditto
3243 (-[EditingDelegate webViewDidEndEditing:]): ditto
3244 (-[EditingDelegate webViewDidChangeTypingStyle:]): ditto
3245 (-[EditingDelegate webViewDidChangeSelection:]): ditto
3246 * DumpRenderTree/UIDelegate.m: ditto
3247 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): ditto
3249 2006-12-26 Eric Seidel <eric@webkit.org>
3251 Reviewed by bradee-oh.
3253 Add very simple run-pageloadtest script for running SVG page load test.
3255 * Scripts/run-pageloadtest: Added.
3257 2006-12-26 Geoffrey Garen <ggaren@apple.com>
3259 Reviewed by Eric Seidel.
3261 Some cleanup in preparation for fixing <rdar://problem/4740328> Safari
3262 crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance
3264 (dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase."
3266 2006-12-23 Geoffrey Garen <ggaren@apple.com>
3268 Reviewed by Maciej Stachowiak.
3270 Added --threaded support to run-webkit-tests and DumpRenderTree.
3272 In "threaded" mode, DRT runs a concurrent JavaScript thread with each test,
3273 stressing the thread safety of JavaScriptCore and the JavaScriptCore/WebCore
3274 interface. This is useful for tracking down bugs you might see on a system
3275 configured to use a PAC file.
3277 Ironically, I can proudly state that very few layout tests pass.
3279 * DumpRenderTree/DumpRenderTree.m: Added javaScriptThread and helper functions
3280 for starting and stopping it.
3281 (runJavaScriptThread): helper function
3282 (startJavaScriptThread): helper function
3283 (stopJavaScriptThread): helper function
3285 (dumpRenderTree): Added --threaded command line argument.
3286 * Scripts/run-webkit-tests: ditto
3288 2006-12-22 Mark Rowe <bdash@webkit.org>
3292 Fix for <rdar://problem/4265976>
3293 prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method
3295 * Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration.
3297 2006-12-21 Mark Rowe <bdash@webkit.org>
3299 Reviewed by Tim Hatcher.
3301 http://bugs.webkit.org/show_bug.cgi?id=11922
3302 Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame
3304 * Drosera/DebuggerDocument.m:
3305 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): Use an anonymous function with function.call to
3306 ensure that the properties are being retrieved from the correct scope object.
3308 2006-12-21 Lars Knoll <lars@trolltech.com>
3312 Add support for the layoutTestController JavaScript object
3313 to be able to get textOnly dumps.
3314 Added a Qt specific hack to always get the same fonts (the ones
3315 added in this submit) and the same dpi when running the layout tests.
3316 Modified the run-webkit-tests script to also do a comparison to the
3317 Mac generated outputs (by stripping out positioning information).
3319 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3320 (WebCore::DumpRenderTree::DumpRenderTree):
3321 (WebCore::DumpRenderTree::open):
3322 (WebCore::DumpRenderTree::resetJSObjects):
3323 (WebCore::DumpRenderTree::initJSObjects):
3324 (WebCore::DumpRenderTree::dump):
3325 (WebCore::DumpRenderTree::checkLoaded):
3326 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3327 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3328 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
3329 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
3330 (WebCore::DumpRenderTreeClient::partClearedInBegin):
3331 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
3332 * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Added.
3333 (QX11Info::appDpiY):
3334 (QX11Info::appDpiX):
3335 (qt_x11ft_convert_pattern):
3336 (LayoutTestController::LayoutTestController):
3337 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: Added.
3338 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: Added.
3339 (LayoutTestController::shouldDumpAsText):
3340 (LayoutTestController::shouldWaitUntilDone):
3341 (LayoutTestController::reset):
3342 (LayoutTestController::dumpAsText):
3343 (LayoutTestController::waitUntilDone):
3344 (LayoutTestController::notifyDone):
3345 * DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF: Added.
3346 * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Added.
3347 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Added.
3348 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Added.
3349 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Added.
3350 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Added.
3351 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Added.
3352 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Added.
3353 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Added.
3354 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Added.
3355 * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Added.
3356 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Added.
3357 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Added.
3358 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Added.
3359 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Added.
3360 * Scripts/run-webkit-tests:
3362 2006-12-21 Mark Rowe <bdash@webkit.org>
3366 http://bugs.webkit.org/show_bug.cgi?id=11888
3367 Bug 11888: REGRESSION (r18320): Web Inspector panes broken
3369 * Drosera/debugger.js: Use removeProperty to reset a style property to its initial value.
3371 2006-12-18 Geoffrey Garen <ggaren@apple.com>
3373 Reviewed by Beth Dakin.
3375 Updated EventSender to be able to send mouse up events outside the WebView.
3376 This is a minor tweak to a hackish implementation. The real solution
3377 should be to use NSApplication's event sending model instead of rolling
3378 our own, but I don't have time for that right now.
3380 * DumpRenderTree/EventSendingController.m:
3381 (-[EventSendingController mouseUp]):
3383 2006-12-15 Marvin Decker <marv.decker@gmail.com>
3385 Reviewed by Darin and Alexey.
3387 Fix the Windows build, move various Client implementations out of
3388 WebCore and into WebKit.
3390 * Spinneret/Spinneret.sln:
3392 2006-12-14 Timothy Hatcher <timothy@apple.com>
3396 * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
3398 2006-12-13 Zack Rusin <zack@kde.org>
3402 Use the qmake build by default with Qt - it's the one that works
3405 * Scripts/build-webkit:
3406 * Scripts/webkitdirs.pm:
3408 2006-12-10 Lars Knoll <lars@trolltech.com>
3412 Some more fixes to the dumprendertree application.
3413 Fix the run-webkit-tests script for Qt.
3415 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3416 (WebCore::DumpRenderTree::open):
3417 (WebCore::DumpRenderTree::readStdin):
3418 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3419 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
3420 * Scripts/run-webkit-tests:
3421 * Scripts/webkitdirs.pm:
3423 2006-12-10 Rob Buis <buis@kde.org>
3427 * DumpRenderTree/DumpRenderTree.m:
3430 2006-12-10 Lars Knoll <lars@trolltech.com>
3434 Get the DumpRenderTree app to compile again
3436 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3437 (WebCore::DumpRenderTree::DumpRenderTree):
3438 (WebCore::DumpRenderTree::open):
3439 (WebCore::DumpRenderTree::readStdin):
3440 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
3441 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
3442 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
3443 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
3444 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3447 2006-12-09 George Staikos <staikos@kde.org>
3451 Repair QMake build on OS X.
3453 * Scripts/build-webkit:
3455 2006-12-09 Zack Rusin <zack@kde.org>
3457 Fixing small mistakes in the build scripts for
3460 * Scripts/build-webkit:
3461 * Scripts/webkitdirs.pm:
3463 2006-12-09 Simon Hausmann <hausmann@kde.org>
3467 Add support for a QMake build using build-webkit --qmake
3469 * Scripts/build-webkit:
3470 * Scripts/webkitdirs.pm:
3472 2006-12-09 George Staikos <staikos@kde.org>
3476 Remove reference to Unity.
3478 * Scripts/webkitdirs.pm:
3480 2006-12-08 Zack Rusin <zack@kde.org>
3484 Fix the compile after recent API changes.
3486 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3487 (WebCore::DumpRenderTree::DumpRenderTree):
3488 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3491 2006-12-08 George Staikos <staikos@kde.org>
3495 Build Qt webkit on non-linux, and prefer it if $QTDIR is set
3497 * Scripts/build-webkit:
3498 * Scripts/webkitdirs.pm:
3500 2006-12-06 Steve Falkenburg <sfalken@apple.com>
3502 Support C strings for localization
3504 * Scripts/extract-localizable-strings:
3506 2006-12-04 Steve Falkenburg <sfalken@apple.com>
3510 Make extract-localizable-strings compatible with cpp file extensions.
3512 * Scripts/extract-localizable-strings:
3514 2006-11-21 Darin Adler <darin@apple.com>
3518 - a couple changes to reduce the chance of false positives on the leakbot
3520 * DumpRenderTree/DumpRenderTree.m:
3521 (dumpRenderTree): Move the main function into a separate function so we can run
3522 a final garbage collect afterward without any stray values on the stack. Replaced
3523 the old way of closing down a WebView (setting the delegates to nil) with the new
3524 way (calling the close method), which does a more complete job of shutting
3525 everything down without waiting for the WebView object to be deallocated.
3526 (main): Put auto-release pool here and added an explicit call to garbage collect.
3527 With a separate function, we greatly reduce the chance that a stray address on the
3528 stack will keep an object alive.
3530 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
3531 because I don't have what it takes to fight the power.
3533 2006-11-17 Zack Rusin <zack@kde.org>
3535 Reviewed by Mitz. Landed by Niko.
3539 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3540 (WebCore::DumpRenderTree::DumpRenderTree): Adding
3541 ContextMenuClient to the constructor
3543 2006-11-12 Mark Rowe <bdash@webkit.org>
3547 Clean up of GdkLauncher bakefile.
3549 * GdkLauncher/gdklauncher.bkl:
3551 2006-11-11 Nikolas Zimmermann <zimmermann@kde.org>
3553 Reviewed and landed by Anders.
3555 Make DRT work again on Qt/Linux.
3557 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3558 (WebCore::DumpRenderTree::DumpRenderTree):
3560 2006-11-10 Zack Rusin <zack@kde.org>
3562 Reviewed and landed by Anders.
3564 Adjusting to the recent loader changes, making it compile
3567 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3568 (WebCore::DumpRenderTree::DumpRenderTree):
3569 (WebCore::DumpRenderTree::checkLoaded):
3570 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3572 2006-11-10 Zack Rusin <zack@kde.org>
3576 Making the Qt code work after refactorings in WebCore.
3578 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3579 (WebCore::DumpRenderTree::DumpRenderTree):
3580 (WebCore::DumpRenderTree::checkLoaded):
3581 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3583 2006-11-08 Darin Adler <darin@apple.com>
3587 - same change as below, only tested this time
3589 * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
3590 mode off. I think we need to do this because WebPreferences saves things
3591 for us automatically. It would be good to turn that off for DumpRenderTree,
3592 but for now lets handle this like the other preferences (set it explicitly
3595 2006-11-08 Darin Adler <darin@apple.com>
3599 * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
3600 "tab to links" mode. No current tests depend on this, and there's a new
3601 test I want to land that depends on the default setting.
3603 2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
3607 Linux\gdk build fixes.
3609 * GdkLauncher/main.cpp:
3610 (LauncherFrameGdk::LauncherFrameGdk):
3613 2006-11-06 Alexey Proskuryakov <ap@nypop.com>
3615 Build fix, approved in principle by Tim H.
3617 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3618 Disable deprecated warnings for main.c (TestNetscapePlugin),
3619 as it now uses QuickDraw to convert mouse event coordinates.
3621 2006-11-05 Timothy Hatcher <timothy@apple.com>
3625 Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
3626 http://bugs.webkit.org/show_bug.cgi?id=11525