1 2007-09-25 Adam Roben <aroben@apple.com>
3 Add WebKitInitializer and use it in DumpRenderTree
5 WebKitInitializer is a static library that has one function,
6 initializeWebKit(). This registers WebKit and sets up the DLL search
7 path so that WebKit's dependencies that are installed with Safari can
12 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
13 DumpRenderTree depend on it.
14 * DumpRenderTree/win/DumpRenderTree.cpp:
15 (initialize): Call initializeWebKit.
16 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
17 WebKitInitializer.lib.
18 * WebKitInitializer/WebKitInitializer.cpp: Added.
21 (getInstalledWebKitDirectory):
23 * WebKitInitializer/WebKitInitializer.h: Added.
24 * WebKitInitializer/WebKitInitializer.vcproj: Added.
25 * WebKitInitializer/debug.vsprops: Added.
26 * WebKitInitializer/release.vsprops: Added.
28 2007-09-25 Adam Roben <aroben@apple.com>
30 Make run-webkit-tests respect set-webkit-configuration
34 * Scripts/run-webkit-tests: Initialize $configuration to whatever
35 set-webkit-configuration was last set to.
37 2007-09-25 Mark Rowe <mrowe@apple.com>
39 Rubber-stamped by Eric.
41 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
42 This makes it possible to automate nightly builds for the feature-branch.
44 2007-09-25 Adam Roben <aroben@apple.com>
46 A couple of fixes/enhancements to update-webkit-*-libs
48 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
49 to tell update-webkit-support-libraries where it should find the
50 WebKitSupportLibrary.zip file you downloaded.
52 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
57 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
58 to $auxiliaryLibsURL and removed an irrelevant comment.
59 * Scripts/update-webkit-support-libs:
61 2007-09-25 Adam Treat <treat@kde.org>
63 Reviewed by Simon and Lars.
65 Refactors and cleans up Qt DRT member variable names, member variable
66 initialization, style fixes and general code cleanup.
68 Adds queueReload slot to LayoutTestController that some tests require.
70 Subclasses QWebFrame to make sure that all frames have an associated
71 LayoutTestController JS window object.
73 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
78 Together, this patch fixes some 20+ layout tests in QtWebKit.
80 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
81 (WebCore::WebFrame::WebFrame):
82 (WebCore::WebPage::WebPage):
83 (WebCore::WebPage::createFrame):
84 (WebCore::DumpRenderTree::DumpRenderTree):
85 (WebCore::DumpRenderTree::open):
86 (WebCore::DumpRenderTree::readStdin):
87 (WebCore::DumpRenderTree::initJSObjects):
88 (WebCore::DumpRenderTree::dump):
89 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
90 (WebCore::DumpRenderTree::layoutTestController):
91 (WebCore::DumpRenderTree::eventSender):
92 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
93 (LayoutTestController::LayoutTestController):
94 (LayoutTestController::reset):
95 (LayoutTestController::maybeDump):
96 (LayoutTestController::waitUntilDone):
97 (LayoutTestController::notifyDone):
98 (LayoutTestController::queueReload):
99 (LayoutTestController::provisionalLoad):
100 (EventSender::EventSender):
101 (EventSender::mouseDown):
102 (EventSender::mouseUp):
103 (EventSender::mouseMoveTo):
104 (EventSender::frameUnderMouse):
105 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
106 (LayoutTestController::isLoading):
107 (LayoutTestController::setLoading):
108 (LayoutTestController::dumpAsText):
109 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
112 2007-09-24 Kevin McCullough <kmccullough@apple.com>
115 - Reverted an accidentally checked in file.
117 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
119 2007-09-24 Kevin McCullough <kmccullough@apple.com>
122 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
124 * DumpRenderTree/win/DumpRenderTree.vcproj:
125 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
127 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
129 Rubber stamped by Adam.
131 * GdkLauncher: Removed.
132 * GdkLauncher/Bakefiles.bkgen: Removed.
133 * GdkLauncher/ENV: Removed.
134 * GdkLauncher/GdkLauncher.pro: Removed.
135 * GdkLauncher/gdklauncher.bkl: Removed.
136 * GdkLauncher/main.cpp: Removed.
137 * GdkLauncher/mk: Removed.
138 * GdkLauncher/simple.svg: Removed.
139 * GdkLauncher/text.html: Removed.
140 * GtkLauncher: Added.
141 * GtkLauncher/GdkLauncher.pro: Removed.
142 * GtkLauncher/GtkLauncher.pro: Added.
143 * GtkLauncher/main.cpp:
146 * Scripts/build-webkit:
147 * Scripts/regenerate-makefiles:
148 * Scripts/run-javascriptcore-tests:
149 * Scripts/run-launcher:
150 * Scripts/run-webkit-tests:
151 * Scripts/webkitdirs.pm:
153 2007-09-21 Timothy Hatcher <timothy@apple.com>
157 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
159 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
160 This is tested by plugins/root-object-premature-delete-crash.html.
162 * DumpRenderTree/mac/ObjCController.m:
163 (-[ObjCController accessStoredWebScriptObject]):
165 2007-09-21 Kevin McCullough <kmccullough@apple.com>
169 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
171 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
172 (FrameLoadDelegate::FrameLoadDelegate):
174 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
178 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
179 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
181 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
182 Now isQt() and isGdk() use global variables that are only set once.
184 An array of all the parameters is now given to build-dumprender which includes
185 the platform on linux.
187 * Scripts/build-dumprendertree:
188 * Scripts/run-webkit-tests:
189 * Scripts/webkitdirs.pm:
191 2007-09-19 Adam Roben <aroben@apple.com>
193 Rubberstamped by Hyatt.
195 * Spinneret: Removed.
197 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
199 Reviewed by David Kilzer.
201 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
203 2007-09-18 Sam Weinig <sam@webkit.org>
205 Add JSRetainPtr.h #include to fix some builds.
207 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
209 2007-09-18 Mike Hommey <glandium@debian.org>
213 * Scripts/prepare-ChangeLog:
214 - Properly parse GECOS field.
215 - Use git configuration for user name and email when appropriate.
217 2007-09-17 Sam Weinig <sam@webkit.org>
221 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
223 2007-09-17 Sam Weinig <sam@webkit.org>
225 Reviewed by Adam Roben.
227 Share more code between mac and windows DRT.
228 - GCController is now shared.
229 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
231 * DumpRenderTree/GCController.cpp:
232 * DumpRenderTree/win/DumpRenderTree.cpp:
233 * DumpRenderTree/win/DumpRenderTree.vcproj:
234 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
235 (FrameLoadDelegate::FrameLoadDelegate):
236 (FrameLoadDelegate::~FrameLoadDelegate):
237 (FrameLoadDelegate::windowScriptObjectAvailable):
238 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
239 * DumpRenderTree/win/GCController.cpp: Removed.
240 * DumpRenderTree/win/GCController.h: Removed.
241 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
242 (GCController::collect):
243 (GCController::collectOnAlternateThread):
244 (GCController::getJSObjectCount):
245 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
246 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
248 2007-09-17 Sam Weinig <sam@webkit.org>
250 Reviewed by Adam Roben.
252 Begin sharing code between mac and windows DRT.
253 - both now share LayoutTestController.h/cpp and implement platform dependant
254 operations in LayoutTestControllerMac/Win.
255 - DumpRenderTree.h is now shared.
256 - WorkQueue and WorkQueueItem are also shared.
258 * DumpRenderTree/DumpRenderTree.h:
259 * DumpRenderTree/LayoutTestController.cpp:
260 * DumpRenderTree/win/DumpRenderTree.cpp:
262 (dumpFrameScrollPosition):
266 * DumpRenderTree/win/DumpRenderTree.h: Removed.
267 * DumpRenderTree/win/DumpRenderTree.vcproj:
268 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
269 * DumpRenderTree/win/EditingDelegate.cpp:
270 (EditingDelegate::shouldBeginEditingInDOMRange):
271 (EditingDelegate::shouldEndEditingInDOMRange):
272 (EditingDelegate::shouldInsertNode):
273 (EditingDelegate::shouldInsertText):
274 (EditingDelegate::shouldDeleteDOMRange):
275 (EditingDelegate::shouldChangeSelectedDOMRange):
276 (EditingDelegate::shouldApplyStyle):
277 (EditingDelegate::shouldChangeTypingStyle):
278 (EditingDelegate::doPlatformCommand):
279 (EditingDelegate::webViewDidBeginEditing):
280 (EditingDelegate::webViewDidChange):
281 (EditingDelegate::webViewDidEndEditing):
282 (EditingDelegate::webViewDidChangeTypingStyle):
283 (EditingDelegate::webViewDidChangeSelection):
284 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
285 * DumpRenderTree/win/LayoutTestController.h: Removed.
286 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
287 (LayoutTestController::addDisallowedURL):
288 (LayoutTestController::clearBackForwardList):
289 (LayoutTestController::copyDecodedHostName):
290 (LayoutTestController::copyEncodedHostName):
291 (LayoutTestController::display):
292 (LayoutTestController::keepWebHistory):
293 (LayoutTestController::notifyDone):
294 (LayoutTestController::queueBackNavigation):
295 (LayoutTestController::queueForwardNavigation):
296 (jsStringRefToWString):
297 (LayoutTestController::queueLoad):
298 (LayoutTestController::queueReload):
299 (LayoutTestController::queueScript):
300 (LayoutTestController::setAcceptsEditing):
301 (LayoutTestController::setCustomPolicyDelegate):
302 (LayoutTestController::setMainFrameIsFirstResponder):
303 (LayoutTestController::setTabKeyCyclesThroughElements):
304 (LayoutTestController::setUseDashboardCompatibilityMode):
305 (LayoutTestController::setUserStyleSheetEnabled):
306 (LayoutTestController::setUserStyleSheetLocation):
307 (LayoutTestController::setWindowIsKey):
308 (waitUntilDoneWatchdogFired):
309 (LayoutTestController::setWaitToDump):
310 (LayoutTestController::windowCount):
311 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
312 (FrameLoadDelegate::didReceiveTitle):
313 (FrameLoadDelegate::processWork):
314 (FrameLoadDelegate::locationChangeDone):
315 (FrameLoadDelegate::windowScriptObjectAvailable):
316 * DumpRenderTree/win/WorkQueue.cpp: Removed.
317 * DumpRenderTree/win/WorkQueue.h: Removed.
318 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
319 * DumpRenderTree/win/WorkQueueItem.h: Removed.
320 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
321 (jsStringRefToWString):
323 (ScriptItem::invoke):
325 2007-09-17 Sam Weinig <sam@webkit.org>
327 Reviewed by Adam Roben.
329 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
331 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
332 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
333 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
334 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
335 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
336 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
337 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
338 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
339 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
340 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
341 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
342 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
343 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
344 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
345 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
346 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
347 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
348 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
349 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
350 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
351 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
352 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
353 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
354 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
355 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
356 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
357 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
358 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
359 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
360 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
361 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
362 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
363 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
364 * DumpRenderTree/win: Added.
365 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
366 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
367 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
368 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
369 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
370 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
371 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
372 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
373 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
374 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
375 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
376 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
377 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
378 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
379 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
380 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
381 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
382 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
383 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
384 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
385 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
386 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
387 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
388 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
389 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
390 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
392 2007-09-15 Mark Rowe <mrowe@apple.com>
394 Build fix for DumpRenderTree.
396 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
398 2007-09-14 Sam Weinig <sam@webkit.org>
400 Rubber stamped by Adam Roben.
402 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
403 - The UIDelegate was put into a new file while the FrameLoadDelegate was
404 kept in the WaitUntilDoneDelegate file for the time being.
406 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
408 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
409 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
410 (UIDelegate::QueryInterface):
411 (UIDelegate::AddRef):
412 (UIDelegate::Release):
413 (UIDelegate::hasCustomMenuImplementation):
414 (UIDelegate::setFrame):
415 (UIDelegate::webViewFrame):
416 (UIDelegate::runJavaScriptAlertPanelWithMessage):
417 (UIDelegate::webViewAddMessageToConsole):
418 (UIDelegate::doDragDrop):
419 (UIDelegate::webViewGetDlgCode):
420 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
421 (UIDelegate::UIDelegate):
422 (UIDelegate::createWebViewWithRequest):
423 (UIDelegate::webViewShow):
424 (UIDelegate::webViewClose):
425 (UIDelegate::webViewFocus):
426 (UIDelegate::webViewUnfocus):
427 (UIDelegate::webViewFirstResponder):
428 (UIDelegate::makeFirstResponder):
429 (UIDelegate::setStatusText):
430 (UIDelegate::webViewStatusText):
431 (UIDelegate::webViewAreToolbarsVisible):
432 (UIDelegate::setToolbarsVisible):
433 (UIDelegate::webViewIsStatusBarVisible):
434 (UIDelegate::setStatusBarVisible):
435 (UIDelegate::webViewIsResizable):
436 (UIDelegate::setResizable):
437 (UIDelegate::setContentRect):
438 (UIDelegate::webViewContentRect):
439 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
440 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
441 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
442 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
443 (UIDelegate::mouseDidMoveOverElement):
444 (UIDelegate::contextMenuItemsForElement):
445 (UIDelegate::validateUserInterfaceItem):
446 (UIDelegate::shouldPerformAction):
447 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
448 (UIDelegate::willPerformDragDestinationAction):
449 (UIDelegate::dragSourceActionMaskForPoint):
450 (UIDelegate::willPerformDragSourceAction):
451 (UIDelegate::contextMenuItemSelected):
452 (UIDelegate::trackCustomPopupMenu):
453 (UIDelegate::measureCustomMenuItem):
454 (UIDelegate::drawCustomMenuItem):
455 (UIDelegate::addCustomMenuDrawingData):
456 (UIDelegate::cleanUpCustomMenuDrawingData):
457 (UIDelegate::canTakeFocus):
458 (UIDelegate::takeFocus):
459 (UIDelegate::registerUndoWithTarget):
460 (UIDelegate::removeAllActionsWithTarget):
461 (UIDelegate::setActionTitle):
464 (UIDelegate::canUndo):
465 (UIDelegate::canRedo):
466 (UIDelegate::webViewResizerRect):
467 (UIDelegate::webViewDrawResizer):
468 (UIDelegate::webViewScrolled):
469 (UIDelegate::webViewShouldInterruptJavaScript):
470 (UIDelegate::webViewReceivedFocus):
471 (UIDelegate::webViewLostFocus):
472 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
473 (FrameLoadDelegate::QueryInterface):
474 (FrameLoadDelegate::AddRef):
475 (FrameLoadDelegate::Release):
476 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
477 (FrameLoadDelegate::didCommitLoadForFrame):
478 (FrameLoadDelegate::didReceiveTitle):
479 (FrameLoadDelegate::processWork):
481 (FrameLoadDelegate::locationChangeDone):
482 (FrameLoadDelegate::didFinishLoadForFrame):
483 (FrameLoadDelegate::didFailLoadWithError):
484 (FrameLoadDelegate::windowScriptObjectAvailable):
485 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
486 (FrameLoadDelegate::FrameLoadDelegate):
488 2007-09-14 Sam Weinig <sam@webkit.org>
490 Reviewed by Kevin McCullough.
492 Move mac specific globals in to mac/DumpRenderTreeMac.h
494 * DumpRenderTree/DumpRenderTree.h:
495 * DumpRenderTree/DumpRenderTree.mm: Removed.
496 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
497 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
498 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
500 2007-09-14 Brady Eidson <beidson@apple.com>
502 Rubberstamped by Weinig
504 You know, Sam, some of us use case-sensitve filesystems...
506 * DumpRenderTree/DumpRenderTree.h:
507 * DumpRenderTree/mac/UIDelegate.mm:
509 2007-09-14 Sam Weinig <sam@webkit.org>
511 Rubber stamped by Adam Roben.
513 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
514 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
516 * DumpRenderTree/AppleScriptController.h: Removed.
517 * DumpRenderTree/AppleScriptController.m: Removed.
518 * DumpRenderTree/DumpRenderTree.h:
519 * DumpRenderTree/DumpRenderTree.mm:
520 (startJavaScriptThreads):
521 (stopJavaScriptThreads):
523 (setDefaultColorProfileToRGB):
524 (makeLargeMallocFailSilently):
525 (dumpFrameScrollPosition):
529 (-[DumpRenderTreeWindow isKeyWindow]):
530 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
531 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
532 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
533 * DumpRenderTree/EditingDelegate.h: Removed.
534 * DumpRenderTree/EditingDelegate.m: Removed.
535 * DumpRenderTree/EventSendingController.h: Removed.
536 * DumpRenderTree/EventSendingController.m: Removed.
537 * DumpRenderTree/FrameLoadDelegate.h: Removed.
538 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
539 * DumpRenderTree/GCController.mm: Removed.
540 * DumpRenderTree/ImageDiff.m: Removed.
541 * DumpRenderTree/LayoutTestController.cpp:
542 (LayoutTestController::LayoutTestController):
543 (dumpAsTextCallback):
544 (dumpBackForwardListCallback):
545 (dumpChildFramesAsTextCallback):
546 (dumpChildFrameScrollPositionsCallback):
547 (dumpDOMAsWebArchiveCallback):
548 (dumpEditingCallbacksCallback):
549 (dumpFrameLoadCallbacksCallback):
550 (dumpResourceLoadCallbacksCallback):
551 (dumpSelectionRectCallback):
552 (dumpSourceAsWebArchiveCallback):
553 (dumpTitleChangesCallback):
554 (repaintSweepHorizontallyCallback):
555 (setCallCloseOnWebViewsCallback):
556 (setCanOpenWindowsCallback):
557 (setCloseRemainingWindowsWhenCompleteCallback):
558 (testRepaintCallback):
559 (addFileToPasteboardOnDragCallback):
560 (waitUntilDoneCallback):
561 * DumpRenderTree/LayoutTestController.h:
562 (LayoutTestController::dumpAsText):
563 (LayoutTestController::setDumpAsText):
564 (LayoutTestController::dumpBackForwardList):
565 (LayoutTestController::setDumpBackForwardList):
566 (LayoutTestController::dumpChildFrameScrollPositions):
567 (LayoutTestController::setDumpChildFrameScrollPositions):
568 (LayoutTestController::dumpChildFramesAsText):
569 (LayoutTestController::setDumpChildFramesAsText):
570 (LayoutTestController::dumpDOMAsWebArchive):
571 (LayoutTestController::setDumpDOMAsWebArchive):
572 (LayoutTestController::dumpSelectionRect):
573 (LayoutTestController::setDumpSelectionRect):
574 (LayoutTestController::dumpSourceAsWebArchive):
575 (LayoutTestController::setDumpSourceAsWebArchive):
576 (LayoutTestController::dumpTitleChanges):
577 (LayoutTestController::setDumpTitleChanges):
578 (LayoutTestController::dumpEditingCallbacks):
579 (LayoutTestController::setDumpEditingCallbacks):
580 (LayoutTestController::dumpResourceLoadCallbacks):
581 (LayoutTestController::setDumpResourceLoadCallbacks):
582 (LayoutTestController::dumpFrameLoadCallbacks):
583 (LayoutTestController::setDumpFrameLoadCallbacks):
584 (LayoutTestController::addFileToPasteboardOnDrag):
585 (LayoutTestController::setAddFileToPasteboardOnDrag):
586 (LayoutTestController::callCloseOnWebViews):
587 (LayoutTestController::setCallCloseOnWebViews):
588 (LayoutTestController::canOpenWindows):
589 (LayoutTestController::setCanOpenWindows):
590 (LayoutTestController::closeRemainingWindowsWhenComplete):
591 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
592 (LayoutTestController::testRepaint):
593 (LayoutTestController::setTestRepaint):
594 (LayoutTestController::testRepaintSweepHorizontally):
595 (LayoutTestController::setTestRepaintSweepHorizontally):
596 (LayoutTestController::waitToDump):
597 (LayoutTestController::windowIsKey):
598 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
599 * DumpRenderTree/NavigationController.h: Removed.
600 * DumpRenderTree/NavigationController.m: Removed.
601 * DumpRenderTree/ObjCController.h: Removed.
602 * DumpRenderTree/ObjCController.m: Removed.
603 * DumpRenderTree/ObjCPlugin.h: Removed.
604 * DumpRenderTree/ObjCPlugin.m: Removed.
605 * DumpRenderTree/ObjCPluginFunction.h: Removed.
606 * DumpRenderTree/ObjCPluginFunction.m: Removed.
607 * DumpRenderTree/PolicyDelegate.h: Removed.
608 * DumpRenderTree/PolicyDelegate.m: Removed.
609 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
610 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
611 * DumpRenderTree/TextInputController.h: Removed.
612 * DumpRenderTree/TextInputController.m: Removed.
613 * DumpRenderTree/UIDelegate.h: Removed.
614 * DumpRenderTree/UIDelegate.mm: Removed.
615 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
616 * DumpRenderTree/mac: Added.
617 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
618 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
619 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
620 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
621 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
622 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
623 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
624 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
625 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
626 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
627 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
628 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
629 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
630 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
631 (-[EditingDelegate webViewDidBeginEditing:]):
632 (-[EditingDelegate webViewDidChange:]):
633 (-[EditingDelegate webViewDidEndEditing:]):
634 (-[EditingDelegate webViewDidChangeTypingStyle:]):
635 (-[EditingDelegate webViewDidChangeSelection:]):
636 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
637 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
638 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
639 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
640 (-[FrameLoadDelegate init]):
641 (-[FrameLoadDelegate dealloc]):
642 (-[FrameLoadDelegate processWork:]):
643 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
644 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
645 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
646 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
647 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
648 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
649 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
650 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
651 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
652 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
653 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
654 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
655 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
656 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
657 (-[FrameLoadDelegate webView:willCloseFrame:]):
658 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
659 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
660 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
661 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
662 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
663 (LayoutTestController::notifyDone):
664 (LayoutTestController::setWindowIsKey):
665 (LayoutTestController::setWaitToDump):
666 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
667 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
668 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
669 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
670 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
671 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
672 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
673 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
674 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
675 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
676 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
677 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
678 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
679 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
680 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
681 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
682 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
683 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
684 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
685 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
686 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
687 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
688 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
689 (-[UIDelegate webViewFocus:]):
690 (-[UIDelegate webView:createWebViewWithRequest:]):
691 (-[UIDelegate webViewClose:]):
692 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
694 2007-09-14 Kevin McCullough <kmccullough@apple.com>
698 - Changing Win version of Drosera work with recent changes.
700 * Drosera/DebuggerDocument.cpp:
701 * Drosera/DebuggerDocument.h:
702 * Drosera/mac/DebuggerDocumentPlatform.mm:
703 (NSStringCreateWithJSStringRef):
704 (JSValueRefCreateWithNSString):
705 * Drosera/win/DebuggerClient.cpp:
706 (DebuggerClient::stepInto):
707 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
709 2007-09-13 Kevin McCullough <kmccullough@apple.com>
713 - Moved isPaused into the JS for efficiency and simplicity.
715 * Drosera/DebuggerDocument.cpp:
716 (DebuggerDocument::DebuggerDocument):
717 (DebuggerDocument::pauseCallback):
718 (DebuggerDocument::resumeCallback):
719 (DebuggerDocument::isPaused):
720 (DebuggerDocument::staticFunctions):
721 * Drosera/DebuggerDocument.h:
722 * Drosera/console.js:
723 * Drosera/debugger.js:
724 * Drosera/mac/DebuggerClient.mm:
725 (-[DebuggerClient validateUserInterfaceItem:]):
727 2007-09-13 Sam Weinig <sam@webkit.org>
729 Rubber stamped by Darin.
731 Make DumpRenderTree more cross platform ready.
732 - Convert GCController to use the JSCore API instead of the WebScriptObject.
733 - Use CF types instead of NS objects.
736 * DumpRenderTree/DumpRenderTree.h:
737 * DumpRenderTree/DumpRenderTree.mm:
741 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
742 * DumpRenderTree/EditingDelegate.m:
743 * DumpRenderTree/FrameLoadDelegate.h:
744 * DumpRenderTree/FrameLoadDelegate.mm:
745 (-[FrameLoadDelegate init]):
746 (-[FrameLoadDelegate dealloc]):
747 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
748 * DumpRenderTree/GCController.cpp: Added.
749 (GCController::GCController):
750 (GCController::~GCController):
752 (collectOnAlternateThreadCallback):
753 (getJSObjectCountCallback):
754 (GCController::makeWindowObject):
755 (GCController::getJSClass):
756 (GCController::staticFunctions):
757 * DumpRenderTree/GCController.h:
758 * DumpRenderTree/GCController.mm:
759 (GCController::collect):
760 (GCController::collectOnAlternateThread):
761 (GCController::getJSObjectCount):
762 * DumpRenderTree/LayoutTestController.cpp:
763 (LayoutTestController::makeWindowObject):
764 (LayoutTestController::getJSClass):
765 * DumpRenderTree/LayoutTestController.h:
766 * DumpRenderTree/LayoutTestControllerMac.mm:
767 (LayoutTestController::addDisallowedURL):
768 (waitUntilDoneWatchdogFired):
769 (LayoutTestController::waitUntilDone):
770 * DumpRenderTree/ResourceLoadDelegate.m:
771 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
773 2007-09-12 Sam Weinig <sam@webkit.org>
775 Reviewed by Stephanie.
777 Fix leaks in mac DumpRenderTree.
779 * DumpRenderTree/FrameLoadDelegate.mm:
780 (-[FrameLoadDelegate init]): Initalize in the correct order.
781 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
782 * DumpRenderTree/LayoutTestController.cpp:
783 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
784 (encodeHostNameCallback): ditto.
785 * DumpRenderTree/LayoutTestController.h:
786 * DumpRenderTree/LayoutTestControllerMac.mm:
787 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
788 (LayoutTestController::copyEncodedHostName): ditto
789 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
791 2007-09-12 Kevin McCullough <kmccullough@apple.com>
795 - Updated Leopard leak list to include a leak which appears to be fixed in 9A549 but not the version the bot is on. This will allow us to get the bot green, but later we should remove it.
797 * Scripts/run-webkit-tests:
799 2007-09-12 Kevin McCullough <kmccullough@apple.com>
803 - Simplified code paths and extracted out functions to increase encapsulation.
805 * Drosera/DebuggerDocument.cpp:
806 (DebuggerDocument::breakpointEditorHTMLCallback):
807 (DebuggerDocument::isPausedCallback):
808 (DebuggerDocument::pauseCallback):
809 (DebuggerDocument::resumeCallback):
810 (DebuggerDocument::stepIntoCallback):
811 (DebuggerDocument::evaluateScriptCallback):
812 (DebuggerDocument::currentFunctionStackCallback):
813 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
814 (DebuggerDocument::valueForScopeVariableNamedCallback):
815 (DebuggerDocument::logCallback):
816 * Drosera/DebuggerDocument.h:
817 (DebuggerDocument::getPaused):
818 * Drosera/mac/DebuggerClient.mm:
819 (-[DebuggerClient pause:]):
820 (-[DebuggerClient resume:]):
821 (-[DebuggerClient stepInto:]):
822 (-[DebuggerClient stepOver:]):
823 (-[DebuggerClient stepOut:]):
824 (-[DebuggerClient showConsole:]):
825 (-[DebuggerClient closeCurrentFile:]):
826 (-[DebuggerClient validateUserInterfaceItem:]):
827 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
828 (+[NSString stringOrNilFromWebScriptResult:]):
829 (DebuggerDocument::platformPause):
830 (DebuggerDocument::platformResume):
831 (DebuggerDocument::platformStepInto):
832 (DebuggerDocument::platformEvaluateScript):
833 (DebuggerDocument::getPlatformCurrentFunctionStack):
834 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
835 (DebuggerDocument::platformValueForScopeVariableNamed):
836 (DebuggerDocument::platformLog):
837 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
839 2007-09-12 Sam Weinig <sam@webkit.org>
841 Build fix for Buildbot.
843 * DumpRenderTree/DumpRenderTree.mm:
846 2007-09-12 Kevin McCullough <kmccullough@apple.com>
850 - Updated the leaks list for leopard to help identify regressions.
852 * Scripts/run-webkit-tests:
854 2007-09-12 Sam Weinig <sam@webkit.org>
856 Rubber stamped by Darin.
858 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
860 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
861 * DumpRenderTree/DumpRenderTree.m: Removed.
862 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
863 (stopJavaScriptThreads): Fix initialization.
864 (setDefaultColorProfileToRGB): Add explicit cast from void*.
865 (dumpRenderTree): Ditto.
867 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
869 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
870 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
871 * DumpRenderTree/FrameLoadDelegate.m: Removed.
872 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
873 (-[FrameLoadDelegate init]):
874 (-[FrameLoadDelegate dealloc]):
875 (-[FrameLoadDelegate processWork:]):
876 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
877 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
878 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
880 * DumpRenderTree/LayoutTestController.cpp: Added.
881 (LayoutTestController::LayoutTestController):
882 (LayoutTestController::~LayoutTestController):
883 (dumpAsTextCallback):
884 (dumpBackForwardListCallback):
885 (dumpChildFramesAsTextCallback):
886 (dumpChildFrameScrollPositionsCallback):
887 (dumpDOMAsWebArchiveCallback):
888 (dumpEditingCallbacksCallback):
889 (dumpFrameLoadCallbacksCallback):
890 (dumpResourceLoadCallbacksCallback):
891 (dumpSelectionRectCallback):
892 (dumpSourceAsWebArchiveCallback):
893 (dumpTitleChangesCallback):
894 (repaintSweepHorizontallyCallback):
895 (setCallCloseOnWebViewsCallback):
896 (setCanOpenWindowsCallback):
897 (setCloseRemainingWindowsWhenCompleteCallback):
898 (testRepaintCallback):
899 (addFileToPasteboardOnDragCallback):
900 (addDisallowedURLCallback):
901 (clearBackForwardListCallback):
902 (decodeHostNameCallback):
904 (encodeHostNameCallback):
905 (keepWebHistoryCallback):
906 (notifyDoneCallback):
907 (queueBackNavigationCallback):
908 (queueForwardNavigationCallback):
910 (queueReloadCallback):
911 (queueScriptCallback):
912 (setAcceptsEditingCallback):
913 (setCustomPolicyDelegateCallback):
914 (setMainFrameIsFirstResponderCallback):
915 (setTabKeyCyclesThroughElementsCallback):
916 (setUseDashboardCompatibilityModeCallback):
917 (setUserStyleSheetEnabledCallback):
918 (setUserStyleSheetLocationCallback):
919 (setWindowIsKeyCallback):
920 (waitUntilDoneCallback):
921 (windowCountCallback):
922 (LayoutTestController::makeWindowObject):
923 (LayoutTestController::getLayoutTestControllerJSClass):
924 (LayoutTestController::staticFunctions):
925 * DumpRenderTree/LayoutTestController.h: Replaced.
926 * DumpRenderTree/LayoutTestController.m: Removed.
927 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
928 (LayoutTestController::dumpAsText):
929 (LayoutTestController::dumpBackForwardList):
930 (LayoutTestController::dumpChildFramesAsText):
931 (LayoutTestController::dumpChildFrameScrollPositions):
932 (LayoutTestController::dumpDOMAsWebArchive):
933 (LayoutTestController::dumpEditingCallbacks):
934 (LayoutTestController::dumpFrameLoadCallbacks):
935 (LayoutTestController::dumpResourceLoadCallbacks):
936 (LayoutTestController::dumpSelectionRect):
937 (LayoutTestController::dumpSourceAsWebArchive):
938 (LayoutTestController::dumpTitleChanges):
939 (LayoutTestController::repaintSweepHorizontally):
940 (LayoutTestController::setCallCloseOnWebViews):
941 (LayoutTestController::setCanOpenWindows):
942 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
943 (LayoutTestController::testRepaint):
944 (LayoutTestController::addFileToPasteboardOnDrag):
945 (LayoutTestController::addDisallowedURL):
946 (LayoutTestController::clearBackForwardList):
947 (LayoutTestController::decodeHostName):
948 (LayoutTestController::encodeHostName):
949 (LayoutTestController::display):
950 (LayoutTestController::keepWebHistory):
951 (LayoutTestController::notifyDone):
952 (LayoutTestController::queueBackNavigation):
953 (LayoutTestController::queueForwardNavigation):
954 (LayoutTestController::queueLoad):
955 (LayoutTestController::queueReload):
956 (LayoutTestController::queueScript):
957 (LayoutTestController::setAcceptsEditing):
958 (LayoutTestController::setCustomPolicyDelegate):
959 (LayoutTestController::setMainFrameIsFirstResponder):
960 (LayoutTestController::setTabKeyCyclesThroughElements):
961 (LayoutTestController::setUseDashboardCompatibilityMode):
962 (LayoutTestController::setUserStyleSheetEnabled):
963 (LayoutTestController::setUserStyleSheetLocation):
964 (LayoutTestController::setWindowIsKey):
965 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
966 (LayoutTestController::waitUntilDone):
967 (LayoutTestController::windowCount):
968 Use the JSCore API to implement the LayoutTestController.
970 * DumpRenderTree/ObjCController.h:
971 * DumpRenderTree/ObjCController.m:
972 (+[ObjCController isSelectorExcludedFromWebScript:]):
973 (+[ObjCController webScriptNameForSelector:]):
974 (-[ObjCController accessStoredWebScriptObject]):
975 (-[ObjCController storeWebScriptObject:]):
976 (-[ObjCController dealloc]):
977 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
978 Move WebScriptObject tests to ObjCController.
980 * DumpRenderTree/UIDelegate.m: Removed.
981 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
983 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
984 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
985 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
986 (WorkQueueItem::~WorkQueueItem):
987 (LoadItem::LoadItem):
990 (ScriptItem::ScriptItem):
991 (ScriptItem::script):
992 * DumpRenderTree/WorkQueueItemMac.mm: Added.
994 (ReloadItem::invoke):
995 (ScriptItem::invoke):
996 (BackForwardItem::invoke):
997 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
998 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
1001 2007-09-11 Kevin McCullough <kmccullough@apple.com>
1005 - Updated Win side to take advantage of the platform separating changes.
1007 * Drosera/DebuggerDocument.cpp:
1008 (DebuggerDocument::localScopeVariableNamesForCallFrame):
1009 * Drosera/DebuggerDocument.h:
1010 * Drosera/win/DebuggerClient.cpp:
1011 (DebuggerClient::pause):
1012 (DebuggerClient::resume):
1013 (DebuggerClient::stepInto):
1014 (DebuggerDocument::platformPause):
1015 (DebuggerDocument::platformResume):
1016 (DebuggerDocument::platformStepInto):
1017 (DebuggerDocument::platformEvaluateScript):
1018 (DebuggerDocument::getPlatformCurrentFunctionStack):
1019 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1020 (DebuggerDocument::platformValueForScopeVariableNamed):
1021 (DebuggerDocument::platformLog):
1022 * Drosera/win/DebuggerClient.h:
1023 * Drosera/win/Drosera.cpp:
1025 (Drosera::windowScriptObjectAvailable):
1026 (Drosera::initWithServerName):
1027 (Drosera::switchToServerNamed):
1028 * Drosera/win/Drosera.h:
1029 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1031 2007-09-11 Kevin McCullough <kmccullough@apple.com>
1035 - Just doing the moves in a separate patch so the changes are easier to see.
1037 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
1038 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
1039 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
1040 * Drosera/win/DebuggerDocumentWin.h: Removed.
1041 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1043 2007-09-11 Sven Herzberg <sven@imendio.com>
1045 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
1046 http://bugs.webkit.org/show_bug.cgi?id=15176
1048 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
1049 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
1050 other paths eg. from jhbuild)
1052 2007-09-10 Kevin McCullough <kmccullough@apple.com>
1056 - Made an order-of-deletion mistake.
1058 * Drosera/DebuggerDocument.h:
1059 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
1060 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
1061 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
1062 * Drosera/mac/DebuggerClient.mm:
1063 (DebuggerDocument::platformPause):
1064 (DebuggerDocument::platformResume):
1065 (DebuggerDocument::platformStepInto):
1066 (DebuggerDocument::platformEvaluateScript):
1067 (DebuggerDocument::getPlatformCurrentFunctionStack):
1068 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1069 (DebuggerDocument::platformValueForScopeVariableNamed):
1070 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1072 2007-09-10 Kevin McCullough <kmccullough@apple.com>
1076 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
1078 * Drosera/DebuggerDocument.cpp:
1079 (DebuggerDocument::DebuggerDocument):
1080 * Drosera/DebuggerDocument.h:
1081 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
1082 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
1083 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
1084 * Drosera/mac/DebuggerApplication.mm:
1085 (-[DebuggerApplication attach:]):
1086 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
1087 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
1088 (DebuggerDocument::platformPause):
1089 (DebuggerDocument::platformResume):
1090 (DebuggerDocument::platformStepInto):
1091 (DebuggerDocument::platformEvaluateScript):
1092 (DebuggerDocument::getPlatformCurrentFunctionStack):
1093 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1094 (DebuggerDocument::platformValueForScopeVariableNamed):
1095 (DebuggerDocument::platformLog):
1096 * Drosera/mac/DebuggerDocumentMac.h: Removed.
1097 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
1098 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1100 2007-09-09 Sam Weinig <sam@webkit.org>
1102 Reviewed by Mark Rowe.
1104 Remove 'objC' prefix from methods now in the ObjCController.
1106 * DumpRenderTree/ObjCController.m:
1107 (+[ObjCController isSelectorExcludedFromWebScript:]):
1108 (+[ObjCController webScriptNameForSelector:]):
1109 (-[ObjCController classNameOf:]):
1110 (-[ObjCController objectOfClass:]):
1111 (-[ObjCController identityIsEqual::]):
1112 (-[ObjCController longLongRoundTrip:]):
1113 (-[ObjCController unsignedLongLongRoundTrip:]):
1115 2007-09-09 Sam Weinig <sam@webkit.org>
1119 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
1120 - Move LayoutTestController into its own file.
1121 - Move Objective-C only functions on LayoutTestController into a new controller called the
1124 * DumpRenderTree/DumpRenderTree.h:
1125 * DumpRenderTree/DumpRenderTree.m:
1127 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1128 * DumpRenderTree/FrameLoadDelegate.m:
1129 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1130 * DumpRenderTree/LayoutTestController.h: Added.
1131 * DumpRenderTree/LayoutTestController.m: Added.
1132 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1133 (+[LayoutTestController webScriptNameForSelector:]):
1134 (-[LayoutTestController clearBackForwardList]):
1135 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
1136 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
1137 (-[LayoutTestController setCustomPolicyDelegate:]):
1138 (-[LayoutTestController keepWebHistory]):
1139 (-[LayoutTestController setCallCloseOnWebViews:]):
1140 (-[LayoutTestController setCanOpenWindows]):
1141 (-[LayoutTestController waitUntilDone]):
1142 (-[LayoutTestController waitUntilDoneWatchdogFired]):
1143 (-[LayoutTestController notifyDone]):
1144 (-[LayoutTestController dumpAsText]):
1145 (-[LayoutTestController addFileToPasteboardOnDrag]):
1146 (-[LayoutTestController addDisallowedURL:]):
1147 (-[LayoutTestController setUserStyleSheetLocation:]):
1148 (-[LayoutTestController setUserStyleSheetEnabled:]):
1149 (-[LayoutTestController dumpDOMAsWebArchive]):
1150 (-[LayoutTestController dumpSourceAsWebArchive]):
1151 (-[LayoutTestController dumpSelectionRect]):
1152 (-[LayoutTestController dumpTitleChanges]):
1153 (-[LayoutTestController dumpBackForwardList]):
1154 (-[LayoutTestController windowCount]):
1155 (-[LayoutTestController dumpChildFrameScrollPositions]):
1156 (-[LayoutTestController dumpChildFramesAsText]):
1157 (-[LayoutTestController dumpEditingCallbacks]):
1158 (-[LayoutTestController dumpResourceLoadCallbacks]):
1159 (-[LayoutTestController dumpFrameLoadCallbacks]):
1160 (-[LayoutTestController setWindowIsKey:]):
1161 (-[LayoutTestController setMainFrameIsFirstResponder:]):
1162 (-[LayoutTestController display]):
1163 (-[LayoutTestController testRepaint]):
1164 (-[LayoutTestController repaintSweepHorizontally]):
1165 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
1166 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
1167 (-[LayoutTestController _doLoad:target:]):
1168 (-[LayoutTestController _doBackOrForwardNavigation:]):
1169 (-[LayoutTestController queueBackNavigation:]):
1170 (-[LayoutTestController queueForwardNavigation:]):
1171 (-[LayoutTestController queueReload]):
1172 (-[LayoutTestController queueScript:]):
1173 (-[LayoutTestController queueLoad:target:]):
1174 (-[LayoutTestController setAcceptsEditing:]):
1175 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
1176 (-[LayoutTestController storeWebScriptObject:]):
1177 (-[LayoutTestController accessStoredWebScriptObject]):
1178 (-[LayoutTestController dealloc]):
1179 (-[LayoutTestController decodeHostName:]):
1180 (-[LayoutTestController encodeHostName:]):
1181 * DumpRenderTree/ObjCController.h: Added.
1182 * DumpRenderTree/ObjCController.m: Added.
1183 (+[ObjCController isSelectorExcludedFromWebScript:]):
1184 (+[ObjCController webScriptNameForSelector:]):
1185 (-[ObjCController objCClassNameOf:]):
1186 (-[ObjCController objCObjectOfClass:]):
1187 (-[ObjCController objCIdentityIsEqual::]):
1188 (-[ObjCController objCLongLongRoundTrip:]):
1189 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
1190 (-[ObjCController testWrapperRoundTripping:]):
1192 2007-09-07 Sam Weinig <sam@webkit.org>
1196 Strip trailing and leading space/newline characters from skiplist file names.
1198 * Scripts/run-webkit-tests:
1200 2007-09-06 Kevin McCullough <kmccullough@apple.com>
1204 - Changed Drosera to take advantage of the JSRetainPtr changes.
1206 * Drosera/DebuggerDocument.cpp:
1207 (DebuggerDocument::breakpointEditorHTML):
1208 (DebuggerDocument::evaluateScript):
1209 (DebuggerDocument::valueForScopeVariableNamed):
1210 (DebuggerDocument::log):
1211 (DebuggerDocument::windowScriptObjectAvailable):
1212 (DebuggerDocument::toJSArray):
1213 (DebuggerDocument::callFunctionOnObject):
1214 (DebuggerDocument::logException):
1215 * Drosera/mac/DebuggerDocumentMac.mm:
1216 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
1217 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
1218 (DebuggerDocument::platformEvaluateScript):
1219 (DebuggerDocument::getPlatformCurrentFunctionStack):
1220 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1221 (DebuggerDocument::platformValueForScopeVariableNamed):
1223 2007-09-05 Kevin McCullough <kmccullough@apple.com>
1225 Reviewed by Adam, Sam, Darin.
1227 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
1229 * Drosera/Debugger.h: Added.
1230 * Drosera/DebuggerDocument.cpp:
1231 (DebuggerDocument::breakpointEditorHTMLCallback):
1232 (DebuggerDocument::isPausedCallback):
1233 (DebuggerDocument::pauseCallback):
1234 (DebuggerDocument::resumeCallback):
1235 (DebuggerDocument::stepIntoCallback):
1236 (DebuggerDocument::evaluateScriptCallback):
1237 (DebuggerDocument::currentFunctionStackCallback):
1238 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
1239 (DebuggerDocument::valueForScopeVariableNamedCallback):
1240 (DebuggerDocument::logCallback):
1241 (DebuggerDocument::breakpointEditorHTML):
1242 (DebuggerDocument::isPaused):
1243 (DebuggerDocument::pause):
1244 (DebuggerDocument::resume):
1245 (DebuggerDocument::stepInto):
1246 (DebuggerDocument::evaluateScript):
1247 (DebuggerDocument::currentFunctionStack):
1248 (DebuggerDocument::localScopeVariableNamesForCallFrame):
1249 (DebuggerDocument::valueForScopeVariableNamed):
1250 (DebuggerDocument::log):
1251 (DebuggerDocument::toolbarPause):
1252 (DebuggerDocument::toolbarResume):
1253 (DebuggerDocument::toolbarStepInto):
1254 (DebuggerDocument::toolbarStepOver):
1255 (DebuggerDocument::toolbarStepOut):
1256 (DebuggerDocument::toolbarShowConsole):
1257 (DebuggerDocument::toolbarCloseCurrentFile):
1258 (DebuggerDocument::updateFileSource):
1259 (DebuggerDocument::didParseScript):
1260 (DebuggerDocument::willExecuteStatement):
1261 (DebuggerDocument::didEnterCallFrame):
1262 (DebuggerDocument::willLeaveCallFrame):
1263 (DebuggerDocument::exceptionWasRaised):
1264 (DebuggerDocument::windowScriptObjectAvailable):
1265 (DebuggerDocument::toJSArray):
1266 (DebuggerDocument::callGlobalFunction):
1267 (DebuggerDocument::callFunctionOnObject):
1268 (DebuggerDocument::getDroseraJSClass):
1269 (DebuggerDocument::staticFunctions):
1270 (DebuggerDocument::logException):
1271 * Drosera/DebuggerDocument.h:
1272 (DebuggerDocument::DebuggerDocument):
1273 * Drosera/ForwardingHeaders: Added.
1274 * Drosera/ForwardingHeaders/wtf: Added.
1275 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
1277 * Drosera/console.html:
1278 * Drosera/console.js:
1279 * Drosera/debugger.js:
1280 * Drosera/mac/DebuggerApplication.mm:
1281 (-[DebuggerApplication attach:]):
1282 * Drosera/mac/DebuggerDocumentMac.h:
1283 * Drosera/mac/DebuggerDocumentMac.mm:
1284 (+[NSString stringOrNilFromWebScriptResult:]):
1285 (+[DebuggerClientMac log:]):
1286 (-[DebuggerClientMac initWithServerName:]):
1287 (-[DebuggerClientMac dealloc]):
1288 (-[DebuggerClientMac pause]):
1289 (-[DebuggerClientMac resume]):
1290 (-[DebuggerClientMac pause:]):
1291 (-[DebuggerClientMac resume:]):
1292 (-[DebuggerClientMac stepInto:]):
1293 (-[DebuggerClientMac stepOver:]):
1294 (-[DebuggerClientMac stepOut:]):
1295 (-[DebuggerClientMac showConsole:]):
1296 (-[DebuggerClientMac closeCurrentFile:]):
1297 (-[DebuggerClientMac validateUserInterfaceItem:]):
1298 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
1299 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
1300 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
1301 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
1302 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
1303 (DebuggerDocument::platformPause):
1304 (DebuggerDocument::platformResume):
1305 (DebuggerDocument::platformStepInto):
1306 (DebuggerDocument::platformEvaluateScript):
1307 (DebuggerDocument::platformCurrentFunctionStack):
1308 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
1309 (DebuggerDocument::platformValueForScopeVariableNamed):
1310 (DebuggerDocument::platformLog):
1311 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1313 2007-09-06 Sam Weinig <sam@webkit.org>
1315 Reviewed by Adam Roben.
1317 Register the WebKit DLL on initialization of the DumpRenderTree.
1319 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1322 2007-09-05 Sam Weinig <sam@webkit.org>
1326 Fix many layout test failures caused by r25364.
1327 Set text size to standand size at the begining of each test matching the mac.
1329 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1332 2007-09-04 Sam Weinig <sam@webkit.org>
1336 Fix for <rdar://problem/5382277>
1337 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
1339 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
1340 (textZoomInCallback):
1341 (textZoomOutCallback):
1343 2007-08-29 David Kilzer <ddkilzer@apple.com>
1347 Added case-insensitivity to checks for adding regression tests.
1349 * Scripts/prepare-ChangeLog:
1352 2007-08-28 David Kilzer <ddkilzer@apple.com>
1356 Ignore files in /resources/ subdirectories when creating a list of added tests.
1358 * Scripts/prepare-ChangeLog:
1361 2007-08-27 Kevin McCullough <kmccullough@apple.com>
1365 - Removed Leopard leaks list since all of those radars were fixed.
1367 * Scripts/run-webkit-tests:
1369 2007-08-27 Adam Roben <aroben@apple.com>
1371 Rubberstamped by Mark.
1373 * Scripts/pdevenv: Pass arguments along to devenv.com.
1375 2007-08-26 David Kilzer <ddkilzer@webkit.org>
1377 Reviewed by Mark Rowe.
1379 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
1381 * Scripts/prepare-ChangeLog:
1382 (changeLogDate): Added.
1384 2007-08-24 Sam Weinig <sam@webkit.org>
1386 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
1388 2007-08-24 Sam Weinig <sam@webkit.org>
1390 Rubber-stamped by Adam Roben.
1392 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
1394 Rename COM DOM bindings to use Deprecated prefix.
1396 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1399 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
1402 (EditingDelegate::shouldBeginEditingInDOMRange):
1403 (EditingDelegate::shouldEndEditingInDOMRange):
1404 (EditingDelegate::shouldInsertNode):
1405 (EditingDelegate::shouldInsertText):
1406 (EditingDelegate::shouldDeleteDOMRange):
1407 (EditingDelegate::shouldChangeSelectedDOMRange):
1408 (EditingDelegate::shouldApplyStyle):
1409 (EditingDelegate::shouldChangeTypingStyle):
1410 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
1412 2007-08-24 Oliver Hunt <oliver@apple.com>
1416 WebDataSource::response can legitimately have a null response, so we
1417 must check that case.
1419 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
1420 (queueLoadCallback):
1422 2007-08-23 Mitz Pettel <mitz@webkit.org>
1424 Reviewed by Darin and Adam.
1426 - DumpRenderTree changes to allow testing for
1427 http://bugs.webkit.org/show_bug.cgi?id=11756
1428 REGRESSION: link targeting a frame in another window does not work
1429 <rdar://problem/5286420>
1431 Use a frame group name for all WebViews created by DumpRenderTree to
1432 allow testing of cross-page frame lookup.
1434 * DumpRenderTree/DumpRenderTree.m:
1435 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
1436 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1437 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
1439 2007-08-23 David Kilzer <ddkilzer@webkit.org>
1443 Quote the $sslCertificate path in case it contains a space.
1445 * Scripts/run-webkit-httpd:
1446 * Scripts/run-webkit-tests:
1448 2007-08-22 Oliver Hunt <oliver@apple.com>
1450 Reviewed by John and Adam.
1452 WebDataSource::response can legitimately have a null response, so we
1453 must check that case.
1455 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1458 2007-08-21 Kevin McCullough <kmccullough@apple.com>
1462 - Changing the usage to be more clear.
1464 * Scripts/run-testkjs:
1466 2007-08-20 John Sullivan <sullivan@apple.com>
1468 Reviewed by Adam Roben
1470 * DumpRenderTree/DumpRenderTree.m:
1472 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
1473 in layout tests on Tiger and Leopard
1475 2007-08-20 Adam Roben <aroben@apple.com>
1477 Put LayoutTests after all other ChangeLogs in commit logs
1479 We use "~" to sort LayoutTests after all the other ChangeLogs because
1480 "~" is the last ASCII character (other than "DEL").
1484 * Scripts/commit-log-editor:
1486 2007-08-20 Adam Roben <aroben@apple.com>
1488 Detect that DRT crashed even if a crash dialog is running
1490 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
1491 process is still running at this point, so run-webkit-tests wouldn't
1492 detect that DRT had crashed. We now record the crash in our SIGPIPE
1493 handler so that we know if DRT crashed even if the crash dialog is up.
1497 * Scripts/run-webkit-tests:
1498 (sub catch_pipe): Set the crashed bit.
1499 (sub openDumpTool): Reset the crashed bit.
1500 (sub dumpToolDidCrash): Check the crashed bit.
1502 2007-08-20 Adam Roben <aroben@apple.com>
1504 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
1506 http://bugs.webkit.org/show_bug.cgi?id=15026
1508 Reviewed by David Kilzer and Darin Adler.
1510 * Scripts/prepare-ChangeLog:
1511 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
1512 (sub isAddedStatus): Ditto.
1513 (sub testListForChangeLog): Added.
1515 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
1519 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
1521 * Scripts/webkitdirs.pm:
1522 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
1524 2007-08-17 Darin Adler <darin@apple.com>
1526 Reviewed by Oliver Hunt.
1528 - don't look for Apple-style localizable strings in the GTK version of WebKit
1530 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
1531 name of subdirectories to skip.
1532 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
1535 2007-08-17 Anders Carlsson <andersca@apple.com>
1539 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1542 2007-08-17 Anders Carlsson <andersca@apple.com>
1544 Reviewed by Dave Hyatt.
1546 <rdar://problem/5379040>
1547 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
1549 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
1551 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
1553 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1554 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
1558 2007-08-16 Alice Liu <alice.liu@apple.com>
1562 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
1564 * DumpRenderTree/DumpRenderTree.m:
1566 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
1568 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
1570 2007-08-16 Kevin McCullough <kmccullough@apple.com>
1574 - Added tests for regressions in other components. In this case we also need to add a skipped list for Tiger since this functionality didn't exist in 10.4.
1576 * Scripts/run-webkit-tests:
1578 2007-08-15 Timothy Hatcher <timothy@apple.com>
1580 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
1581 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
1583 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
1584 this prevents making "build" directories in each project folder.
1586 * Scripts/webkitdirs.pm:
1588 2007-08-14 Geoffrey Garen <ggaren@apple.com>
1590 Reviewed by Kevin Mccullough.
1592 Removed special case that didn't belong. (It would allow a global
1593 initializer to sneak into production builds, which would cause a
1594 system-wide performance regression on Mac OS X.)
1596 * Scripts/check-for-global-initializers:
1598 2007-08-14 Justin Garcia <justin.garcia@apple.com>
1602 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
1604 * DumpRenderTree/EditingDelegate.m:
1605 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
1606 only for elements with the class needsDeletionUI.
1608 2007-08-14 David Kilzer <ddkilzer@webkit.org>
1612 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
1613 svn-create-patch uses deprecated tail switch
1615 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
1617 2007-08-13 Sam Weinig <sam@webkit.org>
1619 Reviewed by Adam Roben.
1621 Use the cygwin specific Apache config file under cygwin.
1623 * Scripts/run-webkit-httpd:
1625 2007-08-12 Adam Roben <aroben@apple.com>
1627 Generate results for new tests in a more logical location
1629 New platform-specific tests always have their results generated right
1630 next to the test. New cross-platform tests will have their results
1631 generated a) in the cross-platform directory, if they are text-only,
1632 or b) in the least-specific platform directory, if they are render
1637 * Scripts/run-webkit-tests:
1639 2007-08-12 Adam Roben <aroben@apple.com>
1641 Print the actual directory where new results are generated.
1643 Before, we were printing an unpredictable, context-specific substring
1648 * Scripts/run-webkit-tests:
1650 2007-08-12 Adam Roben <aroben@apple.com>
1652 Factor some common code into a stripExtension() subroutine.
1656 * Scripts/run-webkit-tests: Also removed some debugging output.
1658 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
1660 Reviewed over and over and over by Adam Roben.
1662 Bug 14740: Hierarchical layout tests and platform organization
1663 http://bugs.webkit.org/show_bug.cgi?id=14740
1665 Add support for platform-specific layout tests and results.
1667 * Scripts/run-webkit-tests:
1669 2007-08-11 David Kilzer <ddkilzer@webkit.org>
1673 Refactored svn-create-path to use a hash-of-hashes data structure to keep
1674 track of changed files. In the top level hash, keys are paths to files and
1675 values are 'fileData' hashes with the following keys and values:
1677 - isBinary: boolean value (set to true for non-text files like images, etc.)
1678 - isTestFile: boolean value (set to true if file exists within a known test
1680 - modificationType: string equal to one of 'addition', 'additionWithHistory',
1681 'modification' or 'deletion'
1682 - path: string equal to the path to the file (this may seem redundant, but it
1683 is required to use the second-level 'fileData' hash independent of the
1685 - sourceFile: [optional] string equal to the path of the original file that was
1687 - sourceRevision: [optional] string equal to the revision of the original file
1688 that was copied or moved
1690 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
1691 that saves the return value in $result, then checks it before printing help.
1692 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
1693 and eliminated two for() loops.
1694 (binarycmp): Added. Used with sort() to order non-binary files before binary
1696 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
1697 (findMimeType): Added optional second argument that takes a revision number.
1698 (generateDiff): Updated to take one fileData argument instead of three ($file,
1699 $modificationType, $isBinary).
1700 (generateFileList): Updated to take one hash ref argument (%diffFiles)
1701 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
1702 %diffFiles using paths for keys and fileData hashes for values.
1703 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
1705 (pathcmp): Updated to take two fileData arguments instead of two strings.
1706 (testfilecmp): Added. Used with sort() to order non-test files before test
1709 2007-08-11 Darin Adler <darin@apple.com>
1711 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
1713 2007-08-06 Nigel Tao <nigeltao@gnome.org>
1715 Reviewed by David Kilzer.
1717 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
1718 http://bugs.webkit.org/show_bug.cgi?id=14745
1720 * Scripts/run-launcher:
1721 Scrub the "--gdk" out of the command line args, if given, so that
1722 GdkLauncher doesn't try to interpret it as a URL.
1724 2007-08-03 Adam Roben <aroben@apple.com>
1726 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
1730 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
1732 2007-08-03 Sam Weinig <sam@webkit.org>
1736 Recursively dump all frames as text using new
1737 layoutTestController.dumpChildFramesAsText() function.
1739 * DumpRenderTree/DumpRenderTree.m:
1742 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1743 (-[LayoutTestController dumpChildFramesAsText]):
1745 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
1749 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
1750 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
1751 (dumpChildFramesAsTextCallback):
1752 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1754 2007-08-02 Adam Roben <aroben@apple.com>
1756 Fix fast/dom/Window/alert-undefined.html
1760 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
1761 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
1762 Windows translate a null BSTR into "(null)"
1764 2007-08-02 Kevin McCullough <kmccullough@apple.com>
1768 - It would help if I actually called the right function.
1770 * Drosera/DebuggerDocument.cpp:
1771 (DebuggerDocument::showConsole):
1773 2007-08-02 Adam Roben <aroben@apple.com>
1775 Don't delete the stderr file right after creating it
1779 * Scripts/run-webkit-tests:
1781 2007-08-01 Adam Roben <aroben@apple.com>
1783 When DRT crashes, record stderr and restart DRT
1785 This prevents a DRT crash from causing the next few hundred tests to
1786 "fail" because DRT is no longer running.
1788 I also changed the terminology that run-webkit-tests uses in its
1789 output a bit, so that crashing tests are referred to as "crashes"
1790 instead of "failures".
1794 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
1796 (sub openDumpTool): Use open3 so that we can access stderr.
1797 (sub dumpToolCrashed): Added.
1798 (sub printFailureMessageForTest): Added.
1799 (sub htmlForExpectedAndActualResults): Added.
1800 (sub deleteExpectedAndActualResults): Added.
1801 (sub recordActualResultsAndDiff): Added.
1803 2007-07-30 Darin Adler <darin@apple.com>
1805 Reviewed by Tim Hatcher.
1807 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
1808 characters. This turned out not to be needed for the test case that motivated me to
1809 do it, but it's nice to have this for the future.
1811 2007-07-30 Simon Hausmann <hausmann@kde.org>
1815 Link QtLauncher into $$OUTPUT_DIR/bin
1817 * Scripts/run-launcher:
1819 2007-07-27 David Kilzer <ddkilzer@apple.com>
1821 Reviewed by Geoff and Darin.
1823 Use a subroutine for validating the --skipped switch.
1825 * Scripts/run-webkit-tests:
1827 2007-07-27 Darin Adler <darin@apple.com>
1831 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
1833 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
1837 Correct the path of GdkLauncher and make checkFrameworks work on OSX
1838 when building the Qt or Gtk+ port.
1840 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
1841 * Scripts/run-launcher:
1842 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
1844 2007-07-27 Simon Hausmann <hausmann@kde.org>
1846 Done with and reviewed by Lars and Zack.
1848 Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.
1850 * Scripts/webkitdirs.pm:
1852 2007-07-27 Simon Hausmann <hausmann@kde.org>
1854 Done with and reviewed by Lars and Zack.
1856 For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
1858 * Scripts/webkitdirs.pm:
1860 2007-07-26 Kevin McCullough <kmccullough@apple.com>
1862 Reviewed by Darin, Geoff, Sam.
1864 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
1866 - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
1868 * DumpRenderTree/UIDelegate.h:
1869 * DumpRenderTree/UIDelegate.m:
1870 (-[UIDelegate webView:setFrame:]):
1871 (-[UIDelegate webViewFrame:]):
1873 2007-07-26 Kevin McCullough <kmccullough@apple.com>
1877 - Lars wanted this check for Qt but it breaks platform specific layout tests.
1879 * Scripts/run-webkit-tests:
1881 2007-07-25 Kevin McCullough <kmccullough@apple.com>
1883 Reviewed by Tim, Darin, Oliver.
1885 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
1886 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
1889 * DumpRenderTree/DumpRenderTree.m:
1892 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
1893 (+[LayoutTestController webScriptNameForSelector:]):
1894 (-[LayoutTestController setCustomPolicyDelegate:]):
1895 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1896 * DumpRenderTree/FrameLoadDelegate.h:
1897 * DumpRenderTree/PolicyDelegate.h: Added.
1898 * DumpRenderTree/PolicyDelegate.m: Added.
1899 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1900 * DumpRenderTree/ResourceLoadDelegate.h:
1902 2007-07-25 Adam Treat <treat@kde.org>
1906 Fix build for some reported systems.
1908 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
1910 2007-07-23 Adam Treat <treat@kde.org>
1912 Reviewed by Nikolas.
1914 Fix qt DRT to suppress js popup alerts and log instead.
1916 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
1917 (WebCore::WebPage::javaScriptAlert):
1919 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
1923 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
1924 honor --qmakearg for the Gdk/Gtk build as well.
1926 * GdkLauncher/main.cpp: Switch to the new API
1927 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
1929 2007-07-22 Darin Adler <darin@apple.com>
1931 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
1932 Fix a leak by releasing the array used here.
1934 2007-07-22 David Kilzer <ddkilzer@webkit.org>
1938 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
1939 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
1941 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
1942 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
1944 * Scripts/update-iexploder-cssproperties: Added.
1945 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
1946 Added new CSS3 property section and Moved box-sizing property to it.
1948 2007-07-22 Oliver Hunt <oliver@apple.com>
1952 http://bugs.webkit.org/show_bug.cgi?id=14710
1954 Add preliminary support for testing Input Method/WebKit behaviour and interaction
1955 in DRT. This provides the NSTextInput API which is most of what should be necessary
1956 to mimic the event sequences Input Methods trigger.
1958 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1959 * DumpRenderTree/TextInputController.h:
1960 * DumpRenderTree/TextInputController.m:
1961 (-[WebHTMLView interpretKeyEvents:]):
1962 (+[TextInputController isSelectorExcludedFromWebScript:]):
1963 (+[TextInputController webScriptNameForSelector:]):
1964 (-[TextInputController initWithWebView:]):
1965 (-[TextInputController dealloc]):
1966 (-[TextInputController textInput]):
1967 (-[TextInputController setInputMethodHandler:]):
1968 (-[TextInputController interpretKeyEvents:withSender:]):
1970 2007-07-20 Adam Roben <aroben@apple.com>
1972 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
1973 message not count as an existing log.
1975 2007-07-19 Geoffrey Garen <ggaren@apple.com>
1977 Reviewed by Darin Adler.
1979 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
1980 value behavior of stringByEvaluatingJavaScriptFromString
1982 * DumpRenderTree/DumpRenderTree.m:
1983 (testStringByEvaluatingJavaScriptFromString):
1984 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1986 2007-07-19 Adam Roben <aroben@apple.com>
1988 Make commit-log-editor work with git
1992 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
1993 commit message template. Also removed the unused $breakPoint variable.
1995 2007-07-19 Adam Roben <aroben@apple.com>
1997 Move generally-useful VCS code into a new VCSUtils.pm module
1999 This is in preparation for making commit-log-editor git-friendly.
2003 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
2004 * Scripts/prepare-ChangeLog: Use VCSUtils.
2006 2007-07-19 Lars Knoll <lars@trolltech.com>
2008 Fix a crash on exit when running DRT against a current
2013 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2016 2007-07-18 Adam Roben <aroben@apple.com>
2018 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
2022 * Scripts/run-webkit-httpd:
2023 * Scripts/run-webkit-tests:
2025 2007-07-18 Adam Roben <aroben@apple.com>
2027 More git friendliness for prepare-ChangeLog
2029 The overall change is to remove the use of git-status and replace it
2030 with git-diff --name-status (which we were already using in the
2033 This lets us respect directories specified on the command line when
2034 using git, just as we do for Subversion. It also speeds things up a
2035 bit, especially in the subdirectory case, as git-status is pretty slow.
2037 I also fixed some issues where we wouldn't detect copied files and
2038 would reverse the new filename and the original filename for renamed files.
2042 * Scripts/prepare-ChangeLog:
2043 (sub diffFromToString): Added.
2044 (sub diffCommand): Don't append the paths in the --git-commit case, as
2045 we should be operating on the entire commit.
2046 (sub statusCommand): Always use git-diff --name-status, and added an
2047 extra -C option to git-diff to make it find a few more copied files.
2048 (sub createPatchCommand): Collapsed the two git cases a bit, and added
2049 the extra -C option as above.
2050 (sub generateFileList): Remove the git-status codepath, and recognize
2051 file copies in the --name-status output.
2052 (sub isModifiedOrAddedStatus): Collapsed the status codes into one
2054 (sub isConflictStatus): Updated the git dictionary.
2055 (sub statusDescription): Updated the git dictionary.
2057 2007-07-18 Timothy Hatcher <timothy@apple.com>
2059 * Scripts/build-drosera: Update where we look for the Xcode project.
2061 2007-07-18 Adam Treat <treat@kde.org>
2065 Use the old wording for Safari.
2067 * Scripts/build-webkit:
2068 * Scripts/webkitdirs.pm:
2070 2007-07-18 Adam Treat <treat@kde.org>
2074 Add convenience script for launching test apps for Qt and Gdk ports.
2075 Change the build-webkit script accordingly.
2077 * Scripts/build-webkit:
2078 * Scripts/run-launcher: Added.
2079 * Scripts/webkitdirs.pm:
2081 2007-07-18 Timothy Hatcher <timothy@apple.com>
2085 Make the Page with the now required InspectorClient.
2087 * GdkLauncher/main.cpp:
2090 2007-07-18 Timothy Hatcher <timothy@apple.com>
2092 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
2093 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
2095 * Drosera/Makefile: Added.
2096 * Drosera/mac/Makefile:
2097 * DumpRenderTree/Makefile:
2099 * Makefile.Drosera: Removed.
2100 * Makefile.shared: Removed.
2102 2007-07-18 Timothy Hatcher <timothy@apple.com>
2104 The console log was 20px down from the top for no reason, move it up.
2106 * Drosera/console.css:
2108 2007-07-18 Timothy Hatcher <timothy@apple.com>
2110 Use contentDocument to get the source view's iframe document.
2111 Also adds a null/undefined check for localVariableNames.
2113 * Drosera/debugger.js:
2115 2007-07-18 Lars Knoll <lars@trolltech.com>
2117 We really don't want to compare non text only tests to the
2118 Mac results if we don't have a result for Qt, as this would
2119 give a failure and not a notification that the test is new.
2123 * Scripts/run-webkit-tests:
2125 2007-07-18 Lars Knoll <lars@trolltech.com>
2127 Reviewed by Zack & Simon
2129 Adjust to changed API in QWebFrame
2131 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2132 (WebCore::DumpRenderTree::DumpRenderTree):
2134 2007-07-18 Mark Rowe <mrowe@apple.com>
2136 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
2138 * BuildSlaveSupport/build-launcher-app:
2140 2007-07-17 Geoffrey Garen <ggaren@apple.com>
2142 Reviewed by Antti Koivisto.
2144 Added watchdog timer to waitUntilDone to prevent a run-away test from
2145 hanging the test harness.
2147 * DumpRenderTree/DumpRenderTree.m:
2149 (-[LayoutTestController waitUntilDone]):
2150 (-[LayoutTestController waitUntilDoneWatchdogFired]):
2151 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2153 2007-07-17 Kevin McCullough <kmccullough@apple.com>
2157 - Implemented cross-platform code for functions calling into the JavaScript.
2159 * Drosera/DebuggerDocument.cpp:
2160 (DebuggerDocument::callAsFunction):
2161 (DebuggerDocument::pauseJS):
2162 (DebuggerDocument::resumeJS):
2163 (DebuggerDocument::stepIntoJS):
2164 (DebuggerDocument::stepOverJS):
2165 (DebuggerDocument::stepOutJS):
2166 (DebuggerDocument::showConsoleJS):
2167 (DebuggerDocument::closeCurrentFileJS):
2168 (DebuggerDocument::updateFileSource):
2169 (DebuggerDocument::didParseScript):
2170 (DebuggerDocument::willExecuteStatement):
2171 (DebuggerDocument::didEnterCallFrame):
2172 (DebuggerDocument::willLeaveCallFrame):
2173 (DebuggerDocument::exceptionWasRaised):
2174 * Drosera/DebuggerDocument.h:
2175 * Drosera/mac/DebuggerDocumentMac.mm:
2176 (-[DebuggerDocumentMac pause:]):
2177 (-[DebuggerDocumentMac resume:]):
2178 (-[DebuggerDocumentMac stepInto:]):
2179 (-[DebuggerDocumentMac stepOver:]):
2180 (-[DebuggerDocumentMac stepOut:]):
2181 (-[DebuggerDocumentMac showConsole:]):
2182 (-[DebuggerDocumentMac closeCurrentFile:]):
2183 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
2184 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
2185 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
2186 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
2187 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
2188 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
2190 2007-07-16 Kevin McCullough <kmccullough@apple.com>
2194 - Continued x-platform modifications.
2196 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
2197 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
2198 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
2199 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
2200 * Drosera/win/Drosera.cpp:
2201 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2202 * Drosera/win/stdafx.cpp: Removed.
2203 * Drosera/win/stdafx.h: Removed.
2205 2007-07-16 Kevin McCullough <kmccullough@apple.com>
2209 - Modified files to use cross-platform code.
2211 * Drosera/DebuggerDocument.cpp: Added.
2212 (DebuggerDocument::breakpointEditorHTML):
2213 (DebuggerDocument::isPaused):
2214 (DebuggerDocument::pause):
2215 (DebuggerDocument::resume):
2216 (DebuggerDocument::stepInto):
2217 (DebuggerDocument::evaluateScript):
2218 (DebuggerDocument::currentFunctionStack):
2219 (DebuggerDocument::localScopeVariableNamesForCallFrame):
2220 (DebuggerDocument::valueForScopeVariableNamed):
2221 * Drosera/DebuggerDocument.h: Added.
2222 (DebuggerDocument::DebuggerDocument):
2223 * Drosera/config.h: Added.
2224 * Drosera/mac/DebuggerApplication.mm:
2225 (-[DebuggerApplication attach:]):
2226 * Drosera/mac/DebuggerDocument.h: Removed.
2227 * Drosera/mac/DebuggerDocument.mm: Removed.
2228 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
2229 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
2230 (-[DebuggerDocumentMac initWithServerName:]):
2231 (-[DebuggerDocumentMac dealloc]):
2232 (-[DebuggerDocumentMac breakpointEditorHTML]):
2233 (-[DebuggerDocumentMac isPaused]):
2234 (-[DebuggerDocumentMac pause]):
2235 (-[DebuggerDocumentMac resume]):
2236 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2237 * Drosera/win/DebuggerApplication.cpp:
2238 * Drosera/win/DebuggerObjectCallbacks.cpp:
2239 (breakpointEditorHTMLCallback):
2240 (currentFunctionStackCallback):
2241 (evaluateScript_inCallFrame_Callback):
2243 (localScopeVariableNamesForCallFrame_Callback):
2247 (valueForScopeVariableNamed_inCallFrame_Callback):
2249 * Drosera/win/Drosera.cpp:
2250 * Drosera/win/DroseraPrefix.cpp: Added.
2251 * Drosera/win/DroseraPrefix.h: Added.
2253 2007-07-16 Kevin McCullough <kmccullough@apple.com>
2255 Reviewed by Adam, Sam and Tim.
2257 - Moving files to prepare for cross-platform architecture.
2259 * Drosera/DebuggerApplication.h: Removed.
2260 * Drosera/DebuggerApplication.m: Removed.
2261 * Drosera/DebuggerDocument.h: Removed.
2262 * Drosera/DebuggerDocument.m: Removed.
2263 * Drosera/Drosera.pch: Removed.
2264 * Drosera/Drosera.xcodeproj: Removed.
2265 * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
2266 * Drosera/Info.plist: Removed.
2267 * Drosera/LauncherInfo.plist: Removed.
2268 * Drosera/Makefile: Removed.
2269 * Drosera/launcher.m: Removed.
2270 * Drosera/mac: Added.
2271 * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
2272 * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
2273 * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
2274 * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
2275 * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
2276 * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
2277 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2278 * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
2279 * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
2280 * Drosera/mac/Makefile: Copied from Drosera/Makefile.
2281 * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
2282 * Drosera/mac/main.m: Copied from Drosera/main.m.
2283 * Drosera/main.m: Removed.
2285 * Makefile.Drosera: Added.
2287 2007-07-15 Mark Rowe <mrowe@apple.com>
2289 * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
2291 2007-07-13 Sam Weinig <sam@webkit.org>
2293 Reviewed by Geoff Garen.
2295 Add support for running SSL tests over HTTPS.
2297 * DumpRenderTree/DumpRenderTree.m:
2299 * DumpRenderTree/FrameLoadDelegate.m:
2300 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2301 * Scripts/run-webkit-httpd:
2302 * Scripts/run-webkit-tests:
2304 2007-07-13 David Kilzer <ddkilzer@apple.com>
2308 Added support for -h|--help argument and verify that all command line arguments parse
2311 * Scripts/run-webkit-httpd:
2313 2007-07-12 Mark Rowe <mrowe@apple.com>
2317 Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
2319 * Scripts/run-webkit-tests:
2321 2007-07-12 Geoffrey Garen <ggaren@apple.com>
2323 Reviewed by Oliver Hunt.
2325 Made the leaks tests pass on Leopard.
2327 * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
2328 * Scripts/run-leaks: Updated parser for slight change in text output.
2330 2007-07-11 David Kilzer <ddkilzer@apple.com>
2334 Update the iExploder list of CSS properties after box-sizing was renamed to
2335 -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
2337 * iExploder/htdocs/cssproperties.in: Added -webkit-box-sizing. Both box-sizing and
2338 -moz-box-sizing remain.
2340 2007-07-10 Darin Adler <darin@apple.com>
2342 * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
2343 Foundation's multipart/mixed-replace support -- I already verified that
2344 the bug has been fixed.
2346 2007-07-10 Alice Liu <alice.liu@apple.com>
2348 rubber stamped by Maciej.
2350 fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
2352 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2353 (initializePreferences):
2354 set editable link behavior to match Mac DRT.
2356 2007-07-10 Geoffrey Garen <ggaren@apple.com>
2358 Reviewed by Tim Hatcher.
2360 Ignore Page.o in debug builds because it now has a static PageCounter
2363 * Scripts/check-for-global-initializers:
2365 2007-07-09 Darin Adler <darin@apple.com>
2367 * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
2369 2007-07-09 Alice Liu <alice.liu@apple.com>
2371 Reviewed by Adam Roben.
2373 setting DOM Paste Allowed Pref
2375 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
2376 (initializePreferences):
2378 2007-07-05 Kevin McCullough <kmccullough@apple.com>
2380 Reviewed by Adam, Sam, and Ada.
2382 - Inital checkin of Drosera for Win. This isn't pretty and doesn't connect to Safari but debug builds and runs.
2384 * Drosera/Images/Drosera.ico: Added.
2385 * Drosera/Images/small.ico: Added.
2386 * Drosera/win: Added.
2387 * Drosera/win/BaseDelegate.h: Added.
2388 (BaseDelegate::QueryInterface):
2389 (BaseDelegate::didFinishLoadForFrame):
2390 (BaseDelegate::windowScriptObjectAvailable):
2391 (BaseDelegate::didStartProvisionalLoadForFrame):
2392 (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
2393 (BaseDelegate::didFailProvisionalLoadWithError):
2394 (BaseDelegate::didCommitLoadForFrame):
2395 (BaseDelegate::didReceiveTitle):
2396 (BaseDelegate::didReceiveIcon):
2397 (BaseDelegate::didFailLoadWithError):
2398 (BaseDelegate::didChangeLocationWithinPageForFrame):
2399 (BaseDelegate::willPerformClientRedirectToURL):
2400 (BaseDelegate::didCancelClientRedirectForFrame):
2401 (BaseDelegate::willCloseFrame):
2402 (BaseDelegate::createWebViewWithRequest):
2403 (BaseDelegate::webViewShow):
2404 (BaseDelegate::webViewClose):
2405 (BaseDelegate::webViewFocus):
2406 (BaseDelegate::webViewUnfocus):
2407 (BaseDelegate::webViewFirstResponder):
2408 (BaseDelegate::makeFirstResponder):
2409 (BaseDelegate::setStatusText):
2410 (BaseDelegate::webViewStatusText):
2411 (BaseDelegate::webViewAreToolbarsVisible):
2412 (BaseDelegate::setToolbarsVisible):
2413 (BaseDelegate::webViewIsStatusBarVisible):
2414 (BaseDelegate::setStatusBarVisible):
2415 (BaseDelegate::webViewIsResizable):
2416 (BaseDelegate::setResizable):
2417 (BaseDelegate::setFrame):
2418 (BaseDelegate::webViewFrame):
2419 (BaseDelegate::setContentRect):
2420 (BaseDelegate::webViewContentRect):
2421 (BaseDelegate::runJavaScriptAlertPanelWithMessage):
2422 (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
2423 (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
2424 (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
2425 (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
2426 (BaseDelegate::mouseDidMoveOverElement):
2427 (BaseDelegate::contextMenuItemsForElement):
2428 (BaseDelegate::validateUserInterfaceItem):
2429 (BaseDelegate::shouldPerformAction):
2430 (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
2431 (BaseDelegate::willPerformDragDestinationAction):
2432 (BaseDelegate::dragSourceActionMaskForPoint):
2433 (BaseDelegate::willPerformDragSourceAction):
2434 (BaseDelegate::contextMenuItemSelected):
2435 (BaseDelegate::hasCustomMenuImplementation):
2436 (BaseDelegate::trackCustomPopupMenu):
2437 (BaseDelegate::measureCustomMenuItem):
2438 (BaseDelegate::drawCustomMenuItem):
2439 (BaseDelegate::addCustomMenuDrawingData):
2440 (BaseDelegate::cleanUpCustomMenuDrawingData):
2441 (BaseDelegate::canTakeFocus):
2442 (BaseDelegate::takeFocus):
2443 (BaseDelegate::registerUndoWithTarget):
2444 (BaseDelegate::removeAllActionsWithTarget):
2445 (BaseDelegate::setActionTitle):
2446 (BaseDelegate::undo):
2447 (BaseDelegate::redo):
2448 (BaseDelegate::canUndo):
2449 (BaseDelegate::canRedo):
2450 * Drosera/win/DebuggerApplication.cpp: Added.
2451 (DebuggerApplication::serverLoaded):
2452 (DebuggerApplication::serverUnloaded):
2453 (DebuggerApplication::attach):
2454 (DebuggerApplication::numberOfRowsInTableView):
2455 (DebuggerApplication::tableView):
2456 * Drosera/win/DebuggerApplication.h: Added.
2457 (DebuggerApplication::DebuggerApplication):
2458 (DebuggerApplication::knownServers):
2459 * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
2460 (breakpointEditorHTMLCallback):
2461 (currentFunctionStackCallback):
2462 (doubleClickMillisecondsCallback):
2463 (evaluateScript_inCallFrame_Callback):
2465 (localScopeVariableNamesForCallFrame_Callback):
2469 (valueForScopeVariableNamed_inCallFrame_Callback):
2471 * Drosera/win/DebuggerObjectCallbacks.h: Added.
2472 * Drosera/win/Drosera.cpp: Added.
2474 (RegisterDroseraClass):
2480 (Drosera::QueryInterface):
2483 (Drosera::didFinishLoadForFrame):
2484 (getDroseraJSClass):
2485 (Drosera::windowScriptObjectAvailable):
2486 (Drosera::webViewClose):
2487 (Drosera::validateUserInterfaceItem):
2488 (Drosera::runJavaScriptAlertPanelWithMessage):
2490 * Drosera/win/Drosera.h: Added.
2491 (Drosera::webViewLoaded):
2492 * Drosera/win/Drosera.vcproj: Added.
2493 * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
2494 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
2495 * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
2496 * Drosera/win/Drosera.vcproj/release.vsprops: Added.
2497 * Drosera/win/HelperFunctions.h: Added.
2499 * Drosera/win/Info.plist: Added.
2500 * Drosera/win/resource.h: Added.
2501 * Drosera/win/stdafx.cpp: Added.
2502 * Drosera/win/stdafx.h: Added.
2504 2007-07-09 Adam Treat <adam@staikos.net>
2506 Reviewed by George Staikos.
2508 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
2511 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2512 (WebCore::DumpRenderTree::DumpRenderTree):
2514 2007-07-09 Anders Carlsson <andersca@apple.com>
2518 <rdar://problem/4954319>
2519 Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at
2520 com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
2522 If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream",
2523 return an error from NPP_NewStream.
2525 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2527 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2528 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
2532 2007-07-08 Mark Rowe <mrowe@apple.com>
2534 Change name from WebKit/Qt to WebKit.
2536 * CodeCoverage/regenerate-coverage-display:
2538 2007-07-08 Rob Buis <buis@kde.org>
2542 http://bugs.webkit.org/show_bug.cgi?id=14209
2543 DRT should be able to deal with text zoom
2545 Allow increasing/decreasing text zoom using eventSender.
2547 * DumpRenderTree/DumpRenderTree.m:
2549 * DumpRenderTree/EventSendingController.m:
2550 (+[EventSendingController initialize]):
2551 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2552 (-[EventSendingController textZoomIn]):
2553 (-[EventSendingController textZoomOut]):
2555 2007-07-07 Mark Rowe <mrowe@apple.com>
2559 * DumpRenderTree/DumpRenderTree.m:
2560 (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
2562 2007-07-06 Anders Carlsson <andersca@apple.com>
2564 Reviewed by David Kilzer.
2566 <rdar://problem/5313502>
2567 Many webarchive tests fail due to different NSURLResponse serialization on Leopard
2569 Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
2570 response's attributes. Also change the JavaScript MIME type to be "text/javascript".
2572 * DumpRenderTree/DumpRenderTree.m:
2574 (convertWebResourceDataToString):
2575 (convertWebResourceResponseToDictionary):
2576 (serializeWebArchiveToXML):
2578 2007-07-06 Timothy Hatcher <timothy@apple.com>
2582 Initialize the NSMutableAttributedString directly instead of creating
2583 a NSAttributedString first.
2585 * DumpRenderTree/TextInputController.m:
2586 (-[TextInputController attributedStringWithString:]):
2588 2007-07-06 Anders Carlsson <andersca@apple.com>
2590 Reviewed by David Kilzer.
2592 Replace "Apple Computer" with "Apple" in the DTD declaration.
2594 * DumpRenderTree/DumpRenderTree.m:
2595 (serializeWebArchiveToXML):
2597 2007-07-06 Adam Treat <adam@staikos.net>
2599 Reviewed by George Staikos.
2601 Adjust for conversion of QWebFrame to a QFrame from a scroll area.
2603 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
2604 (WebCore::DumpRenderTree::DumpRenderTree):
2606 2007-07-06 George Staikos <staikos@kde.org>
2610 Allow passing of additional arguments to qmake with --qmakearg=
2612 * Scripts/webkitdirs.pm:
2614 2007-07-05 George Staikos <staikos@kde.org>
2618 Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
2619 give a path to a specific qmake binary. Both are optional.
2621 * Scripts/webkitdirs.pm:
2623 2007-07-05 Adam Roben <aroben@apple.com>
2625 Warn about tests in the Skipped file that succeeded
2627 * Scripts/run-webkit-tests:
2629 2007-07-05 Adam Roben <aroben@apple.com>
2631 Removed unused install-win-extras script
2633 Rubberstamped by Mark.
2635 * Scripts/install-win-extras: Removed.
2637 2007-07-05 Adam Roben <aroben@apple.com>
2639 Show the test's extension in the results page
2641 * Scripts/run-webkit-tests:
2643 2007-07-05 Adam Roben <aroben@apple.com>
2645 Add more options for controlling the interpretation of the Skipped file
2649 * Scripts/run-webkit-tests:
2651 2007-07-04 Adam Roben <aroben@apple.com>
2653 Add --skipped-only option to run-webkit-tests
2655 When this option is specified, only those tests listed in the Skipped
2660 * Scripts/run-webkit-tests:
2662 2007-07-04 Adam Roben <aroben@apple.com>
2664 Clean up/alphabetize the run-webkit-tests help message
2666 * Scripts/run-webkit-tests:
2668 2007-07-04 Adam Roben <aroben@apple.com>
2670 Enable a Leopard-specific Skipped list.
2674 * Scripts/run-webkit-tests: Check for Leopard.
2675 * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
2677 2007-07-03 Adam Roben <aroben@apple.com>
2679 Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
2681 Got rid of extract-webkit-localizable-strings because it was trying to
2682 do update-webkit-localizable-strings' job.
2684 Rubberstamped by Darin.
2686 * Scripts/extract-webkit-localizable-strings: Removed.
2687 * Scripts/update-webkit-localizable-strings: Renamed from
2688 extract-localizable-strings.
2690 2007-07-03 Adam Roben <aroben@apple.com>
2692 Modify scripts to keep Mac/Windows localized strings in sync
2694 extract-webkit-localizable-strings now handles extracting strings from
2695 both the Mac and Windows WebKit ports and updating their respective
2696 Localizable.strings files. extract-localizable-strings is now really a
2697 piece of plumbing rather than a top-level tool.
2699 Reviewed by Darin and Anders.
2701 * Scripts/extract-localizable-strings: Changed to handle multiple
2703 * Scripts/extract-webkit-localizable-strings: Added.
2705 2007-07-03 Adele Peterson <adele@apple.com>
2709 Extended DumpRenderTree to test encoding and decoding host names.
2711 * DumpRenderTree/DumpRenderTree.m:
2712 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
2713 (+[LayoutTestController webScriptNameForSelector:]): ditto.
2714 (-[LayoutTestController decodeHostName:]): Added.
2715 (-[LayoutTestController encodeHostName:]): Added.
2717 2007-07-03 Sam Weinig <sam@webkit.org>
2721 Eleventh round of fixes for implicit 64-32 bit conversion errors.
2722 <rdar://problem/5292262>
2724 Add functions to test long long and unsigned long long.
2726 * DumpRenderTree/DumpRenderTree.m:
2727 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
2728 (+[LayoutTestController webScriptNameForSelector:]):
2729 (-[LayoutTestController objCLongLongRoundTrip:]):
2730 (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
2732 2007-07-01 Adam Roben <aroben@apple.com>
2734 Fix some paths to make http tests work again on Windows
2736 Rubberstamped by Sam.
2738 * Scripts/run-webkit-tests:
2740 2007-06-28 Stephanie <slewis@apple.com>
2744 Allow tests to use pre-built roots instead of building the tests.
2746 * Scripts/run-javascriptcore-tests: added --root option
2747 * Scripts/run-webkit-tests: added --root option
2748 * Scripts/webkitdirs.pm: added support for using a root
2750 2007-06-25 Adam Roben <aroben@apple.com>
2752 Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
2753 http://bugs.webkit.org/show_bug.cgi?id=14405
2757 * Scripts/run-webkit-tests:
2759 2007-06-25 Adam Roben <aroben@apple.com>
2761 Enable running the regression tests on Windows.
2763 These changes were developed alongside the Windows WebKit port and
2764 have been well tested.
2766 Rubberstamped by Sam.
2768 * Scripts/run-webkit-tests:
2770 2007-06-25 Adam Roben <aroben@apple.com>
2772 Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
2773 http://bugs.webkit.org/show_bug.cgi?id=14403
2775 Reviewed by Mark Rowe.
2777 * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
2778 (sub createPatchCommand): Generate a correct diff in the $gitCommit
2781 2007-06-25 Adam Roben <aroben@apple.com>
2783 Land pdevenv and supporting scripts/programs
2785 pdevenv is a script that will open an instance of Visual Studio that
2786 can compile multiple files in parallel, similar to make -jN. It uses
2787 the following scripts/programs to accomplish this:
2789 CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
2791 parallelcl: Actually performs the parallel compilation by forking
2792 multiple instances of the Microsoft-supplied cl.exe.
2794 MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
2795 Microsoft-supplied midl.exe. This avoids having to invoke perl for
2796 every invocation of midl.exe, which would be quite slow.
2798 Rubberstamped by Sam.
2800 * CLWrapper/CLWrapper.cpp: Added.
2802 * CLWrapper/CLWrapper.sln: Added.
2803 * CLWrapper/CLWrapper.vcproj: Added.
2804 * MIDLWrapper/MIDLWrapper.cpp: Added.
2806 * MIDLWrapper/MIDLWrapper.sln: Added.
2807 * MIDLWrapper/MIDLWrapper.vcproj: Added.
2808 * Scripts/parallelcl: Added.
2809 * Scripts/pdevenv: Added.
2810 * vcbin/cl.exe: Added.
2811 * vcbin/midl.exe: Added.
2813 2007-06-23 Adam Roben <aroben@apple.com>
2815 Land num-cpus for the Windows build.
2817 Reviewed by Mark Rowe.
2819 * Scripts/num-cpus: Added.
2821 2007-06-22 Simon Hausmann <hausmann@kde.org>
2823 Reviewed by Adam Roben.
2825 Added support for populating ChangeLog entries from given git commits
2826 using --git-commit=<commitish> and --git-reviewer=<name>.
2828 * Scripts/prepare-ChangeLog:
2830 2007-06-22 Timothy Hatcher <timothy@apple.com>
2834 <rdar://problem/5228168> Leopard regression test failures: fast/applescript
2836 There were some changes in Leopard that made our test output inconsistent with Tiger.
2838 NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
2839 on Leopard, so output our own readable string for typeType descriptors.
2841 NSArray's description also changed on Leopard to output more whitespace, so
2842 make our own string representation for typeAEList descriptors. This requires
2843 a special case typeUnicodeText too, so the output is a quoted string.
2845 * DumpRenderTree/AppleScriptController.m:
2846 (convertAEDescToObject):
2848 2007-06-21 Anders Carlsson <andersca@apple.com>
2852 Don't dump didFirstLayout callbacks, they happen intermittently.
2854 * DumpRenderTree/FrameLoadDelegate.m:
2856 2007-06-21 Lars Knoll <lars@trolltech.com>
2860 look for the Qt library in the installed location
2862 * Scripts/webkitdirs.pm:
2864 2007-06-20 Geoffrey Garen <ggaren@apple.com>
2866 Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
2868 Added tests for stringByEvaluatingJavaScriptFromString.
2870 * DumpRenderTree/DumpRenderTree.m:
2871 (testStringByEvaluatingJavaScriptFromString):
2874 2007-06-19 Andrew Wellington <proton@wiretapped.net>
2876 Reviewed by Mark Rowe.
2878 Support applications with spaces or special characters in their names
2880 * Scripts/run-webkit-app:
2882 2007-06-18 Anders Carlsson <andersca@apple.com>
2884 Reviewed by John Sullivan.
2886 Assert that the frame has a dataSource.
2888 * DumpRenderTree/FrameLoadDelegate.m:
2889 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2891 2007-06-18 Adam Treat <adam@staikos.net>
2895 Reflect the library name change.
2897 * Scripts/webkitdirs.pm:
2899 2007-06-18 Jake Helfert <jake@jakeonthenet.com>
2903 - fix http://bugs.webkit.org/show_bug.cgi?id=14154
2904 Spinneret doesn't build against the new Win32 port.
2906 * Spinneret/Spinneret/Spinneret.cpp:
2908 -Changed IWebViewExt to IWebViewPrivate
2909 -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
2910 the WIN32 function RegisterDragDrop which requires the Ole* calls.
2911 * Spinneret/Spinneret/Spinneret.h:
2912 (SpinneretWebHost::didReceiveIcon): Updated method signature.
2913 (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
2914 (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
2916 2007-06-14 Sam Weinig <sam@webkit.org>
2920 Update set of files to download for cygwin to include
2921 diffutils and regenerate the zip file. This should fix
2922 an issue on vista where svn-create-patch doesn't work.
2924 * CygwinDownloader/cygwin-downloader.py:
2925 * CygwinDownloader/cygwin-downloader.zip:
2927 2007-06-14 Mark Rowe <mrowe@apple.com>
2929 Update script to match new nightly.webkit.org infrastructure.
2931 * BuildSlaveSupport/build-launcher-dmg: Upload to the live web server, not the caching proxy. Let the server know it's a Mac build.
2933 2007-06-12 Adam Roben <aroben@apple.com>
2935 Land CygwinDownloader.
2937 Rubberstamped by Hyatt.
2939 * CygwinDownloader/cygwin-downloader.py: Added.
2940 * CygwinDownloader/cygwin-downloader.zip: Added.
2941 * CygwinDownloader/make-zip.sh: Added.
2942 * CygwinDownloader/setup.py: Added.
2944 2007-06-06 Vladimir Olexa <vladimir.olexa@gmail.com>
2946 Reviewed by Mark Rowe.
2948 Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996
2949 [Drosera] Items in the file list don't get un-highlighted when
2950 files are selected from the file drop-down
2952 * Drosera/debugger.js: currentFile was getting modified before file in the file
2953 browser got un-highlighted. Changed the order in which the functions execute.
2955 2007-06-06 Mark Rowe <mrowe@apple.com>
2959 http://bugs.webkit.org/show_bug.cgi?id=13988
2960 Bug 13988: Colon in file path crashes WebKit Nightly
2962 The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with
2963 the bundled WebKit framework. Both of these variables are interpreted as containing a
2964 colon-delimited list of paths. There is no escaping mechanism defined, so if we detect
2965 a path with a colon in it we need to bail out to prevent `dyld' from throwing an error
2966 when we execute Safari.
2968 * WebKitLauncher/main.m:
2971 2007-06-05 Mark Rowe <mrowe@apple.com>
2975 * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
2977 2007-05-30 Alp Toker <alp.toker@collabora.co.uk>
2981 Enable logging in the Gdk port.
2982 http://bugs.webkit.org/show_bug.cgi?id=13936
2984 * GdkLauncher/main.cpp:
2987 2007-05-29 Holger Freyther <zecke@selfish.org>
2991 Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
2992 to provide ScrollBars for the FrameView.
2994 * GdkLauncher/main.cpp:
2995 (registerRenderingAreaEvents):
2996 (layout_realize_callback): Only after realization we can access the GtkLayout::bin_window
2997 (frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust
3000 2007-05-29 David Kilzer <ddkilzer@webkit.org>
3004 - fix http://bugs.webkit.org/show_bug.cgi?id=13901
3005 run-pageloadtest does not obey testName on command-line
3007 * Scripts/run-pageloadtest: Grab $testName from the command-line if it is present,
3008 otherwise default to "svg". Added dummy check to make sure $testName.pltsuite
3011 2007-05-29 David Kilzer <ddkilzer@webkit.org>
3015 - fix http://bugs.webkit.org/show_bug.cgi?id=13900
3016 svnStatus($) subroutine in svn-[un]apply does not work properly with directories
3018 This patch also fixes an instance of the "broken pipe" warning that happened when
3019 a directory contained modified files that were not part of an applied or unapplied
3022 * Scripts/svn-apply:
3023 (svnStatus($)): If we're trying to get status on a directory (instead of a file),
3024 make sure we actually get the directory's status (if it has one), not the first
3025 file's status reported within the directory. Fix "broken pipe" warnings by
3026 reading all of the output from the SVN filehandle before closing it.
3027 * Scripts/svn-unapply:
3028 (svnStatus($)): Ditto.
3030 2007-05-28 David Kilzer <ddkilzer@webkit.org>
3034 - fix http://bugs.webkit.org/show_bug.cgi?id=10342
3035 prepare-ChangeLog only shows removed files but not added files when files are moved
3036 - fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408
3037 prepare-ChangeLog and svn-create-patch don't show replaced files
3039 Switched method used to find list of changed files from "diff" to "status". This
3040 makes added and replaced files with history appear in the changed file list for svn.
3041 Added check for "+" in output from the svn status command to detect file history, and
3042 handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines.
3044 * Scripts/prepare-ChangeLog:
3045 (diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@).
3046 (statusCommand(@)): Switched argument from array ref to array. Necessary to use
3047 the output of "keys $paths" without creating a temporary array variable.
3048 (findOriginalFileFromSvn($)): Added. Based on findSourceFileAndRevision($)
3049 subroutine in svn-create-patch.
3050 (generateFileList(\@\@\%)): Added. Extracted from main body of script. Runs status
3051 command using command-line arguments instead of list of changed files from the diff
3052 command. Changed svn regex to only accept file statuses that we know how to handle.
3053 Identify original file when an added/replaced status with history is present.
3054 (statusDescription($$)): Handled added/replaced statuses with history. Added
3055 fall-through return statement.
3057 2007-05-28 Holger Freyther <zecke@selfish.org>
3059 Reviewed by Mark Rowe.
3061 Add scripts and data to generate a coverage data for WebKit.
3063 * CodeCoverage/README: Added.
3064 * CodeCoverage/amber.png: Added.
3065 * CodeCoverage/cov.py: Added.
3066 * CodeCoverage/emerald.png: Added.
3067 * CodeCoverage/gcov.css: Added.
3068 * CodeCoverage/glass.png: Added.
3069 * CodeCoverage/regenerate-coverage-display: Added.
3070 * CodeCoverage/ruby.png: Added.
3071 * CodeCoverage/run-generate-coverage-data: Added.
3072 * CodeCoverage/snow.png: Added.
3073 * Scripts/build-webkit: Add --coverage by Niko
3074 * Scripts/check-for-global-initializers: Skip the check on coverage builds
3075 * Scripts/generate-coverage-data: Added.
3076 * Scripts/run-javascriptcore-tests: Add --coverage by Niko
3078 2007-05-29 Mark Rowe <mrowe@apple.com>
3080 Build fix after r21745.
3082 * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
3084 2007-05-25 Anders Carlsson <andersca@apple.com>
3088 * DumpRenderTree/DumpRenderTree.m:
3089 * DumpRenderTree/FrameLoadDelegate.m:
3091 2007-05-25 Simon Hausmann <hausmann@kde.org>
3095 For the keyDown binding use QStringList instead of QList<QString>. The former is a default
3096 registered metatype. Also print out critical messages in dumprendertree's qt message handler.
3098 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3099 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
3100 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3102 2007-05-20 David Kilzer <ddkilzer@webkit.org>
3104 Reviewed by Adam Roben.
3106 - fix http://bugs.webkit.org/show_bug.cgi?id=13565
3107 Change svn-create-patch to put LayoutTests in the end
3109 In addition to reordering test files under the LayoutTests directory so that they
3110 appear after source code files, this patch fixes an issue with prepare-ChangeLog
3111 if the first argument passed to it is a file name instead of a directory name.
3113 * Scripts/prepare-ChangeLog:
3114 (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
3116 * Scripts/svn-create-patch:
3117 (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
3120 2007-05-18 Mark Rowe <mrowe@apple.com>
3124 Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
3126 * Scripts/svn-create-patch:
3127 * Scripts/webkitdirs.pm:
3129 2007-05-18 Holger Freyther <zecke@selfish.org>
3133 * GdkLauncher/main.cpp: Call setGtkWidget
3136 2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>
3138 Reviewed by Mark Rowe.
3140 * GdkLauncher/main.cpp:
3141 (main): Call Frame::init to catch up with Maciej's changes.
3142 * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
3143 passed to the helper scripts.
3145 2007-05-16 Brady Eidson <beidson@apple.com>
3147 Build fix for some dev configurations
3149 * DumpRenderTree/DumpRenderTree.m:
3151 2007-05-16 Maciej Stachowiak <mjs@apple.com>
3155 - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
3157 The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
3158 that happen before the load commits.
3160 Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
3161 optional logging for every FrameLoadDelegate callback, including SPI callbacks.
3163 * DumpRenderTree/DumpRenderTree.h:
3164 * DumpRenderTree/DumpRenderTree.m:
3168 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3169 (-[LayoutTestController clearBackForwardList]):
3170 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
3171 (-[LayoutTestController dumpFrameLoadCallbacks]):
3172 (-[LayoutTestController setWindowIsKey:]):
3173 (-[LayoutTestController setMainFrameIsFirstResponder:]):
3174 (-[LayoutTestController _doLoad:target:]):
3175 (-[LayoutTestController _doBackOrForwardNavigation:]):
3176 (-[LayoutTestController queueReload]):
3177 (-[LayoutTestController queueScript:]):
3178 (-[LayoutTestController queueLoad:target:]):
3179 (-[LayoutTestController setAcceptsEditing:]):
3180 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
3181 (shouldLogFrameLoadDelegates):
3184 (+[DumpRenderTreeEvent mouseLocation]):
3185 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3186 * DumpRenderTree/DumpRenderTreeDraggingInfo.m:
3187 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
3188 * DumpRenderTree/EventSendingController.m:
3189 (-[EventSendingController mouseDown]):
3190 (-[EventSendingController mouseUp]):
3191 (-[EventSendingController mouseMoveToX:Y:]):
3192 (-[EventSendingController contextClick]):
3193 * DumpRenderTree/FrameLoadDelegate.h: Added.
3194 * DumpRenderTree/FrameLoadDelegate.m: Added.
3195 (-[WebFrame _drt_descriptionSuitableForTestResult]):
3196 (-[FrameLoadDelegate processWork:]):
3197 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
3198 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
3199 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
3200 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3201 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
3202 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
3203 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
3204 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3205 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
3206 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
3207 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
3208 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
3209 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
3210 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
3211 (-[FrameLoadDelegate webView:willCloseFrame:]):
3212 (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
3213 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
3214 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
3215 * DumpRenderTree/ResourceLoadDelegate.m:
3216 (-[NSURL _drt_descriptionSuitableForTestResult]):
3217 * DumpRenderTree/UIDelegate.m:
3218 (-[UIDelegate webViewFocus:]):
3220 2007-05-16 Kevin McCullough <kmccullough@apple.com>
3222 Reviewed by Darin and Geoff.
3224 - rdar://problem/4981886
3225 - Now windows opened by the DOM can be closed by JS.
3227 * DumpRenderTree/DumpRenderTree.m:
3228 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3229 (-[LayoutTestController windowCount]):
3231 2007-05-15 Adam Roben <aroben@apple.com>
3233 Reviewed by David Kilzer.
3235 http://bugs.webkit.org/show_bug.cgi?id=13732
3236 prepare-ChangeLog should work with git
3238 * Scripts/prepare-ChangeLog: Added support for Git.
3240 2007-05-15 Lars Knoll <lars@trolltech.com>
3244 Add the EventSender object to DRT. Currently it implements
3245 mouseDown, mouseUp and mouseMoveTo.
3247 Make run-webkit-tests --strict work somewhat better for form elements.
3249 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3250 (WebCore::DumpRenderTree::DumpRenderTree):
3251 (WebCore::DumpRenderTree::initJSObjects):
3252 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3253 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3254 (HackWebFrame::mousePressEvent):
3255 (HackWebFrame::mouseReleaseEvent):
3256 (EventSender::EventSender):
3257 (EventSender::mouseDown):
3258 (EventSender::mouseUp):
3259 (EventSender::mouseMoveTo):
3260 (EventSender::leapForward):
3261 (EventSender::keyDown):
3262 (EventSender::frameUnderMouse):
3263 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
3264 * Scripts/run-webkit-tests:
3266 2007-05-12 Oliver Hunt <oliver@apple.com>
3270 Add new api to DRT to allow us to test a file being dragged
3271 onto <input type="file">
3273 * DumpRenderTree/DumpRenderTree.h:
3274 * DumpRenderTree/DumpRenderTree.m:
3275 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3276 (-[LayoutTestController addFileToPasteboardOnDrag]):
3278 * DumpRenderTree/UIDelegate.m:
3279 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3281 2007-05-11 Holger Hans Peter Freyther <zecke@selfish.org>
3285 Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
3286 http://bugs.webkit.org/show_bug.cgi?id=13656
3288 * GdkLauncher/main.cpp: Handle resizing the drawing area
3289 (frameResizeCallback):
3292 2007-05-11 Geoffrey Garen <ggaren@apple.com>
3294 Reviewed by Darin Adler.
3296 Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:]
3299 * DumpRenderTree/DumpRenderTree.m:
3300 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
3301 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3302 (+[LayoutTestController webScriptNameForSelector:]):
3303 (-[LayoutTestController testWrapperRoundTripping:]):
3305 2007-05-08 Maciej Stachowiak <mjs@apple.com>
3309 - don't clear events whenever an EventSendingController goes away, only do it at predictable times,
3310 since destroying a subframe can make one go away
3312 (Discovered while fixing:
3314 <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
3315 <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
3317 * DumpRenderTree/DumpRenderTree.m:
3318 (runTest): explicitly clear saved events after every page load
3319 * DumpRenderTree/EventSendingController.h:
3320 * DumpRenderTree/EventSendingController.m:
3321 (-[EventSendingController dealloc]): don't clear saved events here...
3322 (+[EventSendingController clearSavedEvents]): do it here
3323 * Scripts/check-for-global-initializers:
3325 2007-05-10 Mark Rowe <mrowe@apple.com>
3327 Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
3329 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3331 2007-05-09 Geoffrey Garen <ggaren@apple.com>
3333 Reviewed by Maciej Stachowiak.
3335 Added support for testing ObjC/JS type bridging.
3337 Added ASSERT that -JSObject returns nil when the underlying JSObject
3338 is no longer GC protected.
3340 * DumpRenderTree/DumpRenderTree.m:
3341 (returnThisCallback):
3343 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
3344 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3345 (+[LayoutTestController webScriptNameForSelector:]):
3346 (-[LayoutTestController accessStoredWebScriptObject]):
3347 (-[LayoutTestController testWrapperRoundTripping]):
3348 (-[LayoutTestController objCClassNameOf:]):
3349 (-[LayoutTestController objCObjectOfClass:]):
3350 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3352 2007-05-10 Lars Knoll <lars@trolltech.com>
3356 Move setting of the DPI value a few lines up. Should fix
3357 the last two remaining failures in the layout tests.
3359 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3362 2007-05-09 Holger Freyther <zecke@selfish.org>
3364 Reviewed by Mark Rowe.
3366 * GdkLauncher/main.cpp: Always include config.h.
3368 2007-05-08 Geoffrey Garen <ggaren@apple.com>
3370 Reviewed by Darin Adler.
3372 Added support for testing ObjC object identity.
3374 Added ASSERT to verify that you can round-trip the object passed to you
3375 in -didClearWindowObject:forFrame:.
3377 * DumpRenderTree/DumpRenderTree.m:
3378 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
3379 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
3380 (+[LayoutTestController webScriptNameForSelector:]):
3381 (-[LayoutTestController accessStoredWebScriptObject]):
3382 (-[LayoutTestController objCIdentityIsEqual::]):
3384 2007-05-07 Geoffrey Garen <ggaren@apple.com>
3386 Reviewed by Maciej Stachowiak.
3388 Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext],
3389 and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject
3390 forFrame:(WebFrame *)frame, in the form of ASSERTs.
3392 * DumpRenderTree/DumpRenderTree.m:
3393 (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
3396 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
3397 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
3398 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3400 2007-05-08 Lars Knoll <lars@trolltech.com>
3404 Dump JavaScript console messages as well. Also requires a slight
3405 change in run-webkit-tests, so we still correctly differentiate
3406 between text only and rendertree tests.
3408 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3409 (WebCore::WebPage::WebPage):
3410 (WebCore::WebPage::javaScriptConsoleMessage):
3411 (WebCore::DumpRenderTree::DumpRenderTree):
3412 (WebCore::DumpRenderTree::dump):
3413 * Scripts/run-webkit-tests:
3415 2007-05-08 Lars Knoll <lars@trolltech.com>
3419 Specify what the serif, sans-serif and monospace aliases
3420 should map to and explicitly select the Gui style of
3421 DRT to be plastique.
3423 Fixes most of the test failures still seen on the build bot.
3425 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
3426 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3429 2007-05-07 Lars Knoll <lars@trolltech.com>
3433 Fix the default font to 9pt Sans Serif.
3435 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3438 2007-05-04 Lars Knoll <lars@trolltech.com>
3442 Revert on line of the last commit. We still want to keep the RPATH
3443 support in the pro file.
3445 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3447 2007-05-04 Lars Knoll <lars@trolltech.com>
3451 Remove the old bitmap fonts I tried using to get reliable results from
3452 DumpRenderTree on X11. Instead we now use the URW Type1 fonts from
3453 ghostscript. I've added a mirror to simply check them out at
3454 svn://labs.trolltech.com/svn/webkit/testfonts.
3456 Fixed DumpRenderTree to make sure these fonts are the only ones we use
3457 on X11 and added a fonts.conf file to get a well defined fontconfig
3460 Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
3461 I use to find the fonts to DumpRenderTree.
3463 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3464 * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed.
3465 * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed.
3466 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed.
3467 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed.
3468 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed.
3469 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed.
3470 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed.
3471 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed.
3472 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed.
3473 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed.
3474 * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed.
3475 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed.
3476 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed.
3477 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed.
3478 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed.
3479 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added.
3480 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
3482 * Scripts/run-webkit-tests:
3484 2007-05-03 Holger Freyther <freyther@kde.org>
3486 Reviewed by Zack, landed by Simon.
3487 This is bugzilla bug 13499.
3489 * GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake
3490 * GdkLauncher/main.cpp: We don't have a config.h with the qmake build
3491 * Scripts/build-webkit: Add --gdk for the Gdk port
3492 * Scripts/webkitdirs.pm: Add helper methods for the Gdk port
3494 2007-05-03 Geoffrey Garen <ggaren@apple.com>
3496 Build fix: Add AllInOneFile.o to the ignore list, since it includes files
3499 * Scripts/check-for-global-initializers:
3501 2007-05-02 Holger Freyther <freyther@kde.org>
3503 Reviewed by Mark Rowe.
3505 * Scripts/build-webkit: Remove the CMake call.
3506 * Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only
3507 buildsystem for the Qt port.
3509 2007-04-27 Kevin McCullough <kmccullough@apple.com>
3511 - Removed debugging statements and took out the removal of the deletion
3512 of the symlink. This is because multiple instances of run-webkit-tests
3513 can be running at the same time.
3514 * Scripts/run-webkit-tests:
3516 2007-04-27 Adam Roben <aroben@apple.com>
3520 Cleaned up prepare-ChangeLog
3522 * Scripts/prepare-ChangeLog: No code changes, but style now matches
3523 the prevalent style of our perl scripts.
3525 2007-04-27 Nazar Kulyk <schamane@myeburg.net>
3527 Reviewed by Mark Rowe.
3529 Basic auto-correction of user-entered URLs.
3531 * GdkLauncher/main.cpp:
3536 2007-04-28 Mark Rowe <mrowe@apple.com>
3538 Rubber-stamped by Anders.
3540 Rename some methods and variables to match the style guidelines.
3542 * GdkLauncher/main.cpp:
3546 (goButtonClickedCallback):
3547 (urlBarEnterCallback):
3548 (frameResizeCallback):
3549 (frameDestroyCallback):
3550 (menuMainBackCallback):
3551 (menuMainForwardCallback):
3552 (menuMainQuitCallback):
3555 2007-04-27 Holger Freyther <freyther@kde.org>
3559 Remove unmaintained CMake build system.
3561 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
3562 * Scripts/build-webkit: Remove references to CMake.
3563 * Scripts/webkitdirs.pm: Remove references to CMake.
3565 2007-04-26 Alp Toker <alp@atoker.com>
3567 Reviewed by Mark Rowe.
3569 * GdkLauncher/main.cp