1 2008-09-27 Anders Carlsson <andersca@apple.com>
3 Reviewed by Sam Weinig.
5 https://bugs.webkit.org/show_bug.cgi?id=21178
6 <rdar://problem/6248651>
8 Return the result value from getURL.
10 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
13 2008-09-26 Matt Lilek <webkit@mattlilek.com>
15 Reviewed by Tim Hatcher.
17 Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
19 * Scripts/build-webkit:
21 2008-09-26 Alice Liu <alice.liu@apple.com>
23 Remove usage of atlstr.h and CString for VCExpress compatibility
25 Reviewed by Stephanie Lewis.
27 * record-memory-win/main.cpp:
34 2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
36 wx build fix. Update the version of libpng.
38 * wx/install-unix-extras:
40 2008-09-24 Sam Weinig <sam@webkit.org>
42 Reviewed by Darin Adler.
44 Fix for https://bugs.webkit.org/show_bug.cgi?id=21080
45 <rdar://problem/6243534>
46 Crash below Function.apply when using a runtime array as the argument list
48 Add method to ObjCController to return a runtime array.
50 * DumpRenderTree/mac/ObjCController.m:
51 (+[ObjCController isSelectorExcludedFromWebScript:]):
52 (+[ObjCController webScriptNameForSelector:]):
53 (-[ObjCController testArray]):
55 2008-09-24 Beth Dakin <bdakin@apple.com>
57 Reviewed by Sam Weinig.
59 Speculative build fix.
61 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
62 (AccessibilityUIElement::supportsPressAction):
64 2008-09-23 Beth Dakin <bdakin@apple.com>
66 Reviewed by Sam Weinig.
68 This patch extends DumpRenderTree's AccessibilityController to ask
69 if the focused element supports the press action.
71 * DumpRenderTree/AccessibilityUIElement.cpp:
72 (getSupportsPressActionCallback):
73 (AccessibilityUIElement::getJSClass):
74 * DumpRenderTree/AccessibilityUIElement.h:
75 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
76 (AccessibilityUIElement::supportsPressAction):
78 2008-09-22 Alice Liu <alice.liu@apple.com>
80 Adding a stand-alone Windows console application to record a process's memory usage
82 Reviewed by Steve Falkenburg.
84 * record-memory-win: Added.
85 * record-memory-win/main.cpp: Added.
86 * record-memory-win/record-memory-win.vcproj: Added.
88 2008-09-22 Chris Fleizach <cfleizach@apple.com>
90 Reviewed by Darin Adler.
92 Support ability to get/set selected text ranges for text controls through AX.
94 * DumpRenderTree/AccessibilityUIElement.cpp:
95 (setSelectedTextRangeCallback):
96 (getSelectedTextRangeCallback):
97 (AccessibilityUIElement::getJSClass):
98 * DumpRenderTree/AccessibilityUIElement.h:
99 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
100 (AccessibilityUIElement::attributesOfRowHeaders):
101 (AccessibilityUIElement::attributesOfVisibleCells):
102 (AccessibilityUIElement::rowIndexRange):
103 (AccessibilityUIElement::columnIndexRange):
104 (AccessibilityUIElement::cellForColumnAndRow):
105 (AccessibilityUIElement::selectedTextRange):
106 (AccessibilityUIElement::setSelectedTextRange):
107 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
108 (AccessibilityUIElement::selectedTextRange):
109 (AccessibilityUIElement::setSelectedTextRange):
111 2008-09-20 Darin Adler <darin@apple.com>
113 * DumpRenderTree/mac/DumpRenderTree.mm:
114 (convertMIMEType): Turn on Stephanie's workaround for Tiger too.
116 2008-09-19 Alp Toker <alp@nuanti.com>
118 Build fix for the 'gold' linker and recent binutils. New behaviour
119 requires that we link to used libraries explicitly.
123 2008-09-19 Stephanie Lewis <slewis@apple.com>
125 Reviewed by Oliver Hunt.
127 Implement a workaround for an incorrect mime-type on machines with
128 Dashcode 2.0.1. Dashcode is overriding the UTI type for .js files.
129 See radar <rdar://problem/6234318>.
131 * DumpRenderTree/mac/DumpRenderTree.mm:
134 2008-09-19 Chris Fleizach <cfleizach@apple.com>
136 Fixed Windows bustage
138 * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
139 (AccessibilityUIElement::titleUIElement):
141 2008-09-18 Chris Fleizach <cfleizach@apple.com>
143 Reviewed by Darin Adler.
145 Expose titleUIElement call for DumpRenderTree
148 * DumpRenderTree/AccessibilityUIElement.cpp:
149 (titleUIElementCallback):
150 (AccessibilityUIElement::getJSClass):
151 * DumpRenderTree/AccessibilityUIElement.h:
152 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
153 (AccessibilityUIElement::titleUIElement):
155 2008-09-18 Darin Adler <darin@apple.com>
157 * Scripts/do-webcore-rename: More renaming plans.
159 2008-09-18 Mark Rowe <mrowe@apple.com>
161 Reviewed by Dan Bernstein.
163 Clear the main frame's name between tests to get more consistent test results
164 when running the WebKit tests with --nthly.
166 * DumpRenderTree/mac/DumpRenderTree.mm:
167 (resetWebViewToConsistentStateBeforeTesting):
168 * DumpRenderTree/win/DumpRenderTree.cpp:
169 (resetWebViewToConsistentStateBeforeTesting):
171 2008-09-18 Stephanie Lewis <slewis@apple.com>
173 Really fix tiger jsc tests.
175 * Scripts/run-javascriptcore-tests:
177 2008-09-18 Stephanie Lewis <slewis@apple.com>
179 Reviewed by Maciej Stachowiak.
181 Fix jsc tests on Tiger. Make jsc tests smarter about when to use the arch flag.
183 * Scripts/run-javascriptcore-tests:
184 * Scripts/webkitdirs.pm:
186 2008-09-18 Mark Rowe <mrowe@apple.com>
188 Rubber-stamped by Sam Weinig.
190 Print warning to stdout rather than stderr when a test attempts to access a remote resource.
191 This should make it more obvious when a test does this, as stderr output tends to be obscured
192 by noise in the test results.
194 Also fixes some coding style issues in ResourceLoadDelegate.mm.
196 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
197 (-[NSError _drt_descriptionSuitableForTestResult]):
198 (-[NSURL _drt_descriptionSuitableForTestResult]):
199 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
200 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
201 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
202 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
203 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
204 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
206 2008-09-18 Stephanie Lewis <slewis@apple.com>
208 Reviewed by Mark Rowe and Maciej Stachowiak..
210 add a --64-bit option and specify which architecture to run on Mac.
212 * Scripts/run-javascriptcore-tests:
214 2008-09-17 Mark Rowe <mrowe@apple.com>
216 Reviewed by Sam Weinig.
218 Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc.
220 The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when
221 attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making
222 LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper.
224 * DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h.
225 * DumpRenderTree/LayoutTestController.cpp:
226 (LayoutTestController::LayoutTestController):
227 (notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance.
228 (layoutTestControllerObjectFinalize): Deref the wrapped object.
229 (LayoutTestController::makeWindowObject): Ref the wrapped object.
230 * DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted.
231 * DumpRenderTree/mac/DumpRenderTree.mm:
232 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
233 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed.
234 * DumpRenderTree/win/DumpRenderTree.cpp:
235 (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
237 2008-09-16 Sam Weinig <sam@webkit.org>
239 Reviewed by Mark Rowe.
241 Add flag to disable running sample on tests that timeout.
243 * Scripts/run-webkit-tests:
245 2008-09-16 Adam Roben <aroben@apple.com>
247 Windows build fix after r36511
249 Update for rename of layoutTestController to gLayoutTestController.
251 * DumpRenderTree/LayoutTestController.cpp:
252 * DumpRenderTree/win/EditingDelegate.cpp:
253 * DumpRenderTree/win/FrameLoadDelegate.cpp:
254 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
255 * DumpRenderTree/win/UIDelegate.cpp:
257 2008-09-16 Adam Roben <aroben@apple.com>
259 Add a script to print out the dependency tree of a Visual Studio
262 * Scripts/print-msvc-project-dependencies: Added.
264 2008-09-16 Mark Rowe <mrowe@apple.com>
268 * DumpRenderTree/LayoutTestController.cpp:
269 (notifyDoneCallback): Call fprintf in a safer manner.
271 2008-09-16 Simon Fraser <simon.fraser@apple.com>
273 Reviewed by Eric Seidel
275 Protect against tests that call layoutTestController.notifyDone()
276 more than once, which would lead to memory corruption, by nulling
277 out the LayoutTestController on the JSObjectRef on destruction. Also
278 add a finalize callback on the class so that if the LTC outlives
279 the JSObjectRef, the JSObjectRef backpointer on the LTC can be
282 https://bugs.webkit.org/show_bug.cgi?id=20875
284 * DumpRenderTree/LayoutTestController.cpp:
285 (LayoutTestController::LayoutTestController):
286 (notifyDoneCallback):
287 (layoutTestControllerObjectFinalize):
288 (LayoutTestController::makeWindowObject):
289 (LayoutTestController::getJSClass):
290 * DumpRenderTree/LayoutTestController.h:
291 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
292 (LayoutTestController::~LayoutTestController):
294 2008-09-16 Simon Fraser <simon.fraser@apple.com>
296 Reviewed by Eric Seidel
298 Step 1 patch: rename global variable for clarity.
299 https://bugs.webkit.org/show_bug.cgi?id=20875
301 * DumpRenderTree/DumpRenderTree.h:
302 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
303 (dumpWebViewAsPixelsAndCompareWithExpected):
304 * DumpRenderTree/gtk/DumpRenderTree.cpp:
309 (webViewLoadFinished):
310 (webViewWindowObjectCleared):
311 * DumpRenderTree/mac/DumpRenderTree.mm:
312 (allocateGlobalControllers):
313 (dumpFrameScrollPosition):
315 (methodNameStringForFailedTest):
318 * DumpRenderTree/mac/DumpRenderTreeMac.h:
319 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
320 * DumpRenderTree/mac/EditingDelegate.mm:
321 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
322 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
323 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
324 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
325 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
326 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
327 (-[EditingDelegate webViewDidBeginEditing:]):
328 (-[EditingDelegate webViewDidChange:]):
329 (-[EditingDelegate webViewDidEndEditing:]):
330 (-[EditingDelegate webViewDidChangeTypingStyle:]):
331 * DumpRenderTree/mac/FrameLoadDelegate.mm:
332 (-[FrameLoadDelegate processWork:]):
333 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
334 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
335 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
336 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
337 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
338 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
339 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
340 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
341 * DumpRenderTree/mac/UIDelegate.mm:
342 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
343 (-[UIDelegate webViewFocus:]):
344 (-[UIDelegate webViewUnfocus:]):
345 (-[UIDelegate webView:createWebViewWithRequest:]):
346 (-[UIDelegate webViewClose:]):
347 * DumpRenderTree/win/DumpRenderTree.cpp:
348 (dumpFrameScrollPosition):
353 2008-09-15 Alice Liu <alice.liu@apple.com>
355 A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test
357 Reviewed by Stephanie Lewis.
359 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
360 Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC,
361 but not Intel. Add a check for nil before calling.
362 (AccessibilityUIElement::rowIndexRange):
363 (AccessibilityUIElement::columnIndexRange):
365 2008-09-14 Mark Rowe <mrowe@apple.com>
369 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
370 (waitUntilDoneWatchdogFired):
371 * DumpRenderTree/mac/ObjCPlugin.m:
373 2008-09-08 Dan Bernstein <mitz@apple.com>
375 Reviewed by Mark Rowe.
377 - add an option to run-webkit-tests to always use the complex text code path
379 * DumpRenderTree/mac/DumpRenderTree.mm:
380 (initializeGlobalsFromCommandLineOptions):
382 * Scripts/run-webkit-tests:
384 2008-09-08 Steve Falkenburg <sfalken@apple.com>
386 Another Windows nightly build fix.
388 Reviewed by Sam Weinig.
390 * FindSafari/FindSafari.cpp:
391 (_tmain): Delete existing WebKitNightly directory in temp.
392 * FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes.
394 2008-09-07 Stephanie Lewis <slewis@apple.com>
396 Reviewed by Mark Rowe.
400 * DumpRenderTree/DumpRenderTreePrefix.h:
401 * DumpRenderTree/win/DumpRenderTree.vcproj:
403 2008-09-06 Steve Falkenburg <sfalken@apple.com>
405 Fix Windows nightlies.
407 Copy WebKit.dll alongside application so registry-free COM can find it.
408 Update embedded manifest to force use registry-free COM.
410 Reviewed by Dave Hyatt.
412 * FindSafari/FindSafari.cpp:
416 * FindSafari/FindSafari.rc: Added.
417 * FindSafari/FindSafari.vcproj:
418 * FindSafari/Safari.exe.manifest: Added.
419 * FindSafari/resource.h: Added.
421 === End merge of squirrelfish-extreme ===
423 2008-08-31 Mark Rowe <mrowe@apple.com>
425 Reviewed by Maciej Stachowiak.
427 Add a --profile flag to run-sunspider.
429 * Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument
430 to build scripts as indicating that we should use the "Profiling" configuration. At present
431 this is only supported by JavaScriptCore, so using this argument to build any other project
432 will likely result in unexpected behaviour.
434 2008-08-27 Mark Rowe <mrowe@apple.com>
436 Reviewed by Oliver Hunt.
438 Fix run-webkit-tests to handle DRT exiting early.
440 * Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used.
442 === Start merge of squirrelfish-extreme ===
444 2008-09-04 Mark Rowe <mrowe@apple.com>
446 Reviewed by Eric Seidel.
448 Fix https://bugs.webkit.org/show_bug.cgi?id=20639.
449 Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE
451 * Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code.
453 2008-09-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
455 Reviewed by Oliver Hunt.
457 Bug 20616: Incorporate V8 benchmarks in testing
458 <https://bugs.webkit.org/show_bug.cgi?id=20616>
460 Add support for the --v8 option to run-sunspider.
462 * Scripts/run-sunspider:
464 2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
466 wx buildbot fix. More robust handling of clean when makefiles are not built or
467 are not completely made.
471 2008-09-03 Mark Rowe <mrowe@apple.com>
473 More Mac build fixes.
475 Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit.
476 Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the
477 default configuration specified in the .xcconfig files.
479 * Scripts/build-webkit:
481 2008-09-03 Mark Rowe <mrowe@apple.com>
483 Mac build fix. Ensure that dashboard support is enabled.
485 * DumpRenderTree/mac/Configurations/Base.xcconfig:
487 2008-08-25 Steve Falkenburg <sfalken@apple.com>
489 Build fix. Copy correct version of ICU.
491 * DumpRenderTree/win/DumpRenderTree.vcproj:
493 2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org>
497 [run-webkit-tests] Use QtLauncher to show the results of the tests
498 konqueror might not be installed, xdg-open might not be installed but the
499 QtLauncher should be present.
501 * Scripts/run-webkit-tests:
503 2008-08-24 Jon Honeycutt <jhoneycutt@apple.com>
505 Initial support for accessibility layout tests on Windows.
506 https://bugs.webkit.org/show_bug.cgi?id=20497
508 Reviewed by Sam Weinig.
510 * DumpRenderTree/AccessibilityController.h: Fix typos.
511 * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
512 * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
513 prevent oleacc.h, which includes windows.h, from including winsock.h.
515 * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
516 (AccessibilityController::AccessibilityController):
517 (AccessibilityController::~AccessibilityController):
518 (AccessibilityController::focusedElement): Get the root element, and
519 request its focused object.
520 (AccessibilityController::rootElement): Query Windows for the
521 accessible client object for the WebView's window.
522 * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
523 (AccessibilityUIElement::AccessibilityUIElement):
524 (AccessibilityUIElement::~AccessibilityUIElement):
525 (AccessibilityUIElement::getLinkedUIElements): Not implemented.
526 (AccessibilityUIElement::getChildren): Get the child count, and append
528 (AccessibilityUIElement::getChildAtIndex): Get the child at the given
529 index offset by 1. In MSAA, child 0 is the object itself.
530 (AccessibilityUIElement::allAttributes): Not implemented.
531 (AccessibilityUIElement::attributesOfLinkedUIElements): Same.
532 (AccessibilityUIElement::attributesOfChildren): Same.
533 (AccessibilityUIElement::parameterizedAttributeNames): Same.
534 (self): Return a VARIANT representing the "self" object. This is used
535 when calling methods that require a child variant.
536 (AccessibilityUIElement::role): Get the MSAA role, a long value, and
537 convert it into a string with GetRoleText().
538 (AccessibilityUIElement::title): Get the element's title, and convert
540 (AccessibilityUIElement::description): Same, for description.
541 (AccessibilityUIElement::width):
542 (AccessibilityUIElement::height):
543 (AccessibilityUIElement::intValue): Get the object's value as a string,
544 and convert the string to a double.
545 (AccessibilityUIElement::minValue): Not implemented.
546 (AccessibilityUIElement::maxValue): Same.
547 (AccessibilityUIElement::insertionPointLineNumber): Same.
548 (AccessibilityUIElement::attributesOfColumnHeaders): Same.
549 (AccessibilityUIElement::attributesOfRowHeaders): Same.
550 (AccessibilityUIElement::attributesOfColumns): Same.
551 (AccessibilityUIElement::attributesOfRows): Same.
552 (AccessibilityUIElement::attributesOfVisibleCells): Same.
553 (AccessibilityUIElement::attributesOfHeader): Same.
554 (AccessibilityUIElement::indexInTable): Same.
555 (AccessibilityUIElement::rowIndexRange): Same.
556 (AccessibilityUIElement::columnIndexRange): Same.
557 (AccessibilityUIElement::lineForIndex): Same.
558 (AccessibilityUIElement::boundsForRange): Same.
559 (AccessibilityUIElement::cellForColumnAndRow): Same.
560 * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
561 project. Link to oleacc.lib, the MSAA library.
562 * DumpRenderTree/win/FrameLoadDelegate.cpp:
563 (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
565 (FrameLoadDelegate::didClearWindowObject): Create a new window object
566 for the accessibility controller.
567 * DumpRenderTree/win/FrameLoadDelegate.h:
569 2008-08-21 Simon Fraser <simon.fraser@apple.com>
571 Reviewed by Mark Rowe
573 Make build-launcher-app work when run from a git repository.
574 https://bugs.webkit.org/show_bug.cgi?id=20478
576 * BuildSlaveSupport/build-launcher-app:
578 2008-08-20 Maxime Britto <britto@apple.com>
580 Reviewed by Ada Chan.
583 Mouse events are sent to page while resizing window (affects Gmail)
585 * DumpRenderTree/win/UIDelegate.h:
586 (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.
588 2008-08-19 Chris Fleizach <cfleizach@apple.com>
590 Reviewed by Beth Dakin.
592 Add snowleopard platform in layout tests
594 Added support for accessing the attributes of
595 accessibility tables through the accessibility controller
598 * DumpRenderTree/AccessibilityUIElement.cpp:
599 (attributesOfColumnHeadersCallback):
600 (attributesOfRowHeadersCallback):
601 (attributesOfColumnsCallback):
602 (attributesOfRowsCallback):
603 (attributesOfVisibleCellsCallback):
604 (attributesOfHeaderCallback):
605 (indexInTableCallback):
606 (rowIndexRangeCallback):
607 (columnIndexRangeCallback):
608 (childAtIndexCallback):
609 (cellForColumnAndRowCallback):
610 (AccessibilityUIElement::getJSClass):
611 * DumpRenderTree/AccessibilityUIElement.h:
612 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
613 (convertNSArrayToVector):
614 (descriptionOfElements):
615 (AccessibilityUIElement::getLinkedUIElements):
616 (AccessibilityUIElement::getChildren):
617 (AccessibilityUIElement::attributesOfLinkedUIElements):
618 (AccessibilityUIElement::attributesOfChildren):
619 (AccessibilityUIElement::attributesOfColumnHeaders):
620 (AccessibilityUIElement::attributesOfRowHeaders):
621 (AccessibilityUIElement::attributesOfColumns):
622 (AccessibilityUIElement::attributesOfRows):
623 (AccessibilityUIElement::attributesOfVisibleCells):
624 (AccessibilityUIElement::attributesOfHeader):
625 (AccessibilityUIElement::indexInTable):
626 (AccessibilityUIElement::rowIndexRange):
627 (AccessibilityUIElement::columnIndexRange):
628 (AccessibilityUIElement::cellForColumnAndRow):
629 * Scripts/run-webkit-tests:
631 2008-08-19 Alexey Proskuryakov <ap@webkit.org>
633 Reviewed by Darin Adler.
635 Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree
636 is waiting for crash reporter to let it exit.
638 The fix does not work on Tiger, because the state of the process is indistinguishable from
639 other waiting processes, at least not with this technique.
641 * Scripts/run-webkit-tests:
643 2008-08-18 Alp Toker <alp@nuanti.com>
645 Reviewed by Holger Freyther.
647 https://bugs.webkit.org/show_bug.cgi?id=20350
648 [GTK] Get DumpRenderTree working
650 Fixes and enhancements to DumpRenderTree. With these changes, the test
651 suite can now complete a run producing text and render tree dumps.
653 * DumpRenderTree/gtk/DumpRenderTree.cpp:
657 (webViewLoadFinished):
658 (webViewWindowObjectCleared):
659 (webViewConsoleMessage):
660 (webViewScriptAlert):
661 (webViewScriptPrompt):
662 (webViewScriptConfirm):
663 (webViewTitleChanged):
665 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
666 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
667 (LayoutTestController::clearBackForwardList):
668 (LayoutTestController::pathToLocalResource):
669 (LayoutTestController::setAcceptsEditing):
670 (LayoutTestController::setUserStyleSheetEnabled):
671 (LayoutTestController::setUserStyleSheetLocation):
672 (waitToDumpWatchdogFired):
673 (LayoutTestController::windowCount):
674 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
675 (JSStringCopyUTF8CString):
676 (ScriptItem::invoke):
678 2008-08-17 Geoffrey Garen <ggaren@apple.com>
680 Reviewed by Cameron Zwarich.
682 Updated project files to XCode 3.1.
684 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
685 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
687 2008-08-15 Mark Rowe <mrowe@apple.com>
689 Rubber-stamped by Geoff Garen.
691 <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
693 * Scripts/check-for-global-initializers: Ignore initializers when building the debug variant.
695 2008-08-13 Simon Hausmann <hausmann@webkit.org>
697 Rubber-stamped by Holger.
699 Revert r31585 and disable http tests for the Qt build again unless
702 Running the http tests unfortunately currently still triggers
703 failures in non-http tests due to side-effects. Disable them by default for
704 now, for more reliable results.
706 * Scripts/run-webkit-tests:
708 2008-08-10 Jan Michael Alonzo <jmalonzo@webkit.org>
710 Reviewed (and updated) by Alp Toker.
712 https://bugs.webkit.org/show_bug.cgi?id=16620
713 [GTK] Autotools make dist and make check support
715 Get make dist working.
717 Note that not all possible configurations have been tested yet.
721 2008-08-10 Alp Toker <alp@nuanti.com>
723 Remove leftover qmake/GTK+ build files.
725 * DumpRenderTree/gtk/DumpRenderTree.pro: Removed.
726 * GtkLauncher/GtkLauncher.pro: Removed.
728 2008-08-06 Chris Fleizach <cfleizach@apple.com>
730 Reviewed by Beth Dakin
732 AX functions shouldn't return position information because it changes
733 based on the platform
735 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
736 (AccessibilityUIElement::boundsForRange):
738 2008-08-06 Eric Seidel <eric@webkit.org>
742 Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement.
743 <https://bugs.webkit.org/show_bug.cgi?id=20297>
744 <rdar://problem/6093153>
746 I've made AccessibilityUIElement a stack object for now. It could be
747 made RefCounted, but I figured that might be overkill for the moment.
748 Essentially it's just a RefPtr itself. :)
750 I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement()
751 which was causing additional leaks. :)
753 I added toAXElement to remove a bunch of copy/paste code.
755 * DumpRenderTree/AccessibilityController.h:
756 * DumpRenderTree/AccessibilityUIElement.cpp:
758 (allAttributesCallback):
759 (attributesOfLinkedUIElementsCallback):
760 (attributesOfChildrenCallback):
761 (lineForIndexCallback):
762 (boundsForRangeCallback):
763 (childAtIndexCallback):
766 (getDescriptionCallback):
769 (getIntValueCallback):
770 (getMinValueCallback):
771 (getMaxValueCallback):
772 (getInsertionPointLineNumberCallback):
774 * DumpRenderTree/AccessibilityUIElement.h:
775 (AccessibilityUIElement::platformUIElement):
776 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
777 (AccessibilityController::focusedElement):
778 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
779 (AccessibilityUIElement::AccessibilityUIElement):
780 (AccessibilityUIElement::getLinkedUIElements):
781 (AccessibilityUIElement::getChildren):
782 (AccessibilityUIElement::getChildAtIndex):
783 (AccessibilityUIElement::attributesOfLinkedUIElements):
784 (AccessibilityUIElement::attributesOfChildren):
786 2008-08-06 Eric Seidel <eric@webkit.org>
788 Reviewed by Cameron Zwarich.
790 Speculative fix for an error I keep seeing in my Cygwin build
792 * Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin
794 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
796 Forgot to commit licensing correction in last commit.
798 * wx/packaging/wxWebKitInstaller.iss.in:
800 2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
802 Reviewed by Eric Seidel.
804 Scripts for building a wxWebKit installer for wxPython on Win, eventually will
805 be used for nightlies.
807 https://bugs.webkit.org/show_bug.cgi?id=20036
809 * wx/packaging: Added.
810 * wx/packaging/build-win-installer.py: Added.
811 * wx/packaging/wxWebKitInstaller.iss.in: Added.
813 2008-07-31 Adam Roben <aroben@apple.com>
817 * WinLauncher/WinLauncher.vcproj: Set the manifest properties for the
818 Release configuration, too.
820 2008-07-31 Stefan Landvogt <stefan.landvogt@gmail.com>
822 Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
825 <https://bugs.webkit.org/show_bug.cgi?id=20245>
827 Reviewed by Adam Roben.
829 * WinLauncher/WinLauncher.vcproj: adding the following properties to
830 WinLauncher > Properties > Manifest Tool > Isolated COM
831 Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb
832 Component File Name: WebKit$(WebKitDLLConfigSuffix)
833 Doing the change on "All Configurations"
835 2008-07-31 Adam Roben <aroben@apple.com>
837 Windows build bot fix
839 * DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only
840 exist for people at Apple can't be found. Also updated the ICU version
843 2008-07-31 David Kilzer <ddkilzer@apple.com>
845 Fix layout test results for webarchive/test-xml-stylesheet.xml
847 Reviewed by Darin Adler.
849 * DumpRenderTree/mac/DumpRenderTree.mm:
850 (convertMIMEType): Work around the "text/xml" local file type
851 regression in Leopard using the BUILDING_ON_LEOPARD macro. Also
852 stop mangling "application/x-javascript" into "text/javascript".
853 (convertWebResourceDataToString): When checking whether to dump a
854 resource as text, also check to see if the MIME type is in the
855 -[WebHTMLRepresentation supportedNonImageMIMETypes] array.
856 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD
859 2008-07-31 Chris Fleizach <cfleizach@apple.com>
861 Reviewed by Alice Liu
863 Add AX support to get the bounds for a range of text
864 Add AX support to get the child of an element
865 Add AX support to get all the parameterized attribute names of an element
867 * DumpRenderTree/AccessibilityUIElement.cpp:
868 (parameterizedAttributeNamesCallback):
869 (boundsForRangeCallback):
870 (childAtIndexCallback):
871 (AccessibilityUIElement::getJSClass):
872 * DumpRenderTree/AccessibilityUIElement.h:
873 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
874 (AccessibilityUIElement::getChildAtIndex):
875 (AccessibilityUIElement::parameterizedAttributeNames):
876 (AccessibilityUIElement::boundsForRange):
878 2008-07-31 Erik Bunce <elbunce@thehive.com>
882 Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.
884 * Scripts/run-launcher:
886 2008-07-30 Jessica Kahn <jess@apple.com>
888 Reviewed by Adam Roben.
890 Slightly stricter checking for previous change, suggested by Adam.
892 * Scripts/extract-localizable-strings:
894 2008-07-30 Jessica Kahn <jess@apple.com>
896 Reviewed by Darin Adler.
898 Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.
900 * Scripts/extract-localizable-strings:
902 2008-07-30 Anders Carlsson <andersca@apple.com>
906 Copy icu38* files instead of icu36* files.
908 * DumpRenderTree/win/DumpRenderTree.vcproj:
910 2008-07-25 Jan Michael Alonzo <jmalonzo@webkit.org>
912 DRT/Gtk build fix for r35362
914 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
915 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
917 2008-07-25 Brady Eidson <beidson@apple.com>
921 Add the ability to dump whether-or-not an element should have autocomplete enabled,
922 from the perspective of the WebKit API
924 * DumpRenderTree/LayoutTestController.cpp:
925 (elementDoesAutoCompleteForElementWithIdCallback):
926 (LayoutTestController::staticFunctions):
928 * DumpRenderTree/LayoutTestController.h:
929 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
930 (LayoutTestController::elementDoesAutoCompleteForElementWithId):
931 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
932 (LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows
934 2008-07-25 Chris Fleizach <cfleizach@apple.com>
936 Reviewed by Beth Dakin
938 Add support for AXLineForIndex and AXInsertionPointIndex through the
939 accessibility controller
941 * DumpRenderTree/AccessibilityUIElement.cpp:
942 (lineForIndexCallback):
943 (getInsertionPointLineNumberCallback):
944 (AccessibilityUIElement::getJSClass):
945 * DumpRenderTree/AccessibilityUIElement.h:
946 * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
947 (AccessibilityUIElement::insertionPointLineNumber):
948 (AccessibilityUIElement::lineForIndex):
950 2008-07-25 Adam Roben <aroben@apple.com>
952 Try to fix the Windows build bot
954 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files
955 that don't exist for people outside of Apple.
957 2008-07-18 Landry Breuil <landry@openbsd.org>
959 Bug 19975: [OpenBSD] Patches to enable build of WebKit
961 <https://bugs.webkit.org/show_bug.cgi?id=19975>
963 Reviewed by David Kilzer.
965 * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters.
967 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
969 CygwinDownloader fails to install necessary packages
970 https://bugs.webkit.org/show_bug.cgi?id=20075
972 Reviewed by Mark Rowe.
974 * CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken
975 mirrors removed in r34116. Set MIME type to application/octet-stream.
977 2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
979 CygwinDownloader's make-zip.sh script fails
980 https://bugs.webkit.org/show_bug.cgi?id=20074
982 Reviewed by Mark Rowe.
984 * CygwinDownloader/cygwin-downloader.py:
986 2008-07-15 Sam Weinig <sam@webkit.org>
988 Reviewed by Anders Carlsson.
990 Refactor accessibility testing code.
993 - AccessibilityController
994 Controller which has access to the WebView and can provide the focused element, root element
995 and in the future, elementAtPoint.
997 - AccessibilityUIElement
998 Object which provides access to the data provided by the Accessibility APIs.
1000 * DumpRenderTree/AccessibilityController.cpp:
1001 (getFocusedElementCallback):
1002 (getRootElementCallback):
1003 (AccessibilityController::getJSClass):
1004 * DumpRenderTree/AccessibilityController.h:
1005 * DumpRenderTree/AccessibilityUIElement.cpp: Added.
1006 (allAttributesCallback):
1007 (attributesOfLinkedUIElementsCallback):
1008 (attributesOfChildrenCallback):
1011 (getDescriptionCallback):
1013 (getHeightCallback):
1014 (getIntValueCallback):
1015 (getMinValueCallback):
1016 (getMaxValueCallback):
1018 (AccessibilityUIElement::makeJSAccessibilityUIElement):
1019 (AccessibilityUIElement::getJSClass):
1020 * DumpRenderTree/AccessibilityUIElement.h: Added.
1021 (AccessibilityUIElement::platformUIElement):
1022 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1023 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1024 (AccessibilityController::AccessibilityController):
1025 (AccessibilityController::~AccessibilityController):
1026 (AccessibilityController::focusedElement):
1027 (AccessibilityController::rootElement):
1028 * DumpRenderTree/mac/AccessibilityUIElementMac.mm: Added.
1029 (AccessibilityUIElement::AccessibilityUIElement):
1030 (descriptionOfValue):
1031 (attributesOfElement):
1032 (nsStringToJSStringRef):
1033 (concatenateAttributeAndValue):
1034 (AccessibilityUIElement::getLinkedUIElements):
1035 (AccessibilityUIElement::getChildren):
1036 (AccessibilityUIElement::attributesOfLinkedUIElements):
1037 (AccessibilityUIElement::attributesOfChildren):
1038 (AccessibilityUIElement::allAttributes):
1039 (AccessibilityUIElement::role):
1040 (AccessibilityUIElement::title):
1041 (AccessibilityUIElement::description):
1042 (AccessibilityUIElement::width):
1043 (AccessibilityUIElement::height):
1044 (AccessibilityUIElement::intValue):
1045 (AccessibilityUIElement::minValue):
1046 (AccessibilityUIElement::maxValue):
1048 2008-07-14 Chris Fleizach <cfleizach@apple.com>
1050 Reviewed by Beth Dakin
1052 Add support to get attributes of the AXChildren of an objecty
1054 * DumpRenderTree/AccessibilityController.cpp:
1055 (attributesOfChildrenForFocusedElementCallback):
1056 (AccessibilityController::staticFunctions):
1057 * DumpRenderTree/AccessibilityController.h:
1058 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1059 (descriptionOfValue):
1060 (AccessibilityController::attributesOfChildrenForFocusedElement):
1062 2008-07-14 Steve Falkenburg <sfalken@apple.com>
1066 * DumpRenderTree/win/DumpRenderTree.vcproj:
1068 2008-07-14 Adam Roben <aroben@apple.com>
1070 Attempted Windows build fix
1072 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Add
1073 CoreFoundation/OSXCompatibilityHeaders[/GNUCompatibility] to the
1076 2008-07-14 Alexey Proskuryakov <ap@webkit.org>
1078 Reviewed by Geoff Garen.
1080 Eliminate per-thread JavaScript global data instance support and make arbitrary
1081 global data/global object combinations possible.
1083 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
1084 (runJavaScriptThread): Don't pass a released context reference to JSGarbageCollect.
1085 In this scenario, it was causing crashes after each 10-20 tests, because there was a large
1086 chance for a different thread to cause GC after the context was released.
1088 2008-07-11 Stephanie Lewis <slewis@apple.com>
1090 Reviewed by Darin Adler.
1092 Make sure we read WebCore Leak messages. Force full document teardown for DumpRenderTree.
1094 Up timeout limit, some slower machines were timing out before crashtracer finished writing out to disk and quitting DRT.
1096 * DumpRenderTree/mac/DumpRenderTree.mm:
1097 (setDefaultsToConsistentValuesForTesting):
1098 (resetWebViewToConsistentStateBeforeTesting):
1099 * Scripts/run-webkit-tests:
1101 2008-07-10 Steve Falkenburg <sfalken@apple.com>
1105 * DumpRenderTree/win/DumpRenderTree.vcproj:
1107 2008-07-09 Eric Seidel <eric@webkit.org>
1109 Reviewed by Mark Rowe.
1111 Print <div> backgrounds when printing from DRT.
1113 * DumpRenderTree/mac/DumpRenderTree.mm:
1114 (setDefaultsToConsistentValuesForTesting):
1116 2008-07-09 Eric Seidel <eric@webkit.org>
1118 Reviewed by Mark Rowe.
1120 Fix copying of expected results to correct location
1122 * Scripts/run-webkit-tests:
1124 2008-07-09 Eric Seidel <eric@webkit.org>
1128 * DumpRenderTree/LayoutTestController.cpp:
1129 (LayoutTestController::LayoutTestController):
1130 (dumpAsPDFCallback):
1131 (LayoutTestController::staticFunctions):
1132 * DumpRenderTree/LayoutTestController.h:
1133 (LayoutTestController::dumpAsPDF):
1134 (LayoutTestController::setDumpAsPDF):
1135 * DumpRenderTree/mac/DumpRenderTree.mm:
1139 2008-07-09 Eric Seidel <eric@webkit.org>
1143 Add Content-Type support to DumpRenderTree and run-webkit-tests
1144 and move expected.txt files to expected.webarchive
1146 https://bugs.webkit.org/show_bug.cgi?id=15565
1148 * DumpRenderTree/cg/ImageDiffCG.cpp:
1151 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1153 * DumpRenderTree/mac/DumpRenderTree.mm:
1155 * Scripts/run-webkit-tests:
1157 2008-07-08 Jon Honeycutt <jhoneycutt@apple.com>
1161 Port r34988 to Mac: allow tests to define JavaScript to execute when
1162 NPP_DestroyStream or NPP_URLNotify is called.
1164 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1165 (NPP_New): Remove initialization that happens in pluginAllocate. Look
1166 for new arguments onStreamDestroy and onURLNotify.
1167 (NPP_Destroy): Free onStreamDestroy and onURLNotify.
1168 (executeScript): Code moved from onStreamLoad.
1169 (NPP_NewStream): Call executeScript.
1170 (NPP_DestroyStream): Same.
1171 (NPP_URLNotify): Same.
1173 2008-07-07 Beth Dakin <bdakin@apple.com>
1177 This patch extends DRT accessibility tests to add the ability to
1178 query the intValue, minValue, and maxValue of the focused element.
1180 * DumpRenderTree/AccessibilityController.cpp:
1181 (intValueOfFocusedElementCallback):
1182 (minValueOfFocusedElementCallback):
1183 (maxValueOfFocusedElementCallback):
1184 (AccessibilityController::staticFunctions):
1185 * DumpRenderTree/AccessibilityController.h:
1186 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1187 (AccessibilityController::intValueOfFocusedElement):
1188 (AccessibilityController::minValueOfFocusedElement):
1189 (AccessibilityController::maxValueOfFocusedElement):
1191 2008-07-07 Steve Falkenburg <sfalken@apple.com>
1195 * DumpRenderTree/win/ImageDiff.vcproj:
1197 2008-07-02 Jon Honeycutt <jhoneycutt@apple.com>
1199 Allow tests to define JavaScript to execute when NPP_DestroyStream or
1200 NPP_URLNotify is called.
1204 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new
1205 property, "returnErrorFromNewStream." This is to support the test for
1206 <rdar://5983747> Safari crashes trying to load the SilverLight plugin,
1207 caused by WebKit calling NPP_DestroyStream after a plug-in returns an
1208 error from NPP_NewStream.
1209 (pluginGetProperty):
1210 (pluginSetProperty):
1212 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added new
1213 members, onStreamDestroy and onURLNotify.
1214 * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
1215 (NPP_New): Remove initialization of onStreamLoad; this was moved to
1216 pluginAllocate. Look for new arguments onStreamDestroy and
1217 onURLNotify, and store their values.
1218 (NPP_Destroy): Free new members.
1219 (executeScript): Code moved from onStreamLoad
1220 (NPP_NewStream): If returnErrorFromNewStream has been set to true,
1221 return a generic error code. If onStreamLoad is set, execute it as
1223 (NPP_DestroyStream): If onStreamDestroy is set, execute it as JS.
1224 (NPP_URLNotify): Same, for onURLNotify.
1226 2008-07-02 Brady Eidson <beidson@apple.com>
1228 Reviewed by Mitz Pettel and John Sullivan
1230 Add the ability to tell DRT to call stopLoading on a WebFrame inside of a didStartProvisionalLoadForFrame
1233 Required to add a layout test for the fix for <rdar://problem/5549871>
1235 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1236 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): If stopProvisionalFrameLoads is set, call
1237 [WebFrame stopLoading] to test for the crash reflected in 5549871
1239 All of the following are infrastructure to add the layoutTestController.setStopProvisionalFrameLoads() call:
1240 * DumpRenderTree/LayoutTestController.cpp:
1241 (LayoutTestController::LayoutTestController):
1242 (setStopProvisionalFrameLoadsCallback):
1243 (LayoutTestController::staticFunctions):
1244 * DumpRenderTree/LayoutTestController.h:
1245 (LayoutTestController::stopProvisionalFrameLoads):
1246 (LayoutTestController::setStopProvisionalFrameLoads):
1248 2008-07-01 Chris Fleizach <cfleizach@apple.com>
1250 Reviewed by Beth Dakin
1252 Support ability to get width and height of an element through accessibility
1254 * DumpRenderTree/AccessibilityController.cpp:
1255 (widthOfFocusedElementCallback):
1256 (heightOfFocusedElementCallback):
1257 (AccessibilityController::staticFunctions):
1258 * DumpRenderTree/AccessibilityController.h:
1259 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1260 (AccessibilityController::widthOfFocusedElement):
1261 (AccessibilityController::heightOfFocusedElement):
1263 2008-06-30 Chris Fleizach <cfleizach@apple.com>
1265 Reviewed by Beth Dakin
1267 Support the ability to get the linked ui elements of an object
1269 * DumpRenderTree/AccessibilityController.cpp:
1270 (attributesOfLinkedUIElementsForFocusedElementCallback):
1271 (AccessibilityController::staticFunctions):
1272 * DumpRenderTree/AccessibilityController.h:
1273 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1274 (AccessibilityController::attributesOfLinkedUIElementsForFocusedElement):
1275 (AccessibilityController::allAttributesOfFocusedElement):
1276 (attributesOfElement):
1277 (nsStringToJSStringRef):
1279 2008-06-29 Sam Weinig <sam@webkit.org>
1283 * DumpRenderTree/mac/EventSendingController.mm:
1284 (eventTypeForMouseButtonAndAction):
1286 2008-06-27 Eric Seidel <eric@webkit.org>
1290 Add multi-button mouseevent support to DRT
1291 https://bugs.webkit.org/show_bug.cgi?id=15173
1293 It's now possible to specify the mouse button with:
1294 eventSender.mouseDown(1); eventSender.mouseUp(1); etc.
1296 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1297 * DumpRenderTree/mac/EventSendingController.h:
1298 * DumpRenderTree/mac/EventSendingController.mm:
1299 (+[EventSendingController isSelectorExcludedFromWebScript:]):
1300 (+[EventSendingController webScriptNameForSelector:]):
1301 (eventTypeForMouseButtonAndAction):
1302 (-[EventSendingController updateClickCountForButton:]):
1303 (-[EventSendingController mouseDown:]):
1304 (-[EventSendingController mouseUp:]):
1305 (-[EventSendingController mouseMoveToX:Y:]):
1306 (-[EventSendingController contextClick]):
1308 2008-06-28 Nikolas Zimmermann <zimmermann@kde.org>
1312 Copy <test>-expected.png from the right location to /tmp/layout-test-results.
1313 Use $expectedPixelDir instead of $expectedDir. Allows using SVG pixel tests again.
1315 * Scripts/run-webkit-tests:
1317 2008-06-27 Jan Michael Alonzo <jmalonzo@webkit.org>
1319 Reviewed by Christian Dywan.
1321 [Gtk] Initialize webview settings before running DRT tests
1322 http://bugs.webkit.org/show_bug.cgi?id=19778
1324 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1325 (setDefaultsToConsistentStateValuesForTesting):
1328 2008-06-26 Darin Adler <darin@apple.com>
1330 * Scripts/check-for-weak-vtables: Fixed comment.
1332 2008-06-26 Darin Adler <darin@apple.com>
1334 * Scripts/check-for-weak-vtables: Added.
1336 2008-06-26 Beth Dakin <bdakin@apple.com>
1340 Do not include AXPosition in the dump of all of the accessibility
1341 attributes since it is screen-specific.
1343 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1344 (AccessibilityController::allAttributesOfFocusedElement):
1346 2008-06-26 Beth Dakin <bdakin@apple.com>
1350 This is a speculative fix for the failing layout test on the build
1351 bot. It seems that the problem that the Build Bot is having is
1352 Tiger-specific. On Tiger, [NSValue description] was not very smart.
1353 So I replaced our call to description with a hand-rolled equivalent
1354 that will match on both platforms.
1356 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1357 (descriptionOfValue):
1359 2008-06-25 Beth Dakin <bdakin@apple.com>
1361 Reviewed by Sam Weinig.
1363 This patch adds support to the AccessibilityController to query the
1364 following attributes specifically, without a full attribute dump:
1365 AXRole, AXTitle, and AXDescription.
1367 * DumpRenderTree/AccessibilityController.cpp:
1368 (allAttributesForFocusedElementCallback):
1369 (roleOfFocusedElementCallback):
1370 (titleOfFocusedElementCallback):
1371 (descriptionOfFocusedElementCallback):
1372 (AccessibilityController::staticFunctions):
1373 * DumpRenderTree/AccessibilityController.h:
1374 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1375 (AccessibilityController::allAttributesForFocusedElement):
1376 (concatenateAttributeAndValue):
1377 (AccessibilityController::roleOfFocusedElement):
1378 (AccessibilityController::titleOfFocusedElement):
1379 (AccessibilityController::descriptionOfFocusedElement):
1381 2008-06-24 Dan Bernstein <mitz@apple.com>
1383 Reviewed by Stephanie Lewis.
1385 - move the linker flags from the debug configuration in the project
1386 to the shared configuration
1388 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1389 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1391 2008-06-24 Dan Bernstein <mitz@apple.com>
1393 - try to fix the Tiger build
1395 * DumpRenderTree/mac/AccessibilityControllerMac.mm:
1397 2008-06-24 Sam Weinig and Beth Dakin <bdakin@apple.com and sam@webkit.org>
1399 Reviewed by Darin Adler.
1401 Fix for <rdar://problem/5884881> Make DumpRenderTree support
1404 This patch adds some basic support for accessibility layout tests
1407 * DumpRenderTree/AccessibilityController.cpp: Added.
1408 (AccessibilityController::AccessibilityController):
1409 (AccessibilityController::~AccessibilityController):
1410 (dumpCurrentAttributesCallback):
1411 (AccessibilityController::makeWindowObject):
1412 (AccessibilityController::getJSClass):
1413 (AccessibilityController::staticFunctions):
1414 * DumpRenderTree/AccessibilityController.h: Added.
1415 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1416 * DumpRenderTree/mac/AccessibilityControllerMac.mm: Added.
1417 (descriptionOfValue):
1418 (AccessibilityController::dumpCurrentAttributes):
1419 * DumpRenderTree/mac/DumpRenderTree.mm:
1420 * DumpRenderTree/mac/FrameLoadDelegate.h:
1421 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1422 (-[FrameLoadDelegate init]):
1423 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
1425 2008-06-24 John Sullivan <sullivan@apple.com>
1427 Reviewed by Dan Bernstein
1429 * Scripts/extract-localizable-strings:
1430 add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the
1431 list of debugging macros, to avoid noise when keeping the list of localized string
1432 exceptions up to date
1434 2008-06-24 Dan Bernstein <mitz@apple.com>
1436 Rubber-stamped by Darin Adler.
1438 - add a font family for testing font-weight
1440 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker
1441 flags to create data sections for the WeightWatcher fonts.
1442 * DumpRenderTree/fonts: Added.
1443 * DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added.
1444 * DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added.
1445 * DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added.
1446 * DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added.
1447 * DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added.
1448 * DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added.
1449 * DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added.
1450 * DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added.
1451 * DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added.
1452 * DumpRenderTree/mac/DumpRenderTree.mm:
1453 (activateFonts): Renamed activateAhemFont to this and made it activate
1454 the WeightWatcher fonts in addition to Ahem.
1455 (prepareConsistentTestingEnvironment): Adjusted for the name change.
1456 * DumpRenderTree/win/DumpRenderTree.cpp:
1457 (initialize): Added the WeightWatcher fonts.
1459 2008-06-20 Brent Fulgham <bfulgham@gmail.com>
1461 Reviewed by Darin Adler.
1463 Extend the build-webkit (and set-webkit-configuration) script to
1464 support Cairo-based webkit builds. (see http://bugs.webkit.org/show_bug.cgi?17952)
1466 * Scripts/build-webkit: Add --cairo-win32 to the help message
1467 * Scripts/webkitdirs.pm: Extend the 'determinePassedConfiguration
1468 subroutine to recognize the --cairo-win32 flag. When present,
1469 the build configuration is changed from Debug/Release to
1470 Debug_Cairo/Release_Cairo. This flag is only active when the
1471 isCygwin() test is true.
1473 2008-06-17 Dan Bernstein <mitz@apple.com>
1475 Reviewed by Justin Garcia.
1477 - prefer Leopard results when running on Snow Leopard.
1479 * Scripts/run-webkit-tests: Added a mapping of Snow Leopard to
1481 * Scripts/webkitdirs.pm: Added isSnowLeopard().
1483 2008-06-15 Darin Adler <darin@apple.com>
1485 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
1487 2008-06-15 Darin Adler <darin@apple.com>
1489 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
1491 2008-06-15 Darin Adler <darin@apple.com>
1493 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
1495 2008-06-15 Darin Adler <darin@apple.com>
1497 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
1499 2008-06-15 Darin Adler <darin@apple.com>
1501 * Scripts/do-file-rename: Updated.
1502 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
1504 2008-06-15 Darin Adler <darin@apple.com>
1506 * Scripts/do-file-rename: Updated for the latest round of renaming.
1507 * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
1509 2008-06-15 Darin Adler <darin@apple.com>
1511 * Scripts/create-exports: Added.
1512 * Scripts/do-file-rename: Added some planned renames.
1513 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
1515 2008-06-15 Darin Adler <darin@apple.com>
1517 * Scripts/do-webcore-rename: Updated for the latest round of renaming.
1519 2008-06-15 Maciej Stachowiak <mjs@apple.com>
1523 - rename testkjs to jsc
1525 * Scripts/build-jsc: Copied from Scripts/build-testkjs.
1526 * Scripts/build-testkjs: Removed.
1527 * Scripts/run-javascriptcore-tests:
1528 * Scripts/run-jsc: Copied from Scripts/run-testkjs.
1529 * Scripts/run-sunspider:
1530 * Scripts/run-testkjs: Removed.
1531 * Scripts/sunspider-compare-results:
1533 2008-06-14 Darin Adler <darin@apple.com>
1535 * Scripts/do-webcore-rename: Moved planned renames into a separate hash
1536 from the actual renames. Removed many renames that are either done or
1539 2008-06-14 Darin Adler <darin@apple.com>
1541 * Scripts/do-webcore-rename: Fixed obvious typo.
1543 2008-06-13 Darin Adler <darin@apple.com>
1545 * Scripts/make-js-test-wrappers: Added three more exceptions.
1547 2008-06-10 Joerg Bornemann <joerg.bornemann@trolltech.com>
1551 For the qmake based build make it possible to build against makespecs where
1552 QMAKE_CC is defined in a configuration file included from qmake.conf.
1554 * Scripts/webkitdirs.pm: Added support for include() statements in
1557 2008-06-09 Alp Toker <alp@nuanti.com>
1559 gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to
1560 each of the tools since these are no longer set globally.
1564 2008-06-08 Darin Adler <darin@apple.com>
1566 * Scripts/make-js-test-wrappers: Added another exception.
1568 2008-06-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
1570 Reviewed by Timothy.
1572 Remove the --squirrelfish option from SunSpider, as it is no longer needed.
1574 * Scripts/run-sunspider:
1576 2008-06-05 Alp Toker <alp@nuanti.com>
1578 Build fix for r34387.
1582 2008-06-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
1586 Add an exception for Opcode.o to the global initializers check so that
1587 we can dump instruction statistics in the JavaScript virtual machine.
1589 * Scripts/check-for-global-initializers:
1591 2008-05-30 Steve Falkenburg <sfalken@apple.com>
1593 Generate an isolated COM manifest for registry free COM.
1595 * DumpRenderTree/win/DumpRenderTree.vcproj:
1597 2008-06-02 Anders Carlsson <andersca@apple.com>
1599 Reviewed by David Hyatt and Mitz.
1601 <rdar://problem/5704119>
1602 repro crash in WebCore::RenderPart::setWidget (plugin-related?)
1604 Call -[WebView display] in the "plug-in" failed delegate method, simulating
1605 the sheet that Safari puts up.
1607 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1608 (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
1610 2008-05-30 Timothy Hatcher <timothy@apple.com>
1612 Made the starting line number of scripts be 1-based throughout the engine.
1613 This cleans up script line numbers so they are all consistent now.
1615 Reviewed by Oliver Hunt.
1617 * DumpRenderTree/mac/ObjCController.m:
1618 (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
1619 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
1620 (runJavaScriptThread): Ditto.
1621 * DumpRenderTree/win/DumpRenderTree.cpp:
1622 (runJavaScriptThread): Ditto.
1624 2008-05-29 Geoffrey Garen <ggaren@apple.com>
1626 Reviewed by Adam Roben.
1628 Fixed VCSUtils.pm to work with git repositories inside symlinks.
1630 * Scripts/VCSUtils.pm: Compute a relative path from the git repository
1631 root, instead of the root of the filesystem, to work around a bug in
1632 abs2rel when traversing symlinked home directories.
1634 2008-05-29 Kevin Ollivier <kevino@theolliviers.com>
1636 Reviewed by Darin Adler.
1638 Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
1640 https://bugs.webkit.org/show_bug.cgi?id=19311
1642 * Scripts/webkitdirs.pm:
1644 2008-05-29 Alexey Proskuryakov <ap@webkit.org>
1646 Reviewed by Adam Roben.
1648 Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
1649 configuration files.
1651 * Scripts/run-iexploder-tests:
1652 * Scripts/run-mangleme-tests:
1653 Renamed runSafari to not conflict with the one in webkitdirs.
1654 Added SSLCertificateFile option for httpd, as now needed.
1656 2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
1658 wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
1660 * wx/browser/browser.cpp:
1663 2008-05-24 Andreia Gaita <shana@isninja.com>
1665 Reviewed by Alp Toker.
1667 cygwin-downloader.py fixes.
1669 Remove two non-working mirrors. Add a check for missing dependency
1670 packages to avoid bailing out on an inconsistent Cygwin package list.
1672 * CygwinDownloader/cygwin-downloader.py:
1674 2008-05-24 Jan Michael Alonzo <jmalonzo@webkit.org>
1676 Reviewed by Darin Adler.
1678 Remove useQmake usage. QMake build doesn't support Gtk port
1681 Also fix 2 occurences of "Web Kit". Should be WebKit.
1683 * Scripts/build-webkit:
1684 * Scripts/run-javascriptcore-tests:
1685 * Scripts/run-launcher:
1686 * Scripts/run-webkit-tests:
1687 * Scripts/webkitdirs.pm:
1689 2008-05-22 Stephanie Lewis <slewis@apple.com>
1693 implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
1695 * DumpRenderTree/mac/UIDelegate.mm:
1696 (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
1697 * DumpRenderTree/win/UIDelegate.cpp:
1698 (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
1700 2008-05-21 Adele Peterson <adele@apple.com>
1704 DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
1706 * DumpRenderTree/win/UIDelegate.cpp:
1707 (UIDelegate::webViewFocus): Added.
1708 (UIDelegate::webViewUnfocus): Added.
1709 * DumpRenderTree/win/UIDelegate.h:
1711 2008-05-21 Mark Rowe <mrowe@apple.com>
1713 Rubber-stamped by Stephanie Lewis.
1715 Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
1716 rather than trigger an unknown argument message. This allows run-webkit-tests to display results
1719 * Scripts/run-safari:
1721 2008-05-21 Stephanie Lewis <slewis@apple.com>
1723 Reviewed by Maciej, Mark.
1725 arch doesn't take arguments on tiger. expand DRT timeout for guardMalloc.
1727 * Scripts/run-webkit-tests:
1728 * Scripts/webkitdirs.pm:
1730 2008-05-20 Mark Rowe <mrowe@apple.com>
1732 Reviewed by Stephanie Lewis.
1734 Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
1736 If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
1737 This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
1738 can be manually overridden by passing --64-bit or --no-64-bit. This removes the need to always
1739 pass an argument to run-webkit-tests after having built with "make x86_64".
1741 * Scripts/gdb-safari:
1742 * Scripts/run-safari:
1743 * Scripts/run-webkit-tests:
1744 * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
1745 preferred architecture, and exporting of the environment variables for 'arch' out into
1746 separate subroutines.
1748 2008-05-20 Mark Rowe <mrowe@apple.com>
1750 Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
1754 === End merge of squirrelfish ===
1756 2008-04-14 Maciej Stachowiak <mjs@apple.com>
1760 - added support for --ubench mode
1762 * Scripts/run-sunspider:
1764 2008-03-26 Geoffrey Garen <ggaren@apple.com>
1766 Reviewed by Oliver Hunt.
1768 --squirrelfish mode: pared down tests for squirrelfish to chew on.
1770 * Scripts/run-sunspider:
1772 === Start merge of squirrelfish ===
1774 2008-05-21 Darin Adler <darin@apple.com>
1776 * Scripts/make-js-test-wrappers: Added another exception.
1778 2008-05-19 Stephanie Lewis <slewis@apple.com>
1782 Explicitly set run mode to 32bit unless overridden to avoid
1783 confusion when running tests
1785 * Scripts/build-dumprendertree:
1786 * Scripts/gdb-safari:
1787 * Scripts/run-webkit-tests:
1788 * Scripts/webkitdirs.pm:
1790 2008-05-16 Stephanie Lewis <slewis@apple.com>
1794 Print out pending unload event count. Also print out main frame name to match Mac.
1796 * DumpRenderTree/win/FrameLoadDelegate.cpp:
1797 (descriptionSuitableForTestResult):
1798 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
1800 2008-05-16 Timothy Hatcher <timothy@apple.com>
1802 Remove the Drosera project, code and resources since it has been
1803 replaced with the Web Inspector's debugger. Removes references to
1804 Drosera in various scripts and makefiles.
1806 Rubber-stamped by Mark Rowe.
1808 * BuildSlaveSupport/build-launcher-app:
1809 * Drosera/DebuggerDocument.cpp: Removed.
1810 * Drosera/DebuggerDocument.h: Removed.
1811 * Drosera/Drosera.icns: Removed.
1812 * Drosera/DroseraWin.make: Removed.
1813 * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
1814 * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
1815 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
1816 * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
1817 * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
1818 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
1819 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
1820 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
1821 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
1822 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
1823 * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
1824 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
1825 * Drosera/Images/Drosera.ico: Removed.
1826 * Drosera/Images/SourceArrow.png: Removed.
1827 * Drosera/Images/SourceArrowBlank.png: Removed.
1828 * Drosera/Images/SourceArrowOpen.png: Removed.
1829 * Drosera/Images/background_stripe.png: Removed.
1830 * Drosera/Images/breakPoint.tif: Removed.
1831 * Drosera/Images/breakPointDisabled.tif: Removed.
1832 * Drosera/Images/breakpointeditor.png: Removed.
1833 * Drosera/Images/close.tif: Removed.
1834 * Drosera/Images/close_active.tif: Removed.
1835 * Drosera/Images/close_hover.tif: Removed.
1836 * Drosera/Images/console.png: Removed.
1837 * Drosera/Images/continue.tif: Removed.
1838 * Drosera/Images/fileIcon.jpg: Removed.
1839 * Drosera/Images/finishFunction.tif: Removed.
1840 * Drosera/Images/glossyFooterFill.tif: Removed.
1841 * Drosera/Images/glossyHeader.png: Removed.
1842 * Drosera/Images/glossyHeaderPressed.png: Removed.
1843 * Drosera/Images/gradientBackground.png: Removed.
1844 * Drosera/Images/gutter.png: Removed.
1845 * Drosera/Images/navLeftDisabled.png: Removed.
1846 * Drosera/Images/navLeftNormal.png: Removed.
1847 * Drosera/Images/navLeftPressed.png: Removed.
1848 * Drosera/Images/navRightDisabled.png: Removed.
1849 * Drosera/Images/navRightNormal.png: Removed.
1850 * Drosera/Images/navRightPressed.png: Removed.
1851 * Drosera/Images/pause.tif: Removed.
1852 * Drosera/Images/popUpArrows.png: Removed.
1853 * Drosera/Images/programCounter.tif: Removed.
1854 * Drosera/Images/programCounterBreakPoint.tif: Removed.
1855 * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
1856 * Drosera/Images/run.tif: Removed.
1857 * Drosera/Images/siteCollapsed.tif: Removed.
1858 * Drosera/Images/siteExpanded.tif: Removed.
1859 * Drosera/Images/siteIcon.tif: Removed.
1860 * Drosera/Images/small.ico: Removed.
1861 * Drosera/Images/splitterBar.tif: Removed.
1862 * Drosera/Images/splitterDimple.tif: Removed.
1863 * Drosera/Images/step.tif: Removed.
1864 * Drosera/Images/stepOut.tif: Removed.
1865 * Drosera/Images/stepOver.tif: Removed.
1866 * Drosera/Images/stop.tif: Removed.
1867 * Drosera/Images/toolbarBackground.png: Removed.
1868 * Drosera/Images/verticalSplitterBar.tiff: Removed.
1869 * Drosera/Images/verticalSplitterDimple.tiff: Removed.
1870 * Drosera/Makefile: Removed.
1871 * Drosera/breakpointEditor.html: Removed.
1872 * Drosera/config.h: Removed.
1873 * Drosera/console.css: Removed.
1874 * Drosera/console.html: Removed.
1875 * Drosera/console.js: Removed.
1876 * Drosera/debugger.css: Removed.
1877 * Drosera/debugger.html: Removed.
1878 * Drosera/debugger.js: Removed.
1879 * Drosera/mac/DebuggerApplication.h: Removed.
1880 * Drosera/mac/DebuggerApplication.mm: Removed.
1881 * Drosera/mac/DebuggerClient.h: Removed.
1882 * Drosera/mac/DebuggerClient.mm: Removed.
1883 * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
1884 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
1885 * Drosera/mac/Info.plist: Removed.
1886 * Drosera/mac/LauncherInfo.plist: Removed.
1887 * Drosera/mac/Makefile: Removed.
1888 * Drosera/mac/ServerConnection.h: Removed.
1889 * Drosera/mac/ServerConnection.mm: Removed.
1890 * Drosera/mac/launcher.m: Removed.
1891 * Drosera/mac/main.m: Removed.
1892 * Drosera/viewer.css: Removed.
1893 * Drosera/viewer.html: Removed.
1894 * Drosera/win/BaseDelegate.h: Removed.
1895 * Drosera/win/DebuggerClient.cpp: Removed.
1896 * Drosera/win/DebuggerClient.h: Removed.
1897 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
1898 * Drosera/win/Drosera.cpp: Removed.
1899 * Drosera/win/Drosera.h: Removed.
1900 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
1901 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
1902 * Drosera/win/DroseraPrefix.cpp: Removed.
1903 * Drosera/win/DroseraPrefix.h: Removed.
1904 * Drosera/win/Info.plist: Removed.
1905 * Drosera/win/ServerConnection.cpp: Removed.
1906 * Drosera/win/ServerConnection.h: Removed.
1907 * Drosera/win/resource.h: Removed.
1909 * Scripts/build-drosera: Removed.
1910 * Scripts/gdb-drosera: Removed.
1911 * Scripts/run-drosera: Removed.
1912 * Scripts/run-drosera-nightly.cmd: Removed.
1913 * Scripts/run-drosera.cmd: Removed.
1914 * Scripts/webkitdirs.pm:
1916 2008-05-15 Stephanie Lewis <slewis@apple.com>
1920 Dump the unload count for a frame after parsing is finished.
1922 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1923 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1925 2008-05-15 Alexey Proskuryakov <ap@webkit.org>
1927 Reviewed by Dan Bernstein.
1929 https://bugs.webkit.org/show_bug.cgi?id=10707
1930 DumpRenderTree should not be able to access non-local resources
1932 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1933 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
1934 Block them, and complain.
1936 2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
1938 wx build fix. Update the version of libpng to download and instsall.
1940 * wx/install-unix-extras:
1942 2008-05-14 Julien Chaffraix <jchaffraix@webkit.org>
1946 - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
1947 We now force the return value to be numeric.
1949 - Removed platform checks as it was a work around the previous issue.
1951 - Replaced isDarwin() by isOSX() as they have now the same behaviour.
1953 * Scripts/build-webkit:
1954 * Scripts/webkitdirs.pm:
1956 2008-05-12 Adam Roben <aroben@apple.com>
1958 Support for testing NPN_PostURL
1960 Reviewed by Anders Carlsson.
1962 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1963 (toCString): Added this helper function.
1964 (testPostURLFile): Added. Writes the passed-in content to the
1965 passed-in file and calls NPN_PostURL with the passed-in URL and
1967 (pluginInvoke): Added a case for testPostURLFile.
1968 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1969 (followShortcuts): Changed to allow paths that don't yet exist.
1971 2008-05-12 Mark Rowe <mrowe@apple.com>
1973 Reviewed by Sam Weinig.
1975 Minor cleanup of the DRT Xcode project.
1977 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Use GCC_OPTIMIZATION_LEVEL rather than
1978 OPTIMIZATION_CFLAGS. Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
1979 not need to be there.
1981 2008-05-12 Anders Carlsson <andersca@apple.com>
1985 Add support for testing application caches.
1987 * DumpRenderTree/mac/DumpRenderTree.mm:
1991 (resetWebViewToConsistentStateBeforeTesting):
1992 Turn on support for the application cache.
1994 2008-05-09 Mark Rowe <mrowe@apple.com>
1996 Reviewed by Anders Carlsson.
1998 Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
2000 It currently does not attempt to print events which means that plugins/mouse-events.html
2001 will fail when run 64-bit. All other tests that use this plugin pass.
2003 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2004 (testGetIntIdentifier):
2005 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2009 2008-05-09 Brady Eidson <beidson@apple.com>
2011 Reviewed by Adam Roben
2013 Explicitly call shutDownWebKit() before quitting.
2015 * Drosera/win/Drosera.cpp:
2018 * DumpRenderTree/win/DumpRenderTree.cpp:
2021 2008-05-09 Mark Rowe <mrowe@apple.com>
2023 Fix the Tiger build of Drosera.
2025 * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
2027 2008-05-09 Sam Weinig <sam@webkit.org>
2029 Rubber-stamped by Mark Rowe.
2031 Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
2033 * Scripts/build-webkit:
2035 2008-05-08 Mark Rowe <mrowe@apple.com>
2037 Another attempt at a Tiger build fix.
2039 Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
2041 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2043 2008-05-08 Mark Rowe <mrowe@apple.com>
2045 Tiger build fix. Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
2047 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2049 2008-05-08 Mark Rowe <mrowe@apple.com>
2051 Reviewed by Oliver Hunt and Dan Bernstein.
2053 Update DumpRenderTree to build 64-bit.
2055 The three major changes here are:
2056 1) Use NSInteger in the appropriate places.
2057 2) Use ColorSync API that is available in 64-bit to switch display profiles.
2058 3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
2060 The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
2061 needs updated to successfully build.
2063 * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
2064 * DumpRenderTree/mac/DumpRenderTree.mm:
2065 (swizzleAllMethods):
2067 (prepareConsistentTestingEnvironment):
2068 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2069 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
2070 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2071 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2072 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2073 (restoreColorSpace):
2074 (failedGettingCurrentProfile):
2075 (setDefaultColorProfileToRGB):
2077 2008-05-08 Mark Rowe <mrowe@apple.com>
2079 Reviewed by Darin Adler.
2081 Clean up Drosera so that it will build 64-bit.
2083 * Drosera/mac/DebuggerApplication.mm:
2084 (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
2085 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
2086 * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
2088 2008-05-07 David Kilzer <ddkilzer@apple.com>
2090 Use File::Find and Getopt::Long in make-js-test-wrappers
2092 Reviewed by Darin Adler.
2094 * Scripts/make-js-test-wrappers:
2095 - Updated Apple copyright statement.
2096 - Added command-line switch parsing and -h|--help switch.
2097 - Allowed user to pass list of files/directories on which to do
2098 a restricted search for TEMPLATE.html files. The default
2099 behavior is still to search the entire LayoutTests directory.
2100 - Removed duplicate 'use strict' statement.
2101 - Replaced use of `find` statements with File::Find::find().
2102 - Remove unneeded chomp() calls now that we use File::Find.
2103 (directoryFilter): Added. Filters .svn directories when used
2104 with File::Find::find().
2105 (findTemplateFiles): Added. Returns a list of TEMPLATE.html
2108 2008-05-05 Steve Falkenburg <sfalken@apple.com>
2110 Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
2112 * DumpRenderTree/win/DumpRenderTree.vcproj:
2113 * DumpRenderTree/win/ImageDiff.vcproj:
2115 2008-05-05 Adele Peterson <adele@apple.com>
2119 Look for the right ImageDiff executable for debug builds.
2121 * Scripts/run-webkit-tests:
2123 2008-05-05 Darin Adler <darin@apple.com>
2125 * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
2128 2008-05-05 Ariya Hidayat <ariya.hidayat@trolltech.com>
2132 In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG
2133 tests expect to be 480x360)
2135 * DumpRenderTree/qt/DumpRenderTree.cpp:
2136 (WebCore::DumpRenderTree::open):
2138 2008-05-02 Dan Bernstein <mitz@apple.com>
2140 Reviewed by Adam Roben.
2142 - add an option to svn-apply to set the reviewer name in change logs
2144 * Scripts/svn-apply: Added a [-r|--reviewer name] option.
2146 2008-05-01 David Kilzer <ddkilzer@apple.com>
2148 Clean up configuration usage in run-webkit-tests
2152 * Scripts/run-webkit-tests: Parse configuration switches using
2153 passedConfiguration() from webkitdirs.pm like every other script.
2154 Note that we must still call setConfiguration() afterwards in
2155 case the --configuration switch was used. Use $configurationOption
2156 when running build-dumprendertree instead of recreating the switch.
2158 2008-04-29 Adam Roben <aroben@apple.com>
2160 Restore the beloved COMPtr::operator&
2162 2008-04-29 Adam Roben <aroben@apple.com>
2166 Replace COMPtr::operator& with COMPtr::adoptionPointer.
2168 2008-04-25 Alexey Proskuryakov <ap@webkit.org>
2170 Reviewed by Darin Adler.
2172 Fix run-webkit-tests --threading
2173 and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
2174 Proxy server issue in Sunday's Nightly
2176 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
2177 (runJavaScriptThread):
2178 (startJavaScriptThreads):
2179 (stopJavaScriptThreads):
2180 Spawned threads were immediately detached, unlike the original ones, so joining them
2181 made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
2182 waits for them all to exit.
2184 2008-04-28 Holger Hans Peter Freyther <zecke@selfish.org>
2188 Reset dumping resource load callbacks to false for the next test
2191 * DumpRenderTree/qt/jsobjects.cpp:
2192 (LayoutTestController::reset):
2194 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
2198 Adapt to the latest API changes in WebKit/qt/Api.
2200 * DumpRenderTree/qt/DumpRenderTree.cpp:
2201 (WebCore::DumpRenderTree::DumpRenderTree):
2202 * DumpRenderTree/qt/jsobjects.cpp:
2204 2008-04-26 Robin Dunn <robin@alldunn.com>
2206 Reviewed by Kevin Ollivier.
2208 Delete the DerivedSources after make clean has been done so that the DerivedSources
2209 don't get re-created. Also, use the proper extension for the Win wxPython extension.
2211 https://bugs.webkit.org/show_bug.cgi?id=18756
2213 * wx/build-wxwebkit:
2215 2008-04-26 Adam Barth <hk9565@gmail.com>
2217 Reviewed by Adam Roben and Sam Weinig.
2219 Updates LayoutTestController to use host instead of domain.
2221 Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
2223 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2224 (LayoutTestController::setDatabaseQuota):
2225 * DumpRenderTree/mac/UIDelegate.mm:
2226 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
2228 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
2230 wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
2232 * wx/install-unix-extras:
2234 2008-04-26 Robin Dunn <robin@alldunn.com>
2236 Reviewed by Kevin Ollivier.
2238 Allow the user to set the path to SWIG using an environment variable.
2240 https://bugs.webkit.org/show_bug.cgi?id=18660
2242 * wx/build-wxwebkit:
2244 2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
2246 wx build fix. Download the latest libpng version for building the
2249 * wx/install-unix-extras:
2251 2008-04-25 Holger Hans Peter Freyther <zecke@selfish.org>
2255 Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
2257 Similar to Editing and Frameloading we do the dumping within WebCore
2260 * DumpRenderTree/qt/jsobjects.cpp:
2261 (LayoutTestController::dumpResourceLoadCallbacks):
2262 * DumpRenderTree/qt/jsobjects.h:
2264 2008-04-24 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2266 Reviewed by Maciej Stachowiak.
2268 http://bugs.webkit.org/show_bug.cgi?id=18485
2269 Typo and documentation fix for build-webkit
2271 * Scripts/build-webkit:
2273 2008-04-24 Anders Carlsson <andersca@apple.com>
2277 Don't call fprintf from the signal handler.
2279 * DumpRenderTree/mac/DumpRenderTree.mm:
2282 2008-04-23 Adam Roben <aroben@apple.com>
2284 Make crashes be reported as crashes, not hangs
2286 Reviewed by David Kilzer.
2288 * Scripts/run-webkit-tests:
2289 (top level): Use the new status field of the output from
2290 readFromDumpToolWithTimer to determine if the test crashed or hung.
2291 (sub readFromDumpToolWithTimer):
2292 - If we fail to read a line and $! is not EAGAIN, then we've crashed
2293 and should not try to read any more.
2294 - Changed the timedout field to a more general status field.
2296 2008-04-22 David Kilzer <ddkilzer@apple.com>
2298 Bug 18683: update-webkit returns 0 even if it fails
2300 <https://bugs.webkit.org/show_bug.cgi?id=18683>
2302 Reviewed by Mitz Pettel.
2304 * Scripts/update-webkit:
2305 (runSvnUpdate): Die if close() fails.
2307 2008-04-21 Adam Roben <aroben@apple.com>
2309 Flush stdout/stderr after printing every #EOF separator
2311 This fixes a hang when running the pixel tests on Windows
2313 Reviewed by Mitz Pettel.
2315 * DumpRenderTree/win/DumpRenderTree.cpp:
2317 (main): We don't have to flush stdout/stderr in the arguments loop
2318 anymore, as runTest flushes for us.
2320 2008-04-21 Adam Roben <aroben@apple.com>
2324 * Scripts/run-webkit-tests:
2325 (sub readFromDumpToolWithTimer): Use readline instead of read to
2326 ensure that we don't read past the #EOF marker.
2328 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2332 Build fix for Qt 4.3
2334 * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
2335 always defined. Do this by adding defines to the compiler line
2337 * DumpRenderTree/qt/DumpRenderTree.pro:
2339 2008-04-19 Mike Hommey <glandium@debian.org>
2341 Reviewed by Alp Toker.
2343 Don't build GtkLauncher and DumpRenderTree with rpath.
2347 2008-04-18 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2349 Reviewed by Alp Toker.
2351 http://bugs.webkit.org/show_bug.cgi?id=16620
2352 [GTK] Autotools make dist and make check support
2358 2008-04-18 Adam Roben <aroben@apple.com>
2360 Drop the hang timer to 30 seconds
2362 This matches what DRT/mac was using.
2364 Reviewed by Mitz Pettel.
2366 * Scripts/run-webkit-tests:
2368 2008-04-18 Adam Roben <aroben@apple.com>
2370 Get rid of DRT's Watchdog
2372 run-webkit-tests now detects hangs and samples DRT as needed.
2374 Reviewed by Mitz Pettel.
2376 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
2377 Watchdog* files from the project.
2378 * DumpRenderTree/Watchdog.cpp: Removed.
2379 * DumpRenderTree/Watchdog.h: Removed.
2380 * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
2383 * DumpRenderTree/mac/WatchdogMac.h: Removed.
2384 * DumpRenderTree/mac/WatchdogMac.mm: Removed.
2385 * Scripts/run-webkit-tests:
2386 (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
2387 (sub sampleDumpTool): Added. Writes a sample report to
2388 ~/Library/Logs/DumpRenderTree/HangReport.txt.
2390 2008-04-18 Simon Hausmann <hausmann@webkit.org>
2394 Adapt to the API changes in WebKit/qt
2396 * DumpRenderTree/qt/DumpRenderTree.cpp:
2397 (WebCore::WebPage::WebPage):
2398 (WebCore::DumpRenderTree::DumpRenderTree):
2399 (WebCore::DumpRenderTree::initJSObjects):
2400 (WebCore::DumpRenderTree::dumpFramesAsText):
2401 (WebCore::DumpRenderTree::dump):
2403 2008-04-17 Adam Roben <aroben@apple.com>
2405 Fix many tests on Windows
2407 * Scripts/run-webkit-tests:
2408 (readFromDumpToolWithTimer):
2409 - Use read instead of sysread to ensure that we don't interfere with
2410 other uses of buffered IO in this script.
2411 (setFileHandleNonBlocking): Actually set the filehandle to blocking
2414 2008-04-17 Adam Roben <aroben@apple.com>
2418 * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
2419 whatever newline happens to be at the end of what we've read.
2421 2008-04-17 Adam Roben <aroben@apple.com>
2423 Remove DRT/win's hang timer
2425 run-webkit-tests takes care of this for us now
2427 Reviewed by Anders Carlsson.
2429 * DumpRenderTree/win/DumpRenderTree.cpp:
2431 2008-04-17 Adam Roben <aroben@apple.com>
2433 Don't wait for the hang timer twice in the case of a hang
2435 Previously we'd wait for a hang while reading both stdout and stderr
2436 from DRT. Now we'll only wait for one or the other.
2438 Reviewed by Anders Carlsson.
2440 * Scripts/run-webkit-tests:
2441 (top level): Don't wait for stderr to time out if stdout already timed
2443 (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
2444 after the first read that returns no data.
2446 2008-04-17 Adam Roben <aroben@apple.com>
2448 Don't throw away the output from timed out tests
2450 Reviewed by Anders Carlsson.
2452 * Scripts/run-webkit-tests:
2453 (top level): Updated for changes to readFromDumpToolWithTimer.
2454 (readFromDumpToolWithTimer): Return a hash that contains both the
2455 output and whether or not the test timed out.
2457 2008-04-17 Adam Roben <aroben@apple.com>
2459 Make the hang timer 60 seconds
2461 * Scripts/run-webkit-tests:
2463 2008-04-17 Adam Roben <aroben@apple.com>
2465 Get rid of carriage returns in DRT/win's stderr
2467 Reviewed by Eric Seidel.
2469 * DumpRenderTree/win/DumpRenderTree.cpp:
2470 (main): Mark stderr as binary like we already do for stdout.
2472 2008-04-17 Adam Roben <aroben@apple.com>
2474 Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
2477 <https://bugs.webkit.org/show_bug.cgi?id=17678>
2479 We now abort tests that take longer than 60 seconds to produce output.
2480 This matches the watchdog timer in DRT/mac and DRT/win (which we can
2483 Reviewed by Eric Seidel.
2485 * Scripts/run-webkit-tests:
2486 (top level): Read DRT's output using the new readFromDumpToolWithTimer
2487 subroutine. If readFromDumpToolWithTimer returns undefined it means
2488 the test timed out, so we register the test as a hang and move on.
2489 (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
2490 both crashed and timed out tests. If the test timed out, we kill DRT
2492 (sub linksForTimedOutTest): Added. We don't have any output to link to for
2493 tests that timed out.
2494 (sub recordActualResultsAndDiff): Don't call length on undefined.
2495 (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
2496 from a filehandle until an #EOF is reached or
2497 $maximumSecondsWithoutOutput have elapsed.
2498 (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
2501 2008-04-17 Adam Roben <aroben@apple.com>
2503 Refactor test results page generation
2505 Reviewed by Eric Seidel.
2507 * Scripts/run-webkit-tests:
2508 (sub htmlForResultsSection): Added. Takes a set of tests, a
2509 description, and a subroutine to generate the links for each test, and
2510 creates a HTML string containing a table of the tests and their
2512 (sub linksForExpectedAndActualResults): Added. Replaces the
2513 htmlForExpectedAndActualResults subroutine.
2514 (sub linksForMismatchTest): Added.
2515 (sub linksForCrashOrErrorTest): Added.
2516 (sub linksForNewTest): Added.
2518 2008-04-17 Adam Roben <aroben@apple.com>
2520 Print the extension for all tests in the test results page
2522 Reviewed by Eric Seidel.
2524 * Scripts/run-webkit-tests:
2526 2008-04-17 Adam Roben <aroben@apple.com>
2528 Move code that counts finished tests into a subroutine
2530 Reviewed by Eric Seidel.
2532 * Scripts/run-webkit-tests:
2533 (sub countFinishedTest): Added.
2535 2008-04-17 Adam Roben <aroben@apple.com>
2537 Move code that handles a crash into a subroutine
2539 Reviewed by Eric Seidel.
2541 * Scripts/run-webkit-tests:
2542 (sub testCrashed): Added.
2544 2008-04-17 Eric Seidel <eric@webkit.org>
2548 Rename RenderView to RenderViewport in the next rename patch.
2550 * Scripts/do-webcore-rename:
2552 2008-04-17 Mario Bensi <mbensi@pleyo.com>
2554 Reviewed by Alp Toker.
2556 http://bugs.webkit.org/show_bug.cgi?id=18543
2557 DumpRenderTree gtk freeze
2559 fix DumpRenderTree gtk freeze
2561 * DumpRenderTree/gtk/DumpRenderTree.cpp:
2564 2008-04-15 Anders Carlsson <andersca@apple.com>
2568 * Scripts/build-webkit:
2570 2008-04-15 Anders Carlsson <andersca@apple.com>
2574 Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
2576 * Scripts/build-webkit:
2578 2008-04-15 Andre Poenitz <andre.poenitz@trolltech.com>
2582 Fix compilation with Qt namespaces
2584 Qt can be configured to have all of its classes inside a specified namespaces.
2585 This is for example used in plugin/component environments like Eclipse.
2587 This change makes it possible to let the Qt port compile against a namespaced
2588 Qt by the use of macros Qt provides to properly forward declare Qt classes in
2591 * DumpRenderTree/qt/DumpRenderTree.h:
2593 2008-04-08 Kevin Ollivier <kevino@theolliviers.com>
2595 Reviewed by Darin Adler.
2597 Add a script that propagates any file changes made to the Bakefiles
2598 over to GTK and Qt build systems. Still needs to be wired into
2601 * Scripts/update-sources-list.py: Added.
2603 2008-04-08 Mark Rowe <mrowe@apple.com>
2605 Clean up after Brady.
2607 * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
2609 2008-04-08 Brady Eidson <beidson@apple.com>
2611 Reviewed by Mitzpettel
2613 Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
2614 -WebArchive subresources dump in random order, intermittent failures
2616 * DumpRenderTree/mac/DumpRenderTree.mm:
2617 (compareResourceURLs): Sorting function based on the resource URLs
2618 (serializeWebArchiveToXML): Sort the subresource array
2620 2008-04-07 Brady Eidson <beidson@apple.com>
2622 OMG, BUILD - please!
2624 * Scripts/build-webkit:
2626 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2630 * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
2631 * Running these tests on windows and other platforms might need some work.
2633 * Scripts/run-webkit-tests:
2635 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2639 * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
2640 is not exporting enough to create the output in DRT itself. Settle with the approach
2641 Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
2642 * run-webkit-tests http/tests(/loading) can now be executed.
2643 * For tests in loading/ directories we are going to throw away the dirty
2644 QWebPage to start with something clean.
2647 * DumpRenderTree/qt/DumpRenderTree.cpp:
2649 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2653 * Treat http and https as special URLs as well. Change the main.cpp and
2654 DumpRenderTree.cpp to handle http and https URIs as input.
2655 * I'm not doing the clean up and merging of these two checks now.
2658 * DumpRenderTree/qt/DumpRenderTree.cpp:
2659 (WebCore::DumpRenderTree::readStdin):
2660 * DumpRenderTree/qt/main.cpp:
2663 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2667 * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
2668 located in a directory with the name "loading". And this will autoamtically
2670 * Remove this method from the LayoutTestController as it is unused now and this
2671 avoids adding it to the DRT of the Qt port.
2674 * DumpRenderTree/LayoutTestController.cpp:
2675 (setPrivateBrowsingEnabledCallback):
2677 2008-04-01 Christian Dywan <christian@imendio.com>
2679 Build fix for GCC 4.3.
2681 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
2683 2008-04-01 Simon Hausmann <hausmann@webkit.org>
2687 Fix Qt DRT run by also printing EOF on stderr, as expected by
2690 * DumpRenderTree/qt/DumpRenderTree.cpp:
2691 (WebCore::DumpRenderTree::dump):
2693 2008-03-31 Julien Chaffraix <julien.chaffraix@gmail.com>
2695 Reviewed by Darin Adler.
2697 Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
2699 Remove trailing '/' in $sourceDir in determineSourceDir().
2701 Fix suggested by Dmitriy Kazachkov.
2703 * Scripts/webkitdirs.pm:
2705 2008-03-29 Adam Roben <aroben@apple.com>
2707 Update for rename of an IWebViewPrivate method
2709 Reviewed by Mitz Pettel.
2711 * DumpRenderTree/win/DumpRenderTree.cpp:
2712 (createWebViewAndOffscreenWindow):
2714 2008-03-26 Antti Koivisto <antti@apple.com>
2718 Enable SVG animation support by default.
2720 * Scripts/build-webkit:
2722 2008-03-25 Adam Roben <aroben@apple.com>
2726 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2727 Add $(WebKitLibrariesDir)\include to the include path so we can find
2730 2008-03-24 Eric Seidel <eric@webkit.org>
2734 Clean up SVG features message to be less confusing.
2736 * Scripts/build-webkit:
2738 2008-03-24 Sam Weinig <sam@webkit.org>
2740 Reviewed by Dave Hyatt.
2742 Add EventSender.zoomPageIn/zoomPageOut support to DRT.
2744 * DumpRenderTree/mac/DumpRenderTree.mm:
2745 (resetWebViewToConsistentStateBeforeTesting):
2746 * DumpRenderTree/mac/EventSendingController.mm:
2747 (+[EventSendingController isSelectorExcludedFromWebScript:]):
2748 (-[EventSendingController zoomPageIn]):
2749 (-[EventSendingController zoomPageOut]):
2750 * DumpRenderTree/win/DumpRenderTree.cpp:
2751 (resetWebViewToConsistentStateBeforeTesting):
2752 * DumpRenderTree/win/EventSender.cpp:
2753 (textZoomInCallback):
2754 (textZoomOutCallback):
2755 (zoomPageInCallback):
2756 (zoomPageOutCallback):
2758 2008-03-24 Dan Bernstein <mitz@apple.com>
2760 Reviewed by Mark Rowe.
2762 - update bisect-builds for Safari 3.1
2764 * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
2767 2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
2771 http://bugs.webkit.org/show_bug.cgi?id=17981
2773 Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
2777 2008-03-21 Adam Roben <aroben@apple.com>
2779 Remove a non-working mirror from cygwin-downloader and add the ruby package
2781 * CygwinDownloader/cygwin-downloader.py:
2782 * CygwinDownloader/cygwin-downloader.zip: Updated.
2784 2008-03-20 Mark Rowe <mrowe@apple.com>
2786 Reviewed by Sam Weinig.
2788 Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
2789 This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
2792 * Scripts/build-webkit:
2794 2008-03-17 Eric Seidel <eric@webkit.org>
2796 Reviewed by Dan Bernstein.
2798 Fix bogus argCount check breaking plugin test.
2800 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2802 2008-03-17 Eric Seidel <eric@webkit.org>
2806 Cleanup PluginObject.cpp and add support for testing
2807 converting from int -> identifier -> string
2808 and from string -> identifier -> int
2809 as well as round-tripping ints and stings through identifiers
2811 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2812 (pluginGetProperty):
2813 (pluginSetProperty):
2815 (stringVariantToIdentifier):
2816 (int32VariantToIdentifier):
2817 (doubleVariantToIdentifier):
2818 (variantToIdentifier):
2819 (testIdentifierToString):
2820 (testIdentifierToInt):
2823 (removeDefaultMethod):
2825 (testInvokeDefault):
2828 (testGetIntIdentifier):
2831 (testGetPropertyReturnValue):
2833 (pluginInvokeDefault):
2839 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
2841 Rubber stamped by Darin Adler.
2843 Add set-webkit-configuration support for wx port, and centralize
2844 build dir location setting.
2846 http://bugs.webkit.org/show_bug.cgi?id=17790
2848 * wx/browser/browser.bkl:
2849 * wx/build-wxwebkit:
2851 2008-03-15 Darin Adler <darin@apple.com>
2853 * Scripts/commit-log-editor: Include the name line of the change log entry.
2854 A long time ago I designed this script to not include the name because I
2855 thought it was redundant (same as the name of the person checking in), but
2856 nowadays it's more common for someone to check something in done by someone
2859 * Scripts/do-webcore-rename: Added some more planned renames and removed
2860 some that were already done "by hand".
2862 2008-03-13 Brent Fulgham <bfulgham@gmail.com>
2864 Reviewed by Darin Adler.
2866 Correct paths to vsprops files so they use the environment
2867 variable, rather than hard-coded path.
2868 http://bugs.webkit.org/show_bug.cgi?id=17797.
2870 * WinLauncher/WinLauncher.vcproj: Correct paths to vsprops.
2872 2008-03-12 Steve Falkenburg <sfalken@apple.com>
2876 * WinLauncher/WinLauncher.vcproj:
2878 2008-03-12 Holger Hans Peter Freyther <zecke@selfish.org>
2880 Reviewed by Alp Toker.
2882 Run testkjs in the correct productsDir in the GTK+ port.
2884 * Scripts/run-javascriptcore-tests:
2886 2008-03-11 Brent Fulgham <bfulgham@gmail.com>
2888 Reviewed by Adam Roben.
2890 Enabled WinLauncher as part of normal Windows build.
2891 http://bugs.webkit.org/show_bug.cgi?id=17715.
2893 * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
2894 it can find the proper libraries to link against.
2896 2008-03-10 Julien Chaffraix <julien.chaffraix@gmail.com>
2898 Reviewed and landed by Darin Adler.
2900 http://bugs.webkit.org/show_bug.cgi?id=17581
2901 Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
2903 Remove the previous warning which occurs when the --random option is used.
2905 * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
2908 2008-03-07 Simon Hausmann <hausmann@webkit.org>
2910 Reviewed by Darin Adler.
2914 Ported the netscape test plugin to QWebPluginFactory.
2916 * DumpRenderTree/qt/DumpRenderTree.cpp:
2917 (WebCore::WebPage::WebPage):
2918 * DumpRenderTree/qt/main.cpp:
2919 * DumpRenderTree/qt/testplugin.cpp:
2920 (TestPlugin::plugins):
2921 (TestPlugin::create):
2922 * DumpRenderTree/qt/testplugin.h:
2924 2008-03-09 Steve Falkenburg <sfalken@apple.com>
2926 Stop Windows build if an error occurs in a prior project.
2928 Rubber stamped by Darin Adler.
2930 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2931 * DumpRenderTree/win/DumpRenderTree.vcproj:
2932 * DumpRenderTree/win/ImageDiff.vcproj:
2933 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2935 2008-03-08 Julien Chaffraix <julien.chaffraix@gmail.com>
2937 Reviewed by Mark Rowe.
2939 DRT build fix for Tiger.
2941 * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
2943 2008-03-07 Mark Rowe <mrowe@apple.com>
2945 Reviewed by Oliver Hunt.
2947 Fix WebKit build with GCC 4.2.
2949 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
2951 2008-03-07 Stephanie Lewis <slewis@apple.com>
2955 Add Windows part of <rdar://problem/5693690>
2957 * DumpRenderTree/win/DumpRenderTree.cpp:
2961 2008-03-07 Alp Toker <alp@atoker.com>
2963 Back out the r30818, r30819 build fix attempts now the GTK+ build
2964 server has been upgraded.
2966 * Scripts/webkitdirs.pm:
2968 2008-03-07 Stephanie Lewis <slewis@apple.com>
2972 <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
2974 * DumpRenderTree/mac/DumpRenderTree.mm:
2975 (dump): push EOF to stderr after every test
2976 * Scripts/run-webkit-tests: collect stderr output and print it
2978 2008-03-07 Steve Falkenburg <sfalken@apple.com>
2980 Get pdevenv working with Visual Studio Express.
2986 2008-03-06 Adele Peterson <adele@apple.com>
2988 Reviewed by Darin Adler.
2990 Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
2992 * DumpRenderTree/mac/UIDelegate.mm:
2993 (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
2994 (-[UIDelegate webViewUnfocus:]): Added. In Safari, the default is to focus another window if there is one.
2995 To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
2997 2008-03-06 Matt Lilek <webkit@mattlilek.com>
2999 Reviewed by Adam Roben.
3001 Bug 17691: REGRESSION: FindSafari doesn't work
3002 http://bugs.webkit.org/show_bug.cgi?id=17691
3004 Swap my change from r30394 to use the Release libraries instead of Debug
3005 since some machines don't have the Debug version.
3007 * FindSafari/FindSafari.vcproj:
3009 2008-03-06 Kevin McCullough <kmccullough@apple.com>
3011 Reviewed by Sam and Tim.
3013 <rdar://5631450> Drosera: breakpoint indicators disappear after the
3014 script is finished running.
3015 - If there is a pre-existing breakpoint on a line when the file is
3016 updated we need to redraw it.
3018 * Drosera/debugger.js:
3020 2008-03-06 Brady Eidson <beidson@apple.com>
3024 * DumpRenderTree/mac/WatchdogMac.mm:
3026 2008-03-06 Brady Eidson <beidson@apple.com>
3030 Added a cross-platform Watchdog thread to DRT.
3032 The current watchdog in both DRTWin and DRTMac is Timer based. Therefore, deadlocks and long running
3033 main thread hangs still affect DRT.
3035 By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
3036 and true deadlocks can be caught.
3038 There is one hook for platform specific code. As I did my development and testing on Mac, and Mac has
3039 `sample` available, the Mac implementation of this hook samples the process before it is killed.
3041 I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
3043 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3044 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
3046 * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
3047 * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
3049 * DumpRenderTree/Watchdog.cpp: Added.
3050 (Watchdog::Watchdog):
3051 (Watchdog::~Watchdog):
3054 (Watchdog::checkIn):
3055 (Watchdog::setWatchdogInterval):
3056 (Watchdog::handleHang):
3057 (Watchdog::watchdogThreadStart):
3058 (Watchdog::watchdogThread):
3059 * DumpRenderTree/Watchdog.h: Added.
3061 * DumpRenderTree/mac/WatchdogMac.h: Added.
3062 * DumpRenderTree/mac/WatchdogMac.mm: Added.
3063 (WatchdogMac::handleHang): Sample the process and write it out to a file
3065 * DumpRenderTree/mac/DumpRenderTree.mm:
3066 (dumpRenderTree): Setup and start the watchdog before running any tests
3067 (runTest): Checkin with the watchdog after each test
3069 2008-03-05 Alp Toker <alp@atoker.com>
3071 Attempt to get the autotools build working again on the bot with
3074 Force the use of /bin/bash since we seem to have bash-isms in the
3075 configure script right now.
3077 * Scripts/webkitdirs.pm:
3079 2008-03-05 Alp Toker <alp@atoker.com>
3081 Re-attempt to switch to the autotools build system for GTK+.
3083 Change scripts to continue when distclean fails.
3085 * Scripts/webkitdirs.pm:
3087 2008-03-05 Alp Toker <alp@atoker.com>
3089 Force qmake for the GTK+ build until we get the build bot to succeed
3090 with autotools (currently dies at make distclean)
3092 * Scripts/webkitdirs.pm:
3094 2008-03-04 Alp Toker <alp@atoker.com>
3096 Reviewed by Mark Rowe.
3098 Switch the default GTK+ build system from qmake to autotools.
3100 qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
3102 * Scripts/build-webkit:
3103 * Scripts/run-launcher:
3104 * Scripts/run-webkit-tests:
3105 * Scripts/webkitdirs.pm:
3107 2008-03-04 Sam Weinig <sam@webkit.org>
3109 Reviewed by Darin Adler.
3111 * Scripts/do-webcore-rename: Update renaming plan.
3113 2008-03-02 Brent Fulgham <bfulgham@gmail.com>
3115 Reviewed by Alp Toker.
3117 Remove some needless LIBS.
3121 2008-03-02 Alp Toker <alp@atoker.com>
3123 Reviewed by Mark Rowe.
3125 Split the WebKit GTK+ build out of the WebCore build and change the
3126 shared object name to match the package name.
3130 2008-03-01 Mark Rowe <mrowe@apple.com>
3132 Reviewed by Tim Hatcher.
3134 Update Xcode configuration to support building debug and release from the mysterious future.
3136 * DumpRenderTree/mac/Configurations/Base.xcconfig:
3138 2008-02-29 David Kilzer <ddkilzer@apple.com>
3140 Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
3144 Originally broken in r26838.
3146 * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
3147 not local, unused @args variable.
3149 2008-02-29 David Kilzer <ddkilzer@apple.com>
3151 Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
3153 <http://bugs.webkit.org/show_bug.cgi?id=15754>
3155 Reviewed by Geoff and Darin.
3157 We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
3158 then removing that path from all file:/// URLs in the WebArchive output so these tests
3159 would pass no matter where they were run.
3161 The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
3162 current working directory, but the WebArchive does not. This left the current working
3163 directory in all file:/// URLs in the test output, and thus all tests failed, for any
3164 developer that used symlinks to get to their WebKit source directory.
3166 The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
3167 remove the current working directory path (no matter what it is) after "file://" but
3168 before "/LayoutTests/".
3170 * DumpRenderTree/mac/DumpRenderTree.mm:
3171 (normalizeWebResourceURL): Removed unused oldURLBase argument. We now replace the
3172 current working directory as described above.
3173 (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument. Update
3174 calls to normalizeWebResourceURL().
3175 (serializeWebArchiveToXML): Removed now unused cwdURL variable. Update calls to
3176 normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
3178 2008-02-26 Robin Dunn <robin@alldunn.com>
3180 Reviewed by Kevin Ollivier.
3182 Improvements to the wx build script.
3184 http://bugs.webkit.org/show_bug.cgi?id=17492
3186 * wx/build-wxwebkit:
3187 - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
3188 - Allow the build script to properly find wxPython includes under different setups
3189 - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
3191 2008-02-26 Timothy Hatcher <timothy@apple.com>
3193 Reviewed by Darin Adler.
3195 * Scripts/build-webkit: Add --universal and --64-bit flags to make building
3196 64-bit architectures easy. Combine the two flags to build 4-way universal.
3197 * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
3198 non-zero when the build failes.
3200 2008-02-26 Jessica Kahn <jess@apple.com>
3202 Reviewed by Darin Adler.
3204 * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
3205 so that Safari inherits it when launched. Preexisting code in WebKit checks this
3206 environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
3207 launched by Safari continue to use the standard system WebKit.
3209 2008-02-25 Adam Roben <aroben@apple.com>
3211 Fix run-webkit-tests after r30394
3213 * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
3216 2008-02-24 Darin Adler <darin@apple.com>
3218 * Scripts/do-webcore-rename: Make some updates based on a trial run of
3219 the renaming script.
3221 2008-02-24 Darin Adler <darin@apple.com>
3223 * Scripts/do-webcore-rename: More renaming plans.
3225 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3227 Rubber stamped by Darin Adler.
3229 Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
3230 whitespaces introduced in the previous commit.
3234 2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3236 Rubber-stamped by Darin Adler.
3238 * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
3240 2008-02-23 David Kilzer <ddkilzer@apple.com>
3242 Please clarify licensing for some files
3243 <http://bugs.webkit.org/show_bug.cgi?id=14970>
3245 Reviewed by Darin Adler.
3247 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
3248 copyright statement. Replaced license with newer Apple BSD-style license.
3249 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
3250 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
3251 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
3252 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
3253 * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
3254 * mangleme/LICENSE: Added (LGPL).
3256 2008-02-22 Anders Carlsson <andersca@apple.com>
3260 <rdar://problem/5748781>
3261 https://bugs.webkit.org/show_bug.cgi?id=17413
3262 REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
3264 Copy the Java plug-in over to the new location.
3266 * FindSafari/FindSafari.cpp:
3269 2008-02-22 Anders Carlsson <andersca@apple.com>
3273 <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
3275 * DumpRenderTree/win/DumpRenderTree.cpp:
3277 Init the URL request with the correct timeout.
3279 2008-02-21 Mike Auty <mike.auty@gmail.com>
3281 Reviewed by Alp Toker.
3283 http://bugs.webkit.org/show_bug.cgi?id=17445
3284 [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
3286 GTK+/autotools build system improvements
3288 The GNUmakefile.am files make use of the LDFLAGS variable to include library
3289 additions such as -ljpeg etc. Unfortunately, if these inclusions aren't made
3290 in LIBADD/LDADD variables, then they are mis-ordered during the linking.
3292 The as-needed flag discards libraries whose functions have not been needed by
3293 earlier libraries, which therefore makes the ordering important.
3295 This moves all -l library inclusion statements from LDFLAGS variables to
3296 LIBADD/LDADD variables.
3300 2008-02-20 Brent Fulgham <bfulgham@gmail.com>
3304 - http://bugs.webkit.org/show_bug.cgi?id=17428
3305 Reenable a Windows-based launcher
3307 This patch reenables the venerable Spinneret application,
3308 changing its name to match the other lanch applications.
3310 * WinLauncher: Added.
3311 * WinLauncher/WinLauncher.cpp: Added.
3312 (WinLauncherWebHost::updateAddressBar):
3313 (WinLauncherWebHost::QueryInterface):
3314 (WinLauncherWebHost::AddRef):
3315 (WinLauncherWebHost::Release):
3324 * WinLauncher/WinLauncher.h: Added.
3325 (WinLauncherWebHost::WinLauncherWebHost):
3326 (WinLauncherWebHost::didStartProvisionalLoadForFrame):
3327 (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
3328 (WinLauncherWebHost::didFailProvisionalLoadWithError):
3329 (WinLauncherWebHost::didCommitLoadForFrame):
3330 (WinLauncherWebHost::didReceiveTitle):
3331 (WinLauncherWebHost::didReceiveIcon):
3332 (WinLauncherWebHost::didFinishLoadForFrame):
3333 (WinLauncherWebHost::didFailLoadWithError):
3334 (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
3335 (WinLauncherWebHost::willPerformClientRedirectToURL):
3336 (WinLauncherWebHost::didCancelClientRedirectForFrame):
3337 (WinLauncherWebHost::willCloseFrame):
3338 (WinLauncherWebHost::windowScriptObjectAvailable):
3339 * WinLauncher/WinLauncher.ico: Added.
3340 * WinLauncher/WinLauncher.rc: Added.
3341 * WinLauncher/WinLauncher.vcproj: Added.
3342 * WinLauncher/resource.h: Added.
3343 * WinLauncher/small.ico: Added.
3344 * WinLauncher/stdafx.cpp: Added.
3345 * WinLauncher/stdafx.h: Added.
3347 2008-02-19 Brady Eidson <beidson@apple.com>
3351 Fixed a bug in DRT --threaded mode
3353 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
3354 (startJavaScriptThreads): Don't detach the newly created thread. The later call to stopJavaScriptThreads() tries
3355 to pthread_join() each thread that had been created, but you can't join a detached thread!
3357 2008-02-18 Brady Eidson <beidson@apple.com>
3359 Changes by Geoff Garen, Reviewed by Darin
3361 Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
3363 DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
3365 [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
3366 This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread. If the lock has leaked,
3367 this series of method calls will deadlock. If things are good, it will complete successfully.
3369 * DumpRenderTree/mac/ObjCController.m:
3370 (runJavaScriptThread):
3371 (+[ObjCController isSelectorExcludedFromWebScript:]):
3372 (+[ObjCController webScriptNameForSelector:]):
3373 (-[ObjCController testValueForKey]):
3375 2008-02-18 Matt Lilek <webkit@mattlilek.com>
3379 Remove FindSafari's Release configuration.
3381 * FindSafari/FindSafari.vcproj:
3383 2008-02-15 Adam Roben <aroben@apple.com>
3385 Fix a typo that broke the Mac build
3389 * Scripts/build-webkit:
3391 2008-02-14 Adam Roben <aroben@apple.com>
3393 Turn on cross-document messaging support by default
3395 Reviewed by Darin Adler.
3397 * Scripts/build-webkit:
3399 2008-02-14 Adam Roben <aroben@apple.com>
3401 Conditionalize cross-document messaging support
3403 The cross-document messaging parts of HTML 5 are in flux and we want
3404 ports to be able to turn off the support as needed.
3406 Note that the support is turned off by default right now. A subsequent
3407 commit will turn it on by default.
3409 Reviewed by Darin Adler.
3411 * Scripts/build-webkit:
3413 2008-02-14 Darin Adler <darin@apple.com>
3417 * DumpRenderTree/win/UIDelegate.cpp:
3418 (UIDelegate::setStatusText): Update parameter types to match declaration.
3420 2008-02-14 Oliver Hunt <oliver@apple.com>
3422 Reviewed by Geoff G and Weinig.
3424 Add ability for DRT to report tests setting the status text.
3426 * DumpRenderTree/LayoutTestController.cpp:
3427 (LayoutTestController::LayoutTestController):
3428 (dumpStatusCallbacksCallback):
3429 (LayoutTestController::staticFunctions):
3430 * DumpRenderTree/LayoutTestController.h:
3431 * DumpRenderTree/mac/UIDelegate.mm:
3432 (-[UIDelegate webView:setStatusText:]):
3433 * DumpRenderTree/win/UIDelegate.cpp:
3434 * DumpRenderTree/win/UIDelegate.h:
3436 2008-02-13 Adam Roben <aroben@apple.com>
3440 * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
3442 2008-02-13 Adam Roben <aroben@apple.com>
3444 Windows/GTK+ build fix
3446 * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
3449 2008-02-13 Brady Eidson <beidson@apple.com>
3451 Reviewed by Darin Adler
3453 Add some much needed Database support to DRT
3455 * DumpRenderTree/LayoutTestController.cpp:
3456 (LayoutTestController::LayoutTestController):
3457 (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
3458 databases are called
3459 (clearAllDatabasesCallback): Allow a test to delete all databases
3460 (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
3461 (LayoutTestController::staticFunctions):
3463 * DumpRenderTree/LayoutTestController.h:
3464 (LayoutTestController::dumpDatabaseCallbacks):
3465 (LayoutTestController::setDumpDatabaseCallbacks):
3467 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3468 (LayoutTestController::clearAllDatabases):
3469 (LayoutTestController::setDatabaseQuota):
3471 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3472 (LayoutTestController::clearAllDatabases): Stubbed out
3473 (LayoutTestController::setDatabaseQuota): Ditto
3474 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3475 (LayoutTestController::clearAllDatabases): Stubbed out with error message
3476 (LayoutTestController::setDatabaseQuota): Ditto
3478 * DumpRenderTree/mac/UIDelegate.mm:
3479 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
3480 message with details about the event then return a 5mb quota like before
3483 2008-02-12 Steve Falkenburg <sfalken@apple.com>
3485 Changes to support merged MIDL output.
3487 All COM interfaces are now generated to WebKit.h.
3489 Reviewed by Sam, Ada.
3491 * Drosera/win/BaseDelegate.h:
3492 * Drosera/win/DebuggerClient.cpp:
3493 * Drosera/win/DebuggerDocumentPlatform.cpp:
3494 * Drosera/win/Drosera.cpp:
3495 * Drosera/win/ServerConnection.cpp:
3496 * Drosera/win/ServerConnection.h:
3497 * DumpRenderTree/win/DumpRenderTree.cpp:
3498 * DumpRenderTree/win/EditingDelegate.h:
3499 * DumpRenderTree/win/EventSender.cpp:
3500 * DumpRenderTree/win/FrameLoadDelegate.cpp:
3501 * DumpRenderTree/win/FrameLoadDelegate.h:
3502 * DumpRenderTree/win/GCControllerWin.cpp:
3503 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3504 * DumpRenderTree/win/PolicyDelegate.h:
3505 * DumpRenderTree/win/ResourceLoadDelegate.h:
3506 * DumpRenderTree/win/UIDelegate.cpp:
3507 * DumpRenderTree/win/UIDelegate.h:
3508 * DumpRenderTree/win/WorkQueueItemWin.cpp:
3510 2008-02-10 Dan Bernstein <mitz@apple.com>
3512 Reviewed by Oliver Hunt.
3516 * DumpRenderTree/cg/ImageDiffCG.cpp:
3517 (getDifferenceBitmap): Use a static CFMutableData instead of allocating
3518 and leaking the buffer each time.
3520 2008-02-07 Adam Roben <aroben@apple.com>
3522 Fix error in bisect-builds when responding "broken" for the first
3525 Reviewed by Dave Kilzer.
3527 * Scripts/bisect-builds: Only try to test the build if the nightly
3528 info for the current index has not been deleted.
3530 2008-02-07 Geoffrey Garen <ggaren@apple.com>
3532 Reviewed by Alexey Proskuryakov.
3534 Fixed two minor typos in the --root option, to get it working.
3536 * Scripts/run-sunspider:
3537 1. Actually assign the function argument to our local variable.
3538 2. Actually set the $root variable, so we don't try to build later.
3540 2008-02-05 Oliver Hunt <oliver@apple.com>
3544 Re-enable foreignObject by default as it is needed for a number of non-fO
3545 related SVG tests and none of the old known crashes occur anymore.
3547 * Scripts/build-webkit:
3549 2008-02-05 Steve Falkenburg <sfalken@apple.com>
3551 Build fix. Don't override intermediate directory.
3553 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3555 2008-02-05 Holger Hans Peter Freyther <zecke@selfish.org>
3557 Build fix for Windows. willCloseFrame is a pure virtual and we are
3558 forced to have an implementation.
3560 This partially reverts r30014.
3562 * DumpRenderTree/win/FrameLoadDelegate.cpp:
3563 (FrameLoadDelegate::willCloseFrame):
3564 * DumpRenderTree/win/FrameLoadDelegate.h:
3566 2008-02-05 Nikolas Zimmermann <zimmermann@kde.org>
3570 Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
3572 * Scripts/make-js-test-wrappers:
3574 2008-02-05 Holger Freyther <zecke@selfish.org>
3576 Reviewed by Darin Adler.
3578 In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
3579 the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
3580 depends on the order the tests are executed.
3582 Propose to remove willCloseFrame and didlCearWindowObject output from the
3583 FrameLoadDelegate and update the test results. The output of didClearWindowObject
3584 is not interesting for any of the current tests and we have other ways to find
3585 out if a frame was closed or not.
3587 * DumpRenderTree/mac/FrameLoadDelegate.mm:
3588 * DumpRenderTree/win/FrameLoadDelegate.cpp:
3589 (FrameLoadDelegate::didClearWindowObject):
3590 * DumpRenderTree/win/FrameLoadDelegate.h:
3592 2008-02-04 Mark Rowe <mrowe@apple.com>
3594 Reviewed by Oliver Hunt.
3596 Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
3597 Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
3599 Don't install the signal handler unless we are running the pixel tests.
3600 It is currently only used to restore the color profile, but by catching
3601 signals we can trigger a deadlock in DRT while running leak tests.
3602 The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
3603 and a more complete fix will need to be developed to address this for
3604 pixel tests as well.
3606 * DumpRenderTree/mac/DumpRenderTree.mm:
3609 2008-02-04 Mark Rowe <mrowe@apple.com>
3611 Gtk qmake build fix.
3613 * Scripts/webkitdirs.pm: Fix perl's complaint about an odd number of elements in anonymous hash.
3615 2008-02-04 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3617 Reviewed by Alp Toker and Mark Rowe.
3619 http://bugs.webkit.org/show_bug.cgi?id=16618
3620 [GTK] build-webkit and run-webkit-tests autootools support
3622 * Scripts/build-webkit: added --database and --icon-database options
3623 * Scripts/run-launcher:
3624 * Scripts/run-webkit-tests:
3625 * Scripts/webkitdirs.pm:
3627 2008-02-04 Oliver Hunt <oliver@apple.com>
3629 Reviewed by Steve F.
3631 Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
3633 Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
3635 * Uses Sleep() to implement leapForward reliably.
3636 * 3 DND tests still fail for reasons that i have not yet determined
3637 * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain
3639 * DumpRenderTree/win/EventSender.cpp:
3640 (leapForwardCallback):
3641 (mouseDownCallback):
3645 (mouseMoveToCallback):
3646 Minor updates to these functions to handle the different message queue structure.
3648 (replaySavedEvents):
3649 More complicated now. Where possible we just use the old while-loop model of execution,
3650 but when leapForward has been used we have to jump through some hoops and set up an
3651 inner event loop so that we can ensure messages get the correct time stamp.
3653 * DumpRenderTree/win/UIDelegate.cpp:
3654 (UIDelegate::doDragDrop):
3655 Call replaySavedEvents directly to force synchronous handling of drag and drop.
3657 2008-02-04 Rodney Dawes <dobey@wayofthemonkey.com>
3659 Reviewed by Alp Toker and Mark Rowe.
3661 Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
3662 Bug 17175: Use of C++ compiler flags in CFLAGS
3664 * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
3666 2008-02-04 Darin Adler <darin@apple.com>
3670 * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
3671 and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
3674 2008-02-04 Adam Roben <aroben@apple.com>
3676 Windows Apple-only build fix
3678 * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
3681 2008-02-04 Alp Toker <alp@atoker.com>
3683 Rubber-stamped by Mark Rowe.
3685 Remove all trailing whitespace in the GTK+ port and related
3688 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3689 * DumpRenderTree/gtk/GCControllerGtk.cpp:
3690 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3693 2008-02-01 Eric Seidel <eric@webkit.org>
3697 Also search LayoutTests/svg for js-based tests.
3699 * Scripts/make-js-test-wrappers:
3701 2008-01-31 Alp Toker <alp@atoker.com>
3703 Rubber-stamped by Adam Roben.
3705 http://bugs.webkit.org/show_bug.cgi?id=17006
3706 [GTK] Header path should be webkit/webkit.h
3708 Move the GTK+ API sources as needed and update the build systems.
3710 * DumpRenderTree/gtk/DumpRenderTree.cpp:
3711 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3712 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
3714 * GtkLauncher/main.c:
3716 2008-01-30 Stephanie <slewis@apple.com>
3720 Add an option to run-webkit-tests to merge leaks results and print the number of unique leaks found under a certain call depth. This should make it easier for the buildbots to track new leaks.
3722 * Scripts/run-webkit-tests:
3724 2008-01-30 Alexey Proskuryakov <ap@webkit.org>
3726 Reviewed by Adam Roben.
3728 One more debug (external) fix.
3730 * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
3731 and Debug configurations.
3733 2008-01-29 Geoffrey Garen <ggaren@apple.com>
3735 Reviewed by Sam Weinig. Sam Weinig.
3737 Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
3738 fails when run after fast/dom/Window/window-property-shadowing.html (16902)
3740 Modified our policy delegates not to output window.name. Since a
3741 previous test may have explicitly set window.name, we can't rely on its
3742 implicit value in test results.
3744 * DumpRenderTree/mac/PolicyDelegate.mm:
3745 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
3747 * DumpRenderTree/win/PolicyDelegate.cpp:
3748 (PolicyDelegate::decidePolicyForNavigationAction):
3750 2008-01-29 Mark Rowe <mrowe@apple.com>
3752 Reviewed by Tim Hatcher.
3754 <rdar://problem/5600926> WebCore on Tiger must link to its own copy of SQLite 3.4 or newer (so HTML database behavior will be correct).
3756 * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
3758 2008-01-29 David Kilzer <ddkilzer@apple.com>
3760 Refactor ChangeLog path code
3764 * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
3765 duplicate code in another foreach() loop.
3767 2008-01-29 Alexey Proskuryakov <ap@webkit.org>
3769 Reviewed by Darin Adler.
3771 <rdar://problem/5710692> All storage tests fail/crash
3773 * DumpRenderTree/mac/UIDelegate.mm:
3774 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
3775 arbitrary quota of 5 megabytes.
3777 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
3778 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
3779 Removed unused (I think) code.
3781 * DumpRenderTree/win/UIDelegate.cpp:
3782 (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
3783 (UIDelegate::webViewPainted): A stub implementation.
3784 (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
3785 * DumpRenderTree/win/UIDelegate.h:
3787 2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3789 GTK+ DRT build fix for breakage introduced in r29822.
3791 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3792 (LayoutTestController::setPersistentUserStyleSheetLocation):
3793 (LayoutTestController::clearPersistentUserStyleSheet):
3795 2008-01-27 Dan Bernstein <mitz@apple.com>
3797 Reviewed by Darin Adler.
3799 - add support for directory prologues and epilogues to run-webkit-tests
3800 - allow setting a persistent user style sheet in DumpRenderTree
3801 - activate the WebKit Layout Tests font in Windows DumpRenderTree
3803 * DumpRenderTree/LayoutTestController.cpp:
3804 (clearPersistentUserStyleSheetCallback): Added.
3805 (setPersistentUserStyleSheetLocationCallback): Added.
3806 (LayoutTestController::staticFunctions): Added.
3807 clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
3808 * DumpRenderTree/LayoutTestController.h:
3809 * DumpRenderTree/mac/DumpRenderTree.mm:
3810 (setPersistentUserStyleSheetLocation): Added.
3811 (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
3812 to the set of things this function resets. Now it either disables the
3813 user style sheet or sets it to the persistent user style sheet and
3815 * DumpRenderTree/mac/DumpRenderTreeMac.h:
3816 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3817 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
3818 (LayoutTestController::clearPersistentUserStyleSheet): Added.
3819 * DumpRenderTree/win/DumpRenderTree.cpp:
3820 (setPersistentUserStyleSheetLocation): Added.
3821 (initialize): Added the WebKit Layout Tests font to the set of fonts to
3823 (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
3824 * DumpRenderTree/win/DumpRenderTreeWin.h:
3825 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3826 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
3827 (LayoutTestController::clearPersistentUserStyleSheet): Added.
3828 * Scripts/run-webkit-tests: Changed to look for, and if found process in
3829 DumpRenderTree, files named run-webkit-tests-prologue.html and
3830 run-webkit-tests-epilogue.html in the resources subdirectory of any
3831 test directory and platform test results directory. The prologues are
3832 processed before the first test from the directory (and its
3833 subdirectories) is run, and the epilogues are processed after the last
3834 test from the directory is run. Platform-specific prologues and
3835 epilogues are processed in order of specificity.
3837 2008-01-25 Alexey Proskuryakov <ap@webkit.org>
3839 Reviewed by Mark Rowe.
3841 <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
3843 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
3845 * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
3847 2008-01-24 Sam Weinig <sam@webkit.org>
3849 Reviewed by Ada Chan.
3851 Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
3853 - Adds simplified UndoManager to windows DRT to allow testing the
3854 undo/redo code paths in WebCore and WebKit. This is a temporary
3855 solution to an issue that should eventually be solved by having a
3856 shared UndoManager in WebKit.
3858 * DumpRenderTree/win/DumpRenderTree.cpp:
3860 * DumpRenderTree/win/UIDelegate.cpp:
3861 (DRTUndoObject::DRTUndoObject):
3862 (DRTUndoObject::invoke):
3863 (DRTUndoStack::~DRTUndoStack):
3864 (DRTUndoStack::isEmpty):
3865 (DRTUndoStack::clear):
3866 (DRTUndoStack::push):
3867 (DRTUndoStack::pop):
3868 (DRTUndoManager::canRedo):
3869 (DRTUndoManager::canUndo):
3870 (DRTUndoManager::DRTUndoManager):
3871 (DRTUndoManager::removeAllActions):
3872 (DRTUndoManager::registerUndoWithTarget):
3873 (DRTUndoManager::redo):
3874 (DRTUndoManager::undo):
3875 (UIDelegate::UIDelegate):
3876 (UIDelegate::resetUndoManager):
3877 (UIDelegate::registerUndoWithTarget):
3878 (UIDelegate::removeAllActionsWithTarget):
3879 (UIDelegate::setActionTitle):
3882 (UIDelegate::canUndo):
3883 (UIDelegate::canRedo):
3884 * DumpRenderTree/win/UIDelegate.h:
3886 2008-01-23 Adam Roben <aroben@apple.com>
3888 Allow directories containing ChangeLogs to be passed to
3891 Reviewed by David Kilzer.
3893 * Scripts/resolve-ChangeLogs:
3894 (sub findChangeLog): Return a ChangeLog contained within the specified
3895 directory if one exists.
3897 2008-01-23 Steve Falkenburg <sfalken@apple.com>
3899 <rdar://problem/5698732> Copyright strings should include 2008
3903 * Drosera/win/Drosera.vcproj/Drosera.rc:
3904 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
3906 2008-01-23 Alp Toker <alp@atoker.com>
3908 Rubber-stamped by Mark Rowe.
3910 Remove whitespace after -I in automake include lists.
3914 2008-01-23 Michael Goddard <michael.goddard@trolltech.com>
3916 Reviewed by Lars Knoll <lars@trolltech.com>.
3918 Reworked the JavaScriptCore Qt bindings:
3920 * Update JS DRT controller for Qt JS binding changes.
3921 There were two functions that needed some changes
3922 so that the layout tests would work, so this makes
3923 a few tests pass again.
3925 * Bump the timeout for layout tests up to 11s.
3926 At least some tests have an internal timeout of
3927 10 seconds, so make the waitUntilDone approach
3928 wait at least 11s. fast/dom/open-and-close-by-DOM.html
3929 is one of these - now the failure message is more
3933 * DumpRenderTree/qt/jsobjects.cpp:
3934 (LayoutTestController::waitUntilDone):
3935 * DumpRenderTree/qt/jsobjects.h:
3937 2008-01-22 Anders Carlsson <andersca@apple.com>
3939 Reviewed by Darin and Adam.
3941 <rdar://problem/5688975>
3942 div element on microsoft site has wrong left offset.
3944 Add new method for testing the return vale of NPN_GetProperty.
3946 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3949 2008-01-22 Alexey Proskuryakov <ap@webkit.org>
3951 Reviewed by Adam Roben.
3953 <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
3955 * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
3957 2008-01-21 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3959 Reviewed by Alp Toker.
3961 http://bugs.webkit.org/show_bug.cgi?id=16955
3962 Get errors when cross-compile webkit-gtk
3964 * GNUmakefile.am: Removed ICU_CFLAGS
3966 2008-01-21 Darin Adler <darin@apple.com>
3968 Reviewed by Mitz and Adam.
3970 * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
3971 sorting speed by doing all sort criteria in a single pass instead of three sorts.
3973 2008-01-21 Simon Hausmann <hausmann@webkit.org>
3977 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
3979 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
3980 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
3981 and make the return value depend on whether we successfully determined a focusable
3983 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
3984 if we could not handle the focus chain ourselves.
3985 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
3986 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
3987 used to control the situation of stepping out of the focus chain inside the page.
3988 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
3989 The layout tests expect this to be disabled but for the user it seems sensible to have it
3990 on by default, hence the default in qwebsettings.cpp
3993 * DumpRenderTree/qt/DumpRenderTree.cpp:
3994 (WebCore::WebPage::WebPage):
3996 2008-01-19 Mark Rowe <mrowe@apple.com>
3998 Reviewed by Alp Toker.
4000 Allow the --http flag to run-webkit-tests to override
4001 the default behaviour of disabling HTTP tests for Qt,
4004 * Scripts/run-webkit-tests:
4006 2008-01-19 David Kilzer <ddkilzer@apple.com>
4008 <rdar://problem/5695344> check-for-global-initializers script never checks any object files
4010 Reviewed by Darin Adler.
4012 We now touch a check-for-global-initializers.timestamp file in
4013 the TARGET_TEMP_DIR directory to determine when new object files
4014 have been compiled and thus need to be checked. If the timestamp
4015 file doesn't exist, all object files will be checked.
4017 Previously the modification time of the "executable" (the
4018 framework binary, e.g., WebKit.framework/WebKit) was used, but
4019 since this was the last file modified at the end of the compile
4020 phase, no object files would ever get checked!
4022 Also added JSCustomSQLTransactionCallback.o to the list of files
4023 since it has static initializers in Debug builds of WebCore.
4025 * Scripts/check-for-global-initializers:
4027 2008-01-18 Adam Roben <aroben@apple.com>
4031 * Scripts/build-webkit:
4033 2008-01-18 Beth Dakin <bdakin@apple.com>
4037 Update build-webkit to account for foreign-object being disabled by
4040 * Scripts/build-webkit:
4042 2008-01-18 Adam Roben <aroben@apple.com>
4044 Updated for method renames
4048 * DumpRenderTree/mac/FrameLoadDelegate.mm:
4049 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
4050 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4051 (LayoutTestController::setMainFrameIsFirstResponder):
4052 (LayoutTestController::setWindowIsKey):
4053 * DumpRenderTree/mac/UIDelegate.mm:
4054 (-[UIDelegate webViewFocus:]):
4055 * DumpRenderTree/win/FrameLoadDelegate.cpp:
4056 (FrameLoadDelegate::didCommitLoadForFrame):
4058 2008-01-18 Alexey Proskuryakov <ap@webkit.org>
4060 Reviewed by Adam Roben.
4062 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
4063 between DRT and TestNetscapePlugin.
4065 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
4066 * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
4068 2008-01-18 Simon Hausmann <hausmann@webkit.org>
4072 Fix fast/dom/Window/window-resize.html
4074 In DRT connect the page's geometryChangeRequest signal to a slot that
4075 sets the geometry of the view widget.
4078 * DumpRenderTree/qt/DumpRenderTree.cpp:
4079 (WebCore::WebPage::setViewGeometry):
4080 (WebCore::WebPage::WebPage):
4082 2008-01-17 Steve Falkenburg <sfalken@apple.com>
4086 * Drosera/DroseraWin.make:
4088 2008-01-17 Darin Adler <darin@apple.com>
4090 * Scripts/run-webkit-tests: Fixed a bug number.
4092 2008-01-17 Alexey Proskuryakov <ap@webkit.org>
4094 Reviewed by Adam Roben.
4096 http://bugs.webkit.org/show_bug.cgi?id=16908
4097 run-webkit-tests complains about missing FindSafari.exe
4099 * Scripts/webkitdirs.pm: Append _debug as appropriate.
4101 2008-01-17 Steve Falkenburg <sfalken@apple.com>
4103 Re-add DEBUG_WEBKIT_HAS_SUFFIX.
4105 Rubber-stamped by Jon Honeycutt.
4107 * DumpRenderTree/win/DumpRenderTree.vcproj:
4109 2008-01-16 Alp Toker <alp@atoker.com>
4111 Reviewed by Mark Rowe.
4113 http://bugs.webkit.org/show_bug.cgi?id=16218
4114 [GTK] API: Should this entry point be called go_back rather than go_backward?
4116 Track back/forward API changes in the tools.
4118 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
4119 (BackForwardItem::invoke):
4120 * GtkLauncher/main.c:
4123 2008-01-16 Adam Roben <aroben@apple.com>
4125 Windows build fix after r29488
4127 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4128 Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
4129 expects to find the plugin.
4131 2008-01-11 Geoffrey Garen <ggaren@apple.com>
4133 Reviewed by Sam Weinig.
4135 Fixed the waitUntilDone watchdog timer -- the old code never added the
4136 timer to the run loop, so it didn't do anything.
4138 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4139 (LayoutTestController::setWaitToDump):
4140 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4141 (LayoutTestController::setWaitToDump):
4143 2008-01-14 Steve Falkenburg <sfalken@apple.com>
4145 Use shared vsprops for most vcproj properties.
4147 Reviewed by Darin Adler.
4149 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
4150 * DumpRenderTree/win/DumpRenderTree.vcproj:
4151 * DumpRenderTree/win/ImageDiff.vcproj:
4152 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4153 * FindSafari/FindSafari.vcproj:
4155 2008-01-14 Stephanie <slewis@apple.com>
4159 revert accidental character.
4161 * Scripts/run-webkit-tests:
4163 2008-01-14 Stephanie <slewis@apple.com>
4167 add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
4169 * Scripts/run-webkit-tests:
4171 2008-01-14 Darin Adler <darin@apple.com>
4173 * Scripts/do-webcore-rename: Queue up another rename.
4175 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4177 Reviewed by Darin Adler.
4179 * Allow to run the tests in reverse order to spot test cases where the result depends on the order
4181 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
4183 * Scripts/run-webkit-tests:
4185 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4187 Reviewed by Darin Adler.
4189 * Randomize tests array to spot test cases where the results depends on the order
4191 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
4193 * Scripts/run-webkit-tests:
4195 2008-01-14 Darin Adler <darin@apple.com>
4197 * Scripts/run-webkit-tests: More ignore list tweaking.
4199 2008-01-14 Darin Adler <darin@apple.com>
4201 * Scripts/run-webkit-tests: Add another leak to the ignore list.
4203 2008-01-14 Dan Bernstein <mitz@apple.com>
4205 Reviewed by Adam Roben.
4207 - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
4210 * DumpRenderTree/win/DumpRenderTree.cpp:
4211 (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
4213 2008-01-13 Steve Falkenburg <sfalken@apple.com>
4215 Share common files across projects.
4218 Debug: common.vsprops, debug.vsprops
4219 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
4220 Release: common.vsprops, release.vsprops
4222 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
4223 debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
4225 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
4227 Reviewed by Adam Roben.
4229 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
4230 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
4231 * Drosera/win/Drosera.vcproj/VERSION: Removed.
4232 * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
4233 * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
4234 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
4235 * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
4236 * DumpRenderTree/win/DumpRenderTree.vcproj:
4237 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4238 * DumpRenderTree/win/debug.vsprops: Removed.
4239 * DumpRenderTree/win/debug_internal.vsprops: Removed.
4240 * DumpRenderTree/win/release.vsprops: Removed.
4242 2008-01-13 Brent Fulgham <bfulgham@gmail.com>
4246 - http://bugs.webkit.org/show_bug.cgi?id=16314
4247 Script to launch Drosera
4249 * Scripts/gdb-drosera: Added.
4250 * Scripts/run-drosera: Added.
4251 * Scripts/run-drosera-nightly.cmd: Added.
4252 * Scripts/webkitdirs.pm: Added runDrosera function.
4254 2008-01-13 Dan Bernstein <mitz@apple.com>
4256 - fix breakage due to last-minute change
4258 * DumpRenderTree/win/DumpRenderTree.cpp:
4259 (runTest): Declare the loop variable.
4261 2008-01-13 Dan Bernstein <mitz@apple.com>
4263 Reviewed by Adam Roben.
4265 - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
4267 * DumpRenderTree/win/DumpRenderTree.cpp:
4268 (DumpRenderTreeWndProc):
4270 (dumpBackForwardList):
4271 (dumpBackForwardListForAllWindows):
4273 (resetWebViewToConsistentStateBeforeTesting): Factored out of
4276 (allWindows): Added. Returns a vector of all open windows.
4277 (windowToWebViewMap): Added. Returns a map from open windows to their
4279 (createWebViewAndOffscreenWindow): Factored out of main() to be
4280 reusable for creating extra windows.
4282 * DumpRenderTree/win/DumpRenderTreeWin.h:
4283 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4284 (LayoutTestController::windowCount): Implemented.
4285 * DumpRenderTree/win/UIDelegate.cpp:
4286 (UIDelegate::createWebViewWithRequest): Implemented.
4287 (UIDelegate::webViewClose): Implemented.
4288 * DumpRenderTree/win/UIDelegate.h:
4290 2008-01-12 Alp Toker <alp@atoker.com>
4292 Reviewed by Mark Rowe.
4294 Hide non-public symbols in GTK+/autotools release builds.
4298 2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4302 * Make launching of the WebKit httpd work on GNU/Debian/Linux
4304 The configuration of Apache2 and installation does not depend on
4305 the kernel but on the distribution policy. Make launching of httpd
4306 work for Debian derived distributions.
4308 * Scripts/run-webkit-httpd:
4309 * Scripts/run-webkit-tests:
4310 * Scripts/webkitdirs.pm:
4312 2008-01-12 Mark Rowe <mrowe@apple.com>
4314 Reviewed by Maciej Stachowiak.
4316 Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
4318 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
4319 match the callers expectations that it can take ownership of the string.
4321 2008-01-11 Alexey Proskuryakov <ap@webkit.org>
4323 Reviewed by Adam Roben.
4325 <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
4327 * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
4328 as these are only posted because the test window is not a normal visible one, and
4329 they confuse drag&drop machinery.
4331 2008-01-11 Adam Roben <aroben@apple.com>
4333 Fix a crash when pathToLocalResource fails and a leak
4335 Reviewed by Darin Adler.
4337 * DumpRenderTree/LayoutTestController.cpp:
4338 (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
4339 sure not to pass null to JSValueMakeString.
4340 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4341 (LayoutTestController::pathToLocalResource): Print an error message if
4342 the conversion fails so it's clear what happened.
4344 2008-01-11 Geoffrey Garen <ggaren@apple.com>
4346 Reviewed by John Sullivan.
4348 * DumpRenderTree/mac/GCControllerMac.mm:
4349 (GCController::collectOnAlternateThread): Updated for name change.
4351 2008-01-10 Kevin Ollivier <kevino@theolliviers.com>
4353 wx build fix. Don't build dftables any longer since it's now a Perl
4356 * wx/build-wxwebkit:
4358 2008-01-10 Sam Weinig <sam@webkit.org>
4360 Reviewed by Anders Carlsson.
4362 Make DRT track open windows instead of allocated windows so that
4363 we can avoid ASSERTION due to late deallocs out of our control.
4365 * DumpRenderTree/mac/DumpRenderTree.mm:
4366 (dumpBackForwardListForAllWindows):
4368 * DumpRenderTree/mac/DumpRenderTreeMac.h:
4369 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
4370 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
4371 (+[DumpRenderTreeWindow openWindows]):
4372 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
4373 (-[DumpRenderTreeWindow close]):
4374 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4375 (LayoutTestController::windowCount):
4377 2008-01-10 Ada Chan <adachan@apple.com>
4379 Meta key is not the same as Alt key on windows.
4381 Reviewed by Darin Adler.
4383 * DumpRenderTree/win/EventSender.cpp:
4386 2008-01-09 Kevin McCullough <kmccullough@apple.com>
4388 Reviewed by Darin, Sam and Adam.
4390 -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
4391 link in gmail message displays JavaScript alert falsely complaining
4392 about pop-up blocking.
4393 - Added the ability to enable the pop-up blocker via the
4394 LayoutTestController.
4396 * DumpRenderTree/LayoutTestController.cpp:
4397 (setPopupBlockingEnabledCallback):
4398 (LayoutTestController::staticFunctions):
4399 * DumpRenderTree/LayoutTestController.h:
4400 * DumpRenderTree/mac/DumpRenderTree.mm:
4401 (setDefaultsToConsistentValuesForTesting):
4402 (resetWebViewToConsistentStateBeforeTesting):
4403 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4404 (LayoutTestController::setPopupBlockingEnabled):
4406 2008-01-10 Lars Knoll <lars@trolltech.com>
4410 rename QWebPageHistory to QWebHistory.
4413 * DumpRenderTree/qt/jsobjects.cpp:
4415 2008-01-09 Maciej Stachowiak <mjs@apple.com>
4417 Reviewed by Darin Adler.
4419 - add some more renames, adjust some
4421 * Scripts/do-webcore-rename:
4423 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
4427 Enable SVG Fonts support by default.
4429 * Scripts/build-webkit:
4431 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
4435 Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
4436 DRT doesn't handle platform specific pixel test results correctly.
4438 <test>-expected.txt files and <test>-expected.png files may now live
4439 in different directories (ie. a cross-platform <test>-expected.txt file
4440 and a platform-specific <test>-expected.png file).
4442 * Scripts/run-webkit-tests:
4444 2008-01-04 Kevin McCullough <kmccullough@apple.com>
4446 Reviewed by Darin Adler.
4448 - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
4449 DRT did not correctly handle printing the '\0' char. Now it does.
4451 * DumpRenderTree/win/DumpRenderTree.cpp:
4455 2008-01-07 Simon Hausmann <hausmann@webkit.org>
4459 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
4462 * DumpRenderTree/qt/main.cpp:
4463 * DumpRenderTree/qt/testplugin.cpp:
4464 * DumpRenderTree/qt/testplugin.h:
4466 2008-01-05 Mark Rowe <mrowe@apple.com>
4468 Reviewed by Alp Toker.
4470 Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
4472 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4473 (processWork): Process pending work.
4474 (webViewLoadFinished): Schedule processing of pending work.
4475 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
4477 2008-01-05 Darin Adler <darin@apple.com>
4479 * Scripts/do-webcore-rename: Some more renaming plans.
4481 2008-01-04 Alice Liu <alice.liu@apple.com>
4483 Reviewed by Alexey and Darin.
4485 Adding "home" and "end" to DRT's keydown since
4486 DOM key events can't handle keyIdentifiers at this point.
4488 * DumpRenderTree/mac/EventSendingController.mm:
4489 (-[EventSendingController keyDown:withModifiers:]):
4490 * DumpRenderTree/win/EventSender.cpp:
4493 2008-01-04 Lars Knoll <lars@trolltech.com>
4497 fix DRT after the changes to QWebPage.
4499 The great thing is that we actually don't have
4500 any regressions from the QWebPage change :)
4503 * DumpRenderTree/qt/DumpRenderTree.cpp:
4504 (WebCore::DumpRenderTree::DumpRenderTree):
4506 2008-01-04 Lars Knoll <lars@trolltech.com>
4510 make QWebPage a QObject and get things to compile.
4512 Nothing works currently though.
4515 * DumpRenderTree/qt/DumpRenderTree.cpp:
4516 (WebCore::DumpRenderTree::DumpRenderTree):
4518 2008-01-04 Lars Knoll <lars@trolltech.com>
4522 take a QString as identifier in QWebFrame::addToJSWindowObject.
4524 * DumpRenderTree/qt/DumpRenderTree.cpp:
4525 (WebCore::DumpRenderTree::initJSObjects):
4527 2008-01-04 Alp Toker <alp@atoker.com>
4529 GTK+ DRT build fix for breakage introduced in r29149.
4531 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4532 (LayoutTestController::execCommand):
4534 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
4536 Reviewed by Darin Adler.
4538 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
4540 Added layoutTestController.execCommand to access editor commands that are not available
4541 via document.execCommand.
4543 * DumpRenderTree/LayoutTestController.cpp:
4544 (execCommandCallback):
4545 (LayoutTestController::staticFunctions):
4546 * DumpRenderTree/LayoutTestController.h:
4547 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
4548 (LayoutTestController::execCommand):
4549 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4550 (LayoutTestController::queueLoad):
4551 (LayoutTestController::execCommand):
4553 2008-01-03 Alice Liu <alice.liu@apple.com>
4555 Reviewed by Darin, Mitz.
4557 fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
4559 the clickcount should not increase if the last click was at a different location. it's a new click.
4561 * DumpRenderTree/mac/DumpRenderTree.mm:
4563 * DumpRenderTree/mac/EventSendingController.h:
4564 * DumpRenderTree/mac/EventSendingController.mm:
4565 (-[EventSendingController mouseDown]):
4566 (-[EventSendingController mouseUp]):
4568 2008-01-03 Darin Adler <darin@apple.com>
4572 * Scripts/update-webkit: Make this work a little better for the people at Apple
4573 who have a directory named Internal.
4575 2008-01-03 Adam Roben <aroben@apple.com>
4577 Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
4579 Rubberstamped by Mark.
4581 * Scripts/update-webkit-auxiliary-libs:
4583 2008-01-03 Adam Roben <aroben@apple.com>
4585 Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
4587 http://bugs.webkit.org/show_bug.cgi?id=15663
4589 Added a fuzz factor into the Last-Modified comparison for downloading
4590 WebKitAuxiliaryLibrary.zip.
4592 The zip file is served from a set of mirrors who give Last-Modified
4593 times that are off by 1-3 seconds from each other. This was causing
4594 the build bots to redownload WebKitAuxiliaryLibrary for every build,
4595 which would then cause all of WebCore to rebuild each time.
4599 * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
4600 at least 30 seconds newer than the old one -- otherwise we assume that
4601 the difference in time is due to the mirrors being slightly offset
4603 (sub lastModifiedToUnixTime): Added.
4605 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
4609 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
4611 2008-01-03 Simon Hausmann <hausmann@webkit.org>
4615 Moved QWebPage::open to QWebFrame::load and added setHtml.
4618 * DumpRenderTree/qt/DumpRenderTree.cpp:
4619 (WebCore::DumpRenderTree::open):
4621 2008-01-03 Simon Hausmann <hausmann@webkit.org>
4625 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
4628 * DumpRenderTree/qt/DumpRenderTree.cpp:
4629 (WebCore::DumpRenderTree::DumpRenderTree):
4631 2008-01-02 Sam Weinig <sam@webkit.org>
4633 * Scripts/do-webcore-rename: Yet more renaming ideas.
4635 2008-01-02 Darin Adler <darin@apple.com>
4637 * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
4639 2008-01-02 Alice Liu <alice.liu@apple.com>
4641 Reviewed by Sam Weinig.
4643 fixing assertion hit with editing/selection/move-begin-end.html
4645 * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
4646 * DumpRenderTree/win/DumpRenderTree.vcproj:
4647 * DumpRenderTree/win/EventSender.cpp:
4649 using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
4651 2008-01-02 Darin Adler <darin@apple.com>
4653 * Scripts/do-webcore-rename: Some more name change plans.
4655 2008-01-02 Alice Liu <alice.liu@apple.com>
4659 Added handling for page up and page down in EventSender
4661 * DumpRenderTree/mac/EventSendingController.mm:
4662 (-[EventSendingController keyDown:withModifiers:]):
4663 * DumpRenderTree/win/EventSender.cpp:
4666 2008-01-02 Alexey Proskuryakov <ap@webkit.org>
4668 Reviewed by Darin Adler.
4670 Fix fast/events/arrow-keys-on-body.html for real.
4672 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
4674 2008-01-02 Luca Bruno <lethalman88@gmail.com>
4676 Reviewed by Darin Adler.
4678 http://bugs.webkit.org/show_bug.cgi?id=16674
4679 [GTK] run-launcher sets wrong LD_LIBRARY_PATH
4681 * Scripts/run-launcher:
4683 2007-12-31 Darin Adler <darin@apple.com>
4687 * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
4688 we get it installed on the build bots.
4690 2007-12-30 Eric Seidel <eric@webkit.org>
4694 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
4696 2007-12-29 Darin Adler <darin@apple.com>
4700 - fix http://bugs.webkit.org/show_bug.cgi?id=16663
4701 leak bot shows createCStringFromNPVariant result leaking
4703 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4704 (pluginInvoke): Added a missing free.
4706 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
4708 Reviewed by Alp Toker.
4710 http://bugs.webkit.org/show_bug.cgi?id=16390
4711 Use autotools or GNU make as the build system for the GTK port
4713 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
4714 * GNUmakefile.am: Added.
4716 2007-12-24 Alexey Proskuryakov <ap@webkit.org>
4720 Fix fast/events/arrow-keys-on-body.html, failing on Windows.
4722 * DumpRenderTree/win/EventSender.cpp:
4723 (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
4724 of 1, even though WebKit currently ignores it.
4726 2007-12-23 Kevin Ollivier <kevino@theolliviers.com>
4728 wx buildbot fix. Update libpng dl script to the latest version.
4730 * wx/install-unix-extras:
4732 2007-12-22 Antti Koivisto <antti@apple.com>
4736 * Scripts/webkitdirs.pm:
4738 2007-12-21 Sam Weinig <sam@webkit.org>
4740 Reviewed by Mark Rowe.
4742 - Disable the back/forward cache using the new WebPreferences API
4743 instead of through the BackForwardList. This makes us match what
4746 * DumpRenderTree/mac/DumpRenderTree.mm:
4747 (createWebViewAndOffscreenWindow):
4748 (setDefaultsToConsistentValuesForTesting):
4750 2007-12-21 Dan Bernstein <mitz@apple.com>
4752 Reviewed by Mark Rowe.
4754 - disable the back/forward cache in Windows DumpRenderTree. It is
4755 already disabled in Mac DumpRenderTree.
4757 * DumpRenderTree/win/DumpRenderTree.cpp:
4758 (initializePreferences):
4760 2007-12-13 Antti Koivisto <antti@apple.com>
4762 Reviewed by Darin and Steve.
4764 - check for QuickTime SDK on Windows.
4765 - build media support on Windows by default
4767 * Scripts/build-webkit:
4768 * Scripts/webkitdirs.pm:
4770 2007-12-21 Kevin Ollivier <kevino@theolliviers.com>
4772 Build script fix for buildbot.
4774 * wx/build-wxwebkit:
4776 2007-12-20 Eric Seidel <eric@webkit.org>
4780 * Scripts/run-sunspider: change --runs default to 10 for better accuracy
4782 2007-12-20 Kevin McCullough <kmccullough@apple.com>
4786 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
4789 - Drosera and Safari need to use the same ProgIDs in order for
4790 CoCreateInstance to work properly. The most robust way to do this is
4791 for WebKit to dynamically publish those ProgIDs.
4793 * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
4794 (DebuggerClient::createWebViewWithRequest):
4795 * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
4799 (Drosera::attemptToCreateServerConnection):
4800 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
4801 * Drosera/win/ServerConnection.cpp: Reformat the connection function and
4802 make use of the published ProgIDs.
4803 (ServerConnection::attemptToCreateServerConnection):
4805 2007-12-20 Kevin McCullough <kmccullough@apple.com>
4807 - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
4808 - Build bot and leak fix.
4810 * DumpRenderTree/LayoutTestController.cpp:
4811 (pathToLocalResourceCallback):
4813 2007-12-19 David Kilzer <ddkilzer@apple.com>
4815 Make svn-apply/svn-unapply work with patches from git-format-patch.
4817 Reviewed by Darin Adler.
4819 * Scripts/svn-apply:
4820 (patch): If 'Index:' can't be found in the text passed in, print it
4821 out with a warning and return early.
4822 * Scripts/svn-unapply:
4825 2007-12-18 Kevin Ollivier <kevino@theolliviers.com>
4827 Reviewed by Alp Toker.
4829 Build related fixes.
4831 * wx/build-wxwebkit:
4832 - Check to make sure the user is running a supported wx port
4833 - More robust checks for Cygwin
4834 - Only run install-unix-extras on Mac, it's not the right solution
4836 - Remove outdated Linux instructions after successful build
4837 - Clean Bakefile-generated files during a clean operation
4839 2007-12-18 Darin Adler <darin@apple.com>
4841 * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
4843 2007-12-18 Steve Falkenburg <sfalken@apple.com>
4845 Add script to run Drosera as part of the nightly.
4847 Reviewed by Kevin M.
4849 * Scripts/run-drosera.cmd: Added.
4851 2007-12-18 Darin Adler <darin@apple.com>
4853 * Scripts/do-webcore-rename: Remove a stray K.
4855 2007-12-18 Darin Adler <darin@apple.com>
4857 * Scripts/do-webcore-rename: Plan more renaming.
4859 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
4861 Reviewed by Alp Toker.
4863 http://bugs.webkit.org/show_bug.cgi?id=16042
4864 [GTK] Eliminate webkit_init()
4866 Moving webkit initialization to WebView class init.
4868 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4870 * GtkLauncher/main.c:
4873 2007-12-17 Luca Bruno <lethalman88@gmail.com>
4875 Reviewed by Alp Toker.
4877 http://bugs.webkit.org/show_bug.cgi?id=13542
4878 gdklauncher doesnt change URL in adress GTKEntry.
4880 * GtkLauncher/main.c:
4881 (load_commit_cb): added
4885 2007-12-16 Dimitri Glazkov <dimitri@glazkov.com>
4887 Reviewed by Adam Roben.
4889 Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
4891 * FindSafari/FindSafari.cpp:
4894 2007-12-16 Brent Fulgham <bfulgham@gmail.com>
4896 Reviewed by Adam Roben.
4898 http://bugs.webkit.org/show_bug.cgi?id=16315
4899 FindSafari needs a path-only option.
4901 * FindSafari/FindSafari.cpp:
4904 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
4906 Reviewed by Darin Adler.
4908 http://bugs.webkit.org/show_bug.cgi?id=16462
4909 REGRESSION: access keys broken on Windows
4911 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
4914 2007-12-15 Sam Weinig <sam@webkit.org>
4916 Reviewed by Mark Rowe.
4918 Fix urlSuitableForTestResult to correctly identify wstring::npos as
4919 the case when wstring.find doesn't find anything.
4921 * DumpRenderTree/win/DumpRenderTree.cpp:
4922 (urlSuitableForTestResult):
4924 2007-12-15 Alp Toker <alp@atoker.com>
4926 GTK+ DRT build fix for GLib < 2.14.
4928 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4929 (LayoutTestController::setWaitToDump):
4931 2007-12-05 Mark Rowe <mrowe@apple.com>
4933 Reviewed by Alp Toker.
4935 Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents
4936 many layout tests from hanging while waiting on user responses to dialogs.
4938 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4939 (invalidateAnyPreviousWaitToDumpWatchdog):
4940 (webViewScriptAlert):
4941 (webViewScriptPrompt):
4942 (webViewScriptConfirm):
4944 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
4945 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
4946 (waitToDumpWatchdogFired):
4947 (LayoutTestController::setWaitToDump):
4949 2007-12-05 Mark Rowe <mrowe@apple.com>
4951 Reviewed by Alp Toker.
4953 Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass.
4955 * DumpRenderTree/gtk/DumpRenderTree.cpp:
4956 (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
4959 (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
4960 (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
4961 work queue is empty.
4962 (webViewWindowObjectCleared): Set up window.layoutTestController.
4963 (webViewConsoleMessage): Match the console message format expected by the layout test results.
4964 (main): Hook up the new signals.
4965 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
4966 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
4967 dumping multiple times.
4968 * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
4969 * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results.
4971 2007-12-14 Anders Carlsson <andersca@apple.com>
4975 Assert that a web frame that's loading a resource always has either a data source or
4976 a provisional data source.
4978 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
4979 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
4981 2007-12-14 Darin Adler <darin@apple.com>
4983 - fix mistake causing nearly all tests to fail on Windows
4985 * DumpRenderTree/win/UIDelegate.cpp:
4986 (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
4987 npos, not 0. Also pass URL in to URL function rather than passing the entire message.
4989 * DumpRenderTree/mac/UIDelegate.mm:
4990 (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
4991 than passing the entire message.
4993 2007-12-14 Darin Adler <darin@apple.com>
4997 * DumpRenderTree/mac/UIDelegate.mm:
4998 (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
4999 new-to-Leopard methods.
5001 2007-12-14 Darin Adler <darin@apple.com>
5003 * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
5004 since it now triggers unwanted icon loading. We only had it because we implemented "all"
5005 delegate methods here.
5007 2007-12-14 Anders Carlsson <andersca@apple.com>
5009 Reviewed by Darin and Geoff.
5011 <rdar://problem/5619295>
5012 REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
5014 Add property getting methods to the plug-in.
5016 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
5019 2007-12-14 Kevin McCullough <kmccullough@apple.com>
5021 Reviewed by Darin Adler.
5023 - Layout test fix for mac. When dumped to the console local file paths
5024 now only show the name of the resource not the whole path. This is to
5025 make the results machine and OS independent.
5027 * DumpRenderTree/mac/UIDelegate.mm:
5028 (-[UIDelegate webView:addMessageToConsole:]):
5030 2007-12-13 Kevin McCullough <kmccullough@apple.com>
5034 - Layout tests fix. We need a way to remove machine-dependent
5035 information from paths in layout test results. The UIDelegate now does
5038 * DumpRenderTree/DumpRenderTree.h:
5039 * DumpRenderTree/win/DumpRenderTree.cpp:
5040 (urlSuitableForTestResult):
5041 * DumpRenderTree/win/DumpRenderTreeWin.h:
5042 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
5043 * DumpRenderTree/win/UIDelegate.cpp:
5044 (UIDelegate::webViewAddMessageToConsole):
5046 2007-12-13 Alp Toker <alp@atoker.com>
5048 Build fix for DRT breakage introduced in r28690.
5050 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
5051 (LayoutTestController::pathToLocalResource):
5053 2007-12-12 Kevin McCullough <kmccullough@apple.com>
5055 Reviewed by Alice and Sam.
5057 - <rdar://5621435> Need a way to specify local resources (being loaded
5058 from HTTP tests) on Windows.
5059 - Implemented pathToLocalResource which exposes the functionality of
5060 converting a given unix path to the correct location on Windows.
5062 * DumpRenderTree/LayoutTestController.cpp:
5063 (pathToLocalResourceCallback):
5064 (LayoutTestController::staticFunctions):
5065 * DumpRenderTree/LayoutTestController.h:
5066 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5067 (LayoutTestController::pathToLocalResource):
5068 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5069 (LayoutTestController::pathToLocalResource):
5071 2007-12-12 Anders Carlsson <andersca@apple.com>
5075 <rdar://problem/5132003>
5076 dumpResourceLoadCallbacks is not implemented in DRT on Windows.
5078 * DumpRenderTree/win/DumpRenderTree.cpp:
5080 Set the resource load delegate.
5082 * DumpRenderTree/win/DumpRenderTree.vcproj:
5084 * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
5085 * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
5087 2007-12-12 Alexey Proskuryakov <ap@webkit.org>
5089 Reviewed by Adam Roben.
5091 Fix conversion from double to LPARAM in dispatchMessage().
5093 * DumpRenderTree/win/EventSender.cpp:
5094 (dispatchMessageCallback):
5096 2007-12-11 Dan Bernstein <mitz@apple.com>
5098 Reviewed by Mark Rowe and Sam Weinig too!
5100 - added Helvetica Oblique and Helvetica Bold Oblique to the list of
5101 fonts DumpRenderTree registers.
5103 * DumpRenderTree/win/DumpRenderTree.cpp:
5106 2007-12-11 Brady Eidson <beidson@apple.com>
5110 Make DumpRenderTree on mac use its own path for Databases testing
5112 * DumpRenderTree/mac/DumpRenderTree.mm:
5113 (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
5114 for future DRT-only use, then use it to construct the Databases path and set that default
5116 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
5118 Reviewed by Darin Adler.
5120 <rdar://problem/5535636>
5121 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
5123 http://bugs.webkit.org/show_bug.cgi?id=13916
5124 JavaScript detects Tab as a character input on a textfield validation
5126 * DumpRenderTree/mac/EventSendingController.mm:
5127 (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
5128 Dispatch a keyup to better match what happens when a key is physically pressed.
5130 * DumpRenderTree/win/EventSender.cpp:
5131 (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
5132 returning from keyDown().
5133 (getConstantCallback): Fixed a couple copy/paste mistakes.
5135 2007-12-07 Kevin McCullough <kmccullough@apple.com>
5139 - <rdar://5599845> Drosera: Does not show loal files in the file list
5142 * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
5143 * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
5144 so the open source community can build.
5146 2007-12-10 Brady Eidson <beidson@apple.com>
5148 Rubberstamped by Sam Weinig
5150 Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
5152 * DumpRenderTree/mac/UIDelegate.mm:
5153 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
5154 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
5156 2007-12-08 Oliver Hunt <oliver@apple.com>
5160 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
5162 Fixes <rdar://problem/5620249> Must disable SVG animation
5163 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
5165 In order to allow finer grained control over the set of SVG features
5166 this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
5168 ENABLE_SVG_ANIMATION
5174 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
5176 Script handles all the new build flags, and allows --svg-experimental
5177 to automatically enable all features.
5179 * Scripts/build-webkit:
5181 2007-12-07 Steve Falkenburg <sfalken@apple.com>
5183 Fix version parsing.
5185 Rubber-stamped by Oliver.
5187 * Drosera/win/Drosera.vcproj/auto-version.sh:
5189 2007-12-07 Steve Falkenburg <sfalken@apple.com>
5191 Build modifications for Drosera.
5195 * Drosera/DroseraWin.make: Added.
5196 * Drosera/win/Drosera.vcproj/Drosera.rc:
5197 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
5198 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
5199 * Drosera/win/Drosera.vcproj/VERSION: Added.
5200 * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
5202 2007-12-06 Adam Roben <aroben@apple.com>
5204 Explicitly turn on the Mac font ascent hack on Windows
5206 This keeps our font metrics matching those from Mac.
5210 * DumpRenderTree/win/DumpRenderTree.cpp:
5213 2007-12-06 Anders Carlsson <andersca@apple.com>
5215 Rename main.c to main.cpp here too.
5217 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
5219 2007-12-06 Sam Weinig <sam@webkit.org>
5221 Rubber stamped by Geoff.
5223 * Scripts/do-webcore-rename: Don't rename kjs_css twice.
5225 2007-12-06 Darin Adler <darin@apple.com>
5227 * Scripts/do-webcore-rename: Some more renaming plans.
5229 2007-12-06 Anders Carlsson <andersca@apple.com>
5231 Restore implementation of testGetIntIdentifier that was accidentally
5232 removed somehow (possibly when I made PluginObject be a cpp file).
5234 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
5237 2007-12-05 Anders Carlsson <andersca@apple.com>
5239 Make the entry points extern "C".
5240 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
5242 2007-12-05 Anders Carlsson <andersca@apple.com>
5246 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
5255 2007-12-05 Anders Carlsson <andersca@apple.com>
5257 Add the .cpp files to the TestNetscapePlugIn target.
5259 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5261 2007-12-05 Anders Carlsson <andersca@apple.com>
5265 Rename the TestNetscapePlugIn .c files to be .cpp.
5267 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5268 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
5269 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
5270 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
5271 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
5272 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
5273 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
5274 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
5276 2007-12-05 Adam Roben <aroben@apple.com>
5278 Fix case of keypresses from the Windows implementation of eventSender.keyDown
5280 This fixes several regression tests.
5284 * DumpRenderTree/win/EventSender.cpp:
5285 (keyDownCallback): Virtual keycodes for ASCII characters are always
5286 uppercase, so we need to check the case of the original character
5287 passed in to eventSender.keyDown.
5289 2007-12-05 Adam Roben <aroben@apple.com>
5291 Learn from Tim's mistakes
5293 * DumpRenderTree/win/DumpRenderTree.cpp:
5294 (runTest): Reset the authorAndUserStylesEnabled preference for each
5297 2007-12-05 Alp Toker <alp@atoker.com>
5299 Reviewed by Mark Rowe.
5301 Initialize GTK+ and WebKit so the tests can run.
5303 Reorganize the headers a little.
5305 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5308 2007-12-04 Anders Carlsson <andersca@apple.com>
5310 Remove IWebScriptScope include.
5312 * Drosera/win/DebuggerDocumentPlatform.cpp:
5314 2007-12-04 Sam Weinig <sam@webkit.org>
5316 Rubber stamped by Mark Rowe.
5318 Define CF as platform for mac and revert r28409
5320 * DumpRenderTree/DumpRenderTree.h:
5321 * DumpRenderTree/mac/DumpRenderTreeMac.h:
5323 2007-12-04 Sam Weinig <sam@webkit.org>
5325 Define CF as platform for windows.
5327 Reviewed by Adam Roben.
5329 * DumpRenderTree/win/DumpRenderTreeWin.h:
5331 2007-12-04 Kevin McCullough <kmccullough@apple.com>
5333 Reviewed by Adam and Darin.
5335 - Removed a needless BSTR cleanup.
5337 * Drosera/win/DebuggerDocumentPlatform.cpp:
5338 (DebuggerDocument::getPlatformCurrentFunctionStack):
5340 2007-11-27 Adam Roben <aroben@apple.com>
5342 Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
5346 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5347 (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
5349 2007-12-04 Alp Toker <alp@atoker.com>
5351 Prospective Win DRT build fix.
5353 * DumpRenderTree/DumpRenderTree.h:
5355 2007-12-04 Alp Toker <alp@atoker.com>
5357 Fix a clobbered copyright header.
5359 * DumpRenderTree/gtk/DumpRenderTree.cpp:
5361 2007-12-04 Xan Lopez <xan@gnome.org>
5363 Reviewed by Alp Toker.
5365 http://bugs.webkit.org/show_bug.cgi?id=15561
5366 GTK port needs DumpRenderTree implementation
5368 Start work on the GTK+ DRT.
5370 This does not work yet, and there are a few lingering style issues
5371 (nothing major) but this patch has been stuck in the bug tracker for
5374 * DumpRenderTree/DumpRenderTree.h:
5375 * DumpRenderTree/gtk: Added.
5376 * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
5378 (shouldLogFrameLoadDelegates):
5379 (dumpFrameScrollPosition):
5383 (dumpRenderTreeAsText):
5387 * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
5388 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
5389 * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
5390 (GCController::collect):
5391 (GCController::collectOnAlternateThread):
5392 (GCController::getJSObjectCount):
5393 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
5394 (LayoutTestController::~LayoutTestController):
5395 (LayoutTestController::addDisallowedURL):
5396 (LayoutTestController::clearBackForwardList):
5397 (LayoutTestController::copyDecodedHostName):
5398 (LayoutTestController::copyEncodedHostName):
5399 (LayoutTestController::display):
5400 (LayoutTestController::keepWebHistory):
5401 (LayoutTestController::notifyDone):
5402 (LayoutTestController::queueBackNavigation):
5403 (LayoutTestController::queueForwardNavigation):
5404 (LayoutTestController::queueLoad):
5405 (LayoutTestController::queueReload):
5406 (LayoutTestController::queueScript):
5407 (LayoutTestController::setAcceptsEditing):
5408 (LayoutTestController::setCustomPolicyDelegate):
5409 (LayoutTestController::setMainFrameIsFirstResponder):
5410 (LayoutTestController::setTabKeyCyclesThroughElements):
5411 (LayoutTestController::setUseDashboardCompatibilityMode):
5412 (LayoutTestController::setUserStyleSheetEnabled):
5413 (LayoutTestController::setUserStyleSheetLocation):
5414 (LayoutTestController::setWindowIsKey):
5415 (LayoutTestController::setWaitToDump):
5416 (LayoutTestController::windowCount):
5417 (LayoutTestController::setPrivateBrowsingEnabled):
5418 (LayoutTestController::setAuthorAndUserStylesEnabled):
5419 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
5420 (JSStringCopyUTF8CString):
5422 (ReloadItem::invoke):
5423 (ScriptItem::invoke):
5424 (BackForwardItem::invoke):
5426 2007-12-03 Sam Weinig <sam@webkit.org>
5428 Move JavaScriptCore thread testing code to pthread specific directory
5429 and remove the dependance on CoreFoundation by using WTF::HashSet.
5431 Reviewed by Geoff and Oliver.
5433 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5434 * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
5435 * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
5436 * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
5437 * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
5438 * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
5439 * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
5440 * DumpRenderTree/pthreads: Added.
5441 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
5442 (javaScriptThreads):
5443 (runJavaScriptThread):
5444 (startJavaScriptThreads):
5445 (stopJavaScriptThreads):
5447 2007-12-03 Andrew Bonventre <andybons@google.com>
5449 Reviewed by Darin Adler.
5451 - fix http://bugs.webkit.org/show_bug.cgi?id=16267
5452 Symbol lookup menu broken in debugger view
5454 * Drosera/debugger.js: Fixed javascript error where document property
5455 should have been used instead of contentDocument in switchFunction that
5456 was breaking the select symbol dropdown menu. This is because
5457 window.frames will return a Window object and not a frame object like
5458 the author was originally expecting.
5460 2007-12-03 Kevin McCullough <kmccullough@apple.com>
5464 - <rdar://5618942> Drosera: Console window does not process everything
5466 - <rdar://5619005> Drosera: could be sped up by moving the
5467 WebScriptScope stuff into the WebScriptCallFrame.
5468 - Now the console can correctly process objects and does not receive
5469 notifications from JavaScriptCore about the JavaScript in Drosera's
5472 * Drosera/win/DebuggerDocumentPlatform.cpp:
5473 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
5474 (DebuggerDocument::platformValueForScopeVariableNamed):
5476 2007-12-03 Stephanie <slewis@apple.com>
5478 Reviewed by Darin Adler.
5480 Check to see if we are building a debug root
5482 * Scripts/check-for-global-initializers:
5484 2007-12-03 Dan Bernstein <mitz@apple.com>
5486 Reviewed by Darin Adler.
5488 - added a testGetIntIdentifier() method to TestNetscapePlugIn
5490 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
5493 2007-12-03 Alexey Proskuryakov <ap@webkit.org>
5497 Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
5498 in a more fine-grained manner than eventSender.keyDown().
5500 * DumpRenderTree/win/EventSender.cpp:
5501 (getConstantCallback):
5502 (dispatchMessageCallback):
5504 2007-12-02 Darin Adler <darin@apple.com>
5506 * Scripts/do-webcore-rename: More planned renaming.
5508 2007-12-02 Sam Weinig <sam@webkit.org>
5510 Rubber stamped by Anders.
5512 Use [NSURL absoluteString] instead of [NSURL description] in order to get
5513 more uniform results cross platform.
5515 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
5516 (-[NSURL _drt_descriptionSuitableForTestResult]):
5518 2007-12-02 Sam Weinig <sam@webkit.org>
5520 Rubber stamped by Niko.
5522 Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
5524 * DumpRenderTree/win/DumpRenderTree.cpp:
5525 * DumpRenderTree/win/DumpRenderTree.vcproj:
5526 * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
5527 * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
5528 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
5529 * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
5531 2007-12-01 Alp Toker <alp@atoker.com>
5533 Reviewed by Adam Roben.
5535 Make use of the newly introduced webkit.h convenience header.
5537 * GtkLauncher/main.c:
5539 2007-12-01 Adam Treat <treat@kde.org>
5543 * Check to see if the directory exists and exit if not.
5545 * DumpRenderTree/qt/main.cpp:
5548 2007-12-01 Adam Treat <treat@kde.org>
5552 * Don't hide symbols when in Debug mode
5553 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
5556 * DumpRenderTree/qt/main.cpp:
5559 2007-11-30 Alp Toker <alp@atoker.com>
5561 Reviewed by Adam Roben.
5563 http://bugs.webkit.org/show_bug.cgi?id=15691
5564 [GTK] Public API does not follow GTK+ conventions
5566 Refactor the WebKit/GTK+ public API. Changes:
5567 WebKitPage -> WebKitWebView
5568 WebKitFrame -> WebKitWebFrame
5570 Public API source and header names have been updated to mirror the API
5573 The API is now kept in WebKit/gtk/WebView to match other ports in the
5574 same class such as Mac and Win.
5576 * GtkLauncher/main.c:
5577 (activate_uri_entry_cb):
5580 (progress_change_cb):
5586 2007-11-30 Adam Roben <aroben@apple.com>
5588 Hopefully the final build fix
5590 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
5591 pull in WTF's assertion/logging functions.
5593 2007-11-30 Adam Roben <aroben@apple.com>
5597 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
5600 2007-11-30 Adam Roben <aroben@apple.com>
5604 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
5606 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
5608 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
5609 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
5610 WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
5612 2007-11-30 Sam Weinig <sam@webkit.org>
5614 Reviewed by Adam Roben.
5616 Fix drawSelectionRect to actually draw the selection rect.
5618 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
5619 (drawSelectionRect):
5621 2007-11-30 Darin Adler <darin@apple.com>
5623 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
5625 2007-11-30 Darin Adler <darin@apple.com>
5627 * Scripts/do-webcore-rename: Get ready for some future renaming.
5629 2007-11-29 Kevin McCullough <kmccullough@apple.com>
5633 - Removed some unnecessary functions and changed an unused return type.
5635 * Drosera/win/DebuggerClient.cpp:
5636 (registerConsoleClass):
5637 * Drosera/win/DebuggerClient.h:
5638 * Drosera/win/Drosera.cpp:
5639 (registerDroseraClass):
5641 2007-11-28 Alp Toker <alp@atoker.com>
5643 Reviewed by Timothy Hatcher.
5645 http://bugs.webkit.org/show_bug.cgi?id=16174
5646 [GTK] Use "URI" not "URL" in public API
5648 Replace use of the term "URL" with "URI" in public headers,
5649 documentation and some internal code to match GLib/GTK+ convention.
5651 This is now mentioned in the API guidelines:
5652 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
5654 * GtkLauncher/main.c:
5655 (activate_uri_entry_cb):
5660 2007-11-29 Anders Carlsson <andersca@apple.com>
5664 <rdar://problem/5230478>
5665 FrameLoadDelegate callbacks are not dumped in DRT.
5667 * DumpRenderTree/win/DumpRenderTree.cpp:
5668 (shouldLogFrameLoadDelegates):
5671 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
5673 (descriptionSuitableForTestResult):
5674 (FrameLoadDelegate::QueryInterface):
5675 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
5676 (FrameLoadDelegate::didFailProvisionalLoadWithError):
5677 (FrameLoadDelegate::didCommitLoadForFrame):
5678 (FrameLoadDelegate::didFinishLoadForFrame):
5679 (FrameLoadDelegate::willCloseFrame):
5680 (FrameLoadDelegate::didClearWindowObject):
5681 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
5682 (FrameLoadDelegate::didHandleOnloadEventsForFrame):
5683 * DumpRenderTree/win/FrameLoaderDelegate.h:
5684 (FrameLoadDelegate::windowScriptObjectAvailable):
5685 (FrameLoadDelegate::didFirstLayoutInFrame):
5687 2007-11-29 Sam Weinig <sam@webkit.org>
5691 Add database quota UIDelegates methods to DRT UIDelegate.
5693 * DumpRenderTree/mac/UIDelegate.mm:
5694 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
5695 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
5697 2007-11-29 Kevin McCullough <kmccullough@apple.com>
5701 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
5702 dying and vice versa.
5703 - This fix will allow Drosera and Safari to reconnect if either of them
5704 closes correctly, but does not fix the case where one of them dies
5707 * Drosera/win/ServerConnection.cpp:
5708 (ServerConnection::attemptToCreateServerConnection): Added a safety
5709 check, because it's possilbe to try to connect to a server that's dying.
5710 (ServerConnection::serverDidDie): Implemented. This resets Drosera when
5711 the server has died.
5712 * Drosera/win/ServerConnection.h: Added the new function and removed
5713 an unnecessary member.
5715 2007-11-29 Anders Carlsson <andersca@apple.com>
5717 * DumpRenderTree/win/DumpRenderTree.vcproj:
5718 Add shlwapi.lib to all configurations.
5720 2007-11-29 Kevin McCullough <kmccullough@apple.com>
5722 - Build fix. Added additional includes for VS Express to the Release
5725 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
5727 2007-11-29 Anders Carlsson <andersca@apple.com>
5731 <rdar://problem/5132005>
5732 setUserStyleSheetEnabled is not fully implemented in Windows DRT.
5734 * DumpRenderTree/win/DumpRenderTree.vcproj:
5737 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5738 (LayoutTestController::setUserStyleSheetEnabled):
5741 (appendComponentToPath):
5742 New method which wraps the Win32 API PathAppend.
5745 New method which checks if a file points to a shortcut and
5746 follows the shortcut.
5748 (resolveCygwinPath):
5749 New method that takes a cygwin unix-style path and returns the Win32 path.
5751 (cfStringRefToWString):
5753 (LayoutTestController::setUserStyleSheetLocation):
5756 2007-11-29 Alice Liu <alice.liu@apple.com>
5760 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
5762 * DumpRenderTree/win/EventSender.cpp:
5764 uppercase letters were being sent as lowercase letters without the shift key down.
5766 2007-11-29 Kevin McCullough <kmccullough@apple.com>
5768 - Windows build fix. VS express needs some love.
5770 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
5772 2007-11-28 Darin Adler <darin@apple.com>
5774 Reviewed by Adam Roben.
5776 * DumpRenderTree/mac/EventSendingController.mm:
5777 (-[EventSendingController keyDown:withModifiers:]):
5778 Send capital letters through as lowercase letters with the shift key down
5779 rather than sending them as if they were highly unusual "capital letter keys".
5781 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
5782 where you need to update results and more tests are failing than before.
5784 2007-11-28 Anders Carlsson <andersca@apple.com>
5786 Reviewed by Darin Adler.
5788 <rdar://problem/5132001>
5789 contextClick is not implemented in DRT on Windows.
5791 * DumpRenderTree/win/EventSender.cpp:
5792 (contextClickCallback):
5793 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
5794 by a WM_RBUTTONUP message.
5796 * DumpRenderTree/win/UIDelegate.cpp:
5797 (UIDelegate::hasCustomMenuImplementation):
5798 (UIDelegate::trackCustomPopupMenu):
5799 * DumpRenderTree/win/UIDelegate.h:
5800 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
5801 menu from being shown (and causing the DRT to hang).
5803 2007-11-27 Maciej Stachowiak <mjs@apple.com>
5805 Reviewed by Darin Adler.
5807 Fix DumpRenderTree ObjC bug comparing strings.
5809 * DumpRenderTree/mac/ObjCController.m:
5810 (-[ObjCController identityIsEqual::]): Compare strings with string
5811 equality instead of identiy equality.
5813 2007-11-27 Timothy Hatcher <timothy@apple.com>
5817 Reset the authorAndUserStylesEnabled preference
5818 back to YES for each test. Fixes the broken tests.
5820 * DumpRenderTree/mac/DumpRenderTree.mm:
5821 (resetWebViewToConsistentStateBeforeTesting):
5823 2007-11-27 Kevin McCullough <kmccullough@apple.com>
5827 - Drosera now displays the console window, although it cannot currently
5830 * Drosera/win/DebuggerClient.cpp: Shows the console window.
5831 (registerConsoleClass): Implemented.
5832 (consoleWndProc): Implemented.
5833 (DebuggerClient::onSize): Implemented.
5834 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
5836 * Drosera/win/DebuggerClient.h: Added needed method and members for
5837 creating and maintaining a new window.
5838 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
5839 lines of code to more appropriate places.
5840 (Drosera::handleCommand):
5845 2007-11-27 Timothy Hatcher <timothy@apple.com>
5847 Reviewed by Dave Hyatt.
5849 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
5851 Add support for disabling author and user styles for testing.
5853 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5854 * DumpRenderTree/LayoutTestController.cpp:
5855 (setAuthorAndUserStylesEnabledCallback):
5856 (LayoutTestController::staticFunctions):
5857 * DumpRenderTree/LayoutTestController.h:
5858 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5859 (LayoutTestController::setAuthorAndUserStylesEnabled):
5860 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
5861 (LayoutTestController::setAuthorAndUserStylesEnabled):
5863 2007-11-26 Dan Bernstein <mitz@apple.com>
5867 * DumpRenderTree/mac/Configurations/Base.xcconfig:
5869 2007-11-26 Kevin McCullough <kmccullough@apple.com>
5873 - Implemented displaying variables for Drosera on Win.
5875 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
5876 that retrieve variables to not hold onto the return value since it's
5877 not returned. Also changed to use the new signatures of the retrieval
5879 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
5880 (DebuggerDocument::platformValueForScopeVariableNamed):
5881 * Drosera/win/Drosera.cpp: Removed a needless TODO.
5884 2007-11-26 Sam Weinig <sam@webkit.org>
5886 Cleanup names of painting and repainting functions.
5888 Reviewed by Adam Roben.
5890 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
5891 (drawSelectionRect): was drawSelectionRectIntoContext.
5892 (dumpWebViewAsPixelsAndCompareWithExpected):
5893 * DumpRenderTree/cg/PixelDumpSupportCG.h:
5894 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
5895 (paintWebView): was drawWebViewIntoContext.
5896 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
5898 2007-11-26 Sam Weinig <sam@webkit.org>
5900 Reviewed by Dan Bernstein.
5904 * DumpRenderTree/mac/Configurations/Base.xcconfig:
5906 2007-11-26 Sam Weinig <sam@webkit.org>
5908 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
5909 Use shared PixelDumpSupport for Mac DRT
5911 Reviewed by Adam Roben.
5913 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5914 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
5915 * DumpRenderTree/cg/ImageDiffCG.cpp:
5916 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
5917 (drawSelectionRectIntoContext):
5918 (dumpWebViewAsPixelsAndCompareWithExpected):
5919 * DumpRenderTree/cg/PixelDumpSupportCG.h:
5920 * DumpRenderTree/mac/Configurations/Base.xcconfig:
5921 * DumpRenderTree/mac/DumpRenderTree.mm:
5923 * DumpRenderTree/mac/ImageDiff.m: Removed.
5924 * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
5925 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
5926 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
5927 (setDefaultColorProfileToRGB):
5928 (getBitmapContextFromWebView):
5929 (drawWebViewIntoContext):
5930 (repaintWithVerticalSweep):
5931 (repaintWithHorizontalSweep):
5933 * DumpRenderTree/win/PixelDumpSupport.h: Removed.
5935 2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
5937 Bug 16052: prepare-ChangeLog doesn't report deleted files
5938 <http://bugs.webkit.org/show_bug.cgi?id=16052>
5942 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
5944 2007-11-25 David Kilzer <ddkilzer@webkit.org>
5946 Bug 15864: Replace merge-changelog with resolve-ChangeLogs
5947 <http://bugs.webkit.org/show_bug.cgi?id=15864>
5951 Roll functionality of merge-changelog into resolve-ChangeLogs
5952 script. The script now checks for ChangeLog.rej and
5953 ChangeLog.orig files first. If it finds them, it uses the
5954 ChangeLog.rej file as a patch (in old contextual diff format) to
5955 apply with --fuzz=3.
5957 * Scripts/merge-changelog: Removed.
5958 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
5960 2007-11-25 Sam Weinig <sam@webkit.org>
5962 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
5964 Reviewed by Mark Rowe.
5966 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5967 * DumpRenderTree/mac/Configurations/Base.xcconfig:
5968 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
5969 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
5970 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
5972 2007-11-25 Sam Weinig <sam@webkit.org>
5974 Convert DumpRenderTree to ues .xcconfig files.
5976 Reviewed by Mark Rowe.
5978 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5979 * DumpRenderTree/mac/Configurations: Added.
5980 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
5981 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
5982 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
5984 2007-11-25 Sam Weinig <sam@webkit.org>
5986 Add ForwardingHeaders to wtf for DumpRenderTree.
5988 Reviewed by Mark Rowe.
5990 * DumpRenderTree/DumpRenderTree.h:
5991 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
5992 * DumpRenderTree/ForwardingHeaders: Added.
5993 * DumpRenderTree/ForwardingHeaders/wtf: Added.
5994 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
5995 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
5996 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
5997 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
5998 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
5999 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
6000 * DumpRenderTree/LayoutTestController.cpp:
6001 * DumpRenderTree/WorkQueue.cpp:
6002 * DumpRenderTree/mac/DumpRenderTree.mm:
6003 * DumpRenderTree/mac/FrameLoadDelegate.mm:
6004 * DumpRenderTree/mac/JavaScriptThreading.cpp:
6005 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
6006 * DumpRenderTree/mac/ObjCController.m:
6007 * DumpRenderTree/mac/UIDelegate.mm:
6008 * DumpRenderTree/mac/WorkQueueItemMac.mm:
6010 2007-11-25 Adam Roben <aroben@apple.com>
6012 Fix some test failures caused by r28019
6014 Now that stdout is in binary mode, we need to always use printf
6015 instead of wprintf. Otherwise we'll end up with UTF-16 characters in
6020 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
6022 (UIDelegate::runJavaScriptAlertPanelWithMessage):
6023 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
6024 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
6025 (UIDelegate::webViewAddMessageToConsole):
6027 2007-11-25 Adam Roben <aroben@apple.com>
6029 Set the font smoothing preference in DRT
6031 This makes the pixel results on Windows closer to the Mac results.
6035 * DumpRenderTree/win/DumpRenderTree.cpp:
6036 (initializePreferences):
6038 2007-11-25 Adam Roben <aroben@apple.com>
6040 Port ImageDiff to CG and C++
6042 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
6047 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
6048 * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
6050 (createImageFromStdin):
6052 (getDifferenceBitmap):
6053 (computePercentageDifferent):
6054 * DumpRenderTree/win/ImageDiff.vcproj: Added.
6056 2007-11-25 Adam Roben <aroben@apple.com>
6058 Fix image diff link generation on Windows
6062 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
6065 2007-11-25 Adam Roben <aroben@apple.com>
6067 Implement pixel dumping in Windows DRT
6069 Part of http://bugs.webkit.org/show_bug.cgi?id=16133
6074 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
6075 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
6076 Content-Length header.
6077 (getMD5HashStringForBitmap):
6078 (dumpWebViewAsPixelsAndCompareWithExpected):
6079 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
6080 * DumpRenderTree/win/DumpRenderTree.cpp:
6081 (dump): Do a pixel dump if requested.
6082 (main): Parse pixel test options.
6083 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
6084 the cg/ subdirectory to the include path.
6085 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
6086 available in a header or import library, so we have to go through this
6087 LoadLibrary/GetProcAddress dance to use them.
6095 * DumpRenderTree/win/MD5.h: Added.
6096 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
6097 moved up to the top level to share it with Mac eventually.
6098 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
6099 (getBitmapContextFromWebView): Forces the WebView to paint using a
6100 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
6102 2007-11-25 Adam Roben <aroben@apple.com>
6104 Clean up Windows DRT's option parsing a little bit
6108 * DumpRenderTree/win/DumpRenderTree.cpp:
6109 (main): Put non-option arguments into a Vector.
6111 2007-11-25 Adam Roben <aroben@apple.com>
6113 Make Windows DRT stop changing LF into CRLF
6117 * DumpRenderTree/win/DumpRenderTree.cpp:
6118 (main): Put stdout in binary mode.
6119 * Scripts/run-webkit-tests: Remove the CRLF hack.
6121 2007-11-24 David Kilzer <ddkilzer@webkit.org>
6123 Removed empty directory.
6125 * Scripts/resources: Removed.
6127 2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
6129 Fix bisect-builds to work with recent WebKit nightly builds.
6133 * Scripts/bisect-builds: Check for the
6134 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
6135 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
6136 to WebKit.app/Contents/Resources.
6138 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
6142 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
6143 not closed (affects digg.com)
6145 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
6146 one after finishing with a test to avoid having its delayed onload handler firing when
6147 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
6148 but it helps somewhat.
6150 2007-11-22 Mark Rowe <mrowe@apple.com>
6152 Reviewed by Alp Toker.
6154 Fix build-webkit to propagate make's exit status if it fails.
6156 * Scripts/webkitdirs.pm:
6158 2007-11-22 Dan Bernstein <mitz@apple.com>
6160 Reviewed by Mark Rowe.
6162 - fix crash when running pixel tests
6164 * DumpRenderTree/mac/DumpRenderTree.mm:
6165 (dumpRenderTree): Parse the command line options before setting up the
6166 environment so that we know if we need to set up the pixel dump
6169 2007-11-21 Eric Seidel <eric@webkit.org>
6171 Speculative build fix for Tiger.
6173 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
6175 2007-11-21 Eric Seidel <eric@webkit.org>
6177 Reviewed by Tim Hatcher.
6179 Break out more of DumpRenderTree.mm into individual files
6181 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6182 * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
6185 (makeLargeMallocFailSilently):
6186 * DumpRenderTree/mac/CheckedMalloc.h: Added.
6187 * DumpRenderTree/mac/DumpRenderTree.mm:
6190 * DumpRenderTree/mac/DumpRenderTreeMac.h:
6191 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
6192 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
6193 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
6194 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
6195 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
6196 (javaScriptThreads):
6197 (runJavaScriptThread):
6198 (startJavaScriptThreads):
6199 (stopJavaScriptThreads):
6200 * DumpRenderTree/mac/JavaScriptThreading.h: Added.
6201 * DumpRenderTree/mac/PixelDumpSupport.h: Added.
6202 * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
6203 (restoreColorSpace):
6204 (setDefaultColorProfileToRGB):
6205 (initializeColorSpaceAndScreeBufferForPixelTests):
6206 (md5HashStringForBitmap):
6207 (dumpWebViewAsPixelsAndCompareWithExpected):
6209 2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
6211 Move install-unix-extras to wx directory as it seems only to be used by that
6212 port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
6213 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
6214 have install-unix-extras install into WebKitLibraries as per
6217 Reviewed by Mark Rowe.
6219 * Scripts/install-unix-extras: Removed.
6220 * wx/build-wxwebkit:
6221 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
6223 2007-11-21 Eric Seidel <eric@webkit.org>
6227 More refactoring for greater code readability
6229 * DumpRenderTree/mac/DumpRenderTree.mm:
6230 (initializeGlobalsFromCommandLineOptions):
6231 (initializeColorSpaceAndScreeBufferForPixelTests):
6232 (addTestPluginsToPluginSearchPath):
6233 (useLongRunningServerMode):
6234 (runTestingServerLoop):
6235 (prepareConsistentTestingEnvironment):
6239 (dumpBackForwardListForWebView):
6240 (sizeWebViewForCurrentTest):
6241 (methodNameStringForFailedTest):
6242 (dumpBackForwardListForAllWindows):
6243 (dumpWebViewAsPixelsAndCompareWithExpected):
6244 (invalidateAnyPreviousWaitToDumpWatchdog):
6246 * DumpRenderTree/mac/DumpRenderTreeMac.h:
6247 * DumpRenderTree/mac/UIDelegate.mm:
6248 (-[UIDelegate webView:createWebViewWithRequest:]):
6250 2007-11-21 Eric Seidel <eric@webkit.org>
6252 Reviewed by Tim Hatcher.
6254 Abstract more of DRT into static methods
6256 * DumpRenderTree/mac/DumpRenderTree.mm:
6257 (setDefaultsToConsistentValuesForTesting):
6258 (setupSignalHandlers):
6259 (allocateGlobalControllers):
6261 (releaseGlobalControllers):
6263 (shouldLogFrameLoadDelegates):
6264 (createCFURLFromPathOrURL):
6265 (resetWebViewToConsistentStateBeforeTesting):
6268 2007-11-21 Eric Seidel <eric@webkit.org>
6270 Reviewed by Tim Hatcher.
6272 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
6274 * DumpRenderTree/DumpRenderTree.h:
6275 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6276 * DumpRenderTree/mac/DumpRenderTree.mm:
6280 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
6281 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
6282 (+[DumpRenderTreePasteboard _pasteboardWithName:]):
6283 (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
6284 (-[DumpRenderTreePasteboard declareType:owner:]):
6285 (+[LocalPasteboard alloc]):
6286 (-[LocalPasteboard init]):
6287 (-[LocalPasteboard dealloc]):
6288 (-[LocalPasteboard name]):
6289 (-[LocalPasteboard releaseGlobally]):
6290 (-[LocalPasteboard declareTypes:owner:]):
6291 (-[LocalPasteboard addTypes:owner:]):
6292 (-[LocalPasteboard changeCount]):
6293 (-[LocalPasteboard types]):
6294 (-[LocalPasteboard availableTypeFromArray:]):
6295 (-[LocalPasteboard setData:forType:]):
6296 (-[LocalPasteboard dataForType:]):
6297 (-[LocalPasteboard setPropertyList:forType:]):
6298 (-[LocalPasteboard setString:forType:]):
6299 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
6300 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
6301 (+[DumpRenderTreeWindow allWindows]):
6302 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
6303 (-[DumpRenderTreeWindow dealloc]):
6304 (-[DumpRenderTreeWindow isKeyWindow]):
6305 (-[DumpRenderTreeWindow keyDown:]):
6307 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
6309 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
6310 it indiscriminately copies any headers inside JavaScriptCore,
6311 which includes Tiger ICU headers.
6313 * wx/build-wxwebkit:
6314 Don't run WebCore/move-js-headers.sh any longer.
6316 2007-11-20 Adam Treat <treat@kde.org>
6318 Reviewed by David Kilzer.
6320 * Prepend git branch name to $baseProductDir
6322 * Scripts/VCSUtils.pm:
6323 * Scripts/webkitdirs.pm:
6325 2007-11-20 Mark Rowe <mrowe@apple.com>
6327 Reviewed by Simon Hausmann.
6329 * Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
6330 * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
6331 Have it trigger a "make distclean" rather than "make clean" to ensure that the
6332 built product and generated Makefile's are removed.
6334 2007-11-19 Alp Toker <alp@atoker.com>
6336 Reviewed by Mark Rowe.
6338 http://bugs.webkit.org/show_bug.cgi?id=16040
6339 [GTK] GtkLauncher should be written in C
6341 Port GtkLauncher to plain C.
6343 Use a more conventional GTK+ coding style.
6345 Use a toolbar instead of menus.
6347 Various signature fixes and cleanups.
6349 Add a license header. Assume all previous modifications were copyright
6350 assigned to Apple Inc. by default.
6352 * GtkLauncher/GtkLauncher.pro:
6353 * GtkLauncher/main.c: Added.
6354 (activate_url_entry_cb):
6358 (progress_change_cb):
6367 * GtkLauncher/main.cpp: Removed.
6369 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
6371 Build script fixes to ensure they do the right thing for the
6372 wx port, and update build-wxwebkit to reflect the way the
6373 build scripts now work.
6377 * Scripts/build-testkjs:
6378 * Scripts/build-webkit:
6379 * Scripts/run-javascriptcore-tests:
6380 * Scripts/webkitdirs.pm:
6381 * wx/build-wxwebkit:
6383 2007-11-18 Eric Seidel <eric@webkit.org>
6387 Make run-javascriptcore-tests report failures on exit (to support git bisect)
6389 * Scripts/run-javascriptcore-tests:
6391 2007-11-18 Alexey Proskuryakov <ap@webkit.org>
6393 Reviewed by Adam Roben.
6395 Make run-webkit-tests work with Windows debug build.
6397 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
6398 * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
6399 as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
6400 symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
6401 and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
6403 2007-11-18 Kevin Ollivier <kevino@theolliviers.com>
6405 Add wxWebKit sample and build script, and integrate it with
6406 build-webkit. Also make build-webkit --clean work for all
6409 Reviewed by Darin Adler.
6411 * Scripts/build-webkit:
6412 * Scripts/webkitdirs.pm:
6414 * wx/browser: Added.
6415 * wx/browser/browser.bkl: Added.
6416 * wx/browser/browser.cpp: Added.
6417 * wx/build-wxwebkit: Added.
6419 2007-11-17 Adam Roben <aroben@apple.com>
6421 Make it easy to run Safari in the debugger on Windows
6423 I've added a new script, debug-safari, which launches Safari in the
6424 debugger. On OS X it just calls gdb-safari.
6426 Reviewed by Mark Rowe.
6428 * FindSafari/FindSafari.cpp:
6429 (_tmain): Added a /debugger flag, which in combination with
6430 /printSafariLauncher will print a script that launches Safari in the
6432 * Scripts/debug-safari: Added.
6433 * Scripts/run-safari: Changed to call runSafari().
6434 * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
6435 vsvars32.bat, which will let us find VS/VC++ Express, and passes the
6436 first argument along to FindSafari.
6437 * Scripts/webkitdirs.pm:
6438 (sub runSafari): Added.
6440 2007-11-16 Alexey Proskuryakov <ap@webkit.org>
6442 Reviewed by Adam Roben.
6444 * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
6446 2007-11-16 Ryan Leavengood <leavengood@gmail.com>
6448 Reviewed by David Kilzer.
6450 The git config command was renamed to repo-config at some point. This
6451 change tries git config and then git repo-config if the first fails.
6453 * Scripts/prepare-ChangeLog:
6456 2007-11-16 Dan Bernstein <mitz@apple.com>
6458 Reviewed by Darin Adler and Sam Weinig.
6460 - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
6462 * DumpRenderTree/win/EventSender.cpp:
6463 (keyDownCallback): For characters that cannot be entered on the active
6464 keyboard layout, send a WM_CHAR message with the character along with
6465 a WM_KEYDOWN message with a virtual key code of 255.
6467 2007-11-16 Mark Rowe <mrowe@apple.com>
6469 Reviewed by Tim Hatcher.
6471 Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
6473 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
6474 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6476 2007-11-15 Adam Roben <aroben@apple.com>
6478 Make run-safari actually work on Windows
6480 * Scripts/run-safari: Fixed the order of arguments to cp, and added a
6483 2007-11-14 Adam Roben <aroben@apple.com>
6485 Updates to Safari launching now that 3.0.4 is released
6489 * FindSafari/FindSafari.cpp:
6490 (getWebViewCLSID): Use version-independent ProgID.
6491 * Scripts/run-safari: Use run-webkit-nightly.cmd.
6493 2007-11-14 Anders Carlsson <andersca@apple.com>
6497 <rdar://problem/5309081>
6498 In DRT, "plugin.logDestroy = true" not working on Windows.
6500 * DumpRenderTree/win/TestNetscapePlugin/main.c:
6503 2007-11-14 Eric Seidel <eric@webkit.org>
6507 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
6509 2007-11-14 Anders Carlsson <andersca@apple.com>
6513 <rdar://problem/5141186>
6514 window.layoutTestController.setWindowIsKey is not implemented in DRT.
6516 Implement setWindowIsKey.
6518 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6519 (LayoutTestController::setWindowIsKey):
6521 2007-11-13 Sam Weinig <sam@webkit.org>
6523 Reviewed by Adam Roben.
6525 Fix for <rdar://problem/5382579>
6526 http/tests/security/cross-frame-access-put.html reports large
6527 negative numbers for screenLeft and screenTop (Mac reports "0")
6529 * DumpRenderTree/win/UIDelegate.cpp:
6530 (UIDelegate::UIDelegate): Initialize the RECT.
6531 (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
6532 (UIDelegate::webViewFrame): ditto.
6533 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
6535 2007-11-13 Kevin McCullough <kmccullough@apple.com>
6539 - Make Drosera show source, source URLs, and function stack on Windows,
6540 and some minor fixes.
6542 * Drosera/DebuggerDocument.cpp: Force source to always update display.
6543 (DebuggerDocument::updateFileSource):
6544 * Drosera/debugger.js: Force source to always update display.
6545 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
6547 (DebuggerClient::resume):
6548 (DebuggerClient::pause):
6549 (DebuggerClient::stepInto):
6550 (DebuggerClient::stepOver):
6551 (DebuggerClient::stepOut):
6552 (DebuggerClient::showConsole):
6553 (DebuggerClient::closeCurrentFile):
6554 * Drosera/win/DebuggerClient.h: Ditto.
6555 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
6556 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
6557 removed two bugs. 1) caller could be in a bad state when asked to
6558 assign into it. 2) BSTRs were not created correctly.
6559 (DebuggerDocument::getPlatformCurrentFunctionStack):
6560 * Drosera/win/Drosera.cpp: Hook up the menu controls.
6565 (Drosera::stepInto):
6566 (Drosera::stepOver):
6568 (Drosera::showConsole):
6569 (Drosera::closeCurrentFile):
6570 * Drosera/win/Drosera.h: Hook up the menu controls.
6571 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
6572 functions, added a null check, and fixed another bug where caller could
6573 be in a bad state when asked to assign into it.
6574 (ServerConnection::didLoadMainResourceForDataSource):
6575 (ServerConnection::getCallerFrame):
6576 * Drosera/win/ServerConnection.h: Safety first.
6578 2007-11-13 Dan Bernstein <mitz@apple.com>
6580 Reviewed by Darin Adler.
6582 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
6583 DumpRenderTree --pixel-tests renders each test twice
6585 * DumpRenderTree/mac/DumpRenderTree.mm:
6586 (dumpRenderTree): Removed the --paint option because the painting code
6587 is always exercised as a result of
6588 -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
6589 calling -displayIfNeeded.
6590 (dump): Changed to always grab the image from the window since the view
6591 is always displayed.
6594 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
6595 because it always paints.
6597 2007-11-12 Antti Koivisto <antti@apple.com>
6601 Add support for http media tests
6603 * Scripts/run-webkit-tests:
6605 2007-11-12 Sam Weinig <sam@webkit.org>
6607 Reviewed by Adam Roben.
6609 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
6611 * DumpRenderTree/win/DumpRenderTree.cpp:
6613 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6614 (LayoutTestController::setPrivateBrowsingEnabled):
6616 2007-11-12 Adam Roben <aroben@apple.com>
6618 * Scripts/update-webkit-localizable-strings: Changed to only scan the
6619 mac and win subdirectories.
6621 2007-11-11 Adam Roben <aroben@apple.com>
6623 Fix <rdar://5133816> keepWebHistory is not implemented
6625 Fixes fast/history/clicked-link-is-visited.html.
6627 Reviewed by Darin Adler.
6629 * DumpRenderTree/win/DumpRenderTree.cpp:
6630 (runTest): Clear the optionalSharedHistory.
6631 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6632 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
6634 2007-11-10 Sam Weinig <sam@webkit.org>
6636 Reviewed by Tim Hatcher.
6638 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
6639 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
6642 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
6644 Added test: http/tests/security/cross-frame-access-private-browsing.html
6646 * DumpRenderTree/LayoutTestController.cpp:
6647 (setPrivateBrowsingEnabledCallback):
6648 (LayoutTestController::staticFunctions):
6649 * DumpRenderTree/LayoutTestController.h:
6650 * DumpRenderTree/mac/DumpRenderTree.mm:
6651 (runTest): Default to private browsing disabled.
6652 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
6653 (LayoutTestController::setPrivateBrowsingEnabled):
6654 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6655 (LayoutTestController::setPrivateBrowsingEnabled):
6657 2007-11-08 Kevin McCullough <kmccullough@apple.com>
6661 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
6664 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
6665 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
6666 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
6667 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
6668 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
6669 * Drosera/win/Drosera.cpp:
6670 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
6672 2007-11-08 Kevin McCullough <kmccullough@apple.com>
6676 - Use the new IWebFrame [local] function signature and get the shared
6679 * Drosera/win/DebuggerClient.cpp:
6680 (DebuggerClient::didFinishLoadForFrame):
6681 * Drosera/win/ServerConnection.cpp:
6682 (ServerConnection::attemptToCreateServerConnection):
6684 2007-11-07 Dan Bernstein <mitz@apple.com>
6686 Reviewed by Darin Adler.
6688 - add an option to run-webkit-tests to ignore pixel test failures where
6689 all pixels differ by no more than a specified threshold
6691 * DumpRenderTree/mac/ImageDiff.m:
6694 (computePercentageDifferent):
6695 * Scripts/run-webkit-tests:
6697 2007-11-07 Simon Hausmann <hausmann@kde.org>
6701 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
6703 * DumpRenderTree/qt/DumpRenderTree.cpp:
6705 2007-11-07 Simon Hausmann <hausmann@kde.org>
6709 Reworked the QWebSettings API.
6710 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
6712 * DumpRenderTree/qt/DumpRenderTree.cpp:
6714 2007-11-07 Simon Hausmann <hausmann@kde.org>
6718 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
6720 * DumpRenderTree/qt/jsobjects.cpp:
6722 2007-11-07 Simon Hausmann <hausmann@kde.org>
6724 Reviewed by Lars Knoll <lars@trolltech.com>.
6726 Add a QWebPage::frameCreated() signal and fix DRT
6728 The removal of createFrame in QWebPage broke the re-implementation
6729 in DumpRenderTree. Instead emit a frameCreated() signal and
6730 connect to it in DumpRenderTree.
6733 * DumpRenderTree/qt/DumpRenderTree.cpp:
6734 (WebCore::WebPage::WebPage):
6735 (WebCore::DumpRenderTree::dump):
6736 (WebCore::DumpRenderTree::connectFrame):
6737 * DumpRenderTree/qt/DumpRenderTree.h:
6739 2007-11-07 Simon Hausmann <hausmann@kde.org>
6741 Reviewed by Lars Knoll <lars@trolltech.com>.
6743 Moved all the event handlers from QWebFrame into QWebPage.
6745 This cleans up the public API and allows us to remove the
6746 HackWebFrame hack in DumpRenderTree.
6749 * DumpRenderTree/qt/jsobjects.cpp:
6750 (EventSender::mouseDown):
6751 (EventSender::mouseUp):
6752 (EventSender::mouseMoveTo):
6754 2007-11-07 Simon Hausmann <hausmann@kde.org>
6758 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
6759 to prevent the default implementation from popping up messageboxes.
6761 * DumpRenderTree/qt/DumpRenderTree.cpp:
6762 (WebCore::WebPage::javaScriptConfirm):
6763 (WebCore::WebPage::javaScriptPrompt):
6765 2007-11-06 Eric Seidel <eric@webkit.org>
6767 * Scripts/build-testkjs: build fix... too many $$
6769 2007-11-06 Eric Seidel <eric@webkit.org>
6771 Reviewed by Mark Rowe.
6773 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
6775 2007-11-05 Adam Roben <aroben@apple.com>
6777 Add support on Windows for WEBKIT_TESTFONTS
6779 This environment variable lets you specify where the fonts to be used
6780 by DumpRenderTree reside. The Qt port is already using this, so I'm
6781 just following their lead.
6783 Reviewed by Darin Adler.
6785 * DumpRenderTree/win/DumpRenderTree.cpp:
6786 (exePath): Refactored code out of initialize().
6787 (fontsPath): Returns either $WEBKIT_TESTFONTS or
6788 DumpRenderTree.resources.
6789 (initialize): Use the new fontsPath function.
6790 (main): Use the new exePath function.
6791 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
6792 variable to DRT, like Qt does.
6794 2007-11-05 Mark Rowe <mrowe@apple.com>
6796 Rubber-stamped by Alp Toker.
6798 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
6800 * GtkLauncher/main.cpp:
6804 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
6806 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
6807 <http://bugs.webkit.org/show_bug.cgi?id=15830>
6809 Reviewed by Timothy.
6811 Restrict the range of nightly builds used by the bisect-builds script
6812 based on the version of Safari and the version of Mac OS X being used.
6814 Mac OS X 10.4: Safari 2.0: r11976 or newer
6815 Mac OS X 10.4: Safari 3.0: r19992 or newer
6817 Mac OS X 10.5: Safari 2.0: r19594 or newer
6818 Mac OS X 10.5: Safari 3.0: r25124 or newer
6820 * Scripts/bisect-builds:
6821 (findMacOSXVersion): Added.
6822 (makeNightlyList): Added argument to provide version of Mac OS X.
6823 Restrict range of nightly builds based on Safari and Mac OS X versions.
6825 2007-11-04 Kevin McCullough <kmccullough@apple.com>
6829 - This patch involves several changes, all of them were noticed that
6830 they were needed by the work being done in WebKit to get Drosera and
6831 WebKit working together on Windows.
6833 1) Added a debugger console for output messages.
6834 2) Drosera now listens for the WebKit server (before, the server would
6835 have to be running before Drosera was started.)
6836 3) Fixed a bug where the WebView started out as 0x0 pixels.
6837 4) Fixed a bug when there is no scope.
6838 5) Added the HTML, JS, and CSS to the project file to make them easy to
6840 6) Made the ServerConnection functions virtual.
6842 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
6843 for the WebKit server.
6844 (DebuggerClient::DebuggerClient):
6845 (DebuggerClient::~DebuggerClient):
6846 (DebuggerClient::didFinishLoadForFrame):
6847 (DebuggerClient::serverConnected):
6848 (DebuggerClient::attemptToCreateServerConnection):
6849 * Drosera/win/DebuggerClient.h: Ditto.
6850 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
6852 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
6853 (DebuggerDocument::platformValueForScopeVariableNamed):
6854 * Drosera/win/Drosera.cpp:
6855 (_tWinMain): Added a console in debug for output messages.
6856 (Drosera::Drosera): Listen for server.
6857 (Drosera::initUI): The server now Initializes COM.
6858 (Drosera::serverConnected): Part of the listening for the server.
6859 (Drosera::attemptToCreateServerConnection): Ditto.
6860 * Drosera/win/Drosera.h: New interface for listening for the server.
6861 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
6862 files to the VS project.
6863 * Drosera/win/ServerConnection.cpp: Part of listening for the server
6865 (ServerConnection::ServerConnection):
6866 (ServerConnection::attemptToCreateServerConnection):
6867 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
6869 (ServerConnection::serverConnected):
6871 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
6875 http://bugs.webkit.org/show_bug.cgi?id=15832
6876 fast/dom/gc-10.html crashes when run alone
6878 Check for !done before using objects that can be already deallocated.
6880 * DumpRenderTree/mac/EditingDelegate.mm:
6881 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
6882 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
6883 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
6884 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
6885 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
6886 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
6887 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
6888 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
6889 (-[EditingDelegate webViewDidBeginEditing:]):
6890 (-[EditingDelegate webViewDidChange:]):
6891 (-[EditingDelegate webViewDidEndEditing:]):
6892 (-[EditingDelegate webViewDidChangeTypingStyle:]):
6893 (-[EditingDelegate webViewDidChangeSelection:]):
6894 * DumpRenderTree/mac/FrameLoadDelegate.mm:
6895 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
6896 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
6897 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
6898 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
6899 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
6900 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
6901 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
6902 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
6903 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
6904 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
6905 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
6906 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
6907 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
6908 (-[FrameLoadDelegate webView:willCloseFrame:]):
6909 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
6910 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
6911 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
6912 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
6913 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
6914 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
6915 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
6916 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
6917 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
6919 2007-11-04 Mark Rowe <mrowe@apple.com>
6921 Build fix. Don't use Carbon.h as the prefix header as it triggers
6922 warnings that would otherwise be suppressed due to it being a system header.
6924 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6926 2007-11-03 Maciej Stachowiak <mjs@apple.com>
6928 Rubber stamped by Adam.
6930 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
6932 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6934 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
6936 Sort files(...); sections of Xcode project files.
6938 Rubber-stamped by Darin Adler.
6940 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
6941 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
6942 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6943 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
6945 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
6947 Script to sort "files(...);" sections in Xcode project.pbxproj files.
6949 Reviewed by Darin Adler.
6951 * Scripts/sort-Xcode-project-file: Added.
6953 2007-11-02 Darin Adler <darin@apple.com>
6955 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
6957 2007-11-02 Darin Adler <darin@apple.com>
6961 * Scripts/run-sunspider: Pass the "--base" option through.
6963 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
6964 the real script do that. Default configuration to Release to match run-sunspider
6965 so we don't end up building Debug just to compare results.
6967 2007-11-01 Adam Roben <aroben@apple.com>
6969 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
6973 * Scripts/commit-log-editor: Show all the directories beneath the
6974 source root, instead of just the last one.
6976 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
6978 Reviewed by Adam Roben.
6980 Print out an error message when the Windows build fails
6981 and provide guidance on how to find out what went wrong.
6983 * Scripts/build-webkit:
6984 * Scripts/webkitdirs.pm:
6986 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
6988 Rubber-stamped by Adam Roben.
6990 Rolled out r27326 - debug CRT seems to cause no problems after all.
6992 * DumpRenderTree/win/DumpRenderTree.vcproj:
6994 2007-10-31 Adam Roben <aroben@apple.com>
6996 Switch the Debug configuration to using the non-debug CRT
6998 This matches WebKit.
7002 * DumpRenderTree/win/DumpRenderTree.vcproj:
7004 2007-10-31 Antti Koivisto <antti@apple.com>
7008 Disable media tests when doing leak checking on Tiger.
7009 They crash in QuickTime (rdar://problem/5537157).
7011 * Scripts/run-webkit-tests:
7013 2007-10-29 Antti Koivisto <antti@apple.com>
7017 Build media support by default on OSX only.
7019 * Scripts/build-webkit:
7021 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7023 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
7024 get caught by the pre-commit hooks.
7026 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7030 - This is a collection of relatively unrelated changes and cleanups
7031 to Drosera to prepare it for interacting with WebKit. A lot of these
7032 changes are just correcting mistakes, for example removing included
7033 headers that are no longer needed.
7035 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
7036 this will be needed by the DebuggerClient.
7037 (DebuggerDocument::server):
7038 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
7039 * Drosera/win/DebuggerClient.cpp:
7040 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
7041 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
7042 (DebuggerClient::createWebViewWithRequest): Added comment about its
7044 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
7046 (DebuggerClient::webViewLoaded): Moved.
7047 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
7048 file, since this was the only place it was used.
7050 * Drosera/win/Drosera.h: Cleaned up the includes.
7051 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
7052 * Drosera/win/HelperFunctions.h: Removed.
7054 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7058 - Small cleanup in the ServerConnection class.
7060 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
7061 and added an include.
7062 (ServerConnection::currentFrame):
7063 (ServerConnection::getCallerFrame):
7064 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
7065 made a pointer into a COMPtr, and cleaned up the includes.
7067 2007-10-29 Timothy Hatcher <timothy@apple.com>
7069 Reviewed by John Sullivan.
7071 - Place the Localizable.strings file in mac or win directories
7072 if that location exists.
7073 - Also look for UI_STRING in .c files.
7075 * Scripts/extract-localizable-strings:
7077 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7081 - Set the eol-style to native and made all the line endings the same
7082 so that I avoid messy diffs that show eol changes.
7084 * Drosera/win/ServerConnection.cpp:
7085 (ServerConnection::didParseSource):
7086 (ServerConnection::didEnterCallFrame):
7087 (ServerConnection::willExecuteStatement):
7088 (ServerConnection::willLeaveCallFrame):
7089 (ServerConnection::exceptionWasRaised):
7091 2007-10-30 Kevin McCullough <kmccullough@apple.com>
7095 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
7096 functionality that could not have existed previously without the new
7098 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
7099 from a BSTR to a JSValueRef.
7100 (DebuggerDocument::platformEvaluateScript): Implemented.
7101 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
7102 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
7104 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
7105 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
7106 * Drosera/win/ServerConnection.cpp: Added a helper function.
7107 (ServerConnection::getCallerFrame):
7108 * Drosera/win/ServerConnection.h: Added a helper function.
7110 2007-10-29 Kevin McCullough <kmccullough@apple.com>
7112 updated reviewers for my previous changelog.
7114 2007-10-29 Kevin McCullough <kmccullough@apple.com>
7115 Reviewed by Maciej and Adam and Geoff.
7117 - Minor mac-side improvements including moving a function to a more
7118 appropriate location, fixing a warning, and correctly checking
7121 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
7122 (DebuggerDocument::willExecuteStatement):
7123 (DebuggerDocument::didEnterCallFrame):
7124 (DebuggerDocument::willLeaveCallFrame):
7125 (DebuggerDocument::windowScriptObjectAvailable):
7126 (DebuggerDocument::callFunctionOnObject):
7127 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
7128 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
7129 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
7130 because it doesn't require the ServerConnection at all.
7131 (NSStringCreateWithJSStringRef): Made an argument const.
7132 (JSValueRefCreateWithNSString): Made an argument const.
7133 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
7134 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
7135 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
7136 * Drosera/mac/ServerConnection.mm: Ditto.
7137 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
7139 2007-10-29 Sam Weinig <sam@webkit.org>
7141 Reviewed by Adam Roben.
7143 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
7145 * DumpRenderTree/LayoutTestController.cpp:
7146 (LayoutTestController::LayoutTestController):
7147 (getGlobalFlagCallback):
7148 (setGlobalFlagCallback):
7149 (LayoutTestController::getJSClass):
7150 (LayoutTestController::staticValues):
7151 * DumpRenderTree/LayoutTestController.h:
7152 (LayoutTestController::globalFlag):
7153 (LayoutTestController::setGlobalFlag):
7155 2007-10-29 Darin Adler <darin@apple.com>
7159 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
7160 resolution instead of its default.
7162 2007-10-29 David Kilzer <ddkilzer@webkit.org>
7164 Fixed showStatus() to print status for successfully resolved conflicts when using git.
7166 Reviewed by Mark Rowe.
7168 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
7169 was successfully resolved, but this would not show any status because the change had
7170 already been cached in the index using "git add". The solution is to add an optional
7171 second argument to showStatus() which adds the "--cached" switch to the command.
7173 * Scripts/resolve-ChangeLogs:
7176 2007-10-28 Eric Seidel <eric@webkit.org>
7178 Reviewed by Maciej and Geoff, in unison.
7180 * Scripts/run-webkit-tests: remove broken --svg option
7182 2007-10-28 Darin Adler <darin@apple.com>
7186 * Scripts/run-sunspider: Default to "Release" configuration rather than
7187 defaulting to the last configuration used as other scripts do. This can
7188 still be overriden on the command line with "--debug" if there's some
7189 reason to do so. Also fix a typo.
7191 * Scripts/sunspider-compare-results: Fix a typo.
7193 2007-10-26 Kevin McCullough <kmccullough@apple.com>
7197 - Implemented the WebScriptDebugListener functions now that the
7198 WebScriptDebugServer exists
7200 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
7202 (ServerConnection::currentFrame):
7203 (ServerConnection::didLoadMainResourceForDataSource):
7204 (ServerConnection::didParseSource):
7205 (ServerConnection::failedToParseSource):
7206 (ServerConnection::didEnterCallFrame):
7207 (ServerConnection::willExecuteStatement):
7208 (ServerConnection::willLeaveCallFrame):
7209 (ServerConnection::exceptionWasRaised):
7210 * Drosera/win/ServerConnection.h: Removed unused arguments from the
7211 members arguments list.
7213 2007-10-26 David Kilzer <ddkilzer@webkit.org>
7215 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
7216 <http://bugs.webkit.org/show_bug.cgi?id=15600>
7218 Reviewed by Darin Adler.
7220 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
7221 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
7222 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
7223 file. Note that it may also be used as a stand-alone script.
7225 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
7226 * Scripts/resolve-ChangeLogs: Added.
7227 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
7229 2007-10-26 Mark Rowe <mrowe@apple.com>
7231 Qt build fix. r27084 added a destructor implementation for LayoutTestController
7232 to the Qt port on the assumption that it was an implementation of the cross-platform
7233 LayoutTestController class. It is not, so it did not need to be changed.
7235 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
7237 2007-10-25 Mark Rowe <mrowe@apple.com>
7241 Fix builds with code coverage enabled.
7243 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
7245 2007-10-25 Darin Adler <darin@apple.com>
7247 Reviewed by Mark Rowe.
7249 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
7250 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
7252 2007-10-25 Stephanie <slewis@apple.com>
7256 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7258 2007-10-25 Stephanie <slewis@apple.com>
7260 Reviewed by Mark Rowe, Adam Roben.
7262 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
7264 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
7266 2007-10-25 Alice Liu <alice.liu@apple.com>
7270 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
7272 Moving destructor into platform-specific files
7273 * DumpRenderTree/LayoutTestController.cpp:
7274 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7275 (LayoutTestController::~LayoutTestController):
7276 * DumpRenderTree/qt/jsobjects.cpp:
7277 (LayoutTestController::~LayoutTestController):
7279 LayoutTestController wasn't being destroyed
7280 * DumpRenderTree/win/DumpRenderTree.cpp:
7284 * DumpRenderTree/win/EditingDelegate.h:
7286 Reset certain values on the webview (or related delegate) that might
7287 have changed while running a test
7288 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7289 (LayoutTestController::~LayoutTestController):
7291 2007-10-25 Adam Roben <aroben@apple.com>
7293 Make sunspider-compare-results work with relative paths
7297 * Scripts/sunspider-compare-results: Convert arguments to absolute
7298 paths before we chdir.
7300 2007-10-25 Kevin McCullough <kmccullough@apple.com>
7304 - Implemented server calls now the WebScriptDebugServer exists.
7305 - Also removed no longer needed call to initialize CG.
7307 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
7310 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
7311 (ServerConnection::ServerConnection):
7312 (ServerConnection::~ServerConnection):
7313 (ServerConnection::pause):
7314 (ServerConnection::resume):
7315 (ServerConnection::stepInto):
7316 (ServerConnection::applicationTerminating):
7317 (ServerConnection::serverConnectionDidDie):
7318 * Drosera/win/ServerConnection.h: Now uses the COM class.
7320 2007-10-24 George Staikos <staikos@kde.org>
7324 * Scripts/build-webkit:
7326 2007-10-24 Adam Roben <aroben@apple.com>
7328 Remove now-unnecessary call to InitializeCoreGraphics
7330 WebKit takes care of this now.
7334 * DumpRenderTree/win/DumpRenderTree.cpp:
7337 2007-10-24 Adam Roben <aroben@apple.com>
7339 Use WebTextRenderer in DRT
7343 * DumpRenderTree/win/DumpRenderTree.cpp:
7344 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
7346 2007-10-24 Sven Herzberg <sven@imendio.com>
7348 Reviewed by Mark Rowe.
7350 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
7351 Bug 15614: [GTK] qmake based backends don't build on OS X
7353 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
7354 GTK backend on a Mac
7355 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
7356 isDarwin() to make it reusable in other places (like the workaround-
7357 for-prebuilt-qmake in build-webkit)
7359 2007-10-24 David Kilzer <ddkilzer@webkit.org>
7361 Refurbish update-webkit script.
7365 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
7366 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
7367 multi-argument version of system() for flexibility and security. Check for existence
7368 of Internal directory using -d test instead of -x.
7370 2007-10-24 David Kilzer <ddkilzer@webkit.org>
7372 Minor clean-up of prepare-ChangeLog script.
7376 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
7377 of a string. Use multi-argument versions of open() and system() for flexibility and
7380 2007-10-24 Alice Liu <alice.liu@apple.com>
7384 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
7386 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
7387 replay the saved events when we're still processing the mousedown that starts the drag
7388 * DumpRenderTree/win/EventSender.cpp:
7390 * DumpRenderTree/win/UIDelegate.cpp:
7391 (UIDelegate::doDragDrop):
7393 2007-10-24 Kevin McCullough <kmccullough@apple.com>
7395 Reviewed by Sam, Steve and Darin.
7397 - Stubbed out the WebScriptDebugListener functionality in the Server
7398 Connection class to prepare it for receiving those callbacks.
7399 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
7400 and the ServerConnection to not need to be initialized with a server
7401 name, since that is not the way we connect to the WebKit server.
7403 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
7404 no exception. Now it only loggs when there is an exception
7405 (DebuggerDocument::willExecuteStatement):
7406 (DebuggerDocument::didEnterCallFrame):
7407 (DebuggerDocument::willLeaveCallFrame):
7408 (DebuggerDocument::windowScriptObjectAvailable):
7409 (DebuggerDocument::callFunctionOnObject):
7410 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
7411 to be instantiated with a server's name.
7412 (DebuggerClient::DebuggerClient):
7413 (DebuggerClient::didFinishLoadForFrame):
7414 * Drosera/win/DebuggerClient.h: Removed unsued variable.
7415 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
7418 (Drosera::initServer):
7419 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
7420 instantiated with a server's name.
7421 * Drosera/win/ServerConnection.cpp:
7422 (ServerConnection::ServerConnection): No longer needs a server name
7423 (ServerConnection::~ServerConnection): Only release the global context
7425 (ServerConnection::serverConnectionDidDie): Stub for
7426 IWebScriptDebugListener
7427 (ServerConnection::QueryInterface): ditto
7428 (ServerConnection::AddRef): ditto
7429 (ServerConnection::Release): ditto
7430 (ServerConnection::didLoadMainResourceForDataSource): ditto
7431 (ServerConnection::didParseSource): ditto
7432 (ServerConnection::failedToParseSource): ditto
7433 (ServerConnection::didEnterCallFrame): ditto
7434 (ServerConnection::willExecuteStatement): ditto
7435 (ServerConnection::willLeaveCallFrame): ditto
7436 (ServerConnection::exceptionWasRaised): ditto
7437 * Drosera/win/ServerConnection.h: Stubbed out the
7438 IWebScriptDebugListener functions, and this class no longer needs to be
7439 instantiated with a server name.
7441 2007-10-24 Lars Knoll <lars@trolltech.com>
7445 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
7447 * DumpRenderTree/qt/jsobjects.h:
7449 2007-10-24 Lars Knoll <lars@trolltech.com>
7453 add another command.
7455 * DumpRenderTree/qt/jsobjects.cpp:
7456 (TextInputController::doCommand):
7458 2007-10-24 Lars Knoll <lars@trolltech.com>
7462 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
7464 * DumpRenderTree/qt/jsobjects.cpp:
7465 (EventSender::keyDown):
7466 * DumpRenderTree/qt/jsobjects.h:
7468 2007-10-24 Lars Knoll <lars@trolltech.com>
7472 implement eventSender.keyDown().
7474 * DumpRenderTree/qt/jsobjects.cpp:
7475 (EventSender::keyDown):
7477 2007-10-24 Lars Knoll <lars@trolltech.com>
7481 some smaller fixes to the editing support in DRT. Makes another few tests pass.
7483 * DumpRenderTree/qt/DumpRenderTree.cpp:
7484 (WebCore::DumpRenderTree::DumpRenderTree):
7485 (WebCore::DumpRenderTree::initJSObjects):
7486 * DumpRenderTree/qt/jsobjects.cpp:
7487 (TextInputController::doCommand):
7489 2007-10-24 Lars Knoll <lars@trolltech.com>
7493 first bit of implementation for the textinputcontroller.
7495 * DumpRenderTree/qt/DumpRenderTree.cpp:
7496 (WebCore::DumpRenderTree::DumpRenderTree):
7497 * DumpRenderTree/qt/DumpRenderTree.h:
7498 * DumpRenderTree/qt/jsobjects.cpp:
7499 (TextInputController::TextInputController):
7500 (TextInputController::doCommand):
7501 * DumpRenderTree/qt/jsobjects.h:
7503 2007-10-24 Lars Knoll <lars@trolltech.com>
7507 make the man webpage believe it has focus, so the editing tests work correctly.
7509 * DumpRenderTree/qt/DumpRenderTree.cpp:
7510 (WebCore::DumpRenderTree::DumpRenderTree):
7512 2007-10-24 Lars Knoll <lars@trolltech.com>
7516 implement layoutTestController.dumpEditingCallbacks() correctly.
7518 * DumpRenderTree/qt/DumpRenderTree.cpp:
7519 (WebCore::DumpRenderTree::DumpRenderTree):
7520 * DumpRenderTree/qt/jsobjects.cpp:
7521 (LayoutTestController::reset):
7522 (LayoutTestController::dumpEditingCallbacks):
7524 2007-10-24 Lars Knoll <lars@trolltech.com>
7528 Implement support for testing editing.
7530 * DumpRenderTree/qt/DumpRenderTree.cpp:
7531 (WebCore::DumpRenderTree::DumpRenderTree):
7533 2007-10-23 Sam Weinig <sam@webkit.org>
7535 Check for null BSTR that can be passed to the UIDelegate methods
7536 from javascript null and undefined. Fixes a failing test case on
7537 Windows (fast/dom/Window/alert-undefined.html)
7539 Reviewed by Eric Seidel.
7541 * DumpRenderTree/win/UIDelegate.cpp:
7542 (UIDelegate::runJavaScriptAlertPanelWithMessage):
7543 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
7544 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
7545 (UIDelegate::webViewAddMessageToConsole):
7547 2007-10-23 Maciej Stachowiak <mjs@apple.com>
7549 Reviewed by Darin Adler.
7551 Don't print a massive pile of setenvs from tools that automatically build testkjs.
7553 * Scripts/build-testkjs:
7555 2007-10-23 Maciej Stachowiak <mjs@apple.com>
7557 Reviewed by Darin Adler.
7559 - add wrapper that finds the right copy of testkjs
7561 * Scripts/sunspider-compare-results: Added.
7563 2007-10-23 Kevin McCullough <kmccullough@apple.com>
7567 - After talking with Steve I now see that the WebKit server must be
7568 running for DCOM to create the distributed objects, which makes sense
7569 and currently WebKit only allows one instance to be running at a time
7570 which avoids accidentally connecting to the wrong server
7571 - In light of this I have removed the code for the attach box and
7572 NotificationServer and known server names, since they are all extranious
7575 * Drosera/win/Drosera.cpp: Removed notification classes and known server
7577 (_tWinMain): Uses init instead of initUI.
7578 (droseraWndProc): No longer creats an attach dialog box.
7579 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
7580 it's not manditory to call init before doing COM stuff.
7581 (Drosera::init): calls initUI and will call attach when the
7582 functionality exists.
7583 (Drosera::initUI): Has changed very little.
7584 (Drosera::attach): Changed the signature to reflect that we no longer
7585 need the dictionary of known server names.
7586 * Drosera/win/Drosera.h: Removed notification classes and known server
7587 names. Also renamed and moved some functions.
7588 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
7589 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
7590 headers to the resources folder.
7591 * Drosera/win/resource.h: Removed the Attach box.
7593 2007-10-22 Adam Roben <aroben@apple.com>
7597 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
7599 2007-10-22 Kevin McCullough <kmccullough@apple.com>
7601 - Removed a leak that was fixed.
7603 * Scripts/run-webkit-tests:
7605 2007-10-19 Kevin McCullough <kmccullough@apple.com>
7607 Reviewed by Darin Adler.
7609 - Changed the Client so that the DebuggerDocument now own the
7610 ServerConnection. This simplifies ownership and cleanup.
7612 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
7614 (DebuggerClient::initWithServerName):
7615 (DebuggerClient::didFinishLoadForFrame):
7616 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
7618 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
7619 until after we have a server which we are attached to.
7622 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
7625 2007-10-22 Simon Hausmann <hausmann@kde.org>
7627 Reviewed by Nikolas.
7629 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
7631 * Scripts/run-javascriptcore-tests:
7633 2007-10-22 Simon Hausmann <hausmann@kde.org>
7635 Reviewed by Nikolas.
7637 Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS.
7639 * Scripts/build-drosera:
7640 * Scripts/build-dumprendertree:
7641 * Scripts/build-testkjs:
7642 * Scripts/build-webkit:
7643 * Scripts/run-javascriptcore-tests:
7644 * Scripts/run-sunspider:
7645 * Scripts/run-webkit-tests:
7646 * Scripts/webkitdirs.pm:
7648 2007-10-22 Andrew Wellington <proton@wiretapped.net>
7650 Reviewed by Mark Rowe.
7652 Fix for local database support after r26879
7653 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
7655 * Scripts/build-webkit:
7657 2007-10-22 Holger Freyther <zecke@selfish.org>
7659 Reviewed by Simon Hausmann <hausmann@kde.org>.
7661 - Do not build testkjs as an application bundle. This is
7662 needed for run-javascriptcore-tests on OSX.
7663 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
7664 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
7665 as we do not have -rpath on OSX.
7667 * DumpRenderTree/qt/DumpRenderTree.pro:
7668 * Scripts/run-webkit-tests:
7670 2007-10-22 Simon Hausmann <hausmann@kde.org>
7674 Fix support for Signed-off-by detection in prepare-ChangeLog
7675 --git-commit. The Signed-off-by tag does not appear in the header
7676 but usually at the end.
7678 * Scripts/prepare-ChangeLog:
7680 2007-10-21 Mark Rowe <mrowe@apple.com>
7684 Fix run-javascriptcore-tests for Gtk.
7686 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
7688 2007-10-20 Eric Seidel <eric@webkit.org>
7692 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
7694 2007-10-20 Eric Seidel <eric@webkit.org>
7698 Add improved argument handling to run-sunspider, including
7699 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
7700 Also re-factor code into subroutines
7702 * Scripts/build-dumprendertree: removed bogus comments
7703 * Scripts/build-testkjs: Added.
7704 * Scripts/run-javascriptcore-tests: use build-testkjs
7705 * Scripts/run-sunspider: improved argument handling, abstraction
7706 * Scripts/run-webkit-tests: improved abstraction
7708 2007-10-20 Matt Lilek <webkit@mattlilek.com>
7710 Not reviewed, Windows build fix.
7712 * DumpRenderTree/win/EventSender.cpp:
7715 2007-10-20 Darin Adler <darin@apple.com>
7717 Reviewed by Tim Hatcher.
7719 - http://bugs.webkit.org/show_bug.cgi?id=15544
7720 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
7721 not rely on Apple-specific key codes
7723 * DumpRenderTree/mac/EventSendingController.mm:
7724 (-[EventSendingController keyDown:withModifiers:]):
7725 Added named key "rightArrow". Later we could have a whole table of these.
7726 Also tweaked modifiers code a little.
7728 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
7730 2007-10-19 Darin Adler <darin@apple.com>
7734 - http://bugs.webkit.org/show_bug.cgi?id=15566
7735 possible fix for leak seen in DumpRenderTree
7737 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
7738 Delete the item if it's not put on the queue, since the caller has
7739 no way of knowing that. Would be better to have the parameter type
7740 be auto_ptr to express the fact that we take ownership.
7744 * Drosera/mac/main.m: Add missing include.
7746 2007-10-19 Kevin McCullough <kmccullough@apple.com>
7750 - This change should be identical but for some reason was not working
7753 * Scripts/prepare-ChangeLog:
7755 2007-10-19 Kevin McCullough <kmccullough@apple.com>
7757 Reviewed by Oliver and Tim.
7759 - Made use of RetainPtr to avoid retain and release issues and moved the
7760 log function to DebuggerDocumentPlatform, which seems to be a more
7761 logical place for it to live.
7762 - Also moved knownServers from the ServerConnection to
7763 DebuggerApplication to match the Windows code and because it makes sense
7764 that a connection knows its own server but not all of them.
7766 * Drosera/mac/DebuggerClient.h: Moved the log function to
7767 DebuggerDocumentPlatform.
7768 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
7769 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
7770 call for the server name up from the ServerConnection class.
7771 (-[DebuggerClient dealloc]):
7772 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
7773 for the server name up from the ServerConnection.
7774 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
7775 (DebuggerDocument::platformPause):
7776 (DebuggerDocument::platformResume):
7777 (DebuggerDocument::platformStepInto):
7778 (DebuggerDocument::platformEvaluateScript):
7779 (DebuggerDocument::getPlatformCurrentFunctionStack):
7780 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
7781 (DebuggerDocument::platformValueForScopeVariableNamed):
7782 (DebuggerDocument::platformLog): Log directly from here. No need to call
7784 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
7785 way I see it, a ServerConnection should only know about its connection
7786 and the group of all possible servers should be kept by the
7788 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
7789 currentServerName, it makes sense that the connection should know that
7791 (-[ServerConnection currentServerName]):
7793 2007-10-19 Kevin McCullough <kmccullough@apple.com>
7797 - Integrated changes from mac drosera. Recently I've encapsulated
7798 out the server connection object from the rest of Drosera because
7799 it is very platform dependent right now and RPC is not implemented on
7800 windows. This functionality, of communicating with the WebKit server
7801 is the next area I will be focusing on in Windows.
7803 - Other changes and cleanup were made to organize the code and add notes
7804 on which parts still need work. Also some mac code is added and
7805 commented out, to act as pseudocode for the logic of those parts.
7807 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
7809 * Drosera/config.h: Added whitespace.
7810 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
7811 these files got moved into Drosera.h/cpp
7812 * Drosera/win/DebuggerApplication.h: Removed.
7813 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
7814 happened here to better match the logic flow of the same code on the
7815 mac side and to use the new ServerConnection class.
7816 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
7817 (DebuggerClient::initWithServerName): Initializer that will set up the
7818 class to use a ServerConnection object. This was necessary so I could
7819 create a DebuggerClient without having to initilaize it at
7821 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
7822 will be the UIDelegate and FrameLoadDelegate.
7823 (DebuggerClient::AddRef): For IUnknown.
7824 (DebuggerClient::Release): For IUnknown.
7825 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
7826 this still needs to set the global context of the server, but
7827 IWebFrame does not have an accessor for the global context yet.
7828 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
7829 this is a pass through for the same function in the document.
7830 (DebuggerClient::didReceiveTitle): Unimplemented part of
7831 FrameLoadDelegate this would change the title of the window.
7832 (DebuggerClient::createWebViewWithRequest): Part of the
7833 FrameLoadDelegate. This is about new windows via Window.open() and
7834 how their delegates are set.
7835 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
7836 UIDelegate. Just a debug function for printing messages.
7837 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
7838 because the Client should be the UIDelegate and FrameLoadDelegate
7839 to match the delegates on mac.
7840 (DebuggerClient::webViewLoaded): Added accessor method.
7841 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
7842 forgotten to add this file before. This is where the platform
7843 dependent versions of the Documents functions live. Most of these are
7844 unimplemented because some piece of functionality does not exist on
7846 (DebuggerDocument::platformPause):
7847 (DebuggerDocument::platformResume):
7848 (DebuggerDocument::platformStepInto):
7849 (DebuggerDocument::platformEvaluateScript):
7850 (DebuggerDocument::getPlatformCurrentFunctionStack):
7851 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
7852 (DebuggerDocument::platformValueForScopeVariableNamed):
7853 (DebuggerDocument::platformLog):
7854 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
7855 responsibilities becaue they belong in the Client. Also I laid the
7856 groundwork for attaching Drosera to a WebKit process
7857 (attachWndProc): Now if a server is selected the Client becomes it's
7859 (Drosera::Drosera): Added the construction of the Client and dictionary
7861 (Drosera::initUI): This is no longer the delegates, the Client is.
7862 (Drosera::webViewLoaded): Now asks the Client instead of holding local
7864 (Drosera::applicationDidFinishLaunching): Placeholder for needed
7865 notification registration when it's possible to implement.
7866 (Drosera::serverLoaded): Ditto
7867 (Drosera::serverUnloaded): Ditto
7868 (Drosera::attach): Attach Drosera to the WebKit server.
7869 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
7872 (Drosera::knownServers):
7873 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
7874 and added the ServerConnection.
7875 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
7876 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
7877 Most of the functions are completely unimlemented because they cannot
7878 connect with the WebKit server, because one does not exist on Windows
7880 (ServerConnection::initWithServerName):
7881 (ServerConnection::~ServerConnection):
7882 (ServerConnection::setGlobalContext):
7883 (ServerConnection::pause):
7884 (ServerConnection::resume):
7885 (ServerConnection::stepInto):
7886 (ServerConnection::switchToServerNamed):
7887 (ServerConnection::applicationTerminating):
7888 (ServerConnection::serverConnectionDidDie):
7889 (ServerConnection::currentFrame):
7890 * Drosera/win/ServerConnection.h: Added. Ditto.
7891 (ServerConnection::ServerConnection):
7893 2007-10-19 Alice Liu <alice.liu@apple.com>
7895 Reviewed by Darin Adler.
7897 Fix for these broken layout tests on Windows:
7899 fast/forms/focus-selection-input.html
7900 fast/forms/focus-selection-textarea.html
7901 fast/forms/select-accesskey.html
7903 * DumpRenderTree/win/EventSender.cpp:
7905 correct the VK code for alt key.
7907 2007-10-19 Eric Seidel <eric@webkit.org>
7909 Reviewed by Mark Rowe.
7911 Make the GtkLauncher code slightly more readable.
7913 * GtkLauncher/main.cpp:
7914 (setupMainMenu): Added.
7915 (setupMainWindowUI): Added.
7918 2007-10-19 Maciej Stachowiak <mjs@apple.com>
7920 Rubber stamped by Adam.
7922 - don't delay-load WebKit in DumpRenderTree.
7924 * DumpRenderTree/win/DumpRenderTree.vcproj:
7926 2007-10-18 Dan Bernstein <mitz@apple.com>
7928 Reviewed by Adam Roben.
7930 - fix <rdar://problem/5313523>
7931 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
7933 * DumpRenderTree/mac/DumpRenderTree.mm:
7934 (dump): Changed to use _responseMIMEType.
7936 2007-10-17 Adam Roben <aroben@apple.com>
7938 Make it possible to have Windows-specific tests and results
7940 When searching for tests to run and the Skipped file, we will only
7941 look in platform/win and the cross-platform directory. When looking
7942 for expected results, we will look in platform/win, then
7943 platform/mac-leopard, then platform/mac, then finally the
7944 cross-platform directory.
7948 * Scripts/run-webkit-tests:
7949 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
7950 searching in the cross-platform directory.
7951 (sub buildPlatformHierarchy): Removed some unneeded calls to
7954 2007-10-17 Adam Roben <aroben@apple.com>
7956 Add back the call to register WebKit that we had before WebKitInitializer existed
7958 This is needed to ensure that the right WebKit is used when
7959 instantiating COM objects.
7963 * DumpRenderTree/win/debug_internal.vsprops: Define
7964 DEBUG_WEBKIT_HAS_SUFFIX.
7965 * DumpRenderTree/win/DumpRenderTree.cpp:
7968 2007-10-17 Adam Roben <aroben@apple.com>
7970 Import File::Basename in webkitdirs since we use it
7972 * Scripts/webkitdirs.pm:
7974 2007-10-17 Kevin McCullough <kmccullough@apple.com>
7976 - Updated the tiger leaks list to make the internal bots green.
7978 * Scripts/run-webkit-tests:
7980 2007-10-17 Adam Roben <aroben@apple.com>
7982 Build fix for VC++ Express
7984 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
7987 2007-10-16 Kevin McCullough <kmccullough@apple.com>
7991 - Minor mac improvements based on observations I made while implementing the
7994 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
7995 then hand it to the Client who will retain it, it should just be the client who
7996 creates and owns the server.
7997 (-[DebuggerApplication attach:]):
7998 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
7999 * Drosera/mac/DebuggerClient.mm: Creates the server.
8000 (-[DebuggerClient initWithServerName:]):
8001 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
8002 can instead forward declare what it needs.
8004 2007-10-16 Darin Adler <darin@apple.com>
8006 Reviewed by Geoff Garen.
8008 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
8009 want to turn failing tests into platform-specific test results. Also did a
8010 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
8011 would take the type of results into account only some of the time.
8013 2007-10-16 Adam Roben <aroben@apple.com>
8015 Add a new nightly launcher script for Windows
8017 This new script is for versions of Safari that don't delay-load
8018 WebKit. I had to make FindSafari be able to print out the nightly
8019 launcher script on stdout because Windows shell scripts can't capture
8020 the output from a command into an environment variable.
8024 * FindSafari/FindSafari.cpp:
8025 (_tmain): Added /printSafariLauncher option.
8026 * Scripts/run-webkit-nightly.cmd: Added.
8028 2007-10-16 Adam Roben <aroben@apple.com>
8030 Replace WebKitInitializer with FindSafari
8032 We now rely on setting the PATH environment variable to tell Windows
8033 where to find WebKit and its dependencies (similar to
8034 DYLD_FRAMEWORK_PATH on Mac).
8036 This change also make DumpRenderTree no longer delay-load WebKit.
8040 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
8042 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
8043 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
8044 WebKitInitializer, don't delay-load WebKit.
8045 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
8046 * Scripts/run-webkit-tests: Ditto.
8047 * Scripts/webkitdirs.pm:
8048 (sub setPathForRunningWebKitApp): Added.
8049 * WebKitInitializer/WebKitInitializer.cpp: Removed.
8050 * WebKitInitializer/WebKitInitializer.h: Removed.
8051 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
8052 * WebKitInitializer/debug.vsprops: Removed.
8053 * WebKitInitializer/debug_internal.vsprops: Removed.
8054 * WebKitInitializer/release.vsprops: Removed.
8056 2007-10-16 Adam Roben <aroben@apple.com>
8058 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
8060 http://bugs.webkit.org/show_bug.cgi?id=15532
8062 FindSafari simply prints the location of an installed Safari.exe on
8065 Reviewed by Darin Adler.
8067 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
8070 (getInstalledWebKitDirectory):
8072 * FindSafari/FindSafari.vcproj: Added.
8073 * Scripts/webkitdirs.pm:
8074 (sub installedSafariPath): Added. Calls FindSafari on Windows.
8076 2007-10-16 Adam Roben <aroben@apple.com>
8078 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
8080 Reviewed by Kevin McCullough.
8082 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
8083 when referring to WebKit.dll.
8084 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
8085 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
8086 * DumpRenderTree/win/release.vsprops: Ditto.
8087 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
8088 never have a _debug suffix on WebKit.dll.
8089 * WebKitInitializer/WebKitInitializer.cpp:
8090 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
8092 * WebKitInitializer/debug_internal.vsprops: Added
8093 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
8095 2007-10-16 Darin Adler <darin@apple.com>
8099 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
8100 Remove now-unneeded control/alt key hack; the tests have been updated.
8102 2007-10-16 Kevin McCullough <kmccullough@apple.com>
8104 - Updated leaks list because our internal bot upgraded it's version of leopard and
8105 one of the leaks was fixed between that revision and the bot's previous version of
8108 * Scripts/run-webkit-tests:
8110 2007-10-15 Kevin McCullough <kmccullough@apple.com>
8114 - I encapsulated out the server connecton functionality because it is a specific part
8115 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
8116 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
8117 Windows. So the majority of this patch is moving preexisting functionality.
8119 - Also I removed the prefix header and changed to use config.h because it is more
8120 standard on how we use config.h in windows and it didn't make much sense to keep
8121 the prefix header and the config.h
8123 * Drosera/DebuggerDocument.cpp:
8124 (DebuggerDocument::DebuggerDocument):
8125 * Drosera/DebuggerDocument.h:
8127 * Drosera/mac/DebuggerApplication.mm:
8128 (-[DebuggerApplication attach:]):
8129 * Drosera/mac/DebuggerClient.h:
8130 * Drosera/mac/DebuggerClient.mm:
8131 (-[DebuggerClient initWithServerConnection:]):
8132 (-[DebuggerClient dealloc]):
8133 (-[DebuggerClient windowDidLoad]):
8134 (-[DebuggerClient windowWillClose:]):
8135 (-[DebuggerClient webView:didFinishLoadForFrame:]):
8136 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
8137 * Drosera/mac/DebuggerDocumentPlatform.mm:
8138 (DebuggerDocument::platformPause):
8139 (DebuggerDocument::platformResume):
8140 (DebuggerDocument::platformStepInto):
8141 (DebuggerDocument::platformEvaluateScript):
8142 (DebuggerDocument::getPlatformCurrentFunctionStack):
8143 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8144 (DebuggerDocument::platformValueForScopeVariableNamed):
8145 (DebuggerDocument::platformLog):
8146 * Drosera/mac/Drosera.pch: Removed.
8147 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
8148 * Drosera/mac/ServerConnection.h: Added.
8149 * Drosera/mac/ServerConnection.mm: Added.
8150 (-[ServerConnection initWithServerName:]):
8151 (-[ServerConnection dealloc]):
8152 (-[ServerConnection setGlobalContext:]):
8153 (-[ServerConnection pause]):
8154 (-[ServerConnection resume]):
8155 (-[ServerConnection stepInto]):
8156 (-[ServerConnection switchToServerNamed:]):
8157 (-[ServerConnection applicationTerminating:]):
8158 (-[ServerConnection serverConnectionDidDie:]):
8159 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
8160 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
8161 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
8162 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
8163 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
8164 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
8165 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
8166 (-[ServerConnection currentFrame]):
8167 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
8168 (-[ServerConnection knownServers]):
8170 2007-10-15 David Kilzer <ddkilzer@webkit.org>
8174 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
8175 Script to automatically search nightly builds for regressions (bisect-builds)
8177 * Scripts/bisect-builds: Added.
8179 2007-10-14 Maciej Stachowiak <mjs@apple.com>
8181 Reviewed by Darin Adler.
8183 - New JavaScript benchmark
8184 http://bugs.webkit.org/show_bug.cgi?id=15515
8186 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
8187 current development or release build of JavaScriptCore.
8189 2007-10-15 Mark Rowe <mrowe@apple.com>
8193 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
8195 * Scripts/webkitdirs.pm:
8196 - Change checkArgv to remove the options from @ARGV to prevent
8197 them from interfering with further option processing.
8198 - Fix logic error in determineIsQt that would prevent it from bailing out early.
8199 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
8200 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
8201 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
8203 2007-10-15 Darin Adler <darin@apple.com>
8207 - added logging of window.prompt and window.confirm
8209 * DumpRenderTree/mac/UIDelegate.mm:
8210 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
8211 Implement the recommended delegate rather than the deprecated one.
8212 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
8214 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
8217 * DumpRenderTree/win/UIDelegate.h:
8218 * DumpRenderTree/win/UIDelegate.cpp:
8219 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
8220 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
8221 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
8222 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
8224 2007-10-15 Alice Liu <alice.liu@apple.com>
8226 Reviewed by Sam Weinig.
8228 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
8230 * DumpRenderTree/win/DumpRenderTree.cpp:
8231 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
8232 (main): allocate the global policy delegate for DRT's custom use
8233 * DumpRenderTree/win/DumpRenderTree.vcproj:
8234 Adding files to project
8235 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
8236 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8237 (LayoutTestController::setCustomPolicyDelegate):
8238 set the webview's policy delegate to DRT's custom one if the test requests it.
8239 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
8240 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
8241 (PolicyDelegate::PolicyDelegate):
8242 (PolicyDelegate::QueryInterface):
8243 (PolicyDelegate::AddRef):
8244 (PolicyDelegate::Release):
8245 (PolicyDelegate::decidePolicyForNavigationAction):
8246 * DumpRenderTree/win/PolicyDelegate.h: Added.
8247 (PolicyDelegate::decidePolicyForNewWindowAction):
8248 (PolicyDelegate::decidePolicyForMIMEType):
8249 (PolicyDelegate::unableToImplementPolicyWithError):
8251 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
8255 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
8256 when querying for QMAKE_MKSPECS.
8258 2007-10-14 Andrew Wellington <proton@wiretapped.net>
8260 Reviewed by Adam Roben.
8262 Fix run-webkit-tests is too greedy calculating platform hierarchy
8263 http://bugs.webkit.org/show_bug.cgi?id=15465
8265 Fix run-webkit-tests being too greedy in trying to split the platform name up
8266 causing it to try and find tests in every directory above the first "-" in the
8267 path to the LayoutTests
8269 * Scripts/run-webkit-tests:
8271 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
8273 Reviewed by Darin Adler.
8275 http://bugs.webkit.org/show_bug.cgi?id=15006
8276 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
8277 to reduce code duplication.
8279 * Scripts/build-webkit:
8280 * Scripts/webkitdirs.pm:
8281 buildQMakeProject() renamed to buildQMakeQtProject().
8282 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
8283 unused $colorize has been removed.
8285 === Start merge of feature-branch 2007-10-12 ===
8287 2007-10-08 Eric Seidel <eric@webkit.org>
8289 Reviewed by Mark Rowe.
8291 * Scripts/build-webkit: add --help, remove unused --color
8293 2007-10-07 Eric Seidel <eric@webkit.org>
8297 * Drosera/mac/DebuggerDocumentPlatform.mm:
8298 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
8300 2007-10-03 Rob Buis <buis@kde.org>
8304 Adapt to changed location of Ahem font.
8306 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8308 2007-10-02 Eric Seidel <eric@webkit.org>
8310 Reviewed by Adam Roben.
8312 Make pixel tests more useful!
8313 Finally fix the image diff 0.00% mystery problem
8314 Highlight any image differences in the image diff.
8315 Add a link from image diffs back to original test file.
8317 * DumpRenderTree/mac/ImageDiff.m:
8318 (compareImages): highlight any differences
8319 (computePercentageDifferent): round to two decimal places
8320 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
8322 2007-10-02 Eric Seidel <eric@webkit.org>
8324 Reviewed by Alexey Proskuryakov.
8326 * Scripts/run-webkit-tests: print the % image difference on main results page
8328 2007-10-02 Mark Rowe <mrowe@apple.com>
8332 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
8334 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
8335 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
8337 2007-10-01 Mark Rowe <mrowe@apple.com>
8339 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
8341 2007-09-25 Eric Seidel <eric@webkit.org>
8343 Reviewed by Mark Rowe.
8345 DerivedSources.make was finding "ENABLE_SVG" in the string
8346 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
8349 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
8351 2007-09-25 Mark Rowe <mrowe@apple.com>
8353 Rubber-stamped by Eric.
8355 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
8356 This makes it possible to automate nightly builds for the feature-branch.
8358 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
8360 Rubber stamped by Mark.
8362 Enable svg experimental features as default here in feature-branch.
8364 * Scripts/build-webkit:
8366 2007-06-29 Antti Koivisto <antti@apple.com>
8370 Add VIDEO flag for timed media features
8372 * Scripts/build-webkit
8374 === End merge of feature-branch 2007-10-12 ===
8376 2007-10-11 Kevin McCullough <kmccullough@apple.com>
8378 Reviewed by Darin Adler.
8380 - Updated rational for the leaks list to be more clear.
8382 * Scripts/run-webkit-tests:
8384 2007-10-11 Kevin McCullough <kmccullough@apple.com>
8386 Rubber Stamp by Sam.
8388 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
8389 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
8391 * Scripts/run-webkit-tests:
8393 2007-10-10 Simon Hausmann <hausmann@kde.org>
8397 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
8398 includes are needed for INT_MAX, std::auto_ptr and the like.
8400 * DumpRenderTree/qt/main.cpp:
8402 2007-10-09 Lars Knoll <lars@trolltech.com>
8406 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
8408 * DumpRenderTree/qt/jsobjects.cpp:
8409 (LayoutTestController::encodeHostName):
8410 (LayoutTestController::decodeHostName):
8411 * DumpRenderTree/qt/jsobjects.h:
8413 2007-10-09 Lars Knoll <lars@trolltech.com>
8417 Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT.
8419 * DumpRenderTree/qt/DumpRenderTree.cpp:
8420 (WebCore::WebPage::createFrame):
8421 (WebCore::DumpRenderTree::DumpRenderTree):
8422 (WebCore::DumpRenderTree::titleChanged):
8423 * DumpRenderTree/qt/DumpRenderTree.h:
8424 * DumpRenderTree/qt/jsobjects.cpp:
8425 (LayoutTestController::reset):
8426 * DumpRenderTree/qt/jsobjects.h:
8428 2007-10-09 Lars Knoll <lars@trolltech.com>
8432 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
8434 * DumpRenderTree/qt/DumpRenderTree.h:
8435 * DumpRenderTree/qt/jsobjects.cpp:
8436 (LayoutTestController::clearBackForwardList):
8437 * DumpRenderTree/qt/jsobjects.h:
8439 2007-10-09 Lars Knoll <lars@trolltech.com>
8443 make --git-reviewer work again.
8445 * Scripts/prepare-ChangeLog:
8447 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
8449 Rubber stamped by Eric.
8451 Connect to the "hovering-over-link" signal emitted by WebKitPage and
8452 show the current link inside the statusbar.
8453 This shows how to make use of this signal and allows to easily test
8454 http://bugs.webkit.org/show_bug.cgi?id=15299.
8456 * GtkLauncher/main.cpp:
8460 2007-10-05 Lars Knoll <lars@trolltech.com>
8462 add proper error messages to the FrameLoaderClient.
8463 Implement ChromeClientQt::closeWindowSoon and
8464 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
8465 Some fixes in DRT to make it work correctly with multiple windows.
8469 * DumpRenderTree/qt/DumpRenderTree.cpp:
8470 (WebCore::DumpRenderTree::DumpRenderTree):
8471 (WebCore::DumpRenderTree::createWindow):
8472 (WebCore::DumpRenderTree::windowCount):
8473 * DumpRenderTree/qt/DumpRenderTree.h:
8474 * DumpRenderTree/qt/jsobjects.cpp:
8475 (LayoutTestController::maybeDump):
8476 (LayoutTestController::windowCount):
8477 * DumpRenderTree/qt/jsobjects.h:
8479 2007-10-05 Lars Knoll <lars@trolltech.com>
8481 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
8482 Add support for layoutTextController.setCanOpenWindows() to DRT
8483 fixing another 2 test cases in fast/dom/Window.
8487 * DumpRenderTree/qt/DumpRenderTree.cpp:
8488 (WebCore::WebPage::WebPage):
8489 (WebCore::WebPage::createWindow):
8490 (WebCore::DumpRenderTree::resetJSObjects):
8491 (WebCore::DumpRenderTree::createWindow):
8492 * DumpRenderTree/qt/DumpRenderTree.h:
8493 * DumpRenderTree/qt/DumpRenderTree.pro:
8494 * DumpRenderTree/qt/jsobjects.cpp:
8495 (LayoutTestController::LayoutTestController):
8496 (LayoutTestController::reset):
8497 * DumpRenderTree/qt/jsobjects.h:
8498 * DumpRenderTree/qt/main.cpp:
8499 * DumpRenderTree/qt/testplugin.cpp: Added.
8500 * DumpRenderTree/qt/testplugin.h: Added.
8502 2007-10-04 Sam Weinig <sam@webkit.org>
8504 Rubber stamped by Adam.
8506 Remove empty directories.
8508 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
8509 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
8511 2007-10-03 Darin Adler <darin@apple.com>
8515 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
8516 we find the internal libraries in the libraries directory. This
8517 is helpful for Safari team engineers at Apple.
8519 2007-10-03 Adam Roben <aroben@apple.com>
8521 Update the location of AHEM___.TTF after r25968
8525 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8527 2007-10-03 Alp Toker <alp@atoker.com>
8531 http://bugs.webkit.org/show_bug.cgi?id=14726
8532 [gtk] API design. Mapping the WebView delegates to signals.
8534 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
8536 * GtkLauncher/main.cpp:
8540 (menuMainBackCallback):
8541 (menuMainForwardCallback):
8544 2007-10-03 Lars Knoll <lars@trolltech.com>
8548 This fixes --strict mode in run-webkit-tests again after
8549 the platform dependent test results have been moved.
8551 * Scripts/run-webkit-tests:
8553 2007-10-03 Lars Knoll <lars@trolltech.com>
8557 remove the hack in run-webkit-tests that forced text only test
8558 to be taken from the platform independent dir. It was only left
8559 there from early days.
8561 Remove platform dependent results for tests that are text only nowadays,
8562 and add one platform dependent result for a text only test that requires it.
8564 * Scripts/run-webkit-tests:
8566 2007-10-03 Lars Knoll <lars@trolltech.com>
8570 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
8572 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
8573 (WebCore::WebFrame::WebFrame):
8574 (WebCore::WebPage::WebPage):
8575 (WebCore::WebPage::createFrame):
8576 (WebCore::WebPage::javaScriptAlert):
8577 (WebCore::WebPage::javaScriptConsoleMessage):
8578 (WebCore::DumpRenderTree::DumpRenderTree):
8579 (WebCore::DumpRenderTree::~DumpRenderTree):
8580 (WebCore::DumpRenderTree::open):
8581 (WebCore::DumpRenderTree::readStdin):
8582 (WebCore::DumpRenderTree::resetJSObjects):
8583 (WebCore::DumpRenderTree::initJSObjects):
8584 (WebCore::DumpRenderTree::dumpFramesAsText):
8585 (WebCore::DumpRenderTree::dump):
8586 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
8587 (WebCore::DumpRenderTree::layoutTestController):
8588 (WebCore::DumpRenderTree::eventSender):
8589 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
8590 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
8591 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
8592 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
8593 (HackWebFrame::mousePressEvent):
8594 (HackWebFrame::mouseReleaseEvent):
8595 (HackWebFrame::mouseMoveEvent):
8596 (HackWebFrame::HackWebFrame):
8597 (HackWebFrame::~HackWebFrame):
8598 (LayoutTestController::LayoutTestController):
8599 (LayoutTestController::reset):
8600 (LayoutTestController::maybeDump):
8601 (LayoutTestController::waitUntilDone):
8602 (LayoutTestController::notifyDone):
8603 (LayoutTestController::dumpEditingCallbacks):
8604 (LayoutTestController::queueReload):
8605 (LayoutTestController::provisionalLoad):
8606 (LayoutTestController::timerEvent):
8607 (EventSender::EventSender):
8608 (EventSender::mouseDown):
8609 (EventSender::mouseUp):
8610 (EventSender::mouseMoveTo):
8611 (EventSender::leapForward):
8612 (EventSender::keyDown):
8613 (EventSender::frameUnderMouse):
8614 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
8615 (LayoutTestController::isLoading):
8616 (LayoutTestController::setLoading):
8617 (LayoutTestController::shouldDumpAsText):
8618 (LayoutTestController::shouldDumpChildrenAsText):
8619 (LayoutTestController::shouldWaitUntilDone):
8620 (LayoutTestController::dumpAsText):
8621 (LayoutTestController::dumpChildFramesAsText):
8622 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
8626 * Scripts/run-webkit-tests:
8628 2007-10-03 Mark Rowe <mrowe@apple.com>
8630 Reviewed by Alp Toker.
8632 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
8633 should take precedence over QTDIR when determining which port we are working with.
8635 * Scripts/webkitdirs.pm:
8637 2007-10-02 Adam Roben <aroben@apple.com>
8639 Add keychain to the list of default packages to install
8641 Rubberstamped by Sam.
8643 * CygwinDownloader/cygwin-downloader.py:
8644 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
8646 2007-10-02 David Kilzer <ddkilzer@webkit.org>
8650 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
8651 Also makes WebCore regression test case logic work when using git.
8653 * Scripts/prepare-ChangeLog:
8654 (reviewerAndDescriptionForGitCommit): Added.
8656 2007-10-02 Lars Knoll <lars@trolltech.com>
8660 Add API to retrieve the frame name from QWebFrame.
8661 Implement support for DRT::dumpChildrenAsText.
8663 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
8664 (WebCore::DumpRenderTree::dumpFramesAsText):
8665 (WebCore::DumpRenderTree::dump):
8666 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
8667 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
8668 (LayoutTestController::LayoutTestController):
8669 (LayoutTestController::reset):
8670 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
8672 2007-10-02 Lars Knoll <lars@trolltech.com>
8676 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
8678 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
8679 (WebCore::DumpRenderTree::readStdin):
8681 2007-10-02 Mark Rowe <mrowe@apple.com>
8685 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
8687 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
8688 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
8690 2007-10-02 Mark Rowe <mrowe@apple.com>
8692 Rubber-stamped by Maciej.
8694 Configuration changes from build.webkit.org. The major change is refactoring to work
8695 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
8698 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
8699 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
8700 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
8701 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
8702 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
8703 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
8704 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
8705 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
8707 2007-10-02 Lars Knoll <lars@trolltech.com>
8711 Add support for eventSender.mouseMove to DRT.
8712 Fixes fast/css/hover-affects-child.html
8714 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
8715 (EventSender::mouseMoveTo):
8717 2007-10-01 Mark Rowe <mrowe@apple.com>
8719 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
8721 2007-10-01 David Kilzer <ddkilzer@webkit.org>
8725 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
8727 * Scripts/svn-apply:
8728 (gitdiff2svndiff): Ignore lines beginning with "new file".
8729 * Scripts/svn-unapply:
8730 (gitdiff2svndiff): Ditto.
8732 2007-09-30 George Staikos <staikos@kde.org>
8734 Qt build fix (Mac OS X specific)
8736 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
8738 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
8742 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
8743 Remove Bakefiles from svn.
8745 * GtkLauncher/Bakefiles.bkgen: Removed.
8746 * GtkLauncher/ENV: Removed.
8747 * GtkLauncher/gdklauncher.bkl: Removed.
8748 * GtkLauncher/mk: Removed.
8749 * Scripts/regenerate-makefiles: Removed.
8751 2007-09-25 Kevin McCullough <kmccullough@apple.com>
8755 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
8757 * Scripts/run-webkit-tests:
8759 2007-09-26 Adam Roben <aroben@apple.com>
8761 Make not finding an installed WebKit non-fatal
8763 What really matters is that we are able to load WebKit and its
8764 dependencies, not whether we think we've found an installed WebKit.
8768 * WebKitInitializer/WebKitInitializer.cpp:
8769 (getWebViewCLSID): Use new LOG_WARNING macro.
8770 (getInstalledWebKitDirectory): Ditto.
8771 (initializeWebKit): Don't die if we didn't find an installed WebKit,
8773 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
8775 2007-09-26 Adam Roben <aroben@apple.com>
8777 Committed this file before saving it
8779 * WebKitInitializer/debug_internal.vsprops:
8781 2007-09-26 Adam Roben <aroben@apple.com>
8783 Load WebKit and its dependencies manually so they come from DllDirectory
8785 I had to change WebKitInitializer to use malloc/free instead of
8786 new/delete to avoid pulling in WebKit (and its dependencies) early
8787 through use of fastMalloc.
8791 * WebKitInitializer/WebKitInitializer.cpp:
8792 (getStringValue): Changed to use malloc/free.
8793 (getInstalledWebKitDirectory): Ditto.
8794 (initializeWebKit): Call SetDllDirectory first, then load all of
8795 WebKit's dependencies manually, finally followed by WebKit itself.
8796 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
8797 configuration to match our other projects.
8798 * WebKitInitializer/debug_internal.vsprops: Added.
8800 2007-09-25 Adam Roben <aroben@apple.com>
8802 Actually define DEBUG/NDEBUG so that we load WebKit correctly
8804 Rubberstamped by Sam.
8806 * WebKitInitializer/WebKitInitializer.vcproj:
8808 2007-09-25 Adam Roben <aroben@apple.com>
8810 Make DumpRenderTree delay-load its dependencies
8812 This lets WebKitInitializer re-route the dependencies to be loaded out
8813 of the Safari installation directory.
8815 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
8816 same thing), since we can't import the kCFAllocatorDefault symbol when
8817 delay-loading CoreFoundation.dll.
8819 Rubberstamped by Sam.
8821 * DumpRenderTree/win/DumpRenderTree.cpp:
8823 (javaScriptThreads):
8824 * DumpRenderTree/win/DumpRenderTree.vcproj:
8825 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8826 (LayoutTestController::setWaitToDump):
8828 2007-09-25 Adam Roben <aroben@apple.com>
8830 Pull ole32.lib into WebKitInitializer
8832 Rubberstamped by Sam.
8834 * WebKitInitializer/WebKitInitializer.vcproj:
8836 2007-09-25 David Kilzer <ddkilzer@webkit.org>
8840 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
8841 LGPL'ed files contain incorrect FSF address
8845 2007-09-25 David Kilzer <ddkilzer@webkit.org>
8849 Make svn-apply and svn-unapply work with git-diff formatted patches.
8851 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
8852 (gitdiff2svndiff): Added.
8853 * Scripts/svn-unapply: Ditto.
8854 (gitdiff2svndiff): Added.
8856 2007-09-25 Adam Roben <aroben@apple.com>
8858 Pull advapi32.lib into WebKitInitializer
8860 This is needed to get the registry functions we use.
8862 Rubberstamped by Sam.
8864 * WebKitInitializer/WebKitInitializer.vcproj:
8866 2007-09-25 Adam Roben <aroben@apple.com>
8868 Add python and rsync to cygwin-downloader
8870 Our build slaves need this, and it can't hurt for everyone else to
8875 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
8876 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
8878 2007-09-25 Adam Roben <aroben@apple.com>
8880 Add WebKitInitializer and use it in DumpRenderTree
8882 WebKitInitializer is a static library that has one function,
8883 initializeWebKit(). This registers WebKit and sets up the DLL search
8884 path so that WebKit's dependencies that are installed with Safari can
8889 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
8890 DumpRenderTree depend on it.
8891 * DumpRenderTree/win/DumpRenderTree.cpp:
8892 (initialize): Call initializeWebKit.
8893 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
8894 WebKitInitializer.lib.
8895 * WebKitInitializer/WebKitInitializer.cpp: Added.
8898 (getInstalledWebKitDirectory):
8900 * WebKitInitializer/WebKitInitializer.h: Added.
8901 * WebKitInitializer/WebKitInitializer.vcproj: Added.
8902 * WebKitInitializer/debug.vsprops: Added.
8903 * WebKitInitializer/release.vsprops: Added.
8905 2007-09-25 Adam Roben <aroben@apple.com>
8907 Make run-webkit-tests respect set-webkit-configuration
8911 * Scripts/run-webkit-tests: Initialize $configuration to whatever
8912 set-webkit-configuration was last set to.
8914 2007-09-25 Mark Rowe <mrowe@apple.com>
8916 Rubber-stamped by Eric.
8918 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
8919 This makes it possible to automate nightly builds for the feature-branch.
8921 2007-09-25 Adam Roben <aroben@apple.com>
8923 A couple of fixes/enhancements to update-webkit-*-libs
8925 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
8926 to tell update-webkit-support-libraries where it should find the
8927 WebKitSupportLibrary.zip file you downloaded.
8929 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
8934 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
8935 to $auxiliaryLibsURL and removed an irrelevant comment.
8936 * Scripts/update-webkit-support-libs:
8938 2007-09-25 Adam Treat <treat@kde.org>
8940 Reviewed by Simon and Lars.
8942 Refactors and cleans up Qt DRT member variable names, member variable
8943 initialization, style fixes and general code cleanup.
8945 Adds queueReload slot to LayoutTestController that some tests require.
8947 Subclasses QWebFrame to make sure that all frames have an associated
8948 LayoutTestController JS window object.
8950 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
8951 aren't dumped twice.
8955 Together, this patch fixes some 20+ layout tests in QtWebKit.
8957 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
8958 (WebCore::WebFrame::WebFrame):
8959 (WebCore::WebPage::WebPage):
8960 (WebCore::WebPage::createFrame):
8961 (WebCore::DumpRenderTree::DumpRenderTree):
8962 (WebCore::DumpRenderTree::open):
8963 (WebCore::DumpRenderTree::readStdin):
8964 (WebCore::DumpRenderTree::initJSObjects):
8965 (WebCore::DumpRenderTree::dump):
8966 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
8967 (WebCore::DumpRenderTree::layoutTestController):
8968 (WebCore::DumpRenderTree::eventSender):
8969 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
8970 (LayoutTestController::LayoutTestController):
8971 (LayoutTestController::reset):
8972 (LayoutTestController::maybeDump):
8973 (LayoutTestController::waitUntilDone):
8974 (LayoutTestController::notifyDone):
8975 (LayoutTestController::queueReload):
8976 (LayoutTestController::provisionalLoad):
8977 (EventSender::EventSender):
8978 (EventSender::mouseDown):
8979 (EventSender::mouseUp):
8980 (EventSender::mouseMoveTo):
8981 (EventSender::frameUnderMouse):
8982 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
8983 (LayoutTestController::isLoading):
8984 (LayoutTestController::setLoading):
8985 (LayoutTestController::dumpAsText):
8986 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
8989 2007-09-24 Kevin McCullough <kmccullough@apple.com>
8992 - Reverted an accidentally checked in file.
8994 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
8996 2007-09-24 Kevin McCullough <kmccullough@apple.com>
8999 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
9001 * DumpRenderTree/win/DumpRenderTree.vcproj:
9002 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
9004 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
9006 Rubber stamped by Adam.
9008 * GdkLauncher: Removed.
9009 * GdkLauncher/Bakefiles.bkgen: Removed.
9010 * GdkLauncher/ENV: Removed.
9011 * GdkLauncher/GdkLauncher.pro: Removed.
9012 * GdkLauncher/gdklauncher.bkl: Removed.
9013 * GdkLauncher/main.cpp: Removed.
9014 * GdkLauncher/mk: Removed.
9015 * GdkLauncher/simple.svg: Removed.
9016 * GdkLauncher/text.html: Removed.
9017 * GtkLauncher: Added.
9018 * GtkLauncher/GdkLauncher.pro: Removed.
9019 * GtkLauncher/GtkLauncher.pro: Added.
9020 * GtkLauncher/main.cpp:
9021 (updateWindowTitle):
9023 * Scripts/build-webkit:
9024 * Scripts/regenerate-makefiles:
9025 * Scripts/run-javascriptcore-tests:
9026 * Scripts/run-launcher:
9027 * Scripts/run-webkit-tests:
9028 * Scripts/webkitdirs.pm:
9030 2007-09-21 Timothy Hatcher <timothy@apple.com>
9032 Reviewed by Darin Adler.
9034 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
9036 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
9037 This is tested by plugins/root-object-premature-delete-crash.html.
9039 * DumpRenderTree/mac/ObjCController.m:
9040 (-[ObjCController accessStoredWebScriptObject]):
9042 2007-09-21 Kevin McCullough <kmccullough@apple.com>
9046 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
9048 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
9049 (FrameLoadDelegate::FrameLoadDelegate):
9051 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
9055 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
9056 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
9058 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
9059 Now isQt() and isGdk() use global variables that are only set once.
9061 An array of all the parameters is now given to build-dumprender which includes
9062 the platform on linux.
9064 * Scripts/build-dumprendertree:
9065 * Scripts/run-webkit-tests:
9066 * Scripts/webkitdirs.pm:
9068 2007-09-19 Adam Roben <aroben@apple.com>
9070 Rubberstamped by Hyatt.
9072 * Spinneret: Removed.
9074 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
9076 Reviewed by David Kilzer.
9078 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
9080 2007-09-18 Sam Weinig <sam@webkit.org>
9082 Add JSRetainPtr.h #include to fix some builds.
9084 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9086 2007-09-18 Mike Hommey <glandium@debian.org>
9090 * Scripts/prepare-ChangeLog:
9091 - Properly parse GECOS field.
9092 - Use git configuration for user name and email when appropriate.
9094 2007-09-17 Sam Weinig <sam@webkit.org>
9098 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9100 2007-09-17 Sam Weinig <sam@webkit.org>
9102 Reviewed by Adam Roben.
9104 Share more code between mac and windows DRT.
9105 - GCController is now shared.
9106 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
9108 * DumpRenderTree/GCController.cpp:
9109 * DumpRenderTree/win/DumpRenderTree.cpp:
9110 * DumpRenderTree/win/DumpRenderTree.vcproj:
9111 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
9112 (FrameLoadDelegate::FrameLoadDelegate):
9113 (FrameLoadDelegate::~FrameLoadDelegate):
9114 (FrameLoadDelegate::windowScriptObjectAvailable):
9115 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
9116 * DumpRenderTree/win/GCController.cpp: Removed.
9117 * DumpRenderTree/win/GCController.h: Removed.
9118 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
9119 (GCController::collect):
9120 (GCController::collectOnAlternateThread):
9121 (GCController::getJSObjectCount):
9122 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
9123 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
9125 2007-09-17 Sam Weinig <sam@webkit.org>
9127 Reviewed by Adam Roben.
9129 Begin sharing code between mac and windows DRT.
9130 - both now share LayoutTestController.h/cpp and implement platform dependant
9131 operations in LayoutTestControllerMac/Win.
9132 - DumpRenderTree.h is now shared.
9133 - WorkQueue and WorkQueueItem are also shared.
9135 * DumpRenderTree/DumpRenderTree.h:
9136 * DumpRenderTree/LayoutTestController.cpp:
9137 * DumpRenderTree/win/DumpRenderTree.cpp:
9139 (dumpFrameScrollPosition):
9143 * DumpRenderTree/win/DumpRenderTree.h: Removed.
9144 * DumpRenderTree/win/DumpRenderTree.vcproj:
9145 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
9146 * DumpRenderTree/win/EditingDelegate.cpp:
9147 (EditingDelegate::shouldBeginEditingInDOMRange):
9148 (EditingDelegate::shouldEndEditingInDOMRange):
9149 (EditingDelegate::shouldInsertNode):
9150 (EditingDelegate::shouldInsertText):
9151 (EditingDelegate::shouldDeleteDOMRange):
9152 (EditingDelegate::shouldChangeSelectedDOMRange):
9153 (EditingDelegate::shouldApplyStyle):
9154 (EditingDelegate::shouldChangeTypingStyle):
9155 (EditingDelegate::doPlatformCommand):
9156 (EditingDelegate::webViewDidBeginEditing):
9157 (EditingDelegate::webViewDidChange):
9158 (EditingDelegate::webViewDidEndEditing):
9159 (EditingDelegate::webViewDidChangeTypingStyle):
9160 (EditingDelegate::webViewDidChangeSelection):
9161 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
9162 * DumpRenderTree/win/LayoutTestController.h: Removed.
9163 * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
9164 (LayoutTestController::addDisallowedURL):
9165 (LayoutTestController::clearBackForwardList):
9166 (LayoutTestController::copyDecodedHostName):
9167 (LayoutTestController::copyEncodedHostName):
9168 (LayoutTestController::display):
9169 (LayoutTestController::keepWebHistory):
9170 (LayoutTestController::notifyDone):
9171 (LayoutTestController::queueBackNavigation):
9172 (LayoutTestController::queueForwardNavigation):
9173 (jsStringRefToWString):
9174 (LayoutTestController::queueLoad):
9175 (LayoutTestController::queueReload):
9176 (LayoutTestController::queueScript):
9177 (LayoutTestController::setAcceptsEditing):
9178 (LayoutTestController::setCustomPolicyDelegate):
9179 (LayoutTestController::setMainFrameIsFirstResponder):
9180 (LayoutTestController::setTabKeyCyclesThroughElements):
9181 (LayoutTestController::setUseDashboardCompatibilityMode):
9182 (LayoutTestController::setUserStyleSheetEnabled):
9183 (LayoutTestController::setUserStyleSheetLocation):
9184 (LayoutTestController::setWindowIsKey):
9185 (waitUntilDoneWatchdogFired):
9186 (LayoutTestController::setWaitToDump):
9187 (LayoutTestController::windowCount):
9188 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
9189 (FrameLoadDelegate::didReceiveTitle):
9190 (FrameLoadDelegate::processWork):
9191 (FrameLoadDelegate::locationChangeDone):
9192 (FrameLoadDelegate::windowScriptObjectAvailable):
9193 * DumpRenderTree/win/WorkQueue.cpp: Removed.
9194 * DumpRenderTree/win/WorkQueue.h: Removed.
9195 * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
9196 * DumpRenderTree/win/WorkQueueItem.h: Removed.
9197 * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
9198 (jsStringRefToWString):
9200 (ScriptItem::invoke):
9202 2007-09-17 Sam Weinig <sam@webkit.org>
9204 Reviewed by Adam Roben.
9206 - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
9208 * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
9209 * DumpRenderTree/DumpRenderTree.vcproj: Removed.
9210 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
9211 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
9212 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
9213 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
9214 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
9215 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
9216 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
9217 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
9218 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
9219 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
9220 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
9221 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
9222 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
9223 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
9224 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
9225 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
9226 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
9227 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
9228 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
9229 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
9230 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
9231 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
9232 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
9233 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
9234 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
9235 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
9236 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
9237 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
9238 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
9239 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
9240 * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
9241 * DumpRenderTree/win: Added.
9242 * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
9243 * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
9244 * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
9245 * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
9246 * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
9247 * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
9248 * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
9249 * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
9250 * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
9251 * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
9252 * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
9253 * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
9254 * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
9255 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
9256 * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
9257 * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
9258 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
9259 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
9260 * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
9261 * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
9262 * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
9263 * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
9264 * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
9265 * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
9266 * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
9267 * Scripts/run-webkit-tests: Update to point to the new location of the sln.
9269 2007-09-15 Mark Rowe <mrowe@apple.com>
9271 Build fix for DumpRenderTree.
9273 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
9275 2007-09-14 Sam Weinig <sam@webkit.org>
9277 Rubber stamped by Adam Roben.
9279 Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
9280 - The UIDelegate was put into a new file while the FrameLoadDelegate was
9281 kept in the WaitUntilDoneDelegate file for the time being.
9283 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
9285 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
9286 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
9287 (UIDelegate::QueryInterface):
9288 (UIDelegate::AddRef):
9289 (UIDelegate::Release):
9290 (UIDelegate::hasCustomMenuImplementation):
9291 (UIDelegate::setFrame):
9292 (UIDelegate::webViewFrame):
9293 (UIDelegate::runJavaScriptAlertPanelWithMessage):
9294 (UIDelegate::webViewAddMessageToConsole):
9295 (UIDelegate::doDragDrop):
9296 (UIDelegate::webViewGetDlgCode):
9297 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
9298 (UIDelegate::UIDelegate):
9299 (UIDelegate::createWebViewWithRequest):
9300 (UIDelegate::webViewShow):
9301 (UIDelegate::webViewClose):
9302 (UIDelegate::webViewFocus):
9303 (UIDelegate::webViewUnfocus):
9304 (UIDelegate::webViewFirstResponder):
9305 (UIDelegate::makeFirstResponder):
9306 (UIDelegate::setStatusText):
9307 (UIDelegate::webViewStatusText):
9308 (UIDelegate::webViewAreToolbarsVisible):
9309 (UIDelegate::setToolbarsVisible):
9310 (UIDelegate::webViewIsStatusBarVisible):
9311 (UIDelegate::setStatusBarVisible):
9312 (UIDelegate::webViewIsResizable):
9313 (UIDelegate::setResizable):
9314 (UIDelegate::setContentRect):
9315 (UIDelegate::webViewContentRect):
9316 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
9317 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
9318 (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
9319 (UIDelegate::runOpenPanelForFileButtonWithResultListener):
9320 (UIDelegate::mouseDidMoveOverElement):
9321 (UIDelegate::contextMenuItemsForElement):
9322 (UIDelegate::validateUserInterfaceItem):
9323 (UIDelegate::shouldPerformAction):
9324 (UIDelegate::dragDestinationActionMaskForDraggingInfo):
9325 (UIDelegate::willPerformDragDestinationAction):
9326 (UIDelegate::dragSourceActionMaskForPoint):
9327 (UIDelegate::willPerformDragSourceAction):
9328 (UIDelegate::contextMenuItemSelected):
9329 (UIDelegate::trackCustomPopupMenu):
9330 (UIDelegate::measureCustomMenuItem):
9331 (UIDelegate::drawCustomMenuItem):
9332 (UIDelegate::addCustomMenuDrawingData):
9333 (UIDelegate::cleanUpCustomMenuDrawingData):
9334 (UIDelegate::canTakeFocus):
9335 (UIDelegate::takeFocus):
9336 (UIDelegate::registerUndoWithTarget):
9337 (UIDelegate::removeAllActionsWithTarget):
9338 (UIDelegate::setActionTitle):
9341 (UIDelegate::canUndo):
9342 (UIDelegate::canRedo):
9343 (UIDelegate::webViewResizerRect):
9344 (UIDelegate::webViewDrawResizer):
9345 (UIDelegate::webViewScrolled):
9346 (UIDelegate::webViewShouldInterruptJavaScript):
9347 (UIDelegate::webViewReceivedFocus):
9348 (UIDelegate::webViewLostFocus):
9349 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
9350 (FrameLoadDelegate::QueryInterface):
9351 (FrameLoadDelegate::AddRef):
9352 (FrameLoadDelegate::Release):
9353 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
9354 (FrameLoadDelegate::didCommitLoadForFrame):
9355 (FrameLoadDelegate::didReceiveTitle):
9356 (FrameLoadDelegate::processWork):
9358 (FrameLoadDelegate::locationChangeDone):
9359 (FrameLoadDelegate::didFinishLoadForFrame):
9360 (FrameLoadDelegate::didFailLoadWithError):
9361 (FrameLoadDelegate::windowScriptObjectAvailable):
9362 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
9363 (FrameLoadDelegate::FrameLoadDelegate):
9365 2007-09-14 Sam Weinig <sam@webkit.org>
9367 Reviewed by Kevin McCullough.
9369 Move mac specific globals in to mac/DumpRenderTreeMac.h
9371 * DumpRenderTree/DumpRenderTree.h:
9372 * DumpRenderTree/DumpRenderTree.mm: Removed.
9373 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9374 * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
9375 * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
9377 2007-09-14 Brady Eidson <beidson@apple.com>
9379 Rubberstamped by Weinig
9381 You know, Sam, some of us use case-sensitve filesystems...
9383 * DumpRenderTree/DumpRenderTree.h:
9384 * DumpRenderTree/mac/UIDelegate.mm:
9386 2007-09-14 Sam Weinig <sam@webkit.org>
9388 Rubber stamped by Adam Roben.
9390 - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
9391 - Move mac specific DumpRenderTree files to DumpRenderTree/mac
9393 * DumpRenderTree/AppleScriptController.h: Removed.
9394 * DumpRenderTree/AppleScriptController.m: Removed.
9395 * DumpRenderTree/DumpRenderTree.h:
9396 * DumpRenderTree/DumpRenderTree.mm:
9397 (startJavaScriptThreads):
9398 (stopJavaScriptThreads):
9400 (setDefaultColorProfileToRGB):
9401 (makeLargeMallocFailSilently):
9402 (dumpFrameScrollPosition):
9406 (-[DumpRenderTreeWindow isKeyWindow]):
9407 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9408 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
9409 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
9410 * DumpRenderTree/EditingDelegate.h: Removed.
9411 * DumpRenderTree/EditingDelegate.m: Removed.
9412 * DumpRenderTree/EventSendingController.h: Removed.
9413 * DumpRenderTree/EventSendingController.m: Removed.
9414 * DumpRenderTree/FrameLoadDelegate.h: Removed.
9415 * DumpRenderTree/FrameLoadDelegate.mm: Removed.
9416 * DumpRenderTree/GCController.mm: Removed.
9417 * DumpRenderTree/ImageDiff.m: Removed.
9418 * DumpRenderTree/LayoutTestController.cpp:
9419 (LayoutTestController::LayoutTestController):
9420 (dumpAsTextCallback):
9421 (dumpBackForwardListCallback):
9422 (dumpChildFramesAsTextCallback):
9423 (dumpChildFrameScrollPositionsCallback):
9424 (dumpDOMAsWebArchiveCallback):
9425 (dumpEditingCallbacksCallback):
9426 (dumpFrameLoadCallbacksCallback):
9427 (dumpResourceLoadCallbacksCallback):
9428 (dumpSelectionRectCallback):
9429 (dumpSourceAsWebArchiveCallback):
9430 (dumpTitleChangesCallback):
9431 (repaintSweepHorizontallyCallback):
9432 (setCallCloseOnWebViewsCallback):
9433 (setCanOpenWindowsCallback):
9434 (setCloseRemainingWindowsWhenCompleteCallback):
9435 (testRepaintCallback):
9436 (addFileToPasteboardOnDragCallback):
9437 (waitUntilDoneCallback):
9438 * DumpRenderTree/LayoutTestController.h:
9439 (LayoutTestController::dumpAsText):
9440 (LayoutTestController::setDumpAsText):
9441 (LayoutTestController::dumpBackForwardList):
9442 (LayoutTestController::setDumpBackForwardList):
9443 (LayoutTestController::dumpChildFrameScrollPositions):
9444 (LayoutTestController::setDumpChildFrameScrollPositions):
9445 (LayoutTestController::dumpChildFramesAsText):
9446 (LayoutTestController::setDumpChildFramesAsText):
9447 (LayoutTestController::dumpDOMAsWebArchive):
9448 (LayoutTestController::setDumpDOMAsWebArchive):
9449 (LayoutTestController::dumpSelectionRect):
9450 (LayoutTestController::setDumpSelectionRect):
9451 (LayoutTestController::dumpSourceAsWebArchive):
9452 (LayoutTestController::setDumpSourceAsWebArchive):
9453 (LayoutTestController::dumpTitleChanges):
9454 (LayoutTestController::setDumpTitleChanges):
9455 (LayoutTestController::dumpEditingCallbacks):
9456 (LayoutTestController::setDumpEditingCallbacks):
9457 (LayoutTestController::dumpResourceLoadCallbacks):
9458 (LayoutTestController::setDumpResourceLoadCallbacks):
9459 (LayoutTestController::dumpFrameLoadCallbacks):
9460 (LayoutTestController::setDumpFrameLoadCallbacks):
9461 (LayoutTestController::addFileToPasteboardOnDrag):
9462 (LayoutTestController::setAddFileToPasteboardOnDrag):
9463 (LayoutTestController::callCloseOnWebViews):
9464 (LayoutTestController::setCallCloseOnWebViews):
9465 (LayoutTestController::canOpenWindows):
9466 (LayoutTestController::setCanOpenWindows):
9467 (LayoutTestController::closeRemainingWindowsWhenComplete):
9468 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
9469 (LayoutTestController::testRepaint):
9470 (LayoutTestController::setTestRepaint):
9471 (LayoutTestController::testRepaintSweepHorizontally):
9472 (LayoutTestController::setTestRepaintSweepHorizontally):
9473 (LayoutTestController::waitToDump):
9474 (LayoutTestController::windowIsKey):
9475 * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
9476 * DumpRenderTree/NavigationController.h: Removed.
9477 * DumpRenderTree/NavigationController.m: Removed.
9478 * DumpRenderTree/ObjCController.h: Removed.
9479 * DumpRenderTree/ObjCController.m: Removed.
9480 * DumpRenderTree/ObjCPlugin.h: Removed.
9481 * DumpRenderTree/ObjCPlugin.m: Removed.
9482 * DumpRenderTree/ObjCPluginFunction.h: Removed.
9483 * DumpRenderTree/ObjCPluginFunction.m: Removed.
9484 * DumpRenderTree/PolicyDelegate.h: Removed.
9485 * DumpRenderTree/PolicyDelegate.m: Removed.
9486 * DumpRenderTree/ResourceLoadDelegate.h: Removed.
9487 * DumpRenderTree/ResourceLoadDelegate.m: Removed.
9488 * DumpRenderTree/TextInputController.h: Removed.
9489 * DumpRenderTree/TextInputController.m: Removed.
9490 * DumpRenderTree/UIDelegate.h: Removed.
9491 * DumpRenderTree/UIDelegate.mm: Removed.
9492 * DumpRenderTree/WorkQueueItemMac.mm: Removed.
9493 * DumpRenderTree/mac: Added.
9494 * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
9495 * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
9496 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
9497 * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
9498 * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
9499 * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
9500 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
9501 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
9502 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
9503 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
9504 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
9505 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
9506 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
9507 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
9508 (-[EditingDelegate webViewDidBeginEditing:]):
9509 (-[EditingDelegate webViewDidChange:]):
9510 (-[EditingDelegate webViewDidEndEditing:]):
9511 (-[EditingDelegate webViewDidChangeTypingStyle:]):
9512 (-[EditingDelegate webViewDidChangeSelection:]):
9513 * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
9514 * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
9515 * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
9516 * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
9517 (-[FrameLoadDelegate init]):
9518 (-[FrameLoadDelegate dealloc]):
9519 (-[FrameLoadDelegate processWork:]):
9520 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
9521 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
9522 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
9523 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
9524 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
9525 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
9526 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
9527 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
9528 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
9529 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
9530 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
9531 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
9532 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
9533 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
9534 (-[FrameLoadDelegate webView:willCloseFrame:]):
9535 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
9536 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
9537 * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
9538 * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
9539 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
9540 (LayoutTestController::notifyDone):
9541 (LayoutTestController::setWindowIsKey):
9542 (LayoutTestController::setWaitToDump):
9543 * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
9544 * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
9545 * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
9546 * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
9547 * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
9548 * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
9549 * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
9550 * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
9551 * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
9552 * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
9553 * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
9554 * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
9555 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
9556 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
9557 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
9558 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
9559 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
9560 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
9561 * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
9562 * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
9563 * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
9564 * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
9565 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
9566 (-[UIDelegate webViewFocus:]):
9567 (-[UIDelegate webView:createWebViewWithRequest:]):
9568 (-[UIDelegate webViewClose:]):
9569 * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
9571 2007-09-14 Kevin McCullough <kmccullough@apple.com>
9575 - Changing Win version of Drosera work with recent changes.
9577 * Drosera/DebuggerDocument.cpp:
9578 * Drosera/DebuggerDocument.h:
9579 * Drosera/mac/DebuggerDocumentPlatform.mm:
9580 (NSStringCreateWithJSStringRef):
9581 (JSValueRefCreateWithNSString):
9582 * Drosera/win/DebuggerClient.cpp:
9583 (DebuggerClient::stepInto):
9584 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
9586 2007-09-13 Kevin McCullough <kmccullough@apple.com>
9590 - Moved isPaused into the JS for efficiency and simplicity.
9592 * Drosera/DebuggerDocument.cpp:
9593 (DebuggerDocument::DebuggerDocument):
9594 (DebuggerDocument::pauseCallback):
9595 (DebuggerDocument::resumeCallback):
9596 (DebuggerDocument::isPaused):
9597 (DebuggerDocument::staticFunctions):
9598 * Drosera/DebuggerDocument.h:
9599 * Drosera/console.js:
9600 * Drosera/debugger.js:
9601 * Drosera/mac/DebuggerClient.mm:
9602 (-[DebuggerClient validateUserInterfaceItem:]):
9604 2007-09-13 Sam Weinig <sam@webkit.org>
9606 Rubber stamped by Darin Adler.
9608 Make DumpRenderTree more cross platform ready.
9609 - Convert GCController to use the JSCore API instead of the WebScriptObject.
9610 - Use CF types instead of NS objects.
9613 * DumpRenderTree/DumpRenderTree.h:
9614 * DumpRenderTree/DumpRenderTree.mm:
9618 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9619 * DumpRenderTree/EditingDelegate.m:
9620 * DumpRenderTree/FrameLoadDelegate.h:
9621 * DumpRenderTree/FrameLoadDelegate.mm:
9622 (-[FrameLoadDelegate init]):
9623 (-[FrameLoadDelegate dealloc]):
9624 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
9625 * DumpRenderTree/GCController.cpp: Added.
9626 (GCController::GCController):
9627 (GCController::~GCController):
9629 (collectOnAlternateThreadCallback):
9630 (getJSObjectCountCallback):
9631 (GCController::makeWindowObject):
9632 (GCController::getJSClass):
9633 (GCController::staticFunctions):
9634 * DumpRenderTree/GCController.h:
9635 * DumpRenderTree/GCController.mm:
9636 (GCController::collect):
9637 (GCController::collectOnAlternateThread):
9638 (GCController::getJSObjectCount):
9639 * DumpRenderTree/LayoutTestController.cpp:
9640 (LayoutTestController::makeWindowObject):
9641 (LayoutTestController::getJSClass):
9642 * DumpRenderTree/LayoutTestController.h:
9643 * DumpRenderTree/LayoutTestControllerMac.mm:
9644 (LayoutTestController::addDisallowedURL):
9645 (waitUntilDoneWatchdogFired):
9646 (LayoutTestController::waitUntilDone):
9647 * DumpRenderTree/ResourceLoadDelegate.m:
9648 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
9650 2007-09-12 Sam Weinig <sam@webkit.org>
9652 Reviewed by Stephanie.
9654 Fix leaks in mac DumpRenderTree.
9656 * DumpRenderTree/FrameLoadDelegate.mm:
9657 (-[FrameLoadDelegate init]): Initalize in the correct order.
9658 (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
9659 * DumpRenderTree/LayoutTestController.cpp:
9660 (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
9661 (encodeHostNameCallback): ditto.
9662 * DumpRenderTree/LayoutTestController.h:
9663 * DumpRenderTree/LayoutTestControllerMac.mm:
9664 (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
9665 (LayoutTestController::copyEncodedHostName): ditto
9666 (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
9668 2007-09-12 Kevin McCullough <kmccullough@apple.com>
9672 - 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.
9674 * Scripts/run-webkit-tests:
9676 2007-09-12 Kevin McCullough <kmccullough@apple.com>
9678 Reviewed by Darin Adler.
9680 - Simplified code paths and extracted out functions to increase encapsulation.
9682 * Drosera/DebuggerDocument.cpp:
9683 (DebuggerDocument::breakpointEditorHTMLCallback):
9684 (DebuggerDocument::isPausedCallback):
9685 (DebuggerDocument::pauseCallback):
9686 (DebuggerDocument::resumeCallback):
9687 (DebuggerDocument::stepIntoCallback):
9688 (DebuggerDocument::evaluateScriptCallback):
9689 (DebuggerDocument::currentFunctionStackCallback):
9690 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
9691 (DebuggerDocument::valueForScopeVariableNamedCallback):
9692 (DebuggerDocument::logCallback):
9693 * Drosera/DebuggerDocument.h:
9694 (DebuggerDocument::getPaused):
9695 * Drosera/mac/DebuggerClient.mm:
9696 (-[DebuggerClient pause:]):
9697 (-[DebuggerClient resume:]):
9698 (-[DebuggerClient stepInto:]):
9699 (-[DebuggerClient stepOver:]):
9700 (-[DebuggerClient stepOut:]):
9701 (-[DebuggerClient showConsole:]):
9702 (-[DebuggerClient closeCurrentFile:]):
9703 (-[DebuggerClient validateUserInterfaceItem:]):
9704 * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
9705 (+[NSString stringOrNilFromWebScriptResult:]):
9706 (DebuggerDocument::platformPause):
9707 (DebuggerDocument::platformResume):
9708 (DebuggerDocument::platformStepInto):
9709 (DebuggerDocument::platformEvaluateScript):
9710 (DebuggerDocument::getPlatformCurrentFunctionStack):
9711 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
9712 (DebuggerDocument::platformValueForScopeVariableNamed):
9713 (DebuggerDocument::platformLog):
9714 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
9716 2007-09-12 Sam Weinig <sam@webkit.org>
9718 Build fix for Buildbot.
9720 * DumpRenderTree/DumpRenderTree.mm:
9723 2007-09-12 Kevin McCullough <kmccullough@apple.com>
9727 - Updated the leaks list for leopard to help identify regressions.
9729 * Scripts/run-webkit-tests:
9731 2007-09-12 Sam Weinig <sam@webkit.org>
9733 Rubber stamped by Darin Adler.
9735 Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
9737 * DumpRenderTree/DumpRenderTree.h: Re-order variables.
9738 * DumpRenderTree/DumpRenderTree.m: Removed.
9739 * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
9740 (stopJavaScriptThreads): Fix initialization.
9741 (setDefaultColorProfileToRGB): Add explicit cast from void*.
9742 (dumpRenderTree): Ditto.
9744 Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
9746 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9747 * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
9748 * DumpRenderTree/FrameLoadDelegate.m: Removed.
9749 * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
9750 (-[FrameLoadDelegate init]):
9751 (-[FrameLoadDelegate dealloc]):
9752 (-[FrameLoadDelegate processWork:]):
9753 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
9754 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
9755 Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
9757 * DumpRenderTree/LayoutTestController.cpp: Added.
9758 (LayoutTestController::LayoutTestController):
9759 (LayoutTestController::~LayoutTestController):
9760 (dumpAsTextCallback):
9761 (dumpBackForwardListCallback):
9762 (dumpChildFramesAsTextCallback):
9763 (dumpChildFrameScrollPositionsCallback):
9764 (dumpDOMAsWebArchiveCallback):
9765 (dumpEditingCallbacksCallback):
9766 (dumpFrameLoadCallbacksCallback):
9767 (dumpResourceLoadCallbacksCallback):
9768 (dumpSelectionRectCallback):
9769 (dumpSourceAsWebArchiveCallback):
9770 (dumpTitleChangesCallback):
9771 (repaintSweepHorizontallyCallback):
9772 (setCallCloseOnWebViewsCallback):
9773 (setCanOpenWindowsCallback):
9774 (setCloseRemainingWindowsWhenCompleteCallback):
9775 (testRepaintCallback):
9776 (addFileToPasteboardOnDragCallback):
9777 (addDisallowedURLCallback):
9778 (clearBackForwardListCallback):
9779 (decodeHostNameCallback):
9781 (encodeHostNameCallback):
9782 (keepWebHistoryCallback):
9783 (notifyDoneCallback):
9784 (queueBackNavigationCallback):
9785 (queueForwardNavigationCallback):
9786 (queueLoadCallback):
9787 (queueReloadCallback):
9788 (queueScriptCallback):
9789 (setAcceptsEditingCallback):
9790 (setCustomPolicyDelegateCallback):
9791 (setMainFrameIsFirstResponderCallback):
9792 (setTabKeyCyclesThroughElementsCallback):
9793 (setUseDashboardCompatibilityModeCallback):
9794 (setUserStyleSheetEnabledCallback):
9795 (setUserStyleSheetLocationCallback):
9796 (setWindowIsKeyCallback):
9797 (waitUntilDoneCallback):
9798 (windowCountCallback):
9799 (LayoutTestController::makeWindowObject):
9800 (LayoutTestController::getLayoutTestControllerJSClass):
9801 (LayoutTestController::staticFunctions):
9802 * DumpRenderTree/LayoutTestController.h: Replaced.
9803 * DumpRenderTree/LayoutTestController.m: Removed.
9804 * DumpRenderTree/LayoutTestControllerMac.mm: Added.
9805 (LayoutTestController::dumpAsText):
9806 (LayoutTestController::dumpBackForwardList):
9807 (LayoutTestController::dumpChildFramesAsText):
9808 (LayoutTestController::dumpChildFrameScrollPositions):
9809 (LayoutTestController::dumpDOMAsWebArchive):
9810 (LayoutTestController::dumpEditingCallbacks):
9811 (LayoutTestController::dumpFrameLoadCallbacks):
9812 (LayoutTestController::dumpResourceLoadCallbacks):
9813 (LayoutTestController::dumpSelectionRect):
9814 (LayoutTestController::dumpSourceAsWebArchive):
9815 (LayoutTestController::dumpTitleChanges):
9816 (LayoutTestController::repaintSweepHorizontally):
9817 (LayoutTestController::setCallCloseOnWebViews):
9818 (LayoutTestController::setCanOpenWindows):
9819 (LayoutTestController::setCloseRemainingWindowsWhenComplete):
9820 (LayoutTestController::testRepaint):
9821 (LayoutTestController::addFileToPasteboardOnDrag):
9822 (LayoutTestController::addDisallowedURL):
9823 (LayoutTestController::clearBackForwardList):
9824 (LayoutTestController::decodeHostName):
9825 (LayoutTestController::encodeHostName):
9826 (LayoutTestController::display):
9827 (LayoutTestController::keepWebHistory):
9828 (LayoutTestController::notifyDone):
9829 (LayoutTestController::queueBackNavigation):
9830 (LayoutTestController::queueForwardNavigation):
9831 (LayoutTestController::queueLoad):
9832 (LayoutTestController::queueReload):
9833 (LayoutTestController::queueScript):
9834 (LayoutTestController::setAcceptsEditing):
9835 (LayoutTestController::setCustomPolicyDelegate):
9836 (LayoutTestController::setMainFrameIsFirstResponder):
9837 (LayoutTestController::setTabKeyCyclesThroughElements):
9838 (LayoutTestController::setUseDashboardCompatibilityMode):
9839 (LayoutTestController::setUserStyleSheetEnabled):
9840 (LayoutTestController::setUserStyleSheetLocation):
9841 (LayoutTestController::setWindowIsKey):
9842 (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
9843 (LayoutTestController::waitUntilDone):
9844 (LayoutTestController::windowCount):
9845 Use the JSCore API to implement the LayoutTestController.
9847 * DumpRenderTree/ObjCController.h:
9848 * DumpRenderTree/ObjCController.m:
9849 (+[ObjCController isSelectorExcludedFromWebScript:]):
9850 (+[ObjCController webScriptNameForSelector:]):
9851 (-[ObjCController accessStoredWebScriptObject]):
9852 (-[ObjCController storeWebScriptObject:]):
9853 (-[ObjCController dealloc]):
9854 (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
9855 Move WebScriptObject tests to ObjCController.
9857 * DumpRenderTree/UIDelegate.m: Removed.
9858 * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
9860 * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
9861 * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
9862 * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
9863 (WorkQueueItem::~WorkQueueItem):
9864 (LoadItem::LoadItem):
9867 (ScriptItem::ScriptItem):
9868 (ScriptItem::script):
9869 * DumpRenderTree/WorkQueueItemMac.mm: Added.
9871 (ReloadItem::invoke):
9872 (ScriptItem::invoke):
9873 (BackForwardItem::invoke):
9874 Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
9875 to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
9878 2007-09-11 Kevin McCullough <kmccullough@apple.com>
9882 - Updated Win side to take advantage of the platform separating changes.
9884 * Drosera/DebuggerDocument.cpp:
9885 (DebuggerDocument::localScopeVariableNamesForCallFrame):
9886 * Drosera/DebuggerDocument.h:
9887 * Drosera/win/DebuggerClient.cpp:
9888 (DebuggerClient::pause):
9889 (DebuggerClient::resume):
9890 (DebuggerClient::stepInto):
9891 (DebuggerDocument::platformPause):
9892 (DebuggerDocument::platformResume):
9893 (DebuggerDocument::platformStepInto):
9894 (DebuggerDocument::platformEvaluateScript):
9895 (DebuggerDocument::getPlatformCurrentFunctionStack):
9896 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
9897 (DebuggerDocument::platformValueForScopeVariableNamed):
9898 (DebuggerDocument::platformLog):
9899 * Drosera/win/DebuggerClient.h:
9900 * Drosera/win/Drosera.cpp:
9902 (Drosera::windowScriptObjectAvailable):
9903 (Drosera::initWithServerName):
9904 (Drosera::switchToServerNamed):
9905 * Drosera/win/Drosera.h:
9906 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
9908 2007-09-11 Kevin McCullough <kmccullough@apple.com>
9912 - Just doing the moves in a separate patch so the changes are easier to see.
9914 * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
9915 * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
9916 * Drosera/win/DebuggerDocumentWin.cpp: Removed.
9917 * Drosera/win/DebuggerDocumentWin.h: Removed.
9918 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
9920 2007-09-11 Sven Herzberg <sven@imendio.com>
9922 Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
9923 http://bugs.webkit.org/show_bug.cgi?id=15176
9925 * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
9926 $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
9927 other paths eg. from jhbuild)
9929 2007-09-10 Kevin McCullough <kmccullough@apple.com>
9933 - Made an order-of-deletion mistake.
9935 * Drosera/DebuggerDocument.h:
9936 * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
9937 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
9938 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
9939 * Drosera/mac/DebuggerClient.mm:
9940 (DebuggerDocument::platformPause):
9941 (DebuggerDocument::platformResume):
9942 (DebuggerDocument::platformStepInto):
9943 (DebuggerDocument::platformEvaluateScript):
9944 (DebuggerDocument::getPlatformCurrentFunctionStack):
9945 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
9946 (DebuggerDocument::platformValueForScopeVariableNamed):
9947 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
9949 2007-09-10 Kevin McCullough <kmccullough@apple.com>
9951 Reviewed by Darin Adler.
9953 - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
9955 * Drosera/DebuggerDocument.cpp:
9956 (DebuggerDocument::DebuggerDocument):
9957 * Drosera/DebuggerDocument.h:
9958 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
9959 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
9960 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
9961 * Drosera/mac/DebuggerApplication.mm:
9962 (-[DebuggerApplication attach:]):
9963 * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
9964 * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
9965 (DebuggerDocument::platformPause):
9966 (DebuggerDocument::platformResume):
9967 (DebuggerDocument::platformStepInto):
9968 (DebuggerDocument::platformEvaluateScript):
9969 (DebuggerDocument::getPlatformCurrentFunctionStack):
9970 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
9971 (DebuggerDocument::platformValueForScopeVariableNamed):
9972 (DebuggerDocument::platformLog):
9973 * Drosera/mac/DebuggerDocumentMac.h: Removed.
9974 * Drosera/mac/DebuggerDocumentMac.mm: Removed.
9975 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
9977 2007-09-09 Sam Weinig <sam@webkit.org>
9979 Reviewed by Mark Rowe.
9981 Remove 'objC' prefix from methods now in the ObjCController.
9983 * DumpRenderTree/ObjCController.m:
9984 (+[ObjCController isSelectorExcludedFromWebScript:]):
9985 (+[ObjCController webScriptNameForSelector:]):
9986 (-[ObjCController classNameOf:]):
9987 (-[ObjCController objectOfClass:]):
9988 (-[ObjCController identityIsEqual::]):
9989 (-[ObjCController longLongRoundTrip:]):
9990 (-[ObjCController unsignedLongLongRoundTrip:]):
9992 2007-09-09 Sam Weinig <sam@webkit.org>
9996 Initial refactor of DumpRenderTree in preparation of making it more platform independent.
9997 - Move LayoutTestController into its own file.
9998 - Move Objective-C only functions on LayoutTestController into a new controller called the
10001 * DumpRenderTree/DumpRenderTree.h:
10002 * DumpRenderTree/DumpRenderTree.m:
10004 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10005 * DumpRenderTree/FrameLoadDelegate.m:
10006 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
10007 * DumpRenderTree/LayoutTestController.h: Added.
10008 * DumpRenderTree/LayoutTestController.m: Added.
10009 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10010 (+[LayoutTestController webScriptNameForSelector:]):
10011 (-[LayoutTestController clearBackForwardList]):
10012 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
10013 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
10014 (-[LayoutTestController setCustomPolicyDelegate:]):
10015 (-[LayoutTestController keepWebHistory]):
10016 (-[LayoutTestController setCallCloseOnWebViews:]):
10017 (-[LayoutTestController setCanOpenWindows]):
10018 (-[LayoutTestController waitUntilDone]):
10019 (-[LayoutTestController waitUntilDoneWatchdogFired]):
10020 (-[LayoutTestController notifyDone]):
10021 (-[LayoutTestController dumpAsText]):
10022 (-[LayoutTestController addFileToPasteboardOnDrag]):
10023 (-[LayoutTestController addDisallowedURL:]):
10024 (-[LayoutTestController setUserStyleSheetLocation:]):
10025 (-[LayoutTestController setUserStyleSheetEnabled:]):
10026 (-[LayoutTestController dumpDOMAsWebArchive]):
10027 (-[LayoutTestController dumpSourceAsWebArchive]):
10028 (-[LayoutTestController dumpSelectionRect]):
10029 (-[LayoutTestController dumpTitleChanges]):
10030 (-[LayoutTestController dumpBackForwardList]):
10031 (-[LayoutTestController windowCount]):
10032 (-[LayoutTestController dumpChildFrameScrollPositions]):
10033 (-[LayoutTestController dumpChildFramesAsText]):
10034 (-[LayoutTestController dumpEditingCallbacks]):
10035 (-[LayoutTestController dumpResourceLoadCallbacks]):
10036 (-[LayoutTestController dumpFrameLoadCallbacks]):
10037 (-[LayoutTestController setWindowIsKey:]):
10038 (-[LayoutTestController setMainFrameIsFirstResponder:]):
10039 (-[LayoutTestController display]):
10040 (-[LayoutTestController testRepaint]):
10041 (-[LayoutTestController repaintSweepHorizontally]):
10042 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
10043 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
10044 (-[LayoutTestController _doLoad:target:]):
10045 (-[LayoutTestController _doBackOrForwardNavigation:]):
10046 (-[LayoutTestController queueBackNavigation:]):
10047 (-[LayoutTestController queueForwardNavigation:]):
10048 (-[LayoutTestController queueReload]):
10049 (-[LayoutTestController queueScript:]):
10050 (-[LayoutTestController queueLoad:target:]):
10051 (-[LayoutTestController setAcceptsEditing:]):
10052 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
10053 (-[LayoutTestController storeWebScriptObject:]):
10054 (-[LayoutTestController accessStoredWebScriptObject]):
10055 (-[LayoutTestController dealloc]):
10056 (-[LayoutTestController decodeHostName:]):
10057 (-[LayoutTestController encodeHostName:]):
10058 * DumpRenderTree/ObjCController.h: Added.
10059 * DumpRenderTree/ObjCController.m: Added.
10060 (+[ObjCController isSelectorExcludedFromWebScript:]):
10061 (+[ObjCController webScriptNameForSelector:]):
10062 (-[ObjCController objCClassNameOf:]):
10063 (-[ObjCController objCObjectOfClass:]):
10064 (-[ObjCController objCIdentityIsEqual::]):
10065 (-[ObjCController objCLongLongRoundTrip:]):
10066 (-[ObjCController objCUnsignedLongLongRoundTrip:]):
10067 (-[ObjCController testWrapperRoundTripping:]):
10069 2007-09-07 Sam Weinig <sam@webkit.org>
10073 Strip trailing and leading space/newline characters from skiplist file names.
10075 * Scripts/run-webkit-tests:
10077 2007-09-06 Kevin McCullough <kmccullough@apple.com>
10079 Reviewed by Maciej.
10081 - Changed Drosera to take advantage of the JSRetainPtr changes.
10083 * Drosera/DebuggerDocument.cpp:
10084 (DebuggerDocument::breakpointEditorHTML):
10085 (DebuggerDocument::evaluateScript):
10086 (DebuggerDocument::valueForScopeVariableNamed):
10087 (DebuggerDocument::log):
10088 (DebuggerDocument::windowScriptObjectAvailable):
10089 (DebuggerDocument::toJSArray):
10090 (DebuggerDocument::callFunctionOnObject):
10091 (DebuggerDocument::logException):
10092 * Drosera/mac/DebuggerDocumentMac.mm:
10093 (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
10094 (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
10095 (DebuggerDocument::platformEvaluateScript):
10096 (DebuggerDocument::getPlatformCurrentFunctionStack):
10097 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10098 (DebuggerDocument::platformValueForScopeVariableNamed):
10100 2007-09-05 Kevin McCullough <kmccullough@apple.com>
10102 Reviewed by Adam, Sam, Darin.
10104 - Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
10106 * Drosera/Debugger.h: Added.
10107 * Drosera/DebuggerDocument.cpp:
10108 (DebuggerDocument::breakpointEditorHTMLCallback):
10109 (DebuggerDocument::isPausedCallback):
10110 (DebuggerDocument::pauseCallback):
10111 (DebuggerDocument::resumeCallback):
10112 (DebuggerDocument::stepIntoCallback):
10113 (DebuggerDocument::evaluateScriptCallback):
10114 (DebuggerDocument::currentFunctionStackCallback):
10115 (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
10116 (DebuggerDocument::valueForScopeVariableNamedCallback):
10117 (DebuggerDocument::logCallback):
10118 (DebuggerDocument::breakpointEditorHTML):
10119 (DebuggerDocument::isPaused):
10120 (DebuggerDocument::pause):
10121 (DebuggerDocument::resume):
10122 (DebuggerDocument::stepInto):
10123 (DebuggerDocument::evaluateScript):
10124 (DebuggerDocument::currentFunctionStack):
10125 (DebuggerDocument::localScopeVariableNamesForCallFrame):
10126 (DebuggerDocument::valueForScopeVariableNamed):
10127 (DebuggerDocument::log):
10128 (DebuggerDocument::toolbarPause):
10129 (DebuggerDocument::toolbarResume):
10130 (DebuggerDocument::toolbarStepInto):
10131 (DebuggerDocument::toolbarStepOver):
10132 (DebuggerDocument::toolbarStepOut):
10133 (DebuggerDocument::toolbarShowConsole):
10134 (DebuggerDocument::toolbarCloseCurrentFile):
10135 (DebuggerDocument::updateFileSource):
10136 (DebuggerDocument::didParseScript):
10137 (DebuggerDocument::willExecuteStatement):
10138 (DebuggerDocument::didEnterCallFrame):
10139 (DebuggerDocument::willLeaveCallFrame):
10140 (DebuggerDocument::exceptionWasRaised):
10141 (DebuggerDocument::windowScriptObjectAvailable):
10142 (DebuggerDocument::toJSArray):
10143 (DebuggerDocument::callGlobalFunction):
10144 (DebuggerDocument::callFunctionOnObject):
10145 (DebuggerDocument::getDroseraJSClass):
10146 (DebuggerDocument::staticFunctions):
10147 (DebuggerDocument::logException):
10148 * Drosera/DebuggerDocument.h:
10149 (DebuggerDocument::DebuggerDocument):
10150 * Drosera/ForwardingHeaders: Added.
10151 * Drosera/ForwardingHeaders/wtf: Added.
10152 * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
10153 * Drosera/config.h:
10154 * Drosera/console.html:
10155 * Drosera/console.js:
10156 * Drosera/debugger.js:
10157 * Drosera/mac/DebuggerApplication.mm:
10158 (-[DebuggerApplication attach:]):
10159 * Drosera/mac/DebuggerDocumentMac.h:
10160 * Drosera/mac/DebuggerDocumentMac.mm:
10161 (+[NSString stringOrNilFromWebScriptResult:]):
10162 (+[DebuggerClientMac log:]):
10163 (-[DebuggerClientMac initWithServerName:]):
10164 (-[DebuggerClientMac dealloc]):
10165 (-[DebuggerClientMac pause]):
10166 (-[DebuggerClientMac resume]):
10167 (-[DebuggerClientMac pause:]):
10168 (-[DebuggerClientMac resume:]):
10169 (-[DebuggerClientMac stepInto:]):
10170 (-[DebuggerClientMac stepOver:]):
10171 (-[DebuggerClientMac stepOut:]):
10172 (-[DebuggerClientMac showConsole:]):
10173 (-[DebuggerClientMac closeCurrentFile:]):
10174 (-[DebuggerClientMac validateUserInterfaceItem:]):
10175 (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
10176 (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
10177 (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
10178 (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
10179 (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
10180 (DebuggerDocument::platformPause):
10181 (DebuggerDocument::platformResume):
10182 (DebuggerDocument::platformStepInto):
10183 (DebuggerDocument::platformEvaluateScript):
10184 (DebuggerDocument::platformCurrentFunctionStack):
10185 (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
10186 (DebuggerDocument::platformValueForScopeVariableNamed):
10187 (DebuggerDocument::platformLog):
10188 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
10190 2007-09-06 Sam Weinig <sam@webkit.org>
10192 Reviewed by Adam Roben.
10194 Register the WebKit DLL on initialization of the DumpRenderTree.
10196 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
10199 2007-09-05 Sam Weinig <sam@webkit.org>
10201 Reviewed by Oliver.
10203 Fix many layout test failures caused by r25364.
10204 Set text size to standand size at the begining of each test matching the mac.
10206 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
10209 2007-09-04 Sam Weinig <sam@webkit.org>
10213 Fix for <rdar://problem/5382277>
10214 Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
10216 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
10217 (textZoomInCallback):
10218 (textZoomOutCallback):
10220 2007-08-29 David Kilzer <ddkilzer@apple.com>
10224 Added case-insensitivity to checks for adding regression tests.
10226 * Scripts/prepare-ChangeLog:
10227 (generateFileList):
10229 2007-08-28 David Kilzer <ddkilzer@apple.com>
10231 Reviewed by Maciej.
10233 Ignore files in /resources/ subdirectories when creating a list of added tests.
10235 * Scripts/prepare-ChangeLog:
10236 (generateFileList):
10238 2007-08-27 Kevin McCullough <kmccullough@apple.com>
10242 - Removed Leopard leaks list since all of those radars were fixed.
10244 * Scripts/run-webkit-tests:
10246 2007-08-27 Adam Roben <aroben@apple.com>
10248 Rubberstamped by Mark.
10250 * Scripts/pdevenv: Pass arguments along to devenv.com.
10252 2007-08-26 David Kilzer <ddkilzer@webkit.org>
10254 Reviewed by Mark Rowe.
10256 Update prepare-ChangeLog to generate the datestamp in the correct timezone.
10258 * Scripts/prepare-ChangeLog:
10259 (changeLogDate): Added.
10261 2007-08-24 Sam Weinig <sam@webkit.org>
10263 Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
10265 2007-08-24 Sam Weinig <sam@webkit.org>
10267 Rubber-stamped by Adam Roben.
10269 <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
10271 Rename COM DOM bindings to use Deprecated prefix.
10273 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
10274 (dumpFramesAsText):
10276 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
10279 (EditingDelegate::shouldBeginEditingInDOMRange):
10280 (EditingDelegate::shouldEndEditingInDOMRange):
10281 (EditingDelegate::shouldInsertNode):
10282 (EditingDelegate::shouldInsertText):
10283 (EditingDelegate::shouldDeleteDOMRange):
10284 (EditingDelegate::shouldChangeSelectedDOMRange):
10285 (EditingDelegate::shouldApplyStyle):
10286 (EditingDelegate::shouldChangeTypingStyle):
10287 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
10289 2007-08-24 Oliver Hunt <oliver@apple.com>
10291 Reviewed by John H.
10293 WebDataSource::response can legitimately have a null response, so we
10294 must check that case.
10296 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
10297 (queueLoadCallback):
10299 2007-08-23 Mitz Pettel <mitz@webkit.org>
10301 Reviewed by Darin and Adam.
10303 - DumpRenderTree changes to allow testing for
10304 http://bugs.webkit.org/show_bug.cgi?id=11756
10305 REGRESSION: link targeting a frame in another window does not work
10306 <rdar://problem/5286420>
10308 Use a frame group name for all WebViews created by DumpRenderTree to
10309 allow testing of cross-page frame lookup.
10311 * DumpRenderTree/DumpRenderTree.m:
10312 (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
10313 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
10314 (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
10316 2007-08-23 David Kilzer <ddkilzer@webkit.org>
10320 Quote the $sslCertificate path in case it contains a space.
10322 * Scripts/run-webkit-httpd:
10323 * Scripts/run-webkit-tests:
10325 2007-08-22 Oliver Hunt <oliver@apple.com>
10327 Reviewed by John and Adam.
10329 WebDataSource::response can legitimately have a null response, so we
10330 must check that case.
10332 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
10335 2007-08-21 Kevin McCullough <kmccullough@apple.com>
10339 - Changing the usage to be more clear.
10341 * Scripts/run-testkjs:
10343 2007-08-20 John Sullivan <sullivan@apple.com>
10345 Reviewed by Adam Roben
10347 * DumpRenderTree/DumpRenderTree.m:
10349 call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
10350 in layout tests on Tiger and Leopard
10352 2007-08-20 Adam Roben <aroben@apple.com>
10354 Put LayoutTests after all other ChangeLogs in commit logs
10356 We use "~" to sort LayoutTests after all the other ChangeLogs because
10357 "~" is the last ASCII character (other than "DEL").
10361 * Scripts/commit-log-editor:
10363 2007-08-20 Adam Roben <aroben@apple.com>
10365 Detect that DRT crashed even if a crash dialog is running
10367 On Windows, when DRT crashes a crash dialog commonly appears. The DRT
10368 process is still running at this point, so run-webkit-tests wouldn't
10369 detect that DRT had crashed. We now record the crash in our SIGPIPE
10370 handler so that we know if DRT crashed even if the crash dialog is up.
10374 * Scripts/run-webkit-tests:
10375 (sub catch_pipe): Set the crashed bit.
10376 (sub openDumpTool): Reset the crashed bit.
10377 (sub dumpToolDidCrash): Check the crashed bit.
10379 2007-08-20 Adam Roben <aroben@apple.com>
10381 Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
10383 http://bugs.webkit.org/show_bug.cgi?id=15026
10385 Reviewed by David Kilzer and Darin Adler.
10387 * Scripts/prepare-ChangeLog:
10388 (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
10389 (sub isAddedStatus): Ditto.
10390 (sub testListForChangeLog): Added.
10392 2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
10396 -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
10398 * Scripts/webkitdirs.pm:
10399 qt and gtk ports now explicitly pass debug (or release) mode to qmake.
10401 2007-08-17 Darin Adler <darin@apple.com>
10403 Reviewed by Oliver Hunt.
10405 - don't look for Apple-style localizable strings in the GTK version of WebKit
10407 * Scripts/extract-localizable-strings: Add a feature where you can pass in the
10408 name of subdirectories to skip.
10409 * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
10412 2007-08-17 Anders Carlsson <andersca@apple.com>
10416 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
10419 2007-08-17 Anders Carlsson <andersca@apple.com>
10421 Reviewed by Dave Hyatt.
10423 <rdar://problem/5379040>
10424 REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
10426 Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
10428 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
10430 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
10431 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
10435 2007-08-16 Alice Liu <alice.liu@apple.com>
10437 Reviewed by Maciej.
10439 Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
10441 * DumpRenderTree/DumpRenderTree.m:
10443 Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
10445 Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
10447 2007-08-16 Kevin McCullough <kmccullough@apple.com>
10451 - 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.
10453 * Scripts/run-webkit-tests:
10455 2007-08-15 Timothy Hatcher <timothy@apple.com>
10457 Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
10458 The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
10460 Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
10461 this prevents making "build" directories in each project folder.
10463 * Scripts/webkitdirs.pm:
10465 2007-08-14 Geoffrey Garen <ggaren@apple.com>
10467 Reviewed by Kevin Mccullough.
10469 Removed special case that didn't belong. (It would allow a global
10470 initializer to sneak into production builds, which would cause a
10471 system-wide performance regression on Mac OS X.)
10473 * Scripts/check-for-global-initializers:
10475 2007-08-14 Justin Garcia <justin.garcia@apple.com>
10479 <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
10481 * DumpRenderTree/EditingDelegate.m:
10482 (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
10483 only for elements with the class needsDeletionUI.
10485 2007-08-14 David Kilzer <ddkilzer@webkit.org>
10487 Reviewed by Darin Adler.
10489 - fix http://bugs.webkit.org/show_bug.cgi?id=14965
10490 svn-create-patch uses deprecated tail switch
10492 * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
10494 2007-08-13 Sam Weinig <sam@webkit.org>
10496 Reviewed by Adam Roben.
10498 Use the cygwin specific Apache config file under cygwin.
10500 * Scripts/run-webkit-httpd:
10502 2007-08-12 Adam Roben <aroben@apple.com>
10504 Generate results for new tests in a more logical location
10506 New platform-specific tests always have their results generated right
10507 next to the test. New cross-platform tests will have their results
10508 generated a) in the cross-platform directory, if they are text-only,
10509 or b) in the least-specific platform directory, if they are render
10514 * Scripts/run-webkit-tests:
10516 2007-08-12 Adam Roben <aroben@apple.com>
10518 Print the actual directory where new results are generated.
10520 Before, we were printing an unpredictable, context-specific substring
10525 * Scripts/run-webkit-tests:
10527 2007-08-12 Adam Roben <aroben@apple.com>
10529 Factor some common code into a stripExtension() subroutine.
10533 * Scripts/run-webkit-tests: Also removed some debugging output.
10535 2007-08-11 Matt Lilek <pewtermoose@gmail.com>
10537 Reviewed over and over and over by Adam Roben.
10539 Bug 14740: Hierarchical layout tests and platform organization
10540 http://bugs.webkit.org/show_bug.cgi?id=14740
10542 Add support for platform-specific layout tests and results.
10544 * Scripts/run-webkit-tests:
10546 2007-08-11 David Kilzer <ddkilzer@webkit.org>
10550 Refactored svn-create-path to use a hash-of-hashes data structure to keep
10551 track of changed files. In the top level hash, keys are paths to files and
10552 values are 'fileData' hashes with the following keys and values:
10554 - isBinary: boolean value (set to true for non-text files like images, etc.)
10555 - isTestFile: boolean value (set to true if file exists within a known test
10557 - modificationType: string equal to one of 'addition', 'additionWithHistory',
10558 'modification' or 'deletion'
10559 - path: string equal to the path to the file (this may seem redundant, but it
10560 is required to use the second-level 'fileData' hash independent of the
10562 - sourceFile: [optional] string equal to the path of the original file that was
10564 - sourceRevision: [optional] string equal to the revision of the original file
10565 that was copied or moved
10567 * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
10568 that saves the return value in $result, then checks it before printing help.
10569 Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
10570 and eliminated two for() loops.
10571 (binarycmp): Added. Used with sort() to order non-binary files before binary
10573 (findBaseUrl): Added. Extracted from findSourceFileAndRevision().
10574 (findMimeType): Added optional second argument that takes a revision number.
10575 (generateDiff): Updated to take one fileData argument instead of three ($file,
10576 $modificationType, $isBinary).
10577 (generateFileList): Updated to take one hash ref argument (%diffFiles)
10578 instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
10579 %diffFiles using paths for keys and fileData hashes for values.
10580 (manufacturePatchForAdditionWithHistory): Updated to take one fileData
10582 (pathcmp): Updated to take two fileData arguments instead of two strings.
10583 (testfilecmp): Added. Used with sort() to order non-test files before test
10586 2007-08-11 Darin Adler <darin@apple.com>
10588 * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
10590 2007-08-06 Nigel Tao <nigeltao@gnome.org>
10592 Reviewed by David Kilzer.
10594 Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
10595 http://bugs.webkit.org/show_bug.cgi?id=14745
10597 * Scripts/run-launcher:
10598 Scrub the "--gdk" out of the command line args, if given, so that
10599 GdkLauncher doesn't try to interpret it as a URL.
10601 2007-08-03 Adam Roben <aroben@apple.com>
10603 Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
10607 * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
10609 2007-08-03 Sam Weinig <sam@webkit.org>
10611 Reviewed by Darin Adler.
10613 Recursively dump all frames as text using new
10614 layoutTestController.dumpChildFramesAsText() function.
10616 * DumpRenderTree/DumpRenderTree.m:
10617 (dumpFramesAsText):
10619 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10620 (-[LayoutTestController dumpChildFramesAsText]):
10622 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
10623 (dumpFramesAsText):
10626 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
10627 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
10628 (dumpChildFramesAsTextCallback):
10629 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10631 2007-08-02 Adam Roben <aroben@apple.com>
10633 Fix fast/dom/Window/alert-undefined.html
10637 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
10638 (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
10639 Windows translate a null BSTR into "(null)"
10641 2007-08-02 Kevin McCullough <kmccullough@apple.com>
10645 - It would help if I actually called the right function.
10647 * Drosera/DebuggerDocument.cpp:
10648 (DebuggerDocument::showConsole):
10650 2007-08-02 Adam Roben <aroben@apple.com>
10652 Don't delete the stderr file right after creating it
10654 * Scripts/run-webkit-tests:
10656 2007-08-01 Adam Roben <aroben@apple.com>
10658 When DRT crashes, record stderr and restart DRT
10660 This prevents a DRT crash from causing the next few hundred tests to
10661 "fail" because DRT is no longer running.
10663 I also changed the terminology that run-webkit-tests uses in its
10664 output a bit, so that crashing tests are referred to as "crashes"
10665 instead of "failures".
10669 * Scripts/run-webkit-tests: Detect a crash and record it as a tool
10671 (sub openDumpTool): Use open3 so that we can access stderr.
10672 (sub dumpToolCrashed): Added.
10673 (sub printFailureMessageForTest): Added.
10674 (sub htmlForExpectedAndActualResults): Added.
10675 (sub deleteExpectedAndActualResults): Added.
10676 (sub recordActualResultsAndDiff): Added.
10678 2007-07-30 Darin Adler <darin@apple.com>
10680 Reviewed by Tim Hatcher.
10682 * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
10683 characters. This turned out not to be needed for the test case that motivated me to
10684 do it, but it's nice to have this for the future.
10686 2007-07-30 Simon Hausmann <hausmann@kde.org>
10690 Link QtLauncher into $$OUTPUT_DIR/bin
10692 * Scripts/run-launcher:
10694 2007-07-27 David Kilzer <ddkilzer@apple.com>
10696 Reviewed by Geoff and Darin.
10698 Use a subroutine for validating the --skipped switch.
10700 * Scripts/run-webkit-tests:
10702 2007-07-27 Darin Adler <darin@apple.com>
10706 * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
10708 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
10712 Correct the path of GdkLauncher and make checkFrameworks work on OSX
10713 when building the Qt or Gtk+ port.
10715 * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
10716 * Scripts/run-launcher:
10717 * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
10719 2007-07-27 Simon Hausmann <hausmann@kde.org>
10721 Done with and reviewed by Lars and Zack.
10723 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.
10725 * Scripts/webkitdirs.pm:
10727 2007-07-27 Simon Hausmann <hausmann@kde.org>
10729 Done with and reviewed by Lars and Zack.
10731 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.
10733 * Scripts/webkitdirs.pm:
10735 2007-07-26 Kevin McCullough <kmccullough@apple.com>
10737 Reviewed by Darin, Geoff, Sam.
10739 - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
10741 - 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.
10743 * DumpRenderTree/UIDelegate.h:
10744 * DumpRenderTree/UIDelegate.m:
10745 (-[UIDelegate webView:setFrame:]):
10746 (-[UIDelegate webViewFrame:]):
10748 2007-07-26 Kevin McCullough <kmccullough@apple.com>
10752 - Lars wanted this check for Qt but it breaks platform specific layout tests.
10754 * Scripts/run-webkit-tests:
10756 2007-07-25 Kevin McCullough <kmccullough@apple.com>
10758 Reviewed by Tim, Darin, Oliver.
10760 - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
10761 - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
10764 * DumpRenderTree/DumpRenderTree.m:
10767 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
10768 (+[LayoutTestController webScriptNameForSelector:]):
10769 (-[LayoutTestController setCustomPolicyDelegate:]):
10770 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10771 * DumpRenderTree/FrameLoadDelegate.h:
10772 * DumpRenderTree/PolicyDelegate.h: Added.
10773 * DumpRenderTree/PolicyDelegate.m: Added.
10774 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
10775 * DumpRenderTree/ResourceLoadDelegate.h:
10777 2007-07-25 Adam Treat <treat@kde.org>
10781 Fix build for some reported systems.
10783 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
10785 2007-07-23 Adam Treat <treat@kde.org>
10787 Reviewed by Nikolas.
10789 Fix qt DRT to suppress js popup alerts and log instead.
10791 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
10792 (WebCore::WebPage::javaScriptAlert):
10794 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
10798 Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
10799 honor --qmakearg for the Gdk/Gtk build as well.
10801 * GdkLauncher/main.cpp: Switch to the new API
10802 * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
10804 2007-07-22 Darin Adler <darin@apple.com>
10806 * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
10807 Fix a leak by releasing the array used here.
10809 2007-07-22 David Kilzer <ddkilzer@webkit.org>
10811 Reviewed by Darin Adler.
10813 - fix http://bugs.webkit.org/show_bug.cgi?id=14713
10814 Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
10816 Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
10817 of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
10819 * Scripts/update-iexploder-cssproperties: Added.
10820 * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
10821 Added new CSS3 property section and Moved box-sizing property to it.
10823 2007-07-22 Oliver Hunt <oliver@apple.com>
10825 Reviewed by Darin Adler.
10827 http://bugs.webkit.org/show_bug.cgi?id=14710
10829 Add preliminary support for testing Input Method/WebKit behaviour and interaction
10830 in DRT. This provides the NSTextInput API which is most of what should be necessary
10831 to mimic the event sequences Input Methods trigger.
10833 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10834 * DumpRenderTree/TextInputController.h:
10835 * DumpRenderTree/TextInputController.m:
10836 (-[WebHTMLView interpretKeyEvents:]):
10837 (+[TextInputController isSelectorExcludedFromWebScript:]):
10838 (+[TextInputController webScriptNameForSelector:]):
10839 (-[TextInputController initWithWebView:]):
10840 (-[TextInputController dealloc]):
10841 (-[TextInputController textInput]):
10842 (-[TextInputController setInputMethodHandler:]):
10843 (-[TextInputController interpretKeyEvents:withSender:]):
10845 2007-07-20 Adam Roben <aroben@apple.com>
10847 * Scripts/commit-log-editor: Small fix to make an all-whitespace log
10848 message not count as an existing log.
10850 2007-07-19 Geoffrey Garen <ggaren@apple.com>
10852 Reviewed by Darin Adler.
10854 Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
10855 value behavior of stringByEvaluatingJavaScriptFromString
10857 * DumpRenderTree/DumpRenderTree.m:
10858 (testStringByEvaluatingJavaScriptFromString):
10859 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10861 2007-07-19 Adam Roben <aroben@apple.com>
10863 Make commit-log-editor work with git
10867 * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
10868 commit message template. Also removed the unused $breakPoint variable.
10870 2007-07-19 Adam Roben <aroben@apple.com>
10872 Move generally-useful VCS code into a new VCSUtils.pm module
10874 This is in preparation for making commit-log-editor git-friendly.
10878 * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
10879 * Scripts/prepare-ChangeLog: Use VCSUtils.
10881 2007-07-19 Lars Knoll <lars@trolltech.com>
10883 Fix a crash on exit when running DRT against a current
10888 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
10891 2007-07-18 Adam Roben <aroben@apple.com>
10893 Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
10897 * Scripts/run-webkit-httpd:
10898 * Scripts/run-webkit-tests:
10900 2007-07-18 Adam Roben <aroben@apple.com>
10902 More git friendliness for prepare-ChangeLog
10904 The overall change is to remove the use of git-status and replace it
10905 with git-diff --name-status (which we were already using in the
10906 --git-commit case).
10908 This lets us respect directories specified on the command line when
10909 using git, just as we do for Subversion. It also speeds things up a
10910 bit, especially in the subdirectory case, as git-status is pretty slow.
10912 I also fixed some issues where we wouldn't detect copied files and
10913 would reverse the new filename and the original filename for renamed files.
10917 * Scripts/prepare-ChangeLog:
10918 (sub diffFromToString): Added.
10919 (sub diffCommand): Don't append the paths in the --git-commit case, as
10920 we should be operating on the entire commit.
10921 (sub statusCommand): Always use git-diff --name-status, and added an
10922 extra -C option to git-diff to make it find a few more copied files.
10923 (sub createPatchCommand): Collapsed the two git cases a bit, and added
10924 the extra -C option as above.
10925 (sub generateFileList): Remove the git-status codepath, and recognize
10926 file copies in the --name-status output.
10927 (sub isModifiedOrAddedStatus): Collapsed the status codes into one
10929 (sub isConflictStatus): Updated the git dictionary.
10930 (sub statusDescription): Updated the git dictionary.
10932 2007-07-18 Timothy Hatcher <timothy@apple.com>
10934 * Scripts/build-drosera: Update where we look for the Xcode project.
10936 2007-07-18 Adam Treat <treat@kde.org>
10940 Use the old wording for Safari.
10942 * Scripts/build-webkit:
10943 * Scripts/webkitdirs.pm:
10945 2007-07-18 Adam Treat <treat@kde.org>
10949 Add convenience script for launching test apps for Qt and Gdk ports.
10950 Change the build-webkit script accordingly.
10952 * Scripts/build-webkit:
10953 * Scripts/run-launcher: Added.
10954 * Scripts/webkitdirs.pm:
10956 2007-07-18 Timothy Hatcher <timothy@apple.com>
10960 Make the Page with the now required InspectorClient.
10962 * GdkLauncher/main.cpp:
10965 2007-07-18 Timothy Hatcher <timothy@apple.com>
10967 Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
10968 Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
10970 * Drosera/Makefile: Added.
10971 * Drosera/mac/Makefile:
10972 * DumpRenderTree/Makefile:
10974 * Makefile.Drosera: Removed.
10975 * Makefile.shared: Removed.
10977 2007-07-18 Timothy Hatcher <timothy@apple.com>
10979 The console log was 20px down from the top for no reason, move it up.
10981 * Drosera/console.css:
10983 2007-07-18 Timothy Hatcher <timothy@apple.com>
10985 Use contentDocument to get the source view's iframe document.
10986 Also adds a null/undefined check for localVariableNames.
10988 * Drosera/debugger.js:
10990 2007-07-18 Lars Knoll <lars@trolltech.com>
10992 We really don't want to compare non text only tests to the
10993 Mac results if we don't have a result for Qt, as this would
10994 give a failure and not a notification that the test is new.
10998 * Scripts/run-webkit-tests:
11000 2007-07-18 Lars Knoll <lars@trolltech.com>
11002 Reviewed by Zack & Simon
11004 Adjust to changed API in QWebFrame
11006 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
11007 (WebCore::DumpRenderTree::DumpRenderTree):
11009 2007-07-18 Mark Rowe <mrowe@apple.com>
11011 Update path to the Drosera Xcode project now that it has moved into a subdirectory.
11013 * BuildSlaveSupport/build-launcher-app:
11015 2007-07-17 Geoffrey Garen <ggaren@apple.com>
11017 Reviewed by Antti Koivisto.
11019 Added watchdog timer to waitUntilDone to prevent a run-away test from
11020 hanging the test harness.
11022 * DumpRenderTree/DumpRenderTree.m:
11024 (-[LayoutTestController waitUntilDone]):
11025 (-[LayoutTestController waitUntilDoneWatchdogFired]):
11026 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11028 2007-07-17 Kevin McCullough <kmccullough@apple.com>
11032 - Implemented cross-platform code for functions calling into the JavaScript.
11034 * Drosera/DebuggerDocument.cpp:
11035 (DebuggerDocument::callAsFunction):
11036 (DebuggerDocument::pauseJS):
11037 (DebuggerDocument::resumeJS):
11038 (DebuggerDocument::stepIntoJS):
11039 (DebuggerDocument::stepOverJS):
11040 (DebuggerDocument::stepOutJS):
11041 (DebuggerDocument::showConsoleJS):
11042 (DebuggerDocument::closeCurrentFileJS):
11043 (DebuggerDocument::updateFileSource):
11044 (DebuggerDocument::didParseScript):
11045 (DebuggerDocument::willExecuteStatement):
11046 (DebuggerDocument::didEnterCallFrame):
11047 (DebuggerDocument::willLeaveCallFrame):
11048 (DebuggerDocument::exceptionWasRaised):
11049 * Drosera/DebuggerDocument.h:
11050 * Drosera/mac/DebuggerDocumentMac.mm:
11051 (-[DebuggerDocumentMac pause:]):
11052 (-[DebuggerDocumentMac resume:]):
11053 (-[DebuggerDocumentMac stepInto:]):
11054 (-[DebuggerDocumentMac stepOver:]):
11055 (-[DebuggerDocumentMac stepOut:]):
11056 (-[DebuggerDocumentMac showConsole:]):
11057 (-[DebuggerDocumentMac closeCurrentFile:]):
11058 (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
11059 (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
11060 (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
11061 (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
11062 (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
11063 (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
11065 2007-07-16 Kevin McCullough <kmccullough@apple.com>
11067 Reviewed by Darin Adler.
11069 - Continued x-platform modifications.
11071 * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
11072 * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
11073 * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
11074 * Drosera/win/DebuggerObjectCallbacks.h: Removed.
11075 * Drosera/win/Drosera.cpp:
11076 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
11077 * Drosera/win/stdafx.cpp: Removed.
11078 * Drosera/win/stdafx.h: Removed.
11080 2007-07-16 Kevin McCullough <kmccullough@apple.com>
11084 - Modified files to use cross-platform code.
11086 * Drosera/DebuggerDocument.cpp: Added.
11087 (DebuggerDocument::breakpointEditorHTML):
11088 (DebuggerDocument::isPaused):
11089 (DebuggerDocument::pause):
11090 (DebuggerDocument::resume):
11091 (DebuggerDocument::stepInto):
11092 (DebuggerDocument::evaluateScript):
11093 (DebuggerDocument::currentFunctionStack):
11094 (DebuggerDocument::localScopeVariableNamesForCallFrame):
11095 (DebuggerDocument::valueForScopeVariableNamed):
11096 * Drosera/DebuggerDocument.h: Added.
11097 (DebuggerDocument::DebuggerDocument):
11098 * Drosera/config.h: Added.
11099 * Drosera/mac/DebuggerApplication.mm:
11100 (-[DebuggerApplication attach:]):
11101 * Drosera/mac/DebuggerDocument.h: Removed.
11102 * Drosera/mac/DebuggerDocument.mm: Removed.
11103 * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
11104 * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
11105 (-[DebuggerDocumentMac initWithServerName:]):
11106 (-[DebuggerDocumentMac dealloc]):
11107 (-[DebuggerDocumentMac breakpointEditorHTML]):
11108 (-[DebuggerDocumentMac isPaused]):
11109 (-[DebuggerDocumentMac pause]):
11110 (-[DebuggerDocumentMac resume]):
11111 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
11112 * Drosera/win/DebuggerApplication.cpp:
11113 * Drosera/win/DebuggerObjectCallbacks.cpp:
11114 (breakpointEditorHTMLCallback):
11115 (currentFunctionStackCallback):
11116 (evaluateScript_inCallFrame_Callback):
11117 (isPausedCallback):
11118 (localScopeVariableNamesForCallFrame_Callback):
11121 (stepIntoCallback):
11122 (valueForScopeVariableNamed_inCallFrame_Callback):
11124 * Drosera/win/Drosera.cpp:
11125 * Drosera/win/DroseraPrefix.cpp: Added.
11126 * Drosera/win/DroseraPrefix.h: Added.
11128 2007-07-16 Kevin McCullough <kmccullough@apple.com>
11130 Reviewed by Adam, Sam and Tim.
11132 - Moving files to prepare for cross-platform architecture.
11134 * Drosera/DebuggerApplication.h: Removed.
11135 * Drosera/DebuggerApplication.m: Removed.
11136 * Drosera/DebuggerDocument.h: Removed.
11137 * Drosera/DebuggerDocument.m: Removed.
11138 * Drosera/Drosera.pch: Removed.
11139 * Drosera/Drosera.xcodeproj: Removed.
11140 * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
11141 * Drosera/Info.plist: Removed.
11142 * Drosera/LauncherInfo.plist: Removed.
11143 * Drosera/Makefile: Removed.
11144 * Drosera/launcher.m: Removed.
11145 * Drosera/mac: Added.
11146 * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
11147 * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
11148 * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
11149 * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
11150 * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
11151 * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
11152 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
11153 * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
11154 * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
11155 * Drosera/mac/Makefile: Copied from Drosera/Makefile.
11156 * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
11157 * Drosera/mac/main.m: Copied from Drosera/main.m.
11158 * Drosera/main.m: Removed.
11160 * Makefile.Drosera: Added.
11162 2007-07-15 Mark Rowe <mrowe@apple.com>
11164 * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
11166 2007-07-13 Sam Weinig <sam@webkit.org>
11168 Reviewed by Geoff Garen.
11170 Add support for running SSL tests over HTTPS.
11172 * DumpRenderTree/DumpRenderTree.m:
11174 * DumpRenderTree/FrameLoadDelegate.m:
11175 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
11176 * Scripts/run-webkit-httpd:
11177 * Scripts/run-webkit-tests:
11179 2007-07-13 David Kilzer <ddkilzer@apple.com>
11181 Reviewed by Darin Adler.
11183 Added support for -h|--help argument and verify that all command line arguments parse
11186 * Scripts/run-webkit-httpd:
11188 2007-07-12 Mark Rowe <mrowe@apple.com>
11192 Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
11194 * Scripts/run-webkit-tests:
11196 2007-07-12 Geoffrey Garen <ggaren@apple.com>
11198 Reviewed by Oliver Hunt.
11200 Made the leaks tests pass on Leopard.
11202 * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
11203 * Scripts/run-leaks: Updated parser for slight change in text output.
11205 2007-07-11 David Kilzer <ddkilzer@apple.com>
11207 Reviewed by Maciej.
11209 Update the iExploder list of CSS properties after box-sizing was renamed to
11210 -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
11212 * iExploder/htdocs/cssproperties.in: Added -webkit-box-sizing. Both box-sizing and
11213 -moz-box-sizing remain.
11215 2007-07-10 Darin Adler <darin@apple.com>
11217 * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
11218 Foundation's multipart/mixed-replace support -- I already verified that
11219 the bug has been fixed.
11221 2007-07-10 Alice Liu <alice.liu@apple.com>
11223 rubber stamped by Maciej.
11225 fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
11227 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
11228 (initializePreferences):
11229 set editable link behavior to match Mac DRT.
11231 2007-07-10 Geoffrey Garen <ggaren@apple.com>
11233 Reviewed by Tim Hatcher.
11235 Ignore Page.o in debug builds because it now has a static PageCounter
11238 * Scripts/check-for-global-initializers:
11240 2007-07-09 Darin Adler <darin@apple.com>
11242 * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
11244 2007-07-09 Alice Liu <alice.liu@apple.com>
11246 Reviewed by Adam Roben.
11248 setting DOM Paste Allowed Pref
11250 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
11251 (initializePreferences):
11253 2007-07-05 Kevin McCullough <kmccullough@apple.com>
11255 Reviewed by Adam, Sam, and Ada.
11257 - Inital checkin of Drosera for Win. This isn't pretty and doesn't connect to Safari but debug builds and runs.
11259 * Drosera/Images/Drosera.ico: Added.
11260 * Drosera/Images/small.ico: Added.
11261 * Drosera/win: Added.
11262 * Drosera/win/BaseDelegate.h: Added.
11263 (BaseDelegate::QueryInterface):
11264 (BaseDelegate::didFinishLoadForFrame):
11265 (BaseDelegate::windowScriptObjectAvailable):
11266 (BaseDelegate::didStartProvisionalLoadForFrame):
11267 (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
11268 (BaseDelegate::didFailProvisionalLoadWithError):
11269 (BaseDelegate::didCommitLoadForFrame):
11270 (BaseDelegate::didReceiveTitle):
11271 (BaseDelegate::didReceiveIcon):
11272 (BaseDelegate::didFailLoadWithError):
11273 (BaseDelegate::didChangeLocationWithinPageForFrame):
11274 (BaseDelegate::willPerformClientRedirectToURL):
11275 (BaseDelegate::didCancelClientRedirectForFrame):
11276 (BaseDelegate::willCloseFrame):
11277 (BaseDelegate::createWebViewWithRequest):
11278 (BaseDelegate::webViewShow):
11279 (BaseDelegate::webViewClose):
11280 (BaseDelegate::webViewFocus):
11281 (BaseDelegate::webViewUnfocus):
11282 (BaseDelegate::webViewFirstResponder):
11283 (BaseDelegate::makeFirstResponder):
11284 (BaseDelegate::setStatusText):
11285 (BaseDelegate::webViewStatusText):
11286 (BaseDelegate::webViewAreToolbarsVisible):
11287 (BaseDelegate::setToolbarsVisible):
11288 (BaseDelegate::webViewIsStatusBarVisible):
11289 (BaseDelegate::setStatusBarVisible):
11290 (BaseDelegate::webViewIsResizable):
11291 (BaseDelegate::setResizable):
11292 (BaseDelegate::setFrame):
11293 (BaseDelegate::webViewFrame):
11294 (BaseDelegate::setContentRect):
11295 (BaseDelegate::webViewContentRect):
11296 (BaseDelegate::runJavaScriptAlertPanelWithMessage):
11297 (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
11298 (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
11299 (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
11300 (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
11301 (BaseDelegate::mouseDidMoveOverElement):
11302 (BaseDelegate::contextMenuItemsForElement):
11303 (BaseDelegate::validateUserInterfaceItem):
11304 (BaseDelegate::shouldPerformAction):
11305 (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
11306 (BaseDelegate::willPerformDragDestinationAction):
11307 (BaseDelegate::dragSourceActionMaskForPoint):
11308 (BaseDelegate::willPerformDragSourceAction):
11309 (BaseDelegate::contextMenuItemSelected):
11310 (BaseDelegate::hasCustomMenuImplementation):
11311 (BaseDelegate::trackCustomPopupMenu):
11312 (BaseDelegate::measureCustomMenuItem):
11313 (BaseDelegate::drawCustomMenuItem):
11314 (BaseDelegate::addCustomMenuDrawingData):
11315 (BaseDelegate::cleanUpCustomMenuDrawingData):
11316 (BaseDelegate::canTakeFocus):
11317 (BaseDelegate::takeFocus):
11318 (BaseDelegate::registerUndoWithTarget):
11319 (BaseDelegate::removeAllActionsWithTarget):
11320 (BaseDelegate::setActionTitle):
11321 (BaseDelegate::undo):
11322 (BaseDelegate::redo):
11323 (BaseDelegate::canUndo):
11324 (BaseDelegate::canRedo):
11325 * Drosera/win/DebuggerApplication.cpp: Added.
11326 (DebuggerApplication::serverLoaded):
11327 (DebuggerApplication::serverUnloaded):
11328 (DebuggerApplication::attach):
11329 (DebuggerApplication::numberOfRowsInTableView):
11330 (DebuggerApplication::tableView):
11331 * Drosera/win/DebuggerApplication.h: Added.
11332 (DebuggerApplication::DebuggerApplication):
11333 (DebuggerApplication::knownServers):
11334 * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
11335 (breakpointEditorHTMLCallback):
11336 (currentFunctionStackCallback):
11337 (doubleClickMillisecondsCallback):
11338 (evaluateScript_inCallFrame_Callback):
11339 (isPausedCallback):
11340 (localScopeVariableNamesForCallFrame_Callback):
11343 (stepIntoCallback):
11344 (valueForScopeVariableNamed_inCallFrame_Callback):
11346 * Drosera/win/DebuggerObjectCallbacks.h: Added.
11347 * Drosera/win/Drosera.cpp: Added.
11349 (RegisterDroseraClass):
11353 (Drosera::Drosera):
11355 (Drosera::QueryInterface):
11357 (Drosera::Release):
11358 (Drosera::didFinishLoadForFrame):
11359 (getDroseraJSClass):
11360 (Drosera::windowScriptObjectAvailable):
11361 (Drosera::webViewClose):
11362 (Drosera::validateUserInterfaceItem):
11363 (Drosera::runJavaScriptAlertPanelWithMessage):
11365 * Drosera/win/Drosera.h: Added.
11366 (Drosera::webViewLoaded):
11367 * Drosera/win/Drosera.vcproj: Added.
11368 * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
11369 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
11370 * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
11371 * Drosera/win/Drosera.vcproj/release.vsprops: Added.
11372 * Drosera/win/HelperFunctions.h: Added.
11374 * Drosera/win/Info.plist: Added.
11375 * Drosera/win/resource.h: Added.
11376 * Drosera/win/stdafx.cpp: Added.
11377 * Drosera/win/stdafx.h: Added.
11379 2007-07-09 Adam Treat <adam@staikos.net>
11381 Reviewed by George Staikos.
11383 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
11386 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
11387 (WebCore::DumpRenderTree::DumpRenderTree):
11389 2007-07-09 Anders Carlsson <andersca@apple.com>
11391 Reviewed by Oliver.
11393 <rdar://problem/4954319>
11394 Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at
11395 com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
11397 If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream",
11398 return an error from NPP_NewStream.
11400 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
11402 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
11403 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
11407 2007-07-08 Mark Rowe <mrowe@apple.com>
11409 Change name from WebKit/Qt to WebKit.
11411 * CodeCoverage/regenerate-coverage-display:
11413 2007-07-08 Rob Buis <buis@kde.org>
11417 http://bugs.webkit.org/show_bug.cgi?id=14209
11418 DRT should be able to deal with text zoom
11420 Allow increasing/decreasing text zoom using eventSender.
11422 * DumpRenderTree/DumpRenderTree.m:
11424 * DumpRenderTree/EventSendingController.m:
11425 (+[EventSendingController initialize]):
11426 (+[EventSendingController isSelectorExcludedFromWebScript:]):
11427 (-[EventSendingController textZoomIn]):
11428 (-[EventSendingController textZoomOut]):
11430 2007-07-07 Mark Rowe <mrowe@apple.com>
11432 Reviewed by Oliver.
11434 * DumpRenderTree/DumpRenderTree.m:
11435 (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
11437 2007-07-06 Anders Carlsson <andersca@apple.com>
11439 Reviewed by David Kilzer.
11441 <rdar://problem/5313502>
11442 Many webarchive tests fail due to different NSURLResponse serialization on Leopard
11444 Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
11445 response's attributes. Also change the JavaScript MIME type to be "text/javascript".
11447 * DumpRenderTree/DumpRenderTree.m:
11449 (convertWebResourceDataToString):
11450 (convertWebResourceResponseToDictionary):
11451 (serializeWebArchiveToXML):
11453 2007-07-06 Timothy Hatcher <timothy@apple.com>
11455 Reviewed by Oliver.
11457 Initialize the NSMutableAttributedString directly instead of creating
11458 a NSAttributedString first.
11460 * DumpRenderTree/TextInputController.m:
11461 (-[TextInputController attributedStringWithString:]):
11463 2007-07-06 Anders Carlsson <andersca@apple.com>
11465 Reviewed by David Kilzer.
11467 Replace "Apple Computer" with "Apple" in the DTD declaration.
11469 * DumpRenderTree/DumpRenderTree.m:
11470 (serializeWebArchiveToXML):
11472 2007-07-06 Adam Treat <adam@staikos.net>
11474 Reviewed by George Staikos.
11476 Adjust for conversion of QWebFrame to a QFrame from a scroll area.
11478 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
11479 (WebCore::DumpRenderTree::DumpRenderTree):
11481 2007-07-06 George Staikos <staikos@kde.org>
11483 Reviewed by Anders.
11485 Allow passing of additional arguments to qmake with --qmakearg=
11487 * Scripts/webkitdirs.pm:
11489 2007-07-05 George Staikos <staikos@kde.org>
11491 Reviewed by Maciej.
11493 Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
11494 give a path to a specific qmake binary. Both are optional.
11496 * Scripts/webkitdirs.pm:
11498 2007-07-05 Adam Roben <aroben@apple.com>
11500 Warn about tests in the Skipped file that succeeded
11502 * Scripts/run-webkit-tests:
11504 2007-07-05 Adam Roben <aroben@apple.com>
11506 Removed unused install-win-extras script
11508 Rubberstamped by Mark.
11510 * Scripts/install-win-extras: Removed.
11512 2007-07-05 Adam Roben <aroben@apple.com>
11514 Show the test's extension in the results page
11516 * Scripts/run-webkit-tests:
11518 2007-07-05 Adam Roben <aroben@apple.com>
11520 Add more options for controlling the interpretation of the Skipped file
11524 * Scripts/run-webkit-tests:
11526 2007-07-04 Adam Roben <aroben@apple.com>
11528 Add --skipped-only option to run-webkit-tests
11530 When this option is specified, only those tests listed in the Skipped
11535 * Scripts/run-webkit-tests:
11537 2007-07-04 Adam Roben <aroben@apple.com>
11539 Clean up/alphabetize the run-webkit-tests help message
11541 * Scripts/run-webkit-tests:
11543 2007-07-04 Adam Roben <aroben@apple.com>
11545 Enable a Leopard-specific Skipped list.
11549 * Scripts/run-webkit-tests: Check for Leopard.
11550 * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
11552 2007-07-03 Adam Roben <aroben@apple.com>
11554 Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
11556 Got rid of extract-webkit-localizable-strings because it was trying to
11557 do update-webkit-localizable-strings' job.
11559 Rubberstamped by Darin Adler.
11561 * Scripts/extract-webkit-localizable-strings: Removed.
11562 * Scripts/update-webkit-localizable-strings: Renamed from
11563 extract-localizable-strings.
11565 2007-07-03 Adam Roben <aroben@apple.com>
11567 Modify scripts to keep Mac/Windows localized strings in sync
11569 extract-webkit-localizable-strings now handles extracting strings from
11570 both the Mac and Windows WebKit ports and updating their respective
11571 Localizable.strings files. extract-localizable-strings is now really a
11572 piece of plumbing rather than a top-level tool.
11574 Reviewed by Darin and Anders.
11576 * Scripts/extract-localizable-strings: Changed to handle multiple
11578 * Scripts/extract-webkit-localizable-strings: Added.
11580 2007-07-03 Adele Peterson <adele@apple.com>
11582 Reviewed by Darin Adler.
11584 Extended DumpRenderTree to test encoding and decoding host names.
11586 * DumpRenderTree/DumpRenderTree.m:
11587 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
11588 (+[LayoutTestController webScriptNameForSelector:]): ditto.
11589 (-[LayoutTestController decodeHostName:]): Added.
11590 (-[LayoutTestController encodeHostName:]): Added.
11592 2007-07-03 Sam Weinig <sam@webkit.org>
11594 Reviewed by Darin Adler.
11596 Eleventh round of fixes for implicit 64-32 bit conversion errors.
11597 <rdar://problem/5292262>
11599 Add functions to test long long and unsigned long long.
11601 * DumpRenderTree/DumpRenderTree.m:
11602 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
11603 (+[LayoutTestController webScriptNameForSelector:]):
11604 (-[LayoutTestController objCLongLongRoundTrip:]):
11605 (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
11607 2007-07-01 Adam Roben <aroben@apple.com>
11609 Fix some paths to make http tests work again on Windows
11611 Rubberstamped by Sam.
11613 * Scripts/run-webkit-tests:
11615 2007-06-28 Stephanie <slewis@apple.com>
11619 Allow tests to use pre-built roots instead of building the tests.
11621 * Scripts/run-javascriptcore-tests: added --root option
11622 * Scripts/run-webkit-tests: added --root option
11623 * Scripts/webkitdirs.pm: added support for using a root
11625 2007-06-25 Adam Roben <aroben@apple.com>
11627 Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
11628 http://bugs.webkit.org/show_bug.cgi?id=14405
11630 Reviewed by Anders.
11632 * Scripts/run-webkit-tests:
11634 2007-06-25 Adam Roben <aroben@apple.com>
11636 Enable running the regression tests on Windows.
11638 These changes were developed alongside the Windows WebKit port and
11639 have been well tested.
11641 Rubberstamped by Sam.
11643 * Scripts/run-webkit-tests:
11645 2007-06-25 Adam Roben <aroben@apple.com>
11647 Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
11648 http://bugs.webkit.org/show_bug.cgi?id=14403
11650 Reviewed by Mark Rowe.
11652 * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
11653 (sub createPatchCommand): Generate a correct diff in the $gitCommit
11656 2007-06-25 Adam Roben <aroben@apple.com>
11658 Land pdevenv and supporting scripts/programs
11660 pdevenv is a script that will open an instance of Visual Studio that
11661 can compile multiple files in parallel, similar to make -jN. It uses
11662 the following scripts/programs to accomplish this:
11664 CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
11666 parallelcl: Actually performs the parallel compilation by forking
11667 multiple instances of the Microsoft-supplied cl.exe.
11669 MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
11670 Microsoft-supplied midl.exe. This avoids having to invoke perl for
11671 every invocation of midl.exe, which would be quite slow.
11673 Rubberstamped by Sam.
11675 * CLWrapper/CLWrapper.cpp: Added.
11677 * CLWrapper/CLWrapper.sln: Added.
11678 * CLWrapper/CLWrapper.vcproj: Added.
11679 * MIDLWrapper/MIDLWrapper.cpp: Added.
11681 * MIDLWrapper/MIDLWrapper.sln: Added.
11682 * MIDLWrapper/MIDLWrapper.vcproj: Added.
11683 * Scripts/parallelcl: Added.
11684 * Scripts/pdevenv: Added.
11685 * vcbin/cl.exe: Added.
11686 * vcbin/midl.exe: Added.
11688 2007-06-23 Adam Roben <aroben@apple.com>
11690 Land num-cpus for the Windows build.
11692 Reviewed by Mark Rowe.
11694 * Scripts/num-cpus: Added.
11696 2007-06-22 Simon Hausmann <hausmann@kde.org>
11698 Reviewed by Adam Roben.
11700 Added support for populating ChangeLog entries from given git commits
11701 using --git-commit=<commitish> and --git-reviewer=<name>.
11703 * Scripts/prepare-ChangeLog:
11705 2007-06-22 Timothy Hatcher <timothy@apple.com>
11707 Reviewed by Anders.
11709 <rdar://problem/5228168> Leopard regression test failures: fast/applescript
11711 There were some changes in Leopard that made our test output inconsistent with Tiger.
11713 NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
11714 on Leopard, so output our own readable string for typeType descriptors.
11716 NSArray's description also changed on Leopard to output more whitespace, so
11717 make our own string representation for typeAEList descriptors. This requires
11718 a special case typeUnicodeText too, so the output is a quoted string.
11720 * DumpRenderTree/AppleScriptController.m:
11721 (convertAEDescToObject):
11723 2007-06-21 Anders Carlsson <andersca@apple.com>
11727 Don't dump didFirstLayout callbacks, they happen intermittently.
11729 * DumpRenderTree/FrameLoadDelegate.m:
11731 2007-06-21 Lars Knoll <lars@trolltech.com>
11735 look for the Qt library in the installed location
11737 * Scripts/webkitdirs.pm:
11739 2007-06-20 Geoffrey Garen <ggaren@apple.com>
11741 Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
11743 Added tests for stringByEvaluatingJavaScriptFromString.
11745 * DumpRenderTree/DumpRenderTree.m:
11746 (testStringByEvaluatingJavaScriptFromString):
11749 2007-06-19 Andrew Wellington <proton@wiretapped.net>
11751 Reviewed by Mark Rowe.
11753 Support applications with spaces or special characters in their names
11755 * Scripts/run-webkit-app:
11757 2007-06-18 Anders Carlsson <andersca@apple.com>
11759 Reviewed by John Sullivan.
11761 Assert that the frame has a dataSource.
11763 * DumpRenderTree/FrameLoadDelegate.m:
11764 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
11766 2007-06-18 Adam Treat <adam@staikos.net>
11768 Reviewed by George.
11770 Reflect the library name change.
11772 * Scripts/webkitdirs.pm:
11774 2007-06-18 Jake Helfert <jake@jakeonthenet.com>
11778 - fix http://bugs.webkit.org/show_bug.cgi?id=14154
11779 Spinneret doesn't build against the new Win32 port.
11781 * Spinneret/Spinneret/Spinneret.cpp:
11783 -Changed IWebViewExt to IWebViewPrivate
11784 -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
11785 the WIN32 function RegisterDragDrop which requires the Ole* calls.
11786 * Spinneret/Spinneret/Spinneret.h:
11787 (SpinneretWebHost::didReceiveIcon): Updated method signature.
11788 (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
11789 (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
11791 2007-06-14 Sam Weinig <sam@webkit.org>
11795 Update set of files to download for cygwin to include
11796 diffutils and regenerate the zip file. This should fix
11797 an issue on vista where svn-create-patch doesn't work.
11799 * CygwinDownloader/cygwin-downloader.py:
11800 * CygwinDownloader/cygwin-downloader.zip:
11802 2007-06-14 Mark Rowe <mrowe@apple.com>
11804 Update script to match new nightly.webkit.org infrastructure.
11806 * BuildSlaveSupport/build-launcher-dmg: Upload to the live web server, not the caching proxy. Let the server know it's a Mac build.
11808 2007-06-12 Adam Roben <aroben@apple.com>
11810 Land CygwinDownloader.
11812 Rubberstamped by Hyatt.
11814 * CygwinDownloader/cygwin-downloader.py: Added.
11815 * CygwinDownloader/cygwin-downloader.zip: Added.
11816 * CygwinDownloader/make-zip.sh: Added.
11817 * CygwinDownloader/setup.py: Added.
11819 2007-06-06 Vladimir Olexa <vladimir.olexa@gmail.com>
11821 Reviewed by Mark Rowe.
11823 Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996
11824 [Drosera] Items in the file list don't get un-highlighted when
11825 files are selected from the file drop-down
11827 * Drosera/debugger.js: currentFile was getting modified before file in the file
11828 browser got un-highlighted. Changed the order in which the functions execute.
11830 2007-06-06 Mark Rowe <mrowe@apple.com>
11832 Reviewed by Maciej.
11834 http://bugs.webkit.org/show_bug.cgi?id=13988
11835 Bug 13988: Colon in file path crashes WebKit Nightly
11837 The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with
11838 the bundled WebKit framework. Both of these variables are interpreted as containing a
11839 colon-delimited list of paths. There is no escaping mechanism defined, so if we detect
11840 a path with a colon in it we need to bail out to prevent `dyld' from throwing an error
11841 when we execute Safari.
11843 * WebKitLauncher/main.m:
11846 2007-06-05 Mark Rowe <mrowe@apple.com>
11848 Reviewed by Anders.
11850 * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
11852 2007-05-30 Alp Toker <alp.toker@collabora.co.uk>
11856 Enable logging in the Gdk port.
11857 http://bugs.webkit.org/show_bug.cgi?id=13936
11859 * GdkLauncher/main.cpp:
11862 2007-05-29 Holger Freyther <zecke@selfish.org>
11864 Reviewed by Anders.
11866 Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
11867 to provide ScrollBars for the FrameView.
11869 * GdkLauncher/main.cpp:
11870 (registerRenderingAreaEvents):
11871 (layout_realize_callback): Only after realization we can access the GtkLayout::bin_window
11872 (frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust
11875 2007-05-29 David Kilzer <ddkilzer@webkit.org>
11877 Reviewed by Darin Adler.
11879 - fix http://bugs.webkit.org/show_bug.cgi?id=13901
11880 run-pageloadtest does not obey testName on command-line
11882 * Scripts/run-pageloadtest: Grab $testName from the command-line if it is present,
11883 otherwise default to "svg". Added dummy check to make sure $testName.pltsuite
11886 2007-05-29 David Kilzer <ddkilzer@webkit.org>
11888 Reviewed by Darin Adler.
11890 - fix http://bugs.webkit.org/show_bug.cgi?id=13900
11891 svnStatus($) subroutine in svn-[un]apply does not work properly with directories
11893 This patch also fixes an instance of the "broken pipe" warning that happened when
11894 a directory contained modified files that were not part of an applied or unapplied
11897 * Scripts/svn-apply:
11898 (svnStatus($)): If we're trying to get status on a directory (instead of a file),
11899 make sure we actually get the directory's status (if it has one), not the first
11900 file's status reported within the directory. Fix "broken pipe" warnings by
11901 reading all of the output from the SVN filehandle before closing it.
11902 * Scripts/svn-unapply:
11903 (svnStatus($)): Ditto.
11905 2007-05-28 David Kilzer <ddkilzer@webkit.org>
11907 Reviewed by Darin Adler.
11909 - fix http://bugs.webkit.org/show_bug.cgi?id=10342
11910 prepare-ChangeLog only shows removed files but not added files when files are moved
11911 - fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408
11912 prepare-ChangeLog and svn-create-patch don't show replaced files
11914 Switched method used to find list of changed files from "diff" to "status". This
11915 makes added and replaced files with history appear in the changed file list for svn.
11916 Added check for "+" in output from the svn status command to detect file history, and
11917 handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines.
11919 * Scripts/prepare-ChangeLog:
11920 (diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@).
11921 (statusCommand(@)): Switched argument from array ref to array. Necessary to use
11922 the output of "keys $paths" without creating a temporary array variable.
11923 (findOriginalFileFromSvn($)): Added. Based on findSourceFileAndRevision($)
11924 subroutine in svn-create-patch.
11925 (generateFileList(\@\@\%)): Added. Extracted from main body of script. Runs status
11926 command using command-line arguments instead of list of changed files from the diff
11927 command. Changed svn regex to only accept file statuses that we know how to handle.
11928 Identify original file when an added/replaced status with history is present.
11929 (statusDescription($$)): Handled added/replaced statuses with history. Added
11930 fall-through return statement.
11932 2007-05-28 Holger Freyther <zecke@selfish.org>
11934 Reviewed by Mark Rowe.
11936 Add scripts and data to generate a coverage data for WebKit.
11938 * CodeCoverage/README: Added.
11939 * CodeCoverage/amber.png: Added.
11940 * CodeCoverage/cov.py: Added.
11941 * CodeCoverage/emerald.png: Added.
11942 * CodeCoverage/gcov.css: Added.
11943 * CodeCoverage/glass.png: Added.
11944 * CodeCoverage/regenerate-coverage-display: Added.
11945 * CodeCoverage/ruby.png: Added.
11946 * CodeCoverage/run-generate-coverage-data: Added.
11947 * CodeCoverage/snow.png: Added.
11948 * Scripts/build-webkit: Add --coverage by Niko
11949 * Scripts/check-for-global-initializers: Skip the check on coverage builds
11950 * Scripts/generate-coverage-data: Added.
11951 * Scripts/run-javascriptcore-tests: Add --coverage by Niko
11953 2007-05-29 Mark Rowe <mrowe@apple.com>
11955 Build fix after r21745.
11957 * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
11959 2007-05-25 Anders Carlsson <andersca@apple.com>
11963 * DumpRenderTree/DumpRenderTree.m:
11964 * DumpRenderTree/FrameLoadDelegate.m:
11966 2007-05-25 Simon Hausmann <hausmann@kde.org>
11970 For the keyDown binding use QStringList instead of QList<QString>. The former is a default
11971 registered metatype. Also print out critical messages in dumprendertree's qt message handler.
11973 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
11974 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
11975 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
11977 2007-05-20 David Kilzer <ddkilzer@webkit.org>
11979 Reviewed by Adam Roben.
11981 - fix http://bugs.webkit.org/show_bug.cgi?id=13565
11982 Change svn-create-patch to put LayoutTests in the end
11984 In addition to reordering test files under the LayoutTests directory so that they
11985 appear after source code files, this patch fixes an issue with prepare-ChangeLog
11986 if the first argument passed to it is a file name instead of a directory name.
11988 * Scripts/prepare-ChangeLog:
11989 (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
11991 * Scripts/svn-create-patch:
11992 (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
11995 2007-05-18 Mark Rowe <mrowe@apple.com>
11997 Reviewed by Oliver.
11999 Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
12001 * Scripts/svn-create-patch:
12002 * Scripts/webkitdirs.pm:
12004 2007-05-18 Holger Freyther <zecke@selfish.org>
12006 Reviewed by Maciej.
12008 * GdkLauncher/main.cpp: Call setGtkWidget
12011 2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>
12013 Reviewed by Mark Rowe.
12015 * GdkLauncher/main.cpp:
12016 (main): Call Frame::init to catch up with Maciej's changes.
12017 * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
12018 passed to the helper scripts.
12020 2007-05-16 Brady Eidson <beidson@apple.com>
12022 Build fix for some dev configurations
12024 * DumpRenderTree/DumpRenderTree.m:
12026 2007-05-16 Maciej Stachowiak <mjs@apple.com>
12028 Reviewed by Justin.
12030 - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
12032 The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
12033 that happen before the load commits.
12035 Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
12036 optional logging for every FrameLoadDelegate callback, including SPI callbacks.
12038 * DumpRenderTree/DumpRenderTree.h:
12039 * DumpRenderTree/DumpRenderTree.m:
12043 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12044 (-[LayoutTestController clearBackForwardList]):
12045 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
12046 (-[LayoutTestController dumpFrameLoadCallbacks]):
12047 (-[LayoutTestController setWindowIsKey:]):
12048 (-[LayoutTestController setMainFrameIsFirstResponder:]):
12049 (-[LayoutTestController _doLoad:target:]):
12050 (-[LayoutTestController _doBackOrForwardNavigation:]):
12051 (-[LayoutTestController queueReload]):
12052 (-[LayoutTestController queueScript:]):
12053 (-[LayoutTestController queueLoad:target:]):
12054 (-[LayoutTestController setAcceptsEditing:]):
12055 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
12056 (shouldLogFrameLoadDelegates):
12059 (+[DumpRenderTreeEvent mouseLocation]):
12060 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12061 * DumpRenderTree/DumpRenderTreeDraggingInfo.m:
12062 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
12063 * DumpRenderTree/EventSendingController.m:
12064 (-[EventSendingController mouseDown]):
12065 (-[EventSendingController mouseUp]):
12066 (-[EventSendingController mouseMoveToX:Y:]):
12067 (-[EventSendingController contextClick]):
12068 * DumpRenderTree/FrameLoadDelegate.h: Added.
12069 * DumpRenderTree/FrameLoadDelegate.m: Added.
12070 (-[WebFrame _drt_descriptionSuitableForTestResult]):
12071 (-[FrameLoadDelegate processWork:]):
12072 (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
12073 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
12074 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
12075 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
12076 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
12077 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
12078 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
12079 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
12080 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
12081 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
12082 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
12083 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
12084 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
12085 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
12086 (-[FrameLoadDelegate webView:willCloseFrame:]):
12087 (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
12088 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
12089 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
12090 * DumpRenderTree/ResourceLoadDelegate.m:
12091 (-[NSURL _drt_descriptionSuitableForTestResult]):
12092 * DumpRenderTree/UIDelegate.m:
12093 (-[UIDelegate webViewFocus:]):
12095 2007-05-16 Kevin McCullough <kmccullough@apple.com>
12097 Reviewed by Darin and Geoff.
12099 - rdar://problem/4981886
12100 - Now windows opened by the DOM can be closed by JS.
12102 * DumpRenderTree/DumpRenderTree.m:
12103 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12104 (-[LayoutTestController windowCount]):
12106 2007-05-15 Adam Roben <aroben@apple.com>
12108 Reviewed by David Kilzer.
12110 http://bugs.webkit.org/show_bug.cgi?id=13732
12111 prepare-ChangeLog should work with git
12113 * Scripts/prepare-ChangeLog: Added support for Git.
12115 2007-05-15 Lars Knoll <lars@trolltech.com>
12119 Add the EventSender object to DRT. Currently it implements
12120 mouseDown, mouseUp and mouseMoveTo.
12122 Make run-webkit-tests --strict work somewhat better for form elements.
12124 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12125 (WebCore::DumpRenderTree::DumpRenderTree):
12126 (WebCore::DumpRenderTree::initJSObjects):
12127 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
12128 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
12129 (HackWebFrame::mousePressEvent):
12130 (HackWebFrame::mouseReleaseEvent):
12131 (EventSender::EventSender):
12132 (EventSender::mouseDown):
12133 (EventSender::mouseUp):
12134 (EventSender::mouseMoveTo):
12135 (EventSender::leapForward):
12136 (EventSender::keyDown):
12137 (EventSender::frameUnderMouse):
12138 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
12139 * Scripts/run-webkit-tests:
12141 2007-05-12 Oliver Hunt <oliver@apple.com>
12145 Add new api to DRT to allow us to test a file being dragged
12146 onto <input type="file">
12148 * DumpRenderTree/DumpRenderTree.h:
12149 * DumpRenderTree/DumpRenderTree.m:
12150 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12151 (-[LayoutTestController addFileToPasteboardOnDrag]):
12153 * DumpRenderTree/UIDelegate.m:
12154 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
12156 2007-05-11 Holger Hans Peter Freyther <zecke@selfish.org>
12158 Reviewed by Maciej.
12160 Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
12161 http://bugs.webkit.org/show_bug.cgi?id=13656
12163 * GdkLauncher/main.cpp: Handle resizing the drawing area
12164 (frameResizeCallback):
12167 2007-05-11 Geoffrey Garen <ggaren@apple.com>
12169 Reviewed by Darin Adler.
12171 Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:]
12174 * DumpRenderTree/DumpRenderTree.m:
12175 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
12176 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12177 (+[LayoutTestController webScriptNameForSelector:]):
12178 (-[LayoutTestController testWrapperRoundTripping:]):
12180 2007-05-08 Maciej Stachowiak <mjs@apple.com>
12182 Reviewed by Oliver.
12184 - don't clear events whenever an EventSendingController goes away, only do it at predictable times,
12185 since destroying a subframe can make one go away
12187 (Discovered while fixing:
12189 <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
12190 <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
12192 * DumpRenderTree/DumpRenderTree.m:
12193 (runTest): explicitly clear saved events after every page load
12194 * DumpRenderTree/EventSendingController.h:
12195 * DumpRenderTree/EventSendingController.m:
12196 (-[EventSendingController dealloc]): don't clear saved events here...
12197 (+[EventSendingController clearSavedEvents]): do it here
12198 * Scripts/check-for-global-initializers:
12200 2007-05-10 Mark Rowe <mrowe@apple.com>
12202 Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
12204 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12206 2007-05-09 Geoffrey Garen <ggaren@apple.com>
12208 Reviewed by Maciej Stachowiak.
12210 Added support for testing ObjC/JS type bridging.
12212 Added ASSERT that -JSObject returns nil when the underlying JSObject
12213 is no longer GC protected.
12215 * DumpRenderTree/DumpRenderTree.m:
12216 (returnThisCallback):
12218 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
12219 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12220 (+[LayoutTestController webScriptNameForSelector:]):
12221 (-[LayoutTestController accessStoredWebScriptObject]):
12222 (-[LayoutTestController testWrapperRoundTripping]):
12223 (-[LayoutTestController objCClassNameOf:]):
12224 (-[LayoutTestController objCObjectOfClass:]):
12225 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12227 2007-05-10 Lars Knoll <lars@trolltech.com>
12231 Move setting of the DPI value a few lines up. Should fix
12232 the last two remaining failures in the layout tests.
12234 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12237 2007-05-09 Holger Freyther <zecke@selfish.org>
12239 Reviewed by Mark Rowe.
12241 * GdkLauncher/main.cpp: Always include config.h.
12243 2007-05-08 Geoffrey Garen <ggaren@apple.com>
12245 Reviewed by Darin Adler.
12247 Added support for testing ObjC object identity.
12249 Added ASSERT to verify that you can round-trip the object passed to you
12250 in -didClearWindowObject:forFrame:.
12252 * DumpRenderTree/DumpRenderTree.m:
12253 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
12254 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12255 (+[LayoutTestController webScriptNameForSelector:]):
12256 (-[LayoutTestController accessStoredWebScriptObject]):
12257 (-[LayoutTestController objCIdentityIsEqual::]):
12259 2007-05-07 Geoffrey Garen <ggaren@apple.com>
12261 Reviewed by Maciej Stachowiak.
12263 Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext],
12264 and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject
12265 forFrame:(WebFrame *)frame, in the form of ASSERTs.
12267 * DumpRenderTree/DumpRenderTree.m:
12268 (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
12271 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
12272 (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
12273 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12275 2007-05-08 Lars Knoll <lars@trolltech.com>
12279 Dump JavaScript console messages as well. Also requires a slight
12280 change in run-webkit-tests, so we still correctly differentiate
12281 between text only and rendertree tests.
12283 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
12284 (WebCore::WebPage::WebPage):
12285 (WebCore::WebPage::javaScriptConsoleMessage):
12286 (WebCore::DumpRenderTree::DumpRenderTree):
12287 (WebCore::DumpRenderTree::dump):
12288 * Scripts/run-webkit-tests:
12290 2007-05-08 Lars Knoll <lars@trolltech.com>
12294 Specify what the serif, sans-serif and monospace aliases
12295 should map to and explicitly select the Gui style of
12296 DRT to be plastique.
12298 Fixes most of the test failures still seen on the build bot.
12300 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
12301 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12304 2007-05-07 Lars Knoll <lars@trolltech.com>
12308 Fix the default font to 9pt Sans Serif.
12310 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12313 2007-05-04 Lars Knoll <lars@trolltech.com>
12317 Revert on line of the last commit. We still want to keep the RPATH
12318 support in the pro file.
12320 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
12322 2007-05-04 Lars Knoll <lars@trolltech.com>
12326 Remove the old bitmap fonts I tried using to get reliable results from
12327 DumpRenderTree on X11. Instead we now use the URW Type1 fonts from
12328 ghostscript. I've added a mirror to simply check them out at
12329 svn://labs.trolltech.com/svn/webkit/testfonts.
12331 Fixed DumpRenderTree to make sure these fonts are the only ones we use
12332 on X11 and added a fonts.conf file to get a well defined fontconfig
12335 Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
12336 I use to find the fonts to DumpRenderTree.
12338 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
12339 * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed.
12340 * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed.
12341 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed.
12342 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed.
12343 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed.
12344 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed.
12345 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed.
12346 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed.
12347 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed.
12348 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed.
12349 * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed.
12350 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed.
12351 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed.
12352 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed.
12353 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed.
12354 * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added.
12355 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
12357 * Scripts/run-webkit-tests:
12359 2007-05-03 Holger Freyther <freyther@kde.org>
12361 Reviewed by Zack, landed by Simon.
12362 This is bugzilla bug 13499.
12364 * GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake
12365 * GdkLauncher/main.cpp: We don't have a config.h with the qmake build
12366 * Scripts/build-webkit: Add --gdk for the Gdk port
12367 * Scripts/webkitdirs.pm: Add helper methods for the Gdk port
12369 2007-05-03 Geoffrey Garen <ggaren@apple.com>
12371 Build fix: Add AllInOneFile.o to the ignore list, since it includes files
12372 in the ignore list.
12374 * Scripts/check-for-global-initializers:
12376 2007-05-02 Holger Freyther <freyther@kde.org>
12378 Reviewed by Mark Rowe.
12380 * Scripts/build-webkit: Remove the CMake call.
12381 * Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only
12382 buildsystem for the Qt port.
12384 2007-04-27 Kevin McCullough <kmccullough@apple.com>
12386 - Removed debugging statements and took out the removal of the deletion
12387 of the symlink. This is because multiple instances of run-webkit-tests
12388 can be running at the same time.
12389 * Scripts/run-webkit-tests:
12391 2007-04-27 Adam Roben <aroben@apple.com>
12393 Reviewed by Maciej.
12395 Cleaned up prepare-ChangeLog
12397 * Scripts/prepare-ChangeLog: No code changes, but style now matches
12398 the prevalent style of our perl scripts.
12400 2007-04-27 Nazar Kulyk <schamane@myeburg.net>
12402 Reviewed by Mark Rowe.
12404 Basic auto-correction of user-entered URLs.
12406 * GdkLauncher/main.cpp:
12411 2007-04-28 Mark Rowe <mrowe@apple.com>
12413 Rubber-stamped by Anders.
12415 Rename some methods and variables to match the style guidelines.
12417 * GdkLauncher/main.cpp:
12421 (goButtonClickedCallback):
12422 (urlBarEnterCallback):
12423 (frameResizeCallback):
12424 (frameDestroyCallback):
12425 (menuMainBackCallback):
12426 (menuMainForwardCallback):
12427 (menuMainQuitCallback):
12430 2007-04-27 Holger Freyther <freyther@kde.org>
12432 Reviewed by Maciej.
12434 Remove unmaintained CMake build system.
12436 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
12437 * Scripts/build-webkit: Remove references to CMake.
12438 * Scripts/webkitdirs.pm: Remove references to CMake.
12440 2007-04-26 Alp Toker <alp@atoker.com>
12442 Reviewed by Mark Rowe.
12444 * GdkLauncher/main.cpp:
12445 (main): Avoid use of deprecated API.
12447 2007-04-26 Kevin McCullough <kmccullough@apple.com>
12449 - Changed debugging statements for more information.
12451 * Scripts/run-webkit-tests:
12453 2007-04-26 Kevin McCullough <kmccullough@apple.com>
12455 - Adding debugging statements to see why these tests fail. These will be removed.
12457 * Scripts/run-webkit-tests:
12459 2007-04-25 Anders Carlsson <andersca@apple.com>
12463 Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle
12464 the dashboard compatibility mode.
12466 * DumpRenderTree/DumpRenderTree.m:
12467 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12468 (+[LayoutTestController webScriptNameForSelector:]):
12469 (-[LayoutTestController setUseDashboardCompatibilityMode:]):
12471 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12473 2007-04-24 Timothy Hatcher <timothy@apple.com>
12475 Setting the valid architectures to 32-bit only, so these projects
12476 will ignore requests to build them 64-bit. Once they can be built 64-bit,
12477 the valid architectures can be updated.
12479 * Drosera/Drosera.xcodeproj/project.pbxproj:
12480 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12482 2007-04-23 Adam Roben <aroben@apple.com>
12484 Reviewed by Mark Rowe and David Kilzer.
12486 * Scripts/build-webkit: Print the path to the run-safari script when
12487 finished building so that users can copy-and-paste the command to
12490 2007-04-23 Darin Adler <darin@apple.com>
12494 - rename box-sizing to -webkit-box-sizing
12496 * Drosera/console.css: Here.
12497 * Drosera/debugger.css: And here.
12498 * Drosera/viewer.css: And here.
12500 2007-04-21 Mitz Pettel <mitz@webkit.org>
12502 Reviewed by Darin Adler.
12504 - http://bugs.webkit.org/show_bug.cgi?id=13350
12505 Build Ahem into DumpRenderTree
12507 * DumpRenderTree/DumpRenderTree.m:
12508 (activateAhemFont): Added. Activates the copy of Ahem included in the
12509 DumpRenderTree binary.
12510 (dumpRenderTree): Replaced the check that Ahem is available with a call
12511 to activateAhemFont().
12512 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12513 Added linker options to include Ahem in the data section of the
12514 DumpRenderTree binary.
12516 2007-04-20 Adam Roben <aroben@apple.com>
12518 Reviewed by Darin Adler.
12520 http://bugs.webkit.org/show_bug.cgi?id=13421
12521 Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
12523 * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
12525 2007-04-18 Brady Eidson <beidson@apple.com>
12529 <rdar://problem/5008925>
12530 Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
12532 * DumpRenderTree/ResourceLoadDelegate.m:
12533 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
12534 Add the willCacheResponse delegate call
12536 2007-04-18 Adam Roben <aroben@apple.com>
12538 Reviewed by David Kilzer.
12540 * Scripts/webkitdirs.pm:
12541 (sub setConfiguration): Added an optional argument to set the
12542 configuration instead of parsing it from ARGV.
12544 2007-04-17 Adam Roben <aroben@apple.com>
12546 * Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
12549 2007-04-17 Adam Roben <aroben@apple.com>
12551 Added a simple shell script to find all the headers from a specified
12552 framework or frameworks that are included by files beneath the working
12555 * Scripts/find-included-framework-headers: Added.
12557 2007-04-16 Timothy Hatcher <timothy@apple.com>
12559 * Drosera/debugger.css: hide the borders for iframes
12561 2007-04-13 Adam Roben <aroben@apple.com>
12563 Rubberstamped by Anders.
12565 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include
12566 stdio.h so that snprintf is defined.
12568 2007-04-13 Brady Eidson <beidson@apple.com>
12572 Add the ability to dump the back/forward history of all windows open at the end of a test
12574 * DumpRenderTree/DumpRenderTree.m:
12575 (dumpBackForwardListForWebView): Dump B/F list for the given WebView
12576 (dump): Call dumpBackForwardListForWebView for each WebView open after the test
12578 2007-04-13 Anders Carlsson <andersca@apple.com>
12582 By default, close any windows that have been opened during a test. This can be overridden by
12583 calling setCloseRemainingWindowsWhenComplete(false).
12585 Change the windows set to an array so we can gurantee the enumeration order.
12587 * DumpRenderTree/DumpRenderTree.m:
12588 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12589 (+[LayoutTestController webScriptNameForSelector:]):
12590 (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
12592 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
12593 (-[DumpRenderTreeWindow dealloc]):
12595 2007-04-13 Geoffrey Garen <ggaren@apple.com>
12599 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
12600 (handleCallback): Explicitly cast the void* returned by malloc.
12602 2007-04-12 Deneb Meketa <dmeketa@adobe.com>
12604 Reviewed by Darin Adler.
12606 http://bugs.webkit.org/show_bug.cgi?id=13029
12607 rdar://problem/4994849
12608 Bug 13029: Permit NPAPI plug-ins to see HTTP response headers.
12609 Changes in WebKitTools are only for the NPAPI test plugin.
12611 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: main test logic.
12612 (pluginInvoke): support null window argument for NPStream creation.
12613 (pluginAllocate): initialization.
12614 (pluginDeallocate): cleanup.
12615 (handleCallback): add second JS callback arg: header dump.
12616 (notifyStream): added; hook from NPP_NewStream to record headers.
12617 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: declarations.
12618 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: call new header hook.
12619 (NPP_NewStream): call new header hook.
12621 2007-04-09 Geoffrey Garen <ggaren@apple.com>
12623 Reviewed by Maciej Stachowiak.
12625 Fixed fast/forms/textarea-paste-newline.html.
12627 This failure was pretty funny. run-webkit-tests kills and respawns
12628 DumpRenderTree once every 1000 runs. Adding a few tests caused
12629 textarea-paste-newline.html to run right at the beginning of DumpRenderTree's
12630 lifetime, before any render tree dumps had occurred. However, WebCore
12631 used a render tree dump as the hook that set a global flag to allow
12632 pasting through the DOM API, so running before any render tree dumps had
12633 occurred caused this test to fail.
12635 * DumpRenderTree/DumpRenderTree.m:
12636 (dumpRenderTree): Explicitly tell WebKit to allow pasting through the DOM
12637 API, instead of hoping it will read the tea leaves.
12639 2007-04-07 Mark Rowe <mrowe@apple.com>
12641 Not reviewed. Update to match some configuration changes that have been active on build.webkit.org.
12643 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
12645 2007-04-05 Anders Carlsson <andersca@apple.com>
12649 Add support for opening new windows in DumpRenderTree.
12651 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12652 (+[LayoutTestController webScriptNameForSelector:]):
12653 (-[LayoutTestController setCallCloseOnWebViews:]):
12654 (-[LayoutTestController setCanOpenWindows]):
12655 Add two new methods callable from JavaScript. setCanOpenWindows controls whether a test
12656 can open new windows, and setCallCloseOnWebViews controls whether -[WebView close] should be called on
12657 web views that are about to be closed.
12660 Make sure that only the main window is around when a test has finished running.
12662 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
12663 (-[DumpRenderTreeWindow dealloc]):
12664 Manage the set of windows.
12666 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
12667 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
12668 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
12670 Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not.
12672 * DumpRenderTree/UIDelegate.m:
12673 (-[UIDelegate webView:createWebViewWithRequest:]):
12674 Create new windows.
12676 (-[UIDelegate webViewClose:]):
12679 2007-04-05 Anders Carlsson <andersca@apple.com>
12681 Reviewed by Maciej.
12683 Move WebView and NSWindow creation to a separate function in preparation of supporting opening new
12686 * DumpRenderTree/DumpRenderTree.m:
12690 2007-04-03 Anders Carlsson <andersca@apple.com>
12692 Reviewed by Darin Adler.
12694 Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded.
12696 * DumpRenderTree/DumpRenderTree.h:
12697 * DumpRenderTree/DumpRenderTree.m:
12699 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12700 (+[LayoutTestController webScriptNameForSelector:]):
12701 (-[LayoutTestController addDisallowedURL:]):
12703 * DumpRenderTree/ResourceLoadDelegate.m:
12704 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
12706 2007-04-03 Mark Rowe <mrowe@apple.com>
12710 * BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip.
12712 2007-04-02 Anders Carlsson <andersca@apple.com>
12714 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
12715 Don't use #import in a header included by C files.
12717 2007-03-31 Mark Rowe <mrowe@apple.com>
12721 Fix http://bugs.webkit.org/show_bug.cgi?id=13239
12722 Bug 13239: REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process
12724 Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array
12725 rather than -[WebScriptObject count].
12727 * Drosera/DebuggerDocument.m:
12728 (-[DebuggerDocument webScriptAttributeKeysForScriptObject:]):
12730 2007-03-30 Anders Carlsson <andersca@apple.com>
12734 Add an "onstreamload" attribute to the plugin which is called when a stream starts loading.
12736 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
12737 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
12739 Look for the onstreamload attribute.
12742 Free the onstreamload attribute.
12745 Call the onstreamload handler.
12747 2007-03-30 Geoffrey Garen <ggaren@apple.com>
12749 Removing an assertion I just added because it's crashing the Leopard
12750 buildbot. The related layout test will still report a failure, so we
12751 don't really need this assertion.
12753 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
12756 2007-03-30 Anders Carlsson <andersca@apple.com>
12760 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c:
12765 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h:
12766 Don't use #import, use #include.
12768 2007-03-30 Anders Carlsson <andersca@apple.com>
12770 Reviewed by Alexey.
12772 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
12774 Free the identifier string.
12776 2007-03-30 Anders Carlsson <andersca@apple.com>
12780 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12781 Add TestObject.c and TestObject.h
12783 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
12784 (pluginGetProperty):
12785 Implement the testObject property.
12788 Implement testEnumerate which takes an object and an array and enumerates
12789 the properties of the object and adds them to the array.
12792 Allocate the test object.
12794 (pluginDeallocate):
12795 Free the test object.
12797 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added.
12798 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added.
12799 Add a test object with two enumerable properties.
12801 2007-03-29 Geoffrey Garen <ggaren@apple.com>
12803 Reviewed by Beth Dakin.
12805 Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in
12806 -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:]
12807 navigating away from page with DivX movie plug-in (13203)
12809 Added hasStream property and destroyStream function, used by layout test.
12811 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
12812 (pluginGetProperty):
12815 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
12816 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
12819 2007-03-27 Anders Carlsson <acarlsson@apple.com>
12823 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
12825 Add new function which takes a function and calls it using NPN_InvokeDefault.
12827 2007-03-27 Adele Peterson <adele@apple.com>
12831 * DumpRenderTree/DumpRenderTree.m:
12832 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
12834 2007-03-27 Adele Peterson <adele@apple.com>
12836 Fix svg tests by calling displayIfNeeded.
12838 * DumpRenderTree/DumpRenderTree.m:
12839 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
12841 2007-03-26 Mark Rowe <mrowe@apple.com>
12843 Reviewed by Sam Weinig.
12845 Upload crash logs from DumpRenderTree as part of the test results to ease debugging
12846 of hard-to-reproduce crashes.
12848 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
12850 2007-03-23 Adam Treat <adam@staikos.net>
12852 Reviewed and committed by George.
12854 Patch by Adam Treat. Removes hardcoded path to .pro file.
12856 2007-03-22 Adam Roben <aroben@apple.com>
12860 Removed eventSender.mouseClick because it was only useful for AppKit
12861 controls, which we don't use anymore.
12863 * DumpRenderTree/EventSendingController.m:
12864 (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed
12867 2007-03-22 Adam Roben <aroben@apple.com>
12871 Make eventSender.mouseClick actually send a mouse up event.
12873 * DumpRenderTree/EventSendingController.m:
12874 (-[EventSendingController mouseClick]):
12876 2007-03-19 David Hyatt <hyatt@apple.com>
12878 Update the minimum font size pref to match the actual default setting in Safari. It should have been 1
12879 all this time and not 9.
12883 * DumpRenderTree/DumpRenderTree.m:
12886 2007-03-18 Dan Waylonis <waylonis@mac.com>
12888 Reviewed by Tim Hatcher.
12890 DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
12891 Bug 13005: WebScriptObject +throwException needs NULL check.
12893 Add tests to ensure that a plugin can safely throw an exception in dealloc.
12895 * DumpRenderTree/ObjCPlugin.h:
12896 * DumpRenderTree/ObjCPlugin.m:
12897 (+[ObjCPlugin webScriptNameForKey:]):
12898 (+[ObjCPlugin isKeyExcludedFromWebScript:]):
12899 (-[ObjCPlugin dealloc]):
12901 2007-03-13 Mark Rowe <mrowe@apple.com>
12903 Reviewed by Maciej.
12905 Have the nightly launcher prefer Safari found in /Applications or ~/Applications
12906 if present, otherwise fall back on using LaunchServices to locate it elsewhere
12907 on the system. The motivation for this is to make the behaviour of the nightly
12908 builds more predictable on machines with multiple copies of Safari present.
12910 * WebKitLauncher/main.m:
12911 (locateSafariBundle):
12914 2007-03-12 Darin Adler <darin@apple.com>
12916 Reviewed by Tim Hatcher.
12918 - add a DumpRenderTree feature where you can get the Objective-C
12919 class name of a JavaScript object
12921 * DumpRenderTree/DumpRenderTree.m:
12922 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add the
12923 objCClassNameOf: selector.
12924 (+[LayoutTestController webScriptNameForSelector:]): Add the
12925 objCClassNameOf: selector, with the name "objCClassName".
12926 (-[LayoutTestController objCClassNameOf:]): Added.
12928 2007-03-11 Geoffrey Garen <ggaren@apple.com>
12930 Reviewed by Oliver Hunt.
12932 Beefed up --threaded mode in light of <rdar://problem/4681051> Installer
12933 crashes in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*)
12934 trying to install iLife 06 using Rosetta on an Intel Machine
12936 --threaded mode now runs a bunch of different JavaScript threads, randomly
12937 killing and respawning them. This was sufficient for reproducing the
12938 bug on my MacBook Pro.
12940 * DumpRenderTree/DumpRenderTree.m:
12941 (javaScriptThreads):
12942 (runJavaScriptThread):
12943 (startJavaScriptThreads):
12944 (stopJavaScriptThreads):
12947 2007-03-11 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
12949 Reviewed by Brady Eidson.
12951 Add forward/backward/quit menus for easier testing.
12953 * GdkLauncher/main.cpp:
12955 (menuMainForwardCb):
12959 2007-03-09 Andrew Wellington <proton@wiretapped.net>
12961 Reviewed by Darin Adler.
12963 - fix http://bugs.webkit.org/show_bug.cgi?id=13007
12964 svn-create-patch doesn't handle UTF files with BOMs as text
12966 Force diff to treat files that svn-create-patch thinks are text as text.
12968 * Scripts/svn-create-patch: Added -a switch to diff command.
12970 2007-03-09 Mark Rowe <mrowe@apple.com>
12972 Unreviewed. Use the new SVN URL on the buildbot.
12974 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
12976 2007-03-08 Mark Rowe <mrowe@apple.com>
12980 Fix compiler warnings when building Drosera as 64-bit.
12982 * Drosera/DebuggerDocument.m:
12983 (-[DebuggerDocument breakpointEditorHTML]): Move away from deprecated NSString method.
12984 (-[DebuggerDocument scriptConfirmSheetDidEnd:returnCode:contextInfo:]): Update type.
12985 (-[DebuggerDocument webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Update type to accommodate constant.
12987 2007-03-07 Mark Rowe <mrowe@apple.com>
12989 Reviewed by Maciej.
12991 Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o.
12993 * Scripts/check-for-global-initializers:
12995 2007-03-07 Anders Carlsson <acarlsson@apple.com>
12999 Add some assertions.
13001 * DumpRenderTree/DumpRenderTree.m:
13002 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
13003 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
13004 (-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
13005 (-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]):
13007 2007-03-07 David Kilzer <ddkilzer@webkit.org>
13009 Reviewed by Darin Adler.
13011 - WebKitTools part of fix for http://bugs.webkit.org/show_bug.cgi?id=12463
13012 WebArchiver - attempt to insert nil exception when archive empty iframe
13014 The dumpDOMAsWebArchive() test method uses the DOMDocument as a basis for creating
13015 a webarchive while the dumpSourceAsWebArchive() test method uses the original
13016 dataSource (page source) to create a webarchive. Most tests currently use
13017 dumpDOMAsWebArchive() since this is what Safari does when saving a web page as a
13020 * DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive.
13021 Added dumpSourceAsWebArchive.
13023 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13024 (-[LayoutTestController dumpDOMAsWebArchive]):
13025 (-[LayoutTestController dumpSourceAsWebArchive]):
13028 2007-03-05 Kevin McCullough <kmccullough@apple.com>
13030 Reviewed by Mark and Dave H.
13032 - rdar://problem/4922454
13033 - This fixes a security issue by making remote referrers not able to access local
13034 resources, unless they register their schemes to be treated as local. The result is
13035 that those schemes can access local resources and cannot be accessed by remote
13037 Because this behavior is new a link-on-or-after check is made to determine if the
13038 app should use the older, less safe, behavior.
13040 * DumpRenderTree/DumpRenderTree.m: Add ability to set user style sheet to DRT.
13041 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13042 (+[LayoutTestController webScriptNameForSelector:]):
13043 (-[LayoutTestController setUserStyleSheetLocation:]):
13044 (-[LayoutTestController setUserStyleSheetEnabled:]):
13046 2007-03-05 Anders Carlsson <acarlsson@apple.com>
13048 Reviewed by Adam, Darin.
13050 <rdar://problem/5025212>
13051 In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object
13053 Add a "getURLNotify" method to the plugin object. This lets you pass a URL, a target and a callback function
13054 to be run when the URL has finished (or failed) loading.
13056 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13059 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13060 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13063 2007-03-04 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13065 Reviewed by Nikolas Zimmermann.
13067 Load a url given on a command line in a way that also
13068 works for local (file://) urls.
13070 * GdkLauncher/main.cpp:
13073 2007-03-02 Geoffrey Garen <ggaren@apple.com>
13075 Tweaked parse-malloc-history to work with new malloc_history output format.
13077 * Scripts/parse-malloc-history:
13079 2007-02-28 Vladimir Olexa <vladimir.olexa@gmail.com>
13083 Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
13084 Bug#12887: [Drosera] Add ability to close loaded files
13086 * Drosera/DebuggerDocument.h:
13087 * Drosera/DebuggerDocument.m:
13088 (-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files
13089 * Drosera/Drosera.xcodeproj/project.pbxproj:
13090 * Drosera/English.lproj/MainMenu.nib/classes.nib:
13091 * Drosera/English.lproj/MainMenu.nib/info.nib:
13092 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item
13093 * Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style
13094 * Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file
13096 2007-02-28 Nikolas Zimmermann <zimmermann@kde.org>
13098 Reviewed by Maciej.
13100 Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily.
13102 * Scripts/build-webkit:
13104 2007-02-27 Geoffrey Garen <ggaren@apple.com>
13106 Small tweak to run-webkit-tests.
13108 * Scripts/run-webkit-tests: Allow people with lots of RAM to run more than
13109 1000 MallocStackLogging tests at a time.
13111 2007-02-26 Maciej Stachowiak <mjs@apple.com>
13115 - set ENABLE_XSLT even when compiling without SVG support, since that is no
13116 longer hardcoded into config.h.
13118 * Scripts/build-webkit:
13120 2007-02-26 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13122 Reviewed by Adam Roben.
13124 Rename *_SUPPORT defines to ENABLE_*.
13126 * GdkLauncher/gdklauncher.bkl:
13128 2007-02-24 Geoffrey Garen <ggaren@apple.com>
13130 Reviewed by Darin Adler.
13132 * Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're
13135 2007-02-24 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13137 Reviewed by Adam Roben.
13139 Improve gdklauncher: add text field for entering url.
13141 * GdkLauncher/gdklauncher.bkl:
13142 * GdkLauncher/main.cpp:
13147 (goButtonClickedCb):
13149 (registerRenderingAreaEvents):
13154 2007-02-22 Vladimir Olexa <vladimir.olexa@gmail.com>
13158 Fixes: http://bugs.webkit.org/show_bug.cgi?id=12852
13159 Bug#12852: Drosera should select function name, not "function" keyword when selecting from function list pop-up
13160 * Drosera/debugger.js: Fixed some logic errors resulting in generating double IDs and names.
13162 2007-02-22 Adele Peterson <adele@apple.com>
13164 Reviewed by Darin Adler.
13166 Added option in layoutTestController to setTabKeyCyclesThroughElements, so we
13167 can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body
13169 * DumpRenderTree/DumpRenderTree.m:
13170 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13171 (+[LayoutTestController webScriptNameForSelector:]):
13172 (-[LayoutTestController setTabKeyCyclesThroughElements:]):
13174 2007-02-22 Geoffrey Garen <ggaren@apple.com>
13176 Used svn merge -r19786:19785 to roll out previous hack to work around
13177 SVG painting issue in DRT.
13179 Implemented new work-around, which makes --paint paint *after* dumping
13180 the render tree instead of before, so that painting doesn't influence
13181 the SVG render tree.
13183 This should fix the ~400 new pixel failures introduced in r19786.
13185 * DumpRenderTree/DumpRenderTree.m:
13187 * Scripts/run-webkit-tests:
13189 2007-02-22 Geoffrey Garen <ggaren@apple.com>
13191 Resetting --leaks mode default to run 1000 tests at a time because setting it
13192 to 750 didn't stop the stack logging related crashes, and running more tests
13193 at a time is faster. The crashes seem to be a real bug in stack logging,
13194 not an out of memory condition.
13196 * Scripts/run-webkit-tests:
13198 2007-02-21 Geoffrey Garen <ggaren@apple.com>
13200 Reviewed by Adam Roben.
13202 Added hack to force painting when running an SVG test. This is a work-around
13203 for http://bugs.webkit.org/show_bug.cgi?id=12849 SVG renderers update at
13204 paint time instead of style resolution time.
13206 We need this so that --leaks mode, which always paints, doesn't appear to
13207 fail SVG tests. We also need this if we ever want to test style application
13208 in SVG, since many SVGs don't apply style to their renderers until they paint.
13210 * Scripts/run-webkit-tests:
13212 2007-02-21 Geoffrey Garen <ggaren@apple.com>
13214 Reduced --leaks mode to running only 750 tests at a time, in the hopes
13215 of fixing intermittent crasher that may be caused by out of memory
13218 * Scripts/run-webkit-tests:
13220 2007-02-21 Geoffrey Garen <ggaren@apple.com>
13222 Reviewed by Darin Adler.
13224 Made DRT paint when running run-webkit-tests in --leaks mode, to check
13225 for painting leaks.
13227 * DumpRenderTree/DumpRenderTree.m: Removed some "NO" initializations, since
13228 that's the default for statics.
13229 (dumpRenderTree): Added --paint command line option, which specifies that
13230 DRT should paint at the end of every test.
13231 (displayWebView): New function, called by dump() and -[LayoutTestController display].
13232 * Scripts/run-webkit-tests: Use the --paint command line option when checking
13235 * Scripts/run-webkit-tests: Added a new, painting leak to the ignore list.
13236 Removed stale comment about THRD leaks -- we now ignore them reliably.
13238 2007-02-21 Geoffrey Garen <ggaren@apple.com>
13240 Tools tweak. No review necessary.
13242 * Scripts/parse-malloc-history: Enabled multiple merge-regexp command line
13243 arguments. Changed command line argument variables from special implicit
13244 no-op values to specific empty values that we test explicitly.
13246 2007-02-21 Vladimir Olexa <vladimir.olexa@gmail.com>
13250 Bug 12834: Drosera should remember scroll position of open files like Xcode
13251 http://bugs.webkit.org/show_bug.cgi?id=12834
13253 * Drosera/debugger.js: Implemented scrolling memory
13255 2007-02-20 Geoffrey Garen <ggaren@apple.com>
13257 Tools tweak. No review necessary.
13259 Made parse-malloc-history executable. (Oops!)
13261 Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history"
13264 Added the ability to merge callstacks by regexp, not just depth, so you
13265 can ask questions like, "How many of these allocations were due to that one
13268 * Scripts/parse-malloc-history:
13270 2007-02-20 Geoffrey Garen <ggaren@apple.com>
13272 * Scripts/parse-malloc-history: Added copyright info.
13274 2007-02-20 Geoffrey Garen <ggaren@apple.com>
13276 Reviewed by Darin Adler.
13278 New script to parse the output from malloc_history, so we can determine
13279 what's using memory in WebKit.
13281 * Scripts/parse-malloc-history: Added.
13283 2007-02-20 Graham Dennis <graham.dennis@gmail.com>
13285 Reviewed by Darin Adler.
13287 Fix for http://bugs.webkit.org/show_bug.cgi?id=12802
13288 WebKit.framework is built with SVG_SUPPORT for No-SVG build
13290 * Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well.
13292 2007-02-19 Geoffrey Garen <ggaren@apple.com>
13296 * Scripts/check-for-global-initializers: Ignore the global counter I added
13297 for SubresourceLoaders.
13299 2007-02-19 Darin Adler <darin@apple.com>
13301 Reviewed by Tim Hatcher.
13303 * Scripts/check-for-global-initializers: Delete the linked executable if the check fails.
13304 Without this, you only see the global initializer error once, which makes it very easy
13307 2007-02-16 Mark Rowe <mrowe@apple.com>
13311 <rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode
13313 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests.
13315 2007-02-15 Geoffrey Garen <ggaren@apple.com>
13317 Reviewed by Beth Dakin.
13319 * DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node
13320 leaks anymore, either, since r19486 fixed them, too.
13321 (shouldIgnoreWebCoreNodeLeaks):
13323 2007-02-15 Darin Adler <darin@apple.com>
13325 * Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were
13326 fixed by change 19486.
13328 2007-02-15 Geoffrey Garen <ggaren@apple.com>
13330 Reviewed by Beth Dakin.
13332 Ignore another leak, seen recently on the buildbot.
13334 * Scripts/run-webkit-tests:
13336 2007-02-14 Geoffrey Garen <ggaren@apple.com>
13338 Reviewed by Beth Dakin.
13340 Ignore another leak, seen recently on the buildbot.
13342 * Scripts/run-webkit-tests:
13344 2007-02-13 Darin Adler <darin@apple.com>
13346 * Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one
13349 2007-02-11 Maciej Stachowiak <mjs@apple.com>
13353 - add contextClick() operation to eventSender to be able to test this
13355 * DumpRenderTree/EventSendingController.m:
13356 (+[EventSendingController isSelectorExcludedFromWebScript:]):
13357 (-[EventSendingController contextClick]):
13359 2007-02-11 Darin Adler <darin@apple.com>
13361 * Scripts/check-for-global-initializers: Fix case where executable doesn't exist at all
13362 so it doesn't give a perl exception (happens in clean builds, for example).
13364 2007-02-10 David Kilzer <ddkilzer@webkit.org>
13368 * Scripts/svn-create-patch:
13369 (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
13370 a relative path to the copied file.
13372 2007-02-10 Timothy Hatcher <timothy@apple.com>
13374 Reviewed by Sam Weinig.
13376 * Drosera/Drosera.icns: updated the icon with 512px and 256px variants
13378 2007-02-10 David Kilzer <ddkilzer@webkit.org>
13380 Reviewed by Timothy.
13382 * Scripts/svn-apply:
13383 (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
13386 2007-02-10 Brady Eidson <beidson@apple.com>
13390 <rdar://problem/4965133> WebKit sends file:// url referrers
13392 * Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests
13393 on local files, but have an httpd for remote resources
13395 2007-02-08 Geoffrey Garen <ggaren@apple.com>
13397 Reviewed by Beth Dakin.
13399 Ignore another false leak report.
13401 * Scripts/run-webkit-tests:
13403 2007-02-08 Geoffrey Garen <ggaren@apple.com>
13405 Reviewed by Kevin McCullough.
13407 * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
13408 already exists, to avoid confusing error message.
13410 Also, remove /tmp/LayoutTests after running so unsupecting fools don't
13411 try to rm -rf it, only later to discover that they have completely hosed
13414 2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13416 Reviewed by Adam Roben.
13418 Linux/gdk build fixes.
13420 * GdkLauncher/main.cpp: Add -exit-after-loading and
13421 -dump-render-tree as debugging aid.
13425 2007-02-08 Geoffrey Garen <ggaren@apple.com>
13427 Minor fixup based on Maciej's review last night.
13429 * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
13430 and do a little math to make it work.
13432 2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
13434 Reviewed by Adam Roben.
13436 Linux/gdk build fixes.
13438 * GdkLauncher/gdklauncher.bkl:
13440 2007-02-08 Kevin McCullough <KMcCullough@apple.com>
13442 - Fix layout test failures.
13444 * Scripts/run-webkit-tests:
13446 2007-02-08 Darin Adler <darin@apple.com>
13448 Reviewed by Anders.
13450 * Scripts/check-for-global-initializers: For speed, only check files that
13451 have been modified since the last time we linked. For tidiness, capture
13452 stderr from nm, and prevent "nm: no name list" messages from going out.
13454 2007-02-08 Geoffrey Garen <ggaren@apple.com>
13456 Reviewed by Maciej Stachowiak, Adam Roben.
13458 Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
13459 arbitrary number n.
13462 - DumpRenderTree => "dumpTool" (to match abstraction elsewhere)
13463 - checkLeaks => "shouldCheckLeaks" (to match style guidelines)
13464 - tool => dumpTool (to match abstraction elsewhere)
13465 - httpdOpen => isHttpdOpen (to match style guidelines)
13467 Plus a few logic fixups:
13468 - Don't check isDumpToolOpen when we know we've called openDumpTool().
13469 - Use a single code path to decide when to shut down dumpTool and
13470 when to check for leaks, since the operations are coincidental.
13471 - Use a single code path for running the leaks tool, since the only
13472 thing that varies between configurations is the output file name.
13473 - Increment $count after each test finishes, instead of at the end
13474 of the loop, to help with comparing to the length of the array
13476 - Use a more robust test inside the loop to determine if we need to
13477 close dumpTool, instead of copying the closing code outside the loop.
13481 * Scripts/run-webkit-tests:
13483 2007-02-06 Geoffrey Garen <ggaren@apple.com>
13485 Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
13487 Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can
13488 catch all reports of them, not just those inside pthread_create.
13490 Also, use "\\" instead of "\" because we need the actual \ to get into the
13491 regexp string if it's going to do any escaping. (Oops!)
13493 * Scripts/run-webkit-tests:
13495 2007-02-06 Geoffrey Garen <ggaren@apple.com>
13497 Reviewed by Bethany P. Dakin.
13499 The 's' is optional when the leaks tool reports 'leaks'.
13501 * Scripts/run-leaks:
13503 2007-02-06 Geoffrey Garen <ggaren@apple.com>
13505 Reviewed by Bethany P. Dakin.
13507 Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
13509 * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
13511 2007-02-06 David Smith <catfish.man@gmail.com>
13513 Reviewed by Darin Adler.
13515 Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
13516 [Drosera] Console history fixups
13518 * Drosera/console.js: assorted cleanups and fixes
13520 2007-02-05 Geoffrey Garen <ggaren@apple.com>
13522 Reviewed by Darin Adler.
13524 New script that allows you to ignore leaks by regular expression.
13526 * Scripts/run-leaks: Added.
13528 2007-02-03 Sam Weinig <sam@webkit.org>
13532 Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
13533 Drosera doesn't handle CR ( carriage returns ) well
13535 - Normalize all the line endings.
13537 * Drosera/debugger.js:
13539 2007-02-02 Geoffrey Garen <ggaren@apple.com>
13541 Reviewed by Darin Adler.
13543 Added some more known leaks to the leaks ignore list.
13545 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
13546 hate itself so much?
13547 * Scripts/run-webkit-tests:
13549 2007-02-02 Geoffrey Garen <ggaren@apple.com>
13551 Even better build fix than the last.
13554 * DumpRenderTree/DumpRenderTree.m:
13555 (shouldIgnoreWebCoreNodeLeaks):
13557 2007-02-02 Geoffrey Garen <ggaren@apple.com>
13559 Fixed build. Added work-around for GCC bug.
13561 * DumpRenderTree/DumpRenderTree.m:
13562 (shouldIgnoreWebCoreNodeLeaks):
13564 2007-02-01 Geoffrey Garen <ggaren@apple.com>
13566 Reviewed by Maciej Stachowiak.
13568 Added support for selectively ignoring WebCore::Node leaks during layout
13569 tests, so that we can ignore known leaks in other components.
13571 * DumpRenderTree/DumpRenderTree.m:
13572 (shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose
13573 WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook
13574 confuse anyone else?
13577 2007-02-01 Anders Carlsson <acarlsson@apple.com>
13579 Reviewed by Darin Adler.
13581 * DumpRenderTree/UIDelegate.m:
13582 (-[UIDelegate webView:addMessageToConsole:]):
13583 Dump console messages.
13585 2007-01-31 Anders Carlsson <acarlsson@apple.com>
13587 * DumpRenderTree/ResourceLoadDelegate.m:
13588 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
13589 Use an NSString here so we can guarantee that -description always returns the same value.
13591 2007-01-31 Geoffrey Garen <ggaren@apple.com>
13593 Reviewed by Darin Adler.
13595 Added Selection::toRange to the leaks -exclude list, since it comes up
13596 as a false positive (Radar 4967949).
13598 Also added RangeCounter to the global initializer exclude list. I added
13599 a RangeCounter since leaks won't detect all Range leaks anymore.
13601 * Scripts/check-for-global-initializers:
13602 * Scripts/run-webkit-tests:
13604 2007-01-31 Anders Carlsson <acarlsson@apple.com>
13606 * DumpRenderTree/ResourceLoadDelegate.m:
13607 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
13608 Don't try to create an identifier if resource loads shouldn't be dumped.
13610 2007-01-31 Anders Carlsson <acarlsson@apple.com>
13614 Add dumping of resource loads. This isn't completely tweaked yet since the test results would
13615 rely on resources being delivered in the same order which might not always be true. However, it works good
13616 enough for the simple webarchive tests I want to do right now.
13618 * DumpRenderTree/DumpRenderTree.h:
13619 * DumpRenderTree/DumpRenderTree.m:
13621 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13622 (-[LayoutTestController dumpResourceLoadCallbacks]):
13625 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13626 * DumpRenderTree/ResourceLoadDelegate.h: Added.
13627 * DumpRenderTree/ResourceLoadDelegate.m: Added.
13628 Add new resource load delegate.
13630 2007-01-31 Geoffrey Garen <ggaren@apple.com>
13632 Backing out the CFRunLoopRunSpecific exclude command because it was overly
13633 broad. We'll either need to work around this leak in DRT, or do some
13634 custom grep-based leak ignoring.
13636 * Scripts/run-webkit-tests:
13638 2007-01-30 Geoffrey Garen <ggaren@apple.com>
13640 Reviewed by Beth Dakin.
13642 Filed some more Radars in other components, added some more leaks to the
13645 * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
13646 CFRunLoopRunSpecific, and NSSpellChecker.
13648 2007-01-30 David Kilzer <ddkilzer@webkit.org>
13650 Reviewed by Darin Adler.
13652 http://bugs.webkit.org/show_bug.cgi?id=11882
13653 Need a way to regression test .webarchive output files
13655 Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
13656 Alters WebResourceResponse and WebResourceURL properties within WebArchive format
13657 to normalize URLs to remove path where WebKit was checked out. Also converts
13658 WebDataResource properties from data to string if the corresponding
13659 WebResourceMIMEType property starts with "text/" or equals
13660 "application/x-javascript".
13662 * DumpRenderTree/DumpRenderTree.m:
13663 (convertWebResourceDataToString): Added.
13664 (normalizeWebResourceURL): Added.
13665 (normalizeWebResourceResponse): Added.
13666 (serializeWebArchiveToXML): Added.
13668 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13669 (-[LayoutTestController dumpAsWebArchive]): Added.
13672 2007-01-30 David Kilzer <ddkilzer@webkit.org>
13674 Reviewed by Mark Rowe.
13676 http://bugs.webkit.org/show_bug.cgi?id=12470
13677 svn-create-patch creates duplicate patches for files within an added/modified directory
13679 * Scripts/svn-create-patch:
13680 (sub generateFileList($\%\%)): Ignore directories when generating the file list.
13682 2007-01-29 Geoffrey Garen <ggaren@apple.com>
13684 Reviewed by Maciej Stachowiak.
13686 Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
13688 No more mollycoddling for you, FastMalloc.o!
13690 * Scripts/check-for-global-initializers:
13692 2007-01-29 Graham Dennis <graham.dennis@gmail.com>
13694 Reviewed by Maciej.
13696 Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
13697 Image data in from RTFD clipboard data thrown away
13699 - This method is needed because NSArrays are bridged to JS Arrays,
13700 which in turn are bridged back to WebScriptObjects when passed from
13701 JS to ObjC. Hence it is not possbile to pass an NSArray from JS.
13703 * DumpRenderTree/DumpRenderTree.m:
13704 (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
13706 2007-01-25 Geoffrey Garen <ggaren@apple.com>
13708 Reviewed by Maciej Stachowiak.
13710 Added support for test for <rdar://problem/4608404> WebScriptObject's
13711 _rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
13713 * DumpRenderTree/DumpRenderTree.m:
13714 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13715 (+[LayoutTestController webScriptNameForSelector:]):
13716 (-[LayoutTestController storeWebScriptObject:]):
13717 (-[LayoutTestController accessStoredWebScriptObject]):
13718 (-[LayoutTestController dealloc]):
13720 2007-01-26 Lars Knoll <lars@trolltech.com>
13724 Small hack to ensure that our top level frame actually has the
13725 correct size. Unfortunately this means I'll have to regenerate
13728 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13729 (WebCore::DumpRenderTree::DumpRenderTree):
13731 2007-01-25 Lars Knoll <lars@trolltech.com>
13733 Reviewed by Darin and Zack
13735 Move the test results for Qt into a directory of it's own
13736 (WebKit/LayoutTestResults/qt). Leave the Mac results where
13737 they are for now and share the text only results between
13740 Add support for a LayoutTestResults/platform/Skipped file
13741 to run-webkit-tests to be able to ignore certain tests
13743 Remove the old tests-skipped.txt from Qts DumpRenderTree
13746 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13747 (WebCore::DumpRenderTree::DumpRenderTree):
13748 (WebCore::DumpRenderTree::open):
13749 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
13750 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed.
13751 * Scripts/run-webkit-tests:
13753 2007-01-24 Darin Adler <darin@apple.com>
13755 Reviewed by Oliver.
13757 - fix crash seen in layout tests
13759 * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
13760 Add back the line of code that sets savedMouseEvents to nil. I thought it was
13761 a field of the EventSendingController, but it's actually a global.
13763 2007-01-24 Darin Adler <darin@apple.com>
13765 Reviewed by Maciej.
13767 - changed dragMode to be a property instead of a function
13769 * DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode.
13770 * DumpRenderTree/EventSendingController.m:
13771 (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode.
13772 (+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode.
13773 (-[EventSendingController init]): Updated for name change.
13774 (-[EventSendingController leapForward:]): Ditto.
13775 (-[EventSendingController mouseUp]): Ditto.
13776 (-[EventSendingController mouseMoveToX:Y:]): Ditto.
13778 2007-01-24 Darin Adler <darin@apple.com>
13780 Reviewed by Maciej.
13782 - made the deferral of mouse events until drag completes conditional
13783 it's needed for drag testing, and harmful for selection testing
13785 * DumpRenderTree/EventSendingController.h: Added inDragMode boolean.
13786 * DumpRenderTree/EventSendingController.m:
13787 (+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:.
13788 (+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode,
13789 and remove unneeded clearKillRing name.
13790 (-[EventSendingController init]): Initialize inDragMode to true.
13791 (-[EventSendingController dealloc]): Removed overzealous assertions -- we should
13792 not be asserting things that are dependent on the test content!
13793 (-[EventSendingController leapForward:]): Only queue events in drag mode.
13794 (-[EventSendingController setDragMode:]): Added.
13795 (-[EventSendingController mouseDown]): Removed overzealous assertion.
13796 (-[EventSendingController mouseUp]): Removed overzealous assertions.
13797 Only queue events in drag mode.
13798 (-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode.
13800 2007-01-24 Lars Knoll <lars@trolltech.com>
13804 Add a signal handler, always dump immediately if we get an
13805 error during a page load and raise the timeout to 5 seconds
13806 (as we get a lot less such failures now)
13808 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13809 (WebCore::DumpRenderTree::DumpRenderTree):
13810 (WebCore::DumpRenderTree::maybeDump):
13811 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
13812 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
13813 (LayoutTestController::waitUntilDone):
13814 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
13817 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
13819 2007-01-22 Darin Adler <darin@apple.com>
13823 - a couple tiny tweaks to make --reset-results work better
13825 * Scripts/run-webkit-tests: Always generate results when --reset-results is specified.
13826 Don't make a separate "new" entry while generating results when --reset-results
13827 is specified since new results are the norm in that case.
13829 2007-01-21 Sanjay Madhav <sanjay12@gmail.com>
13831 Reviewed by Darin Adler.
13833 Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
13835 This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
13837 * DumpRenderTree/GCController.h:
13838 * DumpRenderTree/GCController.mm:
13839 (+[GCController isSelectorExcludedFromWebScript:]):
13840 (-[GCController getJSObjectCount]):
13842 2007-01-20 Mark Rowe <mrowe@apple.com>
13844 Reviewed by Maciej.
13846 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
13847 catch single regressions, and don't generate tests results for new tests.
13849 2007-01-20 Adam Roben <aroben@apple.com>
13851 Rubberstamped by Maciej.
13853 * Scripts/run-webkit-tests: Change the default behavior back to
13854 generating results for new tests (this can be disabled with
13855 --no-new-test-results)
13857 2007-01-19 Lars Knoll <lars@trolltech.com>
13859 Reviewed by Adam Roben.
13861 run-webkit-tests does now not generate new results by default anymore.
13862 You'll have to pass the --new-tests flag to it to force it to do so.
13864 This is required to make it possible to have tests running on multiple
13865 platforms peacefully together.
13867 * Scripts/run-webkit-tests:
13869 2007-01-18 Darin Adler <darin@apple.com>
13871 Reviewed by John Sullivan.
13873 * Scripts/run-webkit-tests: Fix handling of configuration so it
13874 does the right thing when no explicit configuration is passed in.
13875 The old code assumed that the result of setConfiguration() was the
13876 configuration, but it's undefined when no configuration is
13877 explicitly passed in. The correct function to use is
13878 configuration(), and I also streamlined the code.
13880 2007-01-17 Lars Knoll <lars@trolltech.com>
13882 Fix my last commit to actually work in all cases.
13884 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13885 (WebCore::DumpRenderTree::readStdin):
13887 2007-01-17 Lars Knoll <lars@trolltech.com>
13891 Make sure DumpRenderTree exits when run-webkit-tests
13894 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13895 (WebCore::DumpRenderTree::readStdin):
13897 2007-01-17 Lars Knoll <lars@trolltech.com>
13901 Small fixes in DumpRenderTree, so we don't by
13902 accident dump twice for the same test.
13904 Exclude one more test as it currently causes DumpRenderTree to
13907 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13908 (WebCore::DumpRenderTree::readStdin):
13909 (WebCore::DumpRenderTree::dump):
13910 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
13911 (LayoutTestController::notifyDone):
13912 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
13914 2007-01-17 Lars Knoll <lars@trolltech.com>
13918 Add a message handler to DumpRenderTree that will
13919 suppress all debug output coming from qDebug() statements.
13920 Like this we can get rid of all the noise coming
13921 from the notImplemented() macro when running the
13922 layout tests. You can get it back by adding -v to
13923 DumpRenderTree's command line.
13925 Changed run-webkit-tests slightly, so we by default
13926 don't fail anymore when our output differs from what
13927 is generated on the Mac. Added a --strict option, so
13928 that we can still see this cases and fix them one by one.
13930 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
13933 * Scripts/run-webkit-tests:
13935 2007-01-16 Lars Knoll <lars@trolltech.com>
13939 Use the new public API for the Qt build, and don't rely on
13940 WebKit internals anymore.
13942 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13943 (WebCore::DumpRenderTree::DumpRenderTree):
13944 (WebCore::DumpRenderTree::~DumpRenderTree):
13945 (WebCore::DumpRenderTree::open):
13946 (WebCore::DumpRenderTree::readStdin):
13947 (WebCore::DumpRenderTree::initJSObjects):
13948 (WebCore::DumpRenderTree::dump):
13949 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
13950 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
13951 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Removed.
13952 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Removed.
13953 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
13954 (LayoutTestController::notifyDone):
13955 (LayoutTestController::timerEvent):
13956 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
13958 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
13960 2007-01-15 Justin Garcia <justin.garcia@apple.com>
13964 <rdar://problem/4810960>
13965 Gmail Editor: window.focus() called on keyDown (9640)
13967 * DumpRenderTree/EventSendingController.m: Send the keyDown event
13968 to the firstResponder, not the event's locationInWindow. A
13969 key press's locationInWindow is meaningless and just a dummy
13972 2007-01-15 Eric Seidel <eric@webkit.org>
13976 Add a script to keep our header guards squeaky clean.
13978 * Scripts/clean-header-guards: Added.
13980 2007-01-15 Lars Knoll <lars@trolltech.com>
13984 Fix a few smaller issues in here, and update
13985 our list of skipped tests.
13987 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13988 (WebCore::DumpRenderTree::DumpRenderTree):
13989 (WebCore::DumpRenderTree::readStdin):
13990 (WebCore::DumpRenderTree::dump):
13991 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
13992 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
13993 (LayoutTestController::LayoutTestController):
13994 (LayoutTestController::reset):
13995 (LayoutTestController::waitUntilDone):
13996 (LayoutTestController::notifyDone):
13997 (LayoutTestController::dumpEditingCallbacks):
13998 (LayoutTestController::timerEvent):
13999 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
14000 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
14002 2007-01-14 Mark Rowe <mrowe@apple.com>
14006 <rdar://problem/4908909> Need to create Leopard nightly build
14008 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Always use the 10.4 Universal SDK. The disk images don't mount pre-10.4 so we aren't losing anything here.
14009 * WebKitLauncher/WebKitNightlyEnabler.m:
14010 (poseAsWebKitApp): Simplify CoreFoundation-related hackery by using _CFGetProcessPath instead of walking the mach-o symbol tables. The smaller timeframe where the
14011 CFProcessPath environment variable is set allows this to work correctly on Leopard where the old code failed.
14012 (enableWebKitNightlyBehaviour):
14013 * WebKitLauncher/main.m:
14014 (main): Pass executable path as WebKitAppPath rather than CFProcessPath to prevent it being picked up too early by CoreFoundation.
14015 * Drosera/launcher.m:
14018 2007-01-12 Lars Knoll <lars@trolltech.com>
14022 Get DumpRenderTree to work again for the Qt build.
14024 Make run-webkit-tests a little less verbose when testing
14025 Qt, and add an option to run DumpRenderTree inside valgrind
14026 (useful for debugging)
14028 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14029 (WebCore::DumpRenderTree::DumpRenderTree):
14030 (WebCore::DumpRenderTree::~DumpRenderTree):
14031 (WebCore::DumpRenderTree::open):
14032 (WebCore::DumpRenderTree::dump):
14033 (WebCore::DumpRenderTree::maybeDump):
14034 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14035 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
14036 (WebCore::DumpRenderTreeClient::dispatchDidHandleOnloadEvents):
14037 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
14038 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
14039 * Scripts/run-webkit-tests:
14041 2007-01-12 Zack Rusin <zack@kde.org>
14043 Add WEBKIT_FULLBUILD env variable to get the
14044 build do a make clean before make to cleanout the
14045 stale depenendencies (for buildbot mainly).
14047 * Scripts/webkitdirs.pm:
14049 2007-01-11 Mitz Pettel <mitz@webkit.org>
14053 - http://bugs.webkit.org/show_bug.cgi?id=10249
14054 Temporarily disable tests that are causing kernel panics
14056 Changed the ImageDiff tool not to use CoreImage filters.
14058 * DumpRenderTree/ImageDiff.m:
14060 (createImageFromStdin):
14062 (getDifferenceBitmap):
14064 2007-01-11 Lars Knoll <lars@trolltech.com>
14068 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14070 2007-01-11 Lars Knoll <lars@trolltech.com>
14072 Reviewed by Darin Adler.
14074 Adjust to loader changes.
14076 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14077 (WebCore::DumpRenderTree::DumpRenderTree):
14079 2007-01-06 George Staikos <staikos@kde.org>
14081 This doesn't build on all unix platforms!
14083 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14085 2007-01-05 Zack Rusin <zack@kde.org>
14089 Fix the undefined warnings and try to detect
14090 the DISPLAY properly.
14092 * Scripts/run-webkit-tests:
14094 2007-01-05 David Kilzer <ddkilzer@webkit.org>
14096 Reviewed by Mark Rowe.
14098 Speed up svn-create-patch for copied and moved files.
14100 * Scripts/svn-create-patch:
14101 (manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN'
14102 so svn pulls original from local disk.
14104 2007-01-04 Lars Knoll <lars@trolltech.com>
14106 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14107 Link with RPATH to (hopefully) get the automatic tests working.
14109 2007-01-03 Mark Rowe <bdash@webkit.org>
14111 Reviewed by Anders.
14113 * Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used.
14115 2007-01-02 Zack Rusin <zack@kde.org>
14117 Make it work after javascriptcore/bindings changes.
14119 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14120 (WebCore::DumpRenderTree::initJSObjects):
14121 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14123 2007-01-01 David Kilzer <ddkilzer@webkit.org>
14125 Reviewed by Darin Adler.
14127 http://bugs.webkit.org/show_bug.cgi?id=12023
14128 svn-create-patch and friends should handle moved/copied files
14130 * Scripts/svn-apply: Identify copied files and handle those before all other patches.
14131 * Scripts/svn-create-patch: Generate patches with subtle changes for copied files.
14132 (findMimeType($)): Added.
14133 (findModificationTime($)): Added.
14134 (findSourceFileAndRevision($)): Added.
14135 (generateDiff($$$)): Changed to use svn stat instead of svn diff.
14136 (isBinaryMimeType($)): Added.
14137 (manufacturePatchForAdditionWithHistory($$)): Added.
14138 * Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches.
14140 2006-12-29 Eric Seidel <eric@webkit.org>
14142 Reviewed by olliej.
14144 Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage
14146 * DumpRenderTree/DumpRenderTree.m:
14147 (dumpRenderTree): clear WebCore cache before exiting
14149 2006-12-29 David Kilzer <ddkilzer@webkit.org>
14151 Reverted last commit until WebResourceData issue is fixed.
14153 http://bugs.webkit.org/show_bug.cgi?id=11882
14154 Need a way to regression test .webarchive output files
14156 * DumpRenderTree/DumpRenderTree.m:
14157 (serializeWebArchiveToXML): Removed.
14159 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14160 (-[LayoutTestController dumpAsWebArchive]): Removed.
14163 2006-12-28 David Kilzer <ddkilzer@webkit.org>
14165 Reviewed by Darin Adler.
14167 http://bugs.webkit.org/show_bug.cgi?id=11882
14168 Need a way to regression test .webarchive output files
14170 Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
14171 Saves WebArchive plist in xml format, then alters file:// URLs to remove path
14172 where WebKit was checked out.
14174 * DumpRenderTree/DumpRenderTree.m:
14175 (serializeWebArchiveToXML): Added.
14177 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14178 (-[LayoutTestController dumpAsWebArchive]): Added.
14181 2006-12-28 George Staikos <staikos@kde.org>
14183 Reviewed by Olliej.
14185 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11
14187 2006-12-27 Geoffrey Garen <ggaren@apple.com>
14189 Reviewed by Eric Seidel. Prose edited by Mitz Pettel.
14191 Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html.
14193 No behavior change. Layout tests pass.
14195 * DumpRenderTree/DumpRenderTree.h: Exported the done BOOL in place of the
14196 doneLoading() accessor function. This matches the rest of DRT's exports and
14197 makes it easier to search for clients who check (!done).
14199 * DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so
14200 it would cover both code paths for calling runTest().
14202 (dumpRenderTree): "doneLoading()" => "done"
14204 * DumpRenderTree/EditingDelegate.m: ditto
14205 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): ditto
14206 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): ditto
14207 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): ditto
14208 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): ditto
14209 (-[EditingDelegate webView:shouldDeleteDOMRange:]): ditto
14210 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): ditto
14211 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): ditto
14212 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): ditto
14213 (-[EditingDelegate webViewDidBeginEditing:]): ditto
14214 (-[EditingDelegate webViewDidChange:]): ditto
14215 (-[EditingDelegate webViewDidEndEditing:]): ditto
14216 (-[EditingDelegate webViewDidChangeTypingStyle:]): ditto
14217 (-[EditingDelegate webViewDidChangeSelection:]): ditto
14218 * DumpRenderTree/UIDelegate.m: ditto
14219 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): ditto
14221 2006-12-26 Eric Seidel <eric@webkit.org>
14223 Reviewed by bradee-oh.
14225 Add very simple run-pageloadtest script for running SVG page load test.
14227 * Scripts/run-pageloadtest: Added.
14229 2006-12-26 Geoffrey Garen <ggaren@apple.com>
14231 Reviewed by Eric Seidel.
14233 Some cleanup in preparation for fixing <rdar://problem/4740328> Safari
14234 crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance
14236 (dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase."
14238 2006-12-23 Geoffrey Garen <ggaren@apple.com>
14240 Reviewed by Maciej Stachowiak.
14242 Added --threaded support to run-webkit-tests and DumpRenderTree.
14244 In "threaded" mode, DRT runs a concurrent JavaScript thread with each test,
14245 stressing the thread safety of JavaScriptCore and the JavaScriptCore/WebCore
14246 interface. This is useful for tracking down bugs you might see on a system
14247 configured to use a PAC file.
14249 Ironically, I can proudly state that very few layout tests pass.
14251 * DumpRenderTree/DumpRenderTree.m: Added javaScriptThread and helper functions
14252 for starting and stopping it.
14253 (runJavaScriptThread): helper function
14254 (startJavaScriptThread): helper function
14255 (stopJavaScriptThread): helper function
14257 (dumpRenderTree): Added --threaded command line argument.
14258 * Scripts/run-webkit-tests: ditto
14260 2006-12-22 Mark Rowe <bdash@webkit.org>
14264 Fix for <rdar://problem/4265976>
14265 prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method
14267 * Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration.
14269 2006-12-21 Mark Rowe <bdash@webkit.org>
14271 Reviewed by Tim Hatcher.
14273 http://bugs.webkit.org/show_bug.cgi?id=11922
14274 Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame
14276 * Drosera/DebuggerDocument.m:
14277 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): Use an anonymous function with function.call to
14278 ensure that the properties are being retrieved from the correct scope object.
14280 2006-12-21 Lars Knoll <lars@trolltech.com>
14284 Add support for the layoutTestController JavaScript object
14285 to be able to get textOnly dumps.
14286 Added a Qt specific hack to always get the same fonts (the ones
14287 added in this submit) and the same dpi when running the layout tests.
14288 Modified the run-webkit-tests script to also do a comparison to the
14289 Mac generated outputs (by stripping out positioning information).
14291 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14292 (WebCore::DumpRenderTree::DumpRenderTree):
14293 (WebCore::DumpRenderTree::open):
14294 (WebCore::DumpRenderTree::resetJSObjects):
14295 (WebCore::DumpRenderTree::initJSObjects):
14296 (WebCore::DumpRenderTree::dump):
14297 (WebCore::DumpRenderTree::checkLoaded):
14298 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14299 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
14300 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
14301 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
14302 (WebCore::DumpRenderTreeClient::partClearedInBegin):
14303 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
14304 * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Added.
14305 (QX11Info::appDpiY):
14306 (QX11Info::appDpiX):
14307 (qt_x11ft_convert_pattern):
14308 (LayoutTestController::LayoutTestController):
14309 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: Added.
14310 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: Added.
14311 (LayoutTestController::shouldDumpAsText):
14312 (LayoutTestController::shouldWaitUntilDone):
14313 (LayoutTestController::reset):
14314 (LayoutTestController::dumpAsText):
14315 (LayoutTestController::waitUntilDone):
14316 (LayoutTestController::notifyDone):
14317 * DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF: Added.
14318 * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Added.
14319 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Added.
14320 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Added.
14321 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Added.
14322 * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Added.
14323 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Added.
14324 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Added.
14325 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Added.
14326 * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Added.
14327 * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Added.
14328 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Added.
14329 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Added.
14330 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Added.
14331 * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Added.
14332 * Scripts/run-webkit-tests:
14334 2006-12-21 Mark Rowe <bdash@webkit.org>
14338 http://bugs.webkit.org/show_bug.cgi?id=11888
14339 Bug 11888: REGRESSION (r18320): Web Inspector panes broken
14341 * Drosera/debugger.js: Use removeProperty to reset a style property to its initial value.
14343 2006-12-18 Geoffrey Garen <ggaren@apple.com>
14345 Reviewed by Beth Dakin.
14347 Updated EventSender to be able to send mouse up events outside the WebView.
14348 This is a minor tweak to a hackish implementation. The real solution
14349 should be to use NSApplication's event sending model instead of rolling
14350 our own, but I don't have time for that right now.
14352 * DumpRenderTree/EventSendingController.m:
14353 (-[EventSendingController mouseUp]):
14355 2006-12-15 Marvin Decker <marv.decker@gmail.com>
14357 Reviewed by Darin and Alexey.
14359 Fix the Windows build, move various Client implementations out of
14360 WebCore and into WebKit.
14362 * Spinneret/Spinneret.sln:
14364 2006-12-14 Timothy Hatcher <timothy@apple.com>
14368 * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
14370 2006-12-13 Zack Rusin <zack@kde.org>
14372 Reviewed by rwlbuis
14374 Use the qmake build by default with Qt - it's the one that works
14377 * Scripts/build-webkit:
14378 * Scripts/webkitdirs.pm:
14380 2006-12-10 Lars Knoll <lars@trolltech.com>
14384 Some more fixes to the dumprendertree application.
14385 Fix the run-webkit-tests script for Qt.
14387 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14388 (WebCore::DumpRenderTree::open):
14389 (WebCore::DumpRenderTree::readStdin):
14390 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
14391 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
14392 * Scripts/run-webkit-tests:
14393 * Scripts/webkitdirs.pm:
14395 2006-12-10 Rob Buis <buis@kde.org>
14397 Reviewed by Darin Adler.
14399 * DumpRenderTree/DumpRenderTree.m:
14402 2006-12-10 Lars Knoll <lars@trolltech.com>
14406 Get the DumpRenderTree app to compile again
14408 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14409 (WebCore::DumpRenderTree::DumpRenderTree):
14410 (WebCore::DumpRenderTree::open):
14411 (WebCore::DumpRenderTree::readStdin):
14412 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
14413 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
14414 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
14415 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
14416 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
14419 2006-12-09 George Staikos <staikos@kde.org>
14423 Repair QMake build on OS X.
14425 * Scripts/build-webkit:
14427 2006-12-09 Zack Rusin <zack@kde.org>
14429 Fixing small mistakes in the build scripts for
14432 * Scripts/build-webkit:
14433 * Scripts/webkitdirs.pm:
14435 2006-12-09 Simon Hausmann <hausmann@kde.org>
14439 Add support for a QMake build using build-webkit --qmake
14441 * Scripts/build-webkit:
14442 * Scripts/webkitdirs.pm:
14444 2006-12-09 George Staikos <staikos@kde.org>
14448 Remove reference to Unity.
14450 * Scripts/webkitdirs.pm:
14452 2006-12-08 Zack Rusin <zack@kde.org>
14454 Reviewed by Maciej.
14456 Fix the compile after recent API changes.
14458 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14459 (WebCore::DumpRenderTree::DumpRenderTree):
14460 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
14463 2006-12-08 George Staikos <staikos@kde.org>
14465 Reviewed by Maciej.
14467 Build Qt webkit on non-linux, and prefer it if $QTDIR is set
14469 * Scripts/build-webkit:
14470 * Scripts/webkitdirs.pm:
14472 2006-12-06 Steve Falkenburg <sfalken@apple.com>
14474 Support C strings for localization
14476 * Scripts/extract-localizable-strings:
14478 2006-12-04 Steve Falkenburg <sfalken@apple.com>
14480 Reviewed by Darin Adler.
14482 Make extract-localizable-strings compatible with cpp file extensions.
14484 * Scripts/extract-localizable-strings:
14486 2006-11-21 Darin Adler <darin@apple.com>
14488 Reviewed by Maciej.
14490 - a couple changes to reduce the chance of false positives on the leakbot
14492 * DumpRenderTree/DumpRenderTree.m:
14493 (dumpRenderTree): Move the main function into a separate function so we can run
14494 a final garbage collect afterward without any stray values on the stack. Replaced
14495 the old way of closing down a WebView (setting the delegates to nil) with the new
14496 way (calling the close method), which does a more complete job of shutting
14497 everything down without waiting for the WebView object to be deallocated.
14498 (main): Put auto-release pool here and added an explicit call to garbage collect.
14499 With a separate function, we greatly reduce the chance that a stray address on the
14500 stack will keep an object alive.
14502 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
14503 because I don't have what it takes to fight the power.
14505 2006-11-17 Zack Rusin <zack@kde.org>
14507 Reviewed by Mitz. Landed by Niko.
14509 Fixing compilation.
14511 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14512 (WebCore::DumpRenderTree::DumpRenderTree): Adding
14513 ContextMenuClient to the constructor
14515 2006-11-12 Mark Rowe <bdash@webkit.org>
14519 Clean up of GdkLauncher bakefile.
14521 * GdkLauncher/gdklauncher.bkl:
14523 2006-11-11 Nikolas Zimmermann <zimmermann@kde.org>
14525 Reviewed and landed by Anders.
14527 Make DRT work again on Qt/Linux.
14529 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14530 (WebCore::DumpRenderTree::DumpRenderTree):
14532 2006-11-10 Zack Rusin <zack@kde.org>
14534 Reviewed and landed by Anders.
14536 Adjusting to the recent loader changes, making it compile
14539 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14540 (WebCore::DumpRenderTree::DumpRenderTree):
14541 (WebCore::DumpRenderTree::checkLoaded):
14542 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
14544 2006-11-10 Zack Rusin <zack@kde.org>
14546 Reviewed by Anders.
14548 Making the Qt code work after refactorings in WebCore.
14550 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14551 (WebCore::DumpRenderTree::DumpRenderTree):
14552 (WebCore::DumpRenderTree::checkLoaded):
14553 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
14555 2006-11-08 Darin Adler <darin@apple.com>
14557 Reviewed by Anders.
14559 - same change as below, only tested this time
14561 * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
14562 mode off. I think we need to do this because WebPreferences saves things
14563 for us automatically. It would be good to turn that off for DumpRenderTree,
14564 but for now lets handle this like the other preferences (set it explicitly
14567 2006-11-08 Darin Adler <darin@apple.com>
14569 Reviewed by Anders.
14571 * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
14572 "tab to links" mode. No current tests depend on this, and there's a new
14573 test I want to land that depends on the default setting.
14575 2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
14577 Reviewed by Maciej.
14579 Linux\gdk build fixes.
14581 * GdkLauncher/main.cpp:
14582 (LauncherFrameGdk::LauncherFrameGdk):
14585 2006-11-06 Alexey Proskuryakov <ap@nypop.com>
14587 Build fix, approved in principle by Tim H.
14589 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
14590 Disable deprecated warnings for main.c (TestNetscapePlugin),
14591 as it now uses QuickDraw to convert mouse event coordinates.
14593 2006-11-05 Timothy Hatcher <timothy@apple.com>
14595 Reviewed by Maciej.
14597 Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
14598 http://bugs.webkit.org/show_bug.cgi?id=11525
14600 * Drosera/debugger.js: imporved the function name code
14602 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
14604 Reviewed by Maciej.
14606 Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
14607 being attributed to the next test.
14609 * DumpRenderTree/EditingDelegate.m:
14610 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
14611 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
14612 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
14613 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
14614 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
14615 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
14616 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
14617 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
14618 (-[EditingDelegate webViewDidBeginEditing:]):
14619 (-[EditingDelegate webViewDidChange:]):
14620 (-[EditingDelegate webViewDidEndEditing:]):
14621 (-[EditingDelegate webViewDidChangeTypingStyle:]):
14622 (-[EditingDelegate webViewDidChangeSelection:]):
14623 * DumpRenderTree/UIDelegate.m:
14624 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
14626 2006-11-06 Mark Rowe <bdash@webkit.org>
14628 Reviewed by Alexey.
14630 Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
14632 * Scripts/run-webkit-tests: import the POSIX module.
14634 2006-11-06 Alexey Proskuryakov <ap@webkit.org>
14636 Reviewed by Maciej.
14638 Test for http://bugs.webkit.org/show_bug.cgi?id=11517
14639 REGRESSION: Flash clicks/interactivity not working properly
14641 Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
14643 <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
14645 plg.eventLoggingEnabled = true;
14646 // use eventSender to simulate events...
14649 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
14650 (pluginGetProperty):
14651 (pluginSetProperty):
14653 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
14654 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
14657 2006-11-04 David Smith <catfish.man@gmail.com>
14661 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
14662 Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
14664 * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
14666 2006-11-04 David Smith <catfish.man@gmail.com>
14670 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
14671 Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
14673 * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
14675 2006-11-04 David Smith <catfish.man@gmail.com>
14679 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
14680 Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
14682 * Drosera/debugger.js: blur() the function popup when we're done with it.
14684 2006-11-04 Mark Rowe <bdash@webkit.org>
14686 Reviewed by Darin Adler.
14688 Fix use of uninitialized value in pattern match.
14690 * Scripts/webkitdirs.pm:
14692 2006-11-04 Darin Adler <darin@apple.com>
14694 Reviewed by Tim Hatcher.
14696 * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
14698 2006-11-03 David Smith <catfish.man@gmail.com>
14702 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510
14703 Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item.
14705 * Drosera/DebuggerApplication.m:
14706 (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
14708 2006-11-03 Vladimir Olexa <vladimir.olexa@gmail.com>
14712 Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
14713 Bug 9596: [Drosera] add a function popup to the source pane
14715 * Drosera/debugger.css: Added styles for function popup
14716 * Drosera/debugger.html: Added function popup button and select
14717 * Drosera/debugger.js: Added function popup functionality
14719 2006-11-03 Michael Emmel <mike.emmel@gmail.com>
14721 Reviewed by Maciej.
14723 http://bugs.webkit.org/show_bug.cgi?id=9671
14726 Adds astyle sed script formats according to most of the style guidelines.
14728 2006-11-03 Alexey Proskuryakov <ap@nypop.com>
14732 http://bugs.webkit.org/show_bug.cgi?id=7323
14733 REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
14735 When dragging, do not send EventSendingController's events immediately. Dragging
14736 is supposed to be modal, so we need to perform it from within the delegate, without
14737 returning to JS to make the next mouse movement.
14739 When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
14741 * DumpRenderTree/EventSendingController.h:
14742 * DumpRenderTree/EventSendingController.m:
14743 (-[EventSendingController dealloc]):
14744 (-[EventSendingController leapForward:]):
14745 (-[EventSendingController mouseDown]):
14746 (-[EventSendingController mouseUp]):
14747 (-[EventSendingController mouseMoveToX:Y:]):
14748 (+[EventSendingController saveEvent:]):
14749 (+[EventSendingController replaySavedEvents]):
14750 * DumpRenderTree/UIDelegate.m:
14751 (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
14753 2006-11-02 Geoffrey Garen <ggaren@apple.com>
14755 Reviewed by Justin Garcia.
14757 Made dumping of editing callbacks opt-in, so that editing spew doesn't
14758 cloud non-editing tests.
14760 * DumpRenderTree/DumpRenderTree.m:
14761 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14762 (-[LayoutTestController shouldDumpEditingCallbacks]):
14764 * DumpRenderTree/EditingDelegate.m:
14765 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
14766 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
14767 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
14768 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
14769 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
14770 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
14771 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
14772 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
14773 (-[EditingDelegate webViewDidBeginEditing:]):
14774 (-[EditingDelegate webViewDidChange:]):
14775 (-[EditingDelegate webViewDidEndEditing:]):
14776 (-[EditingDelegate webViewDidChangeTypingStyle:]):
14777 (-[EditingDelegate webViewDidChangeSelection:]):
14779 2006-11-02 Alexey Proskuryakov <ap@nypop.com>
14781 Reviewed by Maciej, landed by Anders.
14783 - http://bugs.webkit.org/show_bug.cgi?id=7802
14784 devenv.com not available in VC++ Express installations
14786 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
14787 * Scripts/install-win-extras: Make setx.exe actually run.
14789 2006-11-01 Stephanie Lewis <slewis@apple.com>
14793 Fixed bug where additional arguments got fed to xcode and jsdriver.pl
14794 Since testkjs is being built before the tests are run, we don't need
14795 to build it with webkit.
14798 http://bugs.webkit.org/show_bug.cgi?id=11462
14799 http://bugs.webkit.org/show_bug.cgi?id=6168
14801 * Scripts/build-webkit:
14802 * Scripts/run-javascriptcore-tests:
14804 2006-11-01 Brady Eidson <beidson@apple.com>
14806 Reviewed by Tim Hatcher
14808 Added accessor to get the source directory for use in client scripts
14810 * Scripts/webkitdirs.pm:
14812 2006-11-01 Mark Rowe <bdash@webkit.org>
14816 Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
14818 * Spinneret/Spinneret/Spinneret.cpp:
14820 * WebKitLauncher/WebKitNightlyEnabler.m:
14821 (cleanUpAfterOurselves):
14823 2006-10-31 Mark Rowe <bdash@webkit.org>
14825 Reviewed by Stephanie.
14827 Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
14829 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
14830 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
14832 2006-10-31 Darin Adler <darin@apple.com>
14834 * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
14835 pasteboard, allocate any number of local pasteboards.
14836 (main): Allocate the dictionary of pasteboards.
14837 (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
14839 (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
14840 explicitly elsewhere.
14841 (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
14842 to the selector rather than calling unconditionally.
14844 2006-10-30 Darin Adler <darin@apple.com>
14848 * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
14849 Don't use CFPasteboard.
14851 2006-10-30 Vladimir Olexa <vladimir.olexa@gmail.com>
14855 Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
14857 * Drosera/debugger.js: ParsedURL() object now recognizes local files
14859 2006-10-30 Darin Adler <darin@apple.com>
14861 Reviewed by Tim Hatcher.
14863 * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
14864 This should make our buildbot tests no longer need a pasteboard server.
14866 2006-10-30 Geoffrey Garen <ggaren@apple.com>
14870 Reorganized project file into Delegates and Controllers groups, and split
14871 UIDelegate stuff into a UIDelegate class.
14873 A little birdy told me that I might end up adding some UIDelegate methods
14876 * DumpRenderTree/DumpRenderTree.m:
14879 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
14881 2006-10-31 Nikolas Zimmermann <zimmermann@kde.org>
14883 Reviewed by Oliver.
14885 Add new platform/graphics include directory.
14887 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
14889 2006-10-30 Timothy Hatcher <timothy@apple.com>
14891 Reviewed by Stephanie.
14893 Add a special case for the Internal makefiles, so it can find the OepnSource.
14895 * Scripts/webkitdirs.pm:
14897 2006-10-30 Stephanie Lewis <slewis@apple.com>
14899 Reviewed by Darin Adler.
14901 Change Makefiles to return non-zero when module make fails.
14902 Fix bug where if xcode options are not set, modules can build in the
14906 * Scripts/webkitdirs.pm:
14908 2006-10-30 Matt Lilek <pewtermoose@gmail.com>
14912 Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
14913 [Drosera] The Console toolbar button should bring the console window to the front.
14915 The console now gets focus when its activated but already open. Command + L also
14916 now activates/focuses the console.
14918 * Drosera/English.lproj/MainMenu.nib/classes.nib:
14919 * Drosera/English.lproj/MainMenu.nib/info.nib:
14920 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
14921 * Drosera/debugger.js:
14923 2006-10-29 Darin Adler <darin@apple.com>
14925 * Scripts/do-file-rename: Renames done, ready for the next round.
14926 * Scripts/do-webcore-rename: Ditto.
14928 2006-10-29 Darin Adler <darin@apple.com>
14930 * Scripts/do-file-rename: And again.
14932 2006-10-29 Darin Adler <darin@apple.com>
14934 * Scripts/do-webcore-rename: Tweaked plans for renaming again.
14936 2006-10-29 Darin Adler <darin@apple.com>
14940 * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
14941 Added. Does nothing, which prevents a beep.
14943 * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
14945 2006-10-27 Brady Eidson <beidson@apple.com>
14947 Rubber stamped by Tim Hatcher
14949 Added "make universal" to build universal binaries
14954 2006-10-26 Sam Weinig <sam.weinig@gmail.com>
14958 Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
14959 REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
14960 ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
14962 * DumpRenderTree/EventSendingController.m:
14963 (-[EventSendingController mouseMoveToX:Y:]):
14965 2006-10-26 Nikolas Zimmermann <zimmermann@kde.org>
14967 Reviewed by Darin Adler.
14969 Fix Qt/Linux build.
14971 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14972 (WebCore::DumpRenderTree::open):
14974 2006-10-24 Stephanie Lewis <slewis@apple.com>
14976 Reviewed by Maciej.
14978 - Changed run-javascriptcore tests to build testkjs before running.
14980 * Scripts/run-javascriptcore-tests:
14982 2006-10-24 Nikolas Zimmermann <zimmermann@kde.org>
14984 Reviewed by Maciej.
14986 Fix Qt/Linux build.
14988 - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
14989 - Fix CMakeLists.txt to include platform/network.
14991 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
14993 2006-10-24 David Smith <catfish.man@gmail.com>
14997 Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
14998 http://bugs.webkit.org/show_bug.cgi?id=11382
15000 * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
15002 2006-10-21 Darin Adler <darin@apple.com>
15004 * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
15005 This was still using "symroots" so it almost never worked!
15007 2006-10-21 Darin Adler <darin@apple.com>
15009 * Makefile: Build DumpRenderTree too.
15010 * Scripts/do-webcore-rename: Removed bogus comment.
15012 2006-10-20 David Smith <catfish.man@gmail.com>
15016 Bug 11367: Inline Breakpoint Editor Improvements: Act III
15017 http://bugs.webkit.org/show_bug.cgi?id=11367
15019 Major breakpoint editor changes:
15020 * Breakpoints can now either pause or log to console
15021 * Code cleanup through use of XPath and converting breakpoints to objects
15022 * Breakpoints now track how many times they've been reached
15024 * The breakpoint editor now saves changes as they're entered
15025 * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
15026 * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
15028 * Drosera/DebuggerDocument.m:
15029 (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
15030 * Drosera/Drosera.xcodeproj/project.pbxproj:
15031 * Drosera/Images/close.tif: Added.
15032 * Drosera/Images/close_active.tif: Added.
15033 * Drosera/Images/close_hover.tif: Added.
15034 * Drosera/breakpointEditor.html: Added.
15035 * Drosera/console.js: Added a way to append messages from outside the console window.
15036 * Drosera/debugger.js:
15037 * Drosera/viewer.css:
15038 * Drosera/viewer.html:
15040 2006-10-18 David Smith <catfish.man@gmail.com>
15044 Improve the doubleclick behavior of breakpoints, and make breakpoints with no custom condition set appear blank instead of return [-1, 1] depending on enabled state.
15046 * Drosera/DebuggerDocument.m:
15047 (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
15048 * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
15049 * Drosera/debugger.js:
15051 2006-10-18 Timothy Hatcher <timothy@apple.com>
15053 Reviewed by Anders.
15055 Bug 10851: Crash with Drosera
15056 http://bugs.webkit.org/show_bug.cgi?id=10851
15058 This crash results in an assert in debug builds.
15060 assert(implementsCall());
15062 The __drosera_introspection propery was not callable. Now we just assign
15063 this.__drosera_introspection in the evaluateWebScript call.
15064 This change also removes one DO message.
15066 * Drosera/DebuggerDocument.m:
15067 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
15069 2006-10-18 Mark Rowe <bdash@webkit.org>
15073 http://bugs.webkit.org/show_bug.cgi?id=11304
15074 Bug 11304: Drosera fails to link as universal binary on PowerPC machine
15076 * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
15077 when they are not part of the WebKit umbrella framework.
15079 2006-10-18 Adam Roben <aroben@apple.com>
15081 fixo el buildo II: Release's Pride.
15083 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15085 2006-10-18 Geoffrey Garen <ggaren@apple.com>
15089 Work around #import of <PDFKit/PDFView.h>.
15091 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15093 2006-10-18 David Smith <catfish.man@gmail.com>
15097 Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
15099 * Drosera/Drosera.xcodeproj/project.pbxproj:
15100 * Drosera/Images/breakpointeditor.png: Added.
15101 * Drosera/breakpointEditor.css: Removed.
15102 * Drosera/breakpointEditor.html: Removed.
15103 * Drosera/breakpointEditor.js: Removed.
15104 * Drosera/debugger.js:
15105 * Drosera/viewer.css:
15107 2006-10-18 David Harrison <harrison@apple.com>
15111 Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
15112 http://bugs.webkit.org/show_bug.cgi?id=11341
15114 Link editing behavior became a preference. DumpRenderTree needs to specify the
15115 non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
15117 * DumpRenderTree/DumpRenderTree.m:
15120 2006-10-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
15122 Reviewed by Anders.
15124 Make compiler not complain about unused gk. SpinneretWebHost was not setting
15125 initial refcount upon creation, so it is completely bogus.
15127 * GdkLauncher/main.cpp:
15129 * Spinneret/Spinneret/Spinneret.h:
15130 (SpinneretWebHost::SpinneretWebHost):
15132 2006-10-15 Nikolas Zimmermann <zimmermann@kde.org>
15134 Reviewed by Oliver.
15136 Add another hanging test, to the "to be skipped" list.
15138 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
15140 2006-10-14 Nikolas Zimmermann <zimmermann@kde.org>
15142 Reviewed by Anders.
15144 Some fixes to get the Qt BuildSlave to run the LayoutTests.
15146 * Scripts/build-dumprendertree: No need to call cmake again.
15147 * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
15149 2006-10-13 Nikolas Zimmermann <zimmermann@kde.org>
15153 Force --no-http on Qt/Linux.
15155 * Scripts/run-webkit-tests:
15157 2006-10-13 Kevin McCullough <KMcCullough@apple.com>
15161 Gets JavaScripCore tests running on windows.
15163 * Scripts/run-javascriptcore-tests:
15164 * Scripts/webkitdirs.pm:
15166 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
15168 Reviewed by Maciej.
15170 Exclude some tests which crash or hang from Qt/Linux DRT.
15171 These are known to fail, and will be fixed at some point :-)
15173 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15174 (WebCore::DumpRenderTree::DumpRenderTree):
15175 (WebCore::DumpRenderTree::open):
15176 (WebCore::DumpRenderTree::readStdin):
15177 (WebCore::DumpRenderTree::readSkipFile):
15178 (WebCore::DumpRenderTree::checkLoaded):
15179 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
15180 * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
15182 2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
15184 Reviewed by Maciej.
15186 Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
15188 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
15189 (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
15190 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
15192 2006-10-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
15194 Reviewed by Maciej.
15196 Also regenerate GdkLauncher makefiles, since not doing that might
15197 lead to mismatch between WebCore and GdkLauncher compiler settings.
15199 * Scripts/regenerate-makefiles:
15201 2006-10-10 David Smith <catfish.man@gmail.com>
15205 Bug 11246: Minor Drosera code cleanup
15206 http://bugs.webkit.org/show_bug.cgi?id=11246
15208 * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
15210 2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
15214 Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
15216 * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
15217 * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
15218 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
15219 * Drosera/Images/SourceArrowOpen.png: Added.
15220 * Drosera/Images/fileIcon.jpg: Added.
15221 * Drosera/Images/siteCollapsed.tif: Added.
15222 * Drosera/Images/siteExpanded.tif: Added.
15223 * Drosera/Images/siteIcon.tif: Added.
15224 * Drosera/debugger.css: Added File Browser styles
15225 * Drosera/debugger.html: Added File Browser UI
15226 * Drosera/debugger.js: Added File Browser functionality
15228 2006-10-10 Darin Adler <darin@apple.com>
15230 * Scripts/do-file-rename: Added.
15232 2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
15236 Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
15237 a page. This allows automatic testing via e.g. valgrind.
15239 * GdkLauncher/gdklauncher.bkl:
15240 * GdkLauncher/main.cpp:
15241 (LauncherFrameGdk::LauncherFrameGdk):
15242 (LauncherFrameGdk::setExitAfterLoading):
15243 (LauncherFrameGdk::handledOnloadEvents):
15247 2006-10-06 David Smith <catfish.man@gmail.com>
15249 Reviewed by Timothy.
15251 Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
15253 * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
15254 * Drosera/breakpointEditor.css: Added.
15255 * Drosera/breakpointEditor.html: Added.
15256 * Drosera/breakpointEditor.js: Added.
15257 * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
15259 2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
15263 Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
15265 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15266 (WebCore::DumpRenderTree::DumpRenderTree):
15268 2006-10-05 Oliver Hunt <ohunt@apple.com>
15270 Reviewed by Anders.
15272 * Scripts/run-webkit-tests:
15275 2006-10-04 Anders Carlsson <acarlsson@apple.com>
15277 Reviewed by Darin Adler.
15279 * Scripts/run-webkit-tests:
15280 Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
15283 2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
15285 Reviewed and landed by ap.
15287 Cmake: make it possible to install the libraries after having built using 'build-webkit'.
15288 Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
15290 * Scripts/webkitdirs.pm:
15292 2006-10-04 Mark Rowe <bdash@webkit.org>
15294 Reviewed by Stephanie.
15296 Switch the Qt buildbot to the standard set of build steps.
15297 Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
15298 see if any regressions were spotted, and fail the test if so.
15300 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
15301 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
15302 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
15304 2006-10-04 Timothy Hatcher <timothy@apple.com>
15306 Reviewed by Mitz Pettel!
15308 Bug 10708: [Drosera] Make the console input plaintext-only
15309 http://bugs.webkit.org/show_bug.cgi?id=10708
15311 Change the console input -webkit-user-modify property to
15312 read-write-plaintext-only.
15314 * Drosera/console.css:
15316 2006-10-04 David Smith <catfish.man@gmail.com>
15320 Bug 10473: [Drosera] Overlapping text in JavaScript Console
15321 http://bugs.webkit.org/show_bug.cgi?id=10473
15323 Using min-height instead of height to avoid overlapping text.
15325 * Drosera/console.css:
15327 2006-10-04 David Smith <catfish.man@gmail.com>
15331 Added a bash-style command history.
15333 * Drosera/console.js:
15335 2006-10-03 Anders Carlsson <acarlsson@apple.com>
15337 Reviewed by Adam and Brady.
15339 * DumpRenderTree/DumpRenderTree.m:
15341 Update URL to Ahem.ttf
15343 2006-10-03 Darin Adler <darin@apple.com>
15345 * Scripts/commit-log-editor: Added missing "close" call. Oops!
15347 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
15349 Reviewed by eseidel. Landed by eseidel.
15351 Offer a way for BuildBot to not colorize the cmake output, when building
15352 with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
15354 Default is colorize output, though only Qt platform handles this for now.
15356 * Scripts/build-dumprendertree:
15357 * Scripts/build-webkit:
15358 * Scripts/webkitdirs.pm:
15360 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
15362 Reviewed by eseidel. Landed by eseidel.
15364 Make all important scripts work with Qt/Linux.
15366 You can safely use this now:
15367 set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
15369 * Scripts/build-dumprendertree:
15370 * Scripts/run-javascriptcore-tests:
15371 * Scripts/run-webkit-tests:
15372 * Scripts/webkitdirs.pm:
15374 2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
15378 build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
15380 * Scripts/webkitdirs.pm:
15382 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
15384 Reviewed/landed by Adam.
15386 Proper build-webkit support for Qt/Linux.
15388 Compilation process is similar to OSX now, aka.
15389 the build directory is RootCheckoutDir/WebKitBuild now.
15391 * Scripts/build-webkit: Recognize Qt.
15392 * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
15394 2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
15396 Reviewed by Maciej.
15398 Add QT build slave to Buildbot.
15400 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
15401 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
15402 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Disable forcing of builds via web interface to prevent spamming. Use the IRC bot in #webkit-build instead.
15403 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
15405 2006-09-28 David Harrison <harrison@apple.com>
15407 Suggested by Darin Adler.
15409 Moved an extern declaration from inside a method to the top of the file.
15411 * DumpRenderTree/EventSendingController.m:
15412 (-[EventSendingController clearKillRing]):
15414 2006-09-28 David Harrison <harrison@apple.com>
15416 Reviewed by Justin.
15418 Add clearKillRing so we can test emacs support with empty kill ring.
15420 * DumpRenderTree/EventSendingController.m:
15421 (+[EventSendingController isSelectorExcludedFromWebScript:]):
15422 (+[EventSendingController webScriptNameForSelector:]):
15423 (-[EventSendingController clearKillRing]):
15425 2006-09-27 MorganL <morganl.webkit@yahoo.com>
15427 Reviewed by Maciej, landed by Brady
15429 Fix URL bar updating.
15431 * Spinneret/Spinneret/Spinneret.h:
15432 (SpinneretWebHost::didStartProvisionalLoadForFrame):
15433 (SpinneretWebHost::didCommitLoadForFrame):
15434 (SpinneretWebHost::didFinishLoadForFrame):
15436 2006-09-23 Sam Weinig <sam.weinig@gmail.com>
15442 * DumpRenderTree/EventSendingController.m:
15443 (-[EventSendingController enableDOMUIEventLogging:]):
15445 2006-09-22 Justin Garcia <justin.garcia@apple.com>
15449 * Scripts/do-webcore-rename:
15451 2006-09-21 Timothy Hatcher <timothy@apple.com>
15455 Bug 10923: Frame scroll layout test failures on the buildbot
15456 http://bugs.webkit.org/show_bug.cgi?id=10923
15458 Added a new method that will toggle on the recursive dump of
15459 child frame scroll positions.
15461 * DumpRenderTree/DumpRenderTree.m:
15462 (dumpFrameScrollPosition):
15463 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15464 (-[LayoutTestController dumpChildFrameScrollPositions]):
15466 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
15468 Reviewed by eseidel. Landed by eseidel.
15470 Detect that close button was pressed and exit cleanly.
15472 * GdkLauncher/main.cpp:
15476 2006-09-17 Adam Roben <aroben@apple.com>
15478 Reviewed by hyatt, sfalken.
15480 Get DumpRenderTree compiling and limping along on Windows.
15482 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
15483 (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
15484 (main): Add NULL argument to Page constructor.
15485 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
15486 * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
15488 2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
15492 http://bugs.webkit.org/show_bug.cgi?id=10635
15493 Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
15495 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
15496 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
15497 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
15499 2006-09-09 Sam Weinig <sam.weinig@gmail.com>
15503 Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
15504 Even More Objective-C DOM auto-generation cleanup
15506 - Change to use new, more Objectice-C'ish version of
15507 DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
15508 regression test for fast/events/dblclick-addEventListener.html.
15510 * DumpRenderTree/EventSendingController.m:
15511 (-[EventSendingController fireKeyboardEventsToElement:]):
15513 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
15517 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
15518 Move QtLauncher down to WebKitQt.
15520 * QtLauncher/CMakeLists.txt: Removed.
15521 * QtLauncher/main.cpp: Removed.
15523 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
15525 Reviewed by Darin Adler.
15527 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
15528 Adjust DumpRenderTree to the FrameQtClient changes.
15530 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
15531 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15532 (WebCore::DumpRenderTree::DumpRenderTree):
15533 (WebCore::DumpRenderTree::~DumpRenderTree):
15534 (WebCore::DumpRenderTree::frame):
15535 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
15536 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
15537 (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
15538 (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
15539 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
15541 2006-09-03 Darin Adler <darin@apple.com>
15543 * Scripts/do-webcore-rename: More renaming plans.
15545 2006-09-03 Alexey Proskuryakov <ap@nypop.com>
15549 http://bugs.webkit.org/show_bug.cgi?id=10693
15550 Convert JavaScript arrays to AppleScript lists
15552 * DumpRenderTree/AppleScriptController.m:
15553 (convertAEDescToObject):
15554 (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
15556 2006-08-31 Darin Adler <darin@apple.com>
15558 * Scripts/do-webcore-rename: Prepare for another round of renaming.
15560 2006-08-29 Dan Waylonis <waylonis@google.com>
15562 Reviewed by ggaren.
15564 - Verification of exceptions thrown in a plugin. Test for bug 10114.
15565 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15566 * DumpRenderTree/ObjCPlugin.m:
15567 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
15568 (+[ObjCPlugin webScriptNameForSelector:]):
15569 (-[ObjCPlugin throwIfArgumentIsNotHello:]):
15571 2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
15575 Commit KDE related tweaks, to be able to
15576 differentiate between a Qt-only or a KDE build.
15578 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
15579 * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
15581 2006-08-29 Darin Adler <darin@apple.com>
15583 Reviewed by Tim Hatcher.
15585 * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
15586 to work around what seems to be a bug in some versions of gdb.
15588 2006-08-16 Tim Omernick <timo@apple.com>
15590 Reviewed by John Sullivan.
15592 Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
15593 <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
15596 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
15598 WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
15599 are expected to be retained by the plug-in, and released by the caller.
15601 2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
15603 Reviewed by Tim Hatcher.
15605 Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
15607 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15608 (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
15609 Qt's DumpRenderTree.
15611 * Scripts/run-webkit-tests:
15612 Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
15614 2006-08-28 Darin Adler <darin@apple.com>
15616 Reviewed by Tim Hatcher.
15618 * Scripts/build-drosera: Fix behavior when there are multiple options.
15620 2006-08-27 Timothy Hatcher <timothy@apple.com>
15622 Reviewed by Anders.
15624 Drosera will be built when you type make.
15626 * Drosera/Makefile: Added.
15628 * Makefile.shared: Added.
15630 2006-08-27 Anders Carlsson <acarlsson@apple.com>
15632 Forgot to add these.
15634 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
15635 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
15636 (WebCore::DumpRenderTree::DumpRenderTree):
15637 (WebCore::DumpRenderTree::~DumpRenderTree):
15638 (WebCore::DumpRenderTree::open):
15639 (WebCore::DumpRenderTree::readStdin):
15640 (WebCore::DumpRenderTree::checkLoaded):
15641 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
15642 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
15645 2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
15647 Reviewed by Eric, landed by Anders.
15649 Add DumpRenderTree support for Qt/Linux.
15651 * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
15652 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
15653 (WebCore::DumpRenderTree::DumpRenderTree):
15654 (WebCore::DumpRenderTree::~DumpRenderTree):
15655 (WebCore::DumpRenderTree::open):
15656 (WebCore::DumpRenderTree::readStdin):
15657 (WebCore::DumpRenderTree::checkLoaded):
15658 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
15659 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
15661 * Scripts/build-dumprendertree:
15662 * Scripts/run-webkit-tests:
15663 * Scripts/webkitdirs.pm:
15665 2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
15667 Reviewed by Eric. Landed by rwlbuis.
15669 Add QtLauncher (was testunity before), which provides a
15670 standalone "browser" to test the Qt platform stuff.
15672 * QtLauncher/CMakeLists.txt: Added.
15673 * QtLauncher/main.cpp: Added.
15676 2006-08-22 Trey Matteson <trey@usa.net>
15678 Reviewed by ggaren.
15680 Added support for a new set of browser navigation tests. The main feature
15681 is the ability for a test to queue up a set of future actions that will
15682 happen after that first page is loaded. This is used to simulate a sequence
15683 of user actions such as filling out forms, loading additional pages or
15684 going back. In addition we can now dump out the state of the back/forward
15685 list, and the scroll position is dumped if not at 0,0.
15687 * DumpRenderTree/DumpRenderTree.m:
15688 (main): Init new state
15689 (compareHistoryItems): New utility to support sorting.
15690 (dumpHistoryItem): Write out a WebHistoryItem and kids.
15691 (dumpFrameScrollPosition): Write out the scroll position.
15692 (dump): Optionally write b/f list or scroll position.
15693 (-[WaitUntilDoneDelegate processWork:]): Perform queued work.
15694 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
15695 Kick off any queued actions. Fixed for the case of loads started in
15696 a subframe instead of the root frame.
15697 (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
15698 Grab the topmost frame that is being loaded. Do this as early as possible,
15699 instead of in didCommitLoadForFrame.
15700 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
15701 Noting a load has started now happens in previous method.
15702 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
15703 (+[LayoutTestController webScriptNameForSelector:]): Boilerplate
15704 (-[LayoutTestController notifyDone]): readyToDump var is subsumed by
15706 (-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
15707 (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
15708 Add new work to the queue.
15709 (-[LayoutTestController _doLoad:target:]): Do a queued load.
15710 (-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
15711 (-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
15712 (-[LayoutTestController scheduleForwardNav:]):
15713 (-[LayoutTestController scheduleReload]):
15714 (-[LayoutTestController scheduleScript:]):
15715 (-[LayoutTestController scheduleLoad:target:]):
15716 (runTest): Clear new state for each test. Renamed from "dumpRenderTree"
15717 since it's not one of the functions that does any dumping.
15719 2006-08-15 Jonas Witt <jonas.witt@gmail.com>
15721 Reviewed by Darin Adler.
15723 - added a function to create a few DOMKeyboardEvents and dispatch
15724 them to a specified HTML element
15725 http://bugs.webkit.org/show_bug.cgi?id=9736
15727 * DumpRenderTree/EventSendingController.m:
15728 (+[EventSendingController isSelectorExcludedFromWebScript:]):
15729 (+[EventSendingController webScriptNameForSelector:]):
15730 (-[EventSendingController fireKeyboardEventsToElement:]):
15732 2006-08-15 Duncan Wilcox <duncan@mclink.it>
15734 Reviewed and tweaked by Darin Adler.
15736 - added DumpRenderTree support so editing delegate can be made to refuse edits
15737 to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
15739 * DumpRenderTree/DumpRenderTree.m:
15740 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
15741 to the list of methods.
15742 (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
15743 without the colon, for the JavaScript name.
15744 (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
15746 (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
15748 * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
15749 setter methods to the class.
15750 * DumpRenderTree/EditingDelegate.m:
15751 (-[EditingDelegate init]): Initialize acceptsEditing to YES.
15752 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
15753 return the value of acceptsEditing.
15754 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
15755 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
15756 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
15757 (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
15758 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
15760 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
15761 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
15762 (-[EditingDelegate setAcceptsEditing:]): Added.
15764 2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
15766 Reviewed by Darin Adler.
15768 Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
15769 http://bugs.webkit.org/show_bug.cgi?id=10224
15771 * Drosera/Drosera.xcodeproj/project.pbxproj:
15772 * Drosera/LauncherInfo.plist:
15774 2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
15776 - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
15777 when a test performs an unsuccessful drag and drop operation.
15779 * DumpRenderTree/EventSendingController.m:
15780 (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
15781 drag operation for the mouse release is NSDragOperationNone.
15783 2006-08-02 Timothy Hatcher <timothy@apple.com>
15785 Reviewed by Darin Adler.
15787 Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
15788 http://bugs.webkit.org/show_bug.cgi?id=9632
15790 Do not change the file source when normalizing the line endings.
15791 We use this file source to compare against new versions of the source
15792 as it comes in, so we can skip re-syntax highlighting if they are the same.
15793 The problem is apparent on yahoo.com since they have mixed line endings and
15794 once we normalize them the source will always be different. This was
15795 compounded by the fact that yahoo has around 40 inline scripts. Each
15796 inline script causes us to check if the main document has more loaded,
15797 that is when we compare the source strings. Since they are always different
15798 we would syntax highlight yahoo.com 40 times! We do check source length before
15799 doing a more expensive string comparison, but the lengths were the same.
15801 * Drosera/debugger.js:
15803 2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
15805 Reviewed by Timothy.
15807 Bug 9931: [Drosera] Needs a cool icon
15808 http://bugs.webkit.org/show_bug.cgi?id=9931
15810 * Drosera/Drosera.icns: Added.
15811 * Drosera/Drosera.xcodeproj/project.pbxproj:
15812 * Drosera/Info.plist:
15814 2006-08-01 Darin Adler <darin@apple.com>
15816 - fix a bug in my recent change where the mouse position at the end of
15817 the last test would affect the results of the next test
15819 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
15821 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
15823 Reviewed by Maciej.
15825 http://bugs.webkit.org/show_bug.cgi?id=10182
15826 Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
15828 * Drosera/console.js: String.indexOf returns -1 when the string is not found.
15829 Correct the logic to not reload local variable list unless an '=' character is in the expression.
15831 2006-07-31 Darin Adler <darin@apple.com>
15833 Reviewed by Maciej.
15835 - fix http://bugs.webkit.org/show_bug.cgi?id=10171
15836 REGRESSION: failing layout test: fast/events/objc-event-api.html
15838 * DumpRenderTree/DumpRenderTree.m:
15839 (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
15840 location in flipped coordinates, since those are the coordinates that we use.
15841 (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
15842 inside WebHTMLView.
15844 * DumpRenderTree/EventSendingController.m:
15845 (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
15846 (-[EventSendingController init]): Removed, since the whole thing was a no-op.
15847 (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
15848 probably worked OK, but this is needed to be correct.
15849 (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
15850 code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
15851 position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
15852 dump the screenY as-is.
15854 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
15856 Reviewed by Darin Adler.
15858 http://bugs.webkit.org/show_bug.cgi?id=10178
15859 Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
15861 * Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
15862 frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
15864 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
15866 Reviewed by Darin Adler.
15868 http://bugs.webkit.org/show_bug.cgi?id=10175
15869 Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
15871 * Drosera/DebuggerDocument.m:
15872 (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
15874 2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
15876 Reviewed by Darin Adler.
15878 http://bugs.webkit.org/show_bug.cgi?id=10167
15879 Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
15881 * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
15882 in keyDown handler.
15884 2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
15886 Reviewed by Maciej.
15888 Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
15889 http://bugs.webkit.org/show_bug.cgi?id=9686
15891 * Drosera/DebuggerDocument.m:
15892 (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
15893 ensure that the server does not try and notify us of events related to the resumption.
15894 (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
15895 call through to JavaScript.
15896 * Drosera/debugger.js: Pause debugger when exception is raised.
15898 2006-07-29 Mike Emmel <mike.emmel@gmail.com>
15900 Reviewed by Darin Adler.
15902 - fixes for Linux build
15904 * GdkLauncher/mk: Added call to bakefile_gen before calling make.
15905 * GdkLauncher/gdklauncher.bkl: Tweak comment.
15907 2006-07-24 Dan Waylonis <waylonis@google.com>
15909 Reviewed and tweaked a bit by Darin Adler.
15911 * DumpRenderTree/ObjCPlugin.m:
15912 (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
15913 (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
15914 "echo:" so it's nice to call from JavaScript.
15915 (-[ObjCPlugin echo:]): Just returns the same object -- can be used
15916 to test a round trip through Objective-C types.
15918 2006-07-24 Alexey Proskuryakov <ap@nypop.com>
15920 Reviewed by Darin Adler.
15922 Fix http://bugs.webkit.org/show_bug.cgi?id=10060
15923 Improve iExploder results parsing
15925 * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
15926 in random mode, too.
15928 2006-07-18 David Kilzer <ddkilzer@kilzer.net>
15930 Reviewed by Timothy.
15932 - fix http://bugs.webkit.org/show_bug.cgi?id=9964
15933 Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
15935 * Scripts/prepare-ChangeLog: Added --[no-]update switch.
15937 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
15939 Reviewed by Darin Adler.
15941 * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
15942 Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
15944 Removed "Property changes" that snuck in as part of the "apply patch" process.
15946 2006-07-16 David Kilzer <ddkilzer@kilzer.net>
15948 Reviewed by Darin Adler.
15950 - fix http://bugs.webkit.org/show_bug.cgi?id=9875
15951 Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
15953 * Scripts/svn-apply:
15954 (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
15956 (patch): Use patch(1) for non-binary additions and deletions.
15957 * Scripts/svn-unapply:
15959 (patch): Use patch(1) for reverting non-binary additions and deletions.
15960 (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
15962 2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
15964 Reviewed by Timothy.
15966 Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
15967 http://bugs.webkit.org/show_bug.cgi?id=9889
15969 * Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
15970 so, have stepOut pause on the next call to willExecuteStatement rather than second.
15972 2006-07-12 David Kilzer <ddkilzer@kilzer.net>
15974 Reviewed by Darin Adler.
15976 - fix http://bugs.webkit.org/show_bug.cgi?id=9848
15977 Teach svn-create-patch and friends to fix ChangeLog patches
15979 * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
15980 * Scripts/svn-create-patch: Ditto.
15981 * Scripts/svn-unapply: Ditto.
15983 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
15985 Reviewed by ggaren.
15987 Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
15988 http://bugs.webkit.org/show_bug.cgi?id=9869
15990 * Drosera/DebuggerDocument.m:
15991 (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
15993 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
15995 Reviewed by ggaren.
15997 Bug 9863: Drosera needs to show something at launch
15998 http://bugs.webkit.org/show_bug.cgi?id=9863
16000 * Drosera/DebuggerApplication.m:
16001 (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
16003 2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
16005 Reviewed by Timothy.
16007 Lets Drosera build universal for the nightlies. Right now it is not
16008 possible to build a universal binary on a PPC machine because of a
16009 conflict with the universal SDK.
16011 * BuildSlaveSupport/build-launcher-app:
16012 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
16014 2006-07-11 Alexey Proskuryakov <ap@nypop.com>
16018 - test for http://bugs.webkit.org/show_bug.cgi?id=7808
16019 Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
16021 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
16022 (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
16023 should open a new stream and deliver the data to the current instance.
16025 2006-07-11 Timothy Hatcher <timothy@apple.com>
16027 Reviewed by Darin Adler.
16029 Bug 9598: [Drosera] add a JavaScript evaluator console
16030 http://bugs.webkit.org/show_bug.cgi?id=9598
16032 * Drosera/DebuggerApplication.h:
16033 * Drosera/DebuggerApplication.m:
16034 (-[DebuggerApplication knownServers]):
16035 * Drosera/DebuggerDocument.h:
16036 * Drosera/DebuggerDocument.m:
16037 (-[WebScriptObject evaluateScript:inCallFrame:]):
16038 (-[WebScriptObject showConsole:]):
16039 (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
16040 (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
16041 (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
16042 (-[WebScriptObject webView:createWebViewWithRequest:]):
16043 (-[WebScriptObject webViewShow:]):
16044 (-[WebScriptObject webViewAreToolbarsVisible:]):
16045 (-[WebScriptObject webView:setToolbarsVisible:]):
16046 (-[WebScriptObject webView:setResizable:]):
16047 (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
16048 (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
16049 (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
16050 (-[WebScriptObject webView:windowScriptObjectAvailable:]):
16051 (-[WebScriptObject webView:didFinishLoadForFrame:]):
16052 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
16053 * Drosera/Drosera.xcodeproj/project.pbxproj:
16054 * Drosera/Images/console.png: Added.
16055 * Drosera/console.css: Added.
16056 * Drosera/console.html: Added.
16057 * Drosera/console.js: Added.
16059 2006-07-11 Timothy Hatcher <timothy@apple.com>
16061 Reviewed by a tired Geoff.
16063 Bug 9597: [Drosera] hook up the variables table to show stack variables
16064 http://bugs.webkit.org/show_bug.cgi?id=9597
16066 * Drosera/DebuggerDocument.m:
16067 (-[WebScriptObject isSelectorExcludedFromWebScript:]):
16068 (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
16069 (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
16070 (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
16071 (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
16072 (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
16073 (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
16074 (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
16075 (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
16076 (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
16077 * Drosera/debugger.css:
16078 * Drosera/debugger.html:
16079 * Drosera/debugger.js:
16081 2006-07-10 Tim Omernick <timo@apple.com>
16083 Reviewed by Beth Dakin.
16085 <http://bugs.webkit.org/show_bug.cgi?id=9844>:
16086 Add DOM access test to DumpRenderTree's Netscape plug-in
16088 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
16092 2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
16094 Reviewed by Darin Adler.
16096 - http://bugs.webkit.org/show_bug.cgi?id=9839
16097 Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
16099 Now track three states: initializing, running, and closed. If we are launched and the previous
16100 state was initializing then we likely just experienced a crash on launch.
16102 * WebKitLauncher/WebKitNightlyEnabler.m:
16103 (myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
16104 (myApplicationWillTerminate): Update to use new states.
16105 (cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
16106 initializing as early as practical.
16107 (symbol_lookup): Bring code up to speed with formatting guidelines.
16108 (GDSymbolLookup): Ditto.
16110 2006-07-10 Darin Adler <darin@apple.com>
16112 - try to fix Windows build
16114 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
16115 Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
16117 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
16121 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
16122 devenv.com not available in VC++ Express installations
16124 * Scripts/webkitdirs.pm: Backed out previous change.
16126 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
16128 Reviewed by Darin Adler.
16130 - http://bugs.webkit.org/show_bug.cgi?id=9693
16131 svn-apply should set ChangeLog date correctly when applying patches
16133 * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
16134 before applying the patch.
16135 * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
16137 2006-07-09 Darin Adler <darin@apple.com>
16139 * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
16141 2006-07-09 Darin Adler <darin@apple.com>
16143 * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
16145 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
16147 - http://bugs.webkit.org/show_bug.cgi?id=7802
16148 devenv.com not available in VC++ Express installations
16150 * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
16151 work again. Add VC++ Express check as the fallback.
16153 2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
16155 Reviewed by Timothy Hatcher.
16157 - http://bugs.webkit.org/show_bug.cgi?id=7802
16158 devenv.com not available in VC++ Express installations
16160 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
16162 2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
16166 Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
16167 Patch by coldwinter@katamail.com.
16169 In the congratulations message, "capatibilies" should be "capabilities".
16171 * Scripts/build-webkit:
16173 2006-07-09 David Kilzer <ddkilzer@kilzer.net>
16175 Reviewed by Timothy Hatcher.
16177 - http://bugs.webkit.org/show_bug.cgi?id=9794
16178 Teach run-webkit-tests how to ignore tests with performance improvements
16180 * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
16181 feature, and minor clean up.
16183 2006-07-08 Darin Adler <darin@apple.com>
16185 Reviewed by Geoff (well, half of it at least).
16187 - http://bugs.webkit.org/show_bug.cgi?id=9788
16188 storage leaks in Objective-C tests
16190 * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
16191 * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
16192 Add a release to fix a storage leak.
16194 2006-07-08 Darin Adler <darin@apple.com>
16196 * Scripts/do-webcore-rename: A few more.
16198 2006-07-08 Darin Adler <darin@apple.com>
16200 * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
16202 2006-07-04 Maciej Stachowiak <mjs@apple.com>
16204 Reviewed by Darin Adler.
16206 http://bugs.webkit.org/show_bug.cgi?id=9734
16207 - add support for dumping non-HTML as text - in this case use textContent
16208 instead of innerText
16210 * DumpRenderTree/DumpRenderTree.m:
16213 2006-07-02 Timothy Hatcher <timothy@apple.com>
16217 Bug 9631: [Drosera] Add "Step Over" and "Step Out"
16218 http://bugs.webkit.org/show_bug.cgi?id=9631
16220 Adds step over and step out. Along with a little code cleanup
16221 that was minor enough to piggyback on this fix.
16223 * Drosera/DebuggerDocument.h:
16224 * Drosera/DebuggerDocument.m:
16225 (-[DebuggerDocument stepOver:]):
16226 (-[DebuggerDocument stepOut:]):
16227 (-[DebuggerDocument windowDidLoad]):
16228 (-[DebuggerDocument windowWillClose:]):
16229 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
16230 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
16231 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
16232 (-[DebuggerDocument validateUserInterfaceItem:]):
16233 * Drosera/Drosera.xcodeproj/project.pbxproj:
16234 * Drosera/debugger.html:
16235 * Drosera/debugger.js:
16236 * Drosera/viewer.css:
16238 2006-07-02 Timothy Hatcher <timothy@apple.com>
16242 Bug 9628: [Drosera] Split Views acting oddly
16243 http://bugs.webkit.org/show_bug.cgi?id=9628
16245 Only update the last X or Y coordinate if the new
16246 size was not constrained. Also adds the resize cursor to
16247 the body during the drag incase there is a constrained
16248 over drag off of the resizer element.
16250 * Drosera/debugger.js:
16252 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
16254 Reviewed by Alexey Proskuryakov.
16256 Bug 9692: Warning about Safari extensions on every launch is obnoxious
16257 http://bugs.webkit.org/show_bug.cgi?id=9692
16259 * WebKitLauncher/WebKitNightlyEnabler.m:
16260 (myApplicationWillTerminate): Note that we are exiting cleanly.
16261 (cleanUpAfterOurselves): Install bundle load tracking only if we failed
16262 to exit cleanly on our last invocation. This doesn't play nicely with
16263 multiple concurrent instances of WebKit.app so it can be disabled via
16264 defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
16266 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
16268 Reviewed by Alexey Proskuryakov.
16270 Bug 9654: Refresh Loop when accessing feed URLs
16271 http://bugs.webkit.org/show_bug.cgi?id=9654
16273 * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
16275 2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
16277 Reviewed by Timothy Hatcher.
16279 Bug 9689: Nightly builds should warn a user about potential problems when using
16280 "Safari extensions"
16281 http://bugs.webkit.org/show_bug.cgi?id=9689
16283 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
16284 * WebKitLauncher/WebKitNightlyEnabler.m:
16285 (myBundleDidLoad): Keep track of if any bundles that are loaded.
16286 (myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
16287 (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
16288 NSApplicationWillFinishLaunchingNotification notifications so that we can
16289 track bundle loads and notify the user at launch completion.
16291 2006-06-30 Mike Emmel <mike.emmel@gmail.com>
16293 Reviewed by Darin Adler.
16295 - first check-in of a Gdk shell for testing WebKit
16297 * GdkLauncher: Added.
16299 2006-06-29 Timothy Hatcher <timothy@apple.com>
16301 Reviewed by Darin Adler.
16303 Need to call window close so WebView tears-down completly.
16305 * DumpRenderTree/DumpRenderTree.m:
16306 (main): call [window close]
16308 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
16310 Reviewed by Darin Adler.
16312 Bug 9615: Buildbot configuration should be in SVN repository
16313 http://bugs.webkit.org/show_bug.cgi?id=9615
16315 Import BuildBot configuration files as used by build.webkit.org.
16316 auth.py has been stubbed out so that slave passwords are not disclosed.
16318 * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
16319 * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
16320 * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
16321 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
16322 * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
16323 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
16324 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
16325 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
16326 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
16327 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
16328 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
16329 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
16331 2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
16333 Reviewed by Darin Adler.
16335 Bug 9614: Nightly builds should notify user if a newer build is available
16336 http://bugs.webkit.org/show_bug.cgi?id=9614
16338 * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
16339 * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
16340 script so it can keep track of the latest revision.
16341 * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
16342 * WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
16343 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
16344 * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
16345 the nightly start page.
16347 2006-06-26 Jonas Witt <jonas.witt@gmail.com>
16349 Reviewed by Darin Adler.
16351 Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
16352 http://bugs.webkit.org/show_bug.cgi?id=9579
16354 Report screenY values as (height of zero screen - screenY)
16356 * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
16358 2006-06-25 Timothy Hatcher <timothy@apple.com>
16362 Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
16363 http://bugs.webkit.org/show_bug.cgi?id=9591
16365 Makes breakpoints dragable. If dragged off the gutter they are deleted.
16367 * Drosera/debugger.js:
16368 * Drosera/viewer.css:
16370 2006-06-25 Timothy Hatcher <timothy@apple.com>
16372 Reviewed by Darin Adler.
16374 Bug 9568: assertion failure in Safari after quitting Drosera
16375 http://bugs.webkit.org/show_bug.cgi?id=9568
16377 Call switchToServerNamed:nil and not removeLister to make sure
16378 the server object is set to nil to prevent further removeListener calls.
16380 * Drosera/DebuggerDocument.m:
16381 (-[DebuggerDocument applicationTerminating:]):
16383 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
16385 Reviewed by Darin Adler.
16387 * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
16388 that the directory is not empty instead of reading in every single file and directory first,
16389 then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
16392 2006-06-25 Darin Adler <darin@apple.com>
16394 * Scripts/svn-apply: Tweak comments.
16395 * Scripts/svn-create-patch: Ditto.
16396 * Scripts/svn-unapply: Ditto.
16398 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
16400 Formatting fix per Bug 9571 Comment #2.
16402 http://bugs.webkit.org/show_bug.cgi?id=9571#c2
16404 * Scripts/svn-apply: Formatting fix.
16406 2006-06-25 David Kilzer <ddkilzer@kilzer.net>
16408 Reviewed by Darin Adler.
16410 http://bugs.webkit.org/show_bug.cgi?id=9571
16411 Teach svn-apply and svn-unapply to handle directory adds and removes better
16413 * Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
16414 * Scripts/svn-unapply: Handle undoing both directory adds and removes.
16416 2006-06-25 Timothy Hatcher <timothy@apple.com>
16418 Reviewed by Darin Adler.
16420 Bug 9574: Drosera should show inline scripts within the original HTML
16421 http://bugs.webkit.org/show_bug.cgi?id=9574
16423 Refactor the JavaScript code to have a distinction between files
16424 and scripts. Show the script in the context of the HTML file if
16425 it's URL is the same as the frame's main resource. At the time of
16426 the disParseScript callback the main resource might not be completely
16427 loaded, but Drosera needs to show whatever we have at the time. Once
16428 the main resource is finished, update the file source and reload the file.
16430 * Drosera/DebuggerDocument.m:
16431 (-[DebuggerDocument pause]):
16432 (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
16433 (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
16434 (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
16435 * Drosera/debugger.css:
16436 * Drosera/debugger.js:
16438 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
16440 Reviewed by Darin Adler.
16442 http://bugs.webkit.org/show_bug.cgi?id=9570
16443 Teach prepare-ChangeLog to operate on a list of files or directories
16445 * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
16446 * Scripts/svn-create-patch: Code refactoring.
16448 2006-06-24 James G. Speth <speth@end.com>
16450 Reviewed by Darin Adler.
16452 - http://bugs.webkit.org/show_bug.cgi?id=8843
16453 add a way to build Objective-C test cases in HTML
16455 Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
16456 allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
16457 pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
16460 * DumpRenderTree/ObjCPlugin.h:
16461 * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
16462 (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
16463 (+[ObjCPlugin webScriptNameForSelector:]):
16464 (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
16465 (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
16466 (+[NSObject allowsScriptsFullAccess]):
16467 (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
16468 (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
16469 (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
16470 (+[JSObjC webScriptNameForSelector:]):
16471 (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
16472 (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
16473 (-[JSObjC log:]): access to NSLog function
16474 (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
16475 (-[JSObjC classOfObject:]):
16476 (-[JSObjC classNameOfObject:]):
16478 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
16480 Reviewed by Timothy.
16482 * DrawTest/Info.plist: Added copyright statement.
16483 * Drosera/Info.plist: Ditto.
16484 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
16485 * WebKitLauncher/Info.plist: Ditto.
16487 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
16491 - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
16492 devenv.com not available in VC++ Express installations
16494 * Scripts/webkitdirs.pm: Backed out previous change.
16496 2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
16498 Reviewed by Maciej.
16500 - http://bugs.webkit.org/show_bug.cgi?id=7802
16501 devenv.com not available in VC++ Express installations
16503 * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
16505 2006-06-24 Alexey Proskuryakov <ap@nypop.com>
16507 Reviewed by Darin Adler.
16509 - http://bugs.webkit.org/show_bug.cgi?id=9564
16510 A bunch of fixes to run-webkit-httpd
16512 - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
16513 127.0.0.1. Useful for testing with WinIE running on another machine;
16514 - don't call checkFrameworks() - we do not need a built WebKit here;
16515 - changed tabs to spaces;
16516 - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
16517 interactive mode, they were a hassle when testing with several browsers, as one
16518 had to wait for connection to expire);
16519 - remove httpd.pid when done, so that Apache doesn't complain next time.
16521 * Scripts/run-webkit-httpd:
16523 2006-06-24 Jonas Witt <jonas.witt@gmail.com>
16525 Reviewed by ggaren, landed by ap.
16527 - http://bugs.webkit.org/show_bug.cgi?id=9181
16528 Complete DOMUIEvent Obj-C API to reflect UIEvent
16530 Add function to enable logging of all events of one DOM node to stdout.
16532 * DumpRenderTree/EventSendingController.h:
16533 * DumpRenderTree/EventSendingController.m:
16534 (+[EventSendingController initialize]):
16535 (+[EventSendingController isSelectorExcludedFromWebScript:]):
16536 (+[EventSendingController webScriptNameForSelector:]):
16537 (-[EventSendingController enableDOMUIEventLogging:]):
16538 (-[EventSendingController handleEvent:]):
16540 2006-06-23 Kevin Decker <kdecker@apple.com>
16542 Reviewed by Tim Hatcher.
16544 - Made column headers in Drosera resizable.
16546 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
16548 Reviewed by ggaren.
16550 - see http://bugs.webkit.org/show_bug.cgi?id=9539
16551 Another case error preventing build
16553 * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
16555 2006-06-22 Timothy Hatcher <timothy@apple.com>
16559 Adds a native toolbar to Drosera to be a good citizen.
16560 Adds a Debug menu with key-commands for Continue, Pause and Step Into.
16561 Fixes a dragging bug from an earlier fix to the divider code.
16562 Fixes some poor indenting in debugger.js.
16564 * Drosera/DebuggerDocument.h:
16565 * Drosera/DebuggerDocument.m:
16566 (-[DebuggerDocument stepInto]):
16567 (-[DebuggerDocument pause:]):
16568 (-[DebuggerDocument resume:]):
16569 (-[DebuggerDocument stepInto:]):
16570 (-[DebuggerDocument windowDidLoad]):
16571 (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
16572 (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
16573 (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
16574 (-[DebuggerDocument validateUserInterfaceItem:]):
16575 * Drosera/English.lproj/MainMenu.nib/classes.nib:
16576 * Drosera/English.lproj/MainMenu.nib/info.nib:
16577 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
16578 * Drosera/debugger.css:
16579 * Drosera/debugger.html:
16580 * Drosera/debugger.js:
16581 * Drosera/viewer.html:
16583 2006-06-22 Kevin Decker <kdecker@apple.com>
16585 Reviewed by Anders.
16587 - Added pressed column header image.
16588 - Made column headers behave more like Xcode.
16590 2006-06-22 Timothy Hatcher <timothy@apple.com>
16592 Reviewed by Kevin Decker.
16594 Code clean up. Adds the stackframe and makes only the body
16595 of the tables scrollable keeping the header visible.
16596 Shows the current function stack when paused or stepping.
16598 * Drosera/DebuggerApplication.m:
16599 (-[DebuggerApplication awakeFromNib]):
16600 (-[DebuggerApplication numberOfRowsInTableView:]):
16601 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
16602 * Drosera/DebuggerDocument.h:
16603 * Drosera/DebuggerDocument.m:
16604 (-[DebuggerDocument dealloc]):
16605 (-[DebuggerDocument currentFrame]):
16606 (-[DebuggerDocument currentFrameFunctionName]):
16607 (-[DebuggerDocument currentFunctionStack]):
16608 (-[DebuggerDocument log:]):
16609 (-[DebuggerDocument windowWillClose:]):
16610 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
16611 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
16612 * Drosera/Drosera.xcodeproj/project.pbxproj:
16613 * Drosera/debugger.css:
16614 * Drosera/debugger.html:
16615 * Drosera/debugger.js:
16617 2006-06-22 Alexey Proskuryakov <ap@nypop.com>
16619 Reviewed by Anders.
16621 Teach run-webkit-httpd to properly look for webkitdirs.pm.
16623 * Scripts/run-webkit-httpd:
16625 2006-06-22 Kevin Decker <kdecker@apple.com>
16627 Reviewed by Tim Hatcher.
16629 - More progress toward Javascript Debugger.
16630 - Added some new images to the project.
16632 2006-06-21 Alexey Proskuryakov <ap@nypop.com>
16634 Reviewed by Anders.
16636 - http://bugs.webkit.org/show_bug.cgi?id=9516
16637 Would like a script to run a httpd server with the same configuration as run-webkit-tests http
16639 * Scripts/run-webkit-httpd: Added.
16641 2006-06-20 Timothy Hatcher <timothy@apple.com>
16645 Builds Drosera and a launcher to include with the nightly.
16647 * BuildSlaveSupport/build-launcher-app:
16648 * BuildSlaveSupport/build-launcher-dmg:
16649 * Drosera/Drosera.xcodeproj/project.pbxproj:
16650 * Drosera/Info.plist:
16651 * Drosera/LauncherInfo.plist: Added.
16652 * Drosera/launcher.m: Added.
16653 (displayErrorAndQuit):
16654 (checkMacOSXVersion):
16657 * Scripts/build-drosera
16658 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
16659 * WebKitLauncher/main.m:
16662 2006-06-20 Timothy Hatcher <timothy@apple.com>
16664 Reviewed by Darin Adler.
16666 Adds a JavaScript debugger, called Drosera. Named after
16667 a genus of bug eating plants.
16669 * Drosera/DebuggerApplication.h: Added.
16670 * Drosera/DebuggerApplication.m: Added.
16671 (-[DebuggerApplication applicationDidFinishLaunching:]):
16672 (-[DebuggerApplication serverLoaded:]):
16673 (-[DebuggerApplication serverUnloaded:]):
16674 (-[DebuggerApplication awakeFromNib]):
16675 (-[DebuggerApplication showAttachPanel:]):
16676 (-[DebuggerApplication attach:]):
16677 (-[DebuggerApplication numberOfRowsInTableView:]):
16678 (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
16679 (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
16680 (-[DebuggerApplication tableViewSelectionDidChange:]):
16681 * Drosera/DebuggerDocument.h: Added.
16682 * Drosera/DebuggerDocument.m: Added.
16683 (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
16684 (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
16685 (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
16686 (+[DebuggerDocument isKeyExcludedFromWebScript:]):
16687 (-[DebuggerDocument initWithServerName:]):
16688 (-[DebuggerDocument windowWillClose:]):
16689 (-[DebuggerDocument dealloc]):
16690 (-[DebuggerDocument isPaused]):
16691 (-[DebuggerDocument pause]):
16692 (-[DebuggerDocument resume]):
16693 (-[DebuggerDocument step]):
16694 (-[DebuggerDocument windowNibName]):
16695 (-[DebuggerDocument windowDidLoad]):
16696 (-[DebuggerDocument switchToServerNamed:]):
16697 (-[DebuggerDocument applicationTerminating:]):
16698 (-[DebuggerDocument serverConnectionDidDie:]):
16699 (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
16700 (-[DebuggerDocument webView:didFinishLoadForFrame:]):
16701 (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
16702 (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
16703 (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
16704 (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
16705 * Drosera/Drosera.pch: Added.
16706 * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
16707 * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
16708 * Drosera/English.lproj/Debugger.nib/info.nib: Added.
16709 * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
16710 * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
16711 * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
16712 * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
16713 * Drosera/Images/breakPoint.tif: Added.
16714 * Drosera/Images/breakPointDisabled.tif: Added.
16715 * Drosera/Images/continue.tif: Added.
16716 * Drosera/Images/finishFunction.tif: Added.
16717 * Drosera/Images/glossyFooterFill.tif: Added.
16718 * Drosera/Images/glossyHeader.png: Added.
16719 * Drosera/Images/gradientBackground.png: Added.
16720 * Drosera/Images/gutter.png: Added.
16721 * Drosera/Images/navLeftDisabled.png: Added.
16722 * Drosera/Images/navLeftNormal.png: Added.
16723 * Drosera/Images/navLeftPressed.png: Added.
16724 * Drosera/Images/navRightDisabled.png: Added.
16725 * Drosera/Images/navRightNormal.png: Added.
16726 * Drosera/Images/navRightPressed.png: Added.
16727 * Drosera/Images/pause.tif: Added.
16728 * Drosera/Images/popUpArrows.png: Added.
16729 * Drosera/Images/programCounter.tif: Added.
16730 * Drosera/Images/programCounterBreakPoint.tif: Added.
16731 * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
16732 * Drosera/Images/run.tif: Added.
16733 * Drosera/Images/splitterBar.tif: Added.
16734 * Drosera/Images/splitterDimple.tif: Added.
16735 * Drosera/Images/step.tif: Added.
16736 * Drosera/Images/stepOver.tif: Added.
16737 * Drosera/Images/stop.tif: Added.
16738 * Drosera/Images/toolbarBackground.png: Added.
16739 * Drosera/Info.plist: Added.
16740 * Drosera/debugger.css: Added.
16741 * Drosera/debugger.html: Added.
16742 * Drosera/debugger.js: Added.
16743 * Drosera/main.m: Added.
16745 * Drosera/viewer.css: Added.
16746 * Drosera/viewer.html: Added.
16748 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
16752 http://bugs.webkit.org/show_bug.cgi?id=9485
16753 Teach svn-apply and svn-unapply to use full path names
16755 * Scripts/svn-apply: Changed to use full path names. Cleaned up code.
16756 * Scripts/svn-unapply: Ditto.
16758 2006-06-18 David Kilzer <ddkilzer@kilzer.net>
16760 Reviewed by ggaren.
16762 - http://bugs.webkit.org/show_bug.cgi?id=9150
16763 DumpRenderTree should be able to keep URL history during runs
16765 Test: LayoutTests/fast/history/clicked-link-is-visited.html
16767 * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
16768 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
16769 (-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
16770 it is currently nil since keepWebHistory() might be called more than once incidentally
16772 (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
16773 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
16775 2006-06-11 David Kilzer <ddkilzer@kilzer.net>
16779 http://bugs.webkit.org/show_bug.cgi?id=9395
16780 Make prepare-ChangeLog faster
16782 * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
16783 then save the diff output for reuse. Keep a status variable if changes are made to
16784 LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
16785 WebCore is updated. Added -h|--help command-line switch and help message. Move test
16786 for no changed files closer to the beginning of the program.
16788 2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
16790 Reviewed and landed by ap.
16792 - make DumpRenderTree build
16794 * DumpRenderTree/DumpRenderTree.m:
16795 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
16796 (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
16797 (-[LayoutTestController setWindowIsKey:]): Ditto.
16798 (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
16800 2006-06-09 David Kilzer <ddkilzer@kilzer.net>
16802 Reviewed by Darin, landed by Geoff.
16804 http://bugs.webkit.org/show_bug.cgi?id=9350
16805 Use pathcmp() when sorting paths in svn-create-patch
16807 * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
16808 * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
16809 Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
16810 switch and printUsage() subroutine.
16812 2006-06-06 David Kilzer <ddkilzer@kilzer.net>
16816 http://bugs.webkit.org/show_bug.cgi?id=9322
16817 Teach svn-create-patch to sort its output
16819 * Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
16820 by text files first, then by binary files.
16822 2006-06-04 David Kilzer <ddkilzer@kilzer.net>
16826 http://bugs.webkit.org/show_bug.cgi?id=9299
16827 Teach svn-create-patch and friends to work with binary files
16829 * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
16830 * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
16831 * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
16833 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
16835 Reviewed by Maciej.
16837 http://bugs.webkit.org/show_bug.cgi?id=9296
16838 Performance improvement for svn-create-patch
16840 * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
16842 2006-06-03 David Kilzer <ddkilzer@kilzer.net>
16846 http://bugs.webkit.org/show_bug.cgi?id=9290
16847 Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
16849 * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
16850 * Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
16852 2006-06-03 Steve Falkenburg <sfalken@apple.com>
16856 Switch Spinneret to new hosting mechanism
16858 * Spinneret/Spinneret.sln:
16859 * Spinneret/Spinneret/Spinneret.cpp:
16860 (SpinneretWebHost::updateAddressBar):
16861 (SpinneretWebHost::QueryInterface):
16862 (SpinneretWebHost::AddRef):
16863 (SpinneretWebHost::Release):
16870 * Spinneret/Spinneret/Spinneret.h:
16871 (SpinneretWebHost::didStartProvisionalLoadForFrame):
16872 (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
16873 (SpinneretWebHost::didFailProvisionalLoadWithError):
16874 (SpinneretWebHost::didCommitLoadForFrame):
16875 (SpinneretWebHost::didReceiveTitle):
16876 (SpinneretWebHost::didReceiveIcon):
16877 (SpinneretWebHost::didFinishLoadForFrame):
16878 (SpinneretWebHost::didFailLoadWithError):
16879 (SpinneretWebHost::didChangeLocationWithinPageForFrame):
16880 (SpinneretWebHost::willPerformClientRedirectToURL):
16881 (SpinneretWebHost::didCancelClientRedirectForFrame):
16882 (SpinneretWebHost::willCloseFrame):
16883 (SpinneretWebHost::windowScriptObjectAvailable):
16884 * Spinneret/Spinneret/Spinneret.vcproj:
16886 2006-06-02 Steve Falkenburg <sfalken@apple.com>
16890 Updated build script
16892 * Scripts/build-webkit:
16894 2006-06-01 Anders Carlsson <acarlsson@apple.com>
16896 Reviewed by Darin Adler.
16898 * DumpRenderTree/DumpRenderTree.m:
16899 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16900 (-[LayoutTestController clearBackForwardList]):
16901 Add clearBackForwardList function to layoutTestController
16903 2006-06-01 Anders Carlsson <acarlsson@apple.com>
16905 Reviewed by Darin Adler.
16907 http://bugs.webkit.org/show_bug.cgi?id=8996
16908 slow-utf8-text layout test case failing (no longer deterministic?)
16910 * DumpRenderTree/DumpRenderTree.m:
16912 Dump as text when the response MIME type is text/plain
16914 2006-05-26 Steve Falkenburg <sfalken@apple.com>
16918 * Spinneret/Spinneret.sln:
16919 * Spinneret/Spinneret/Spinneret.vcproj:
16921 2006-05-24 Geoffrey Garen <ggaren@apple.com>
16925 Added 'GCController' to DRT to support garbage collection layout tests.
16927 GCController.collect() and GCController.collectOnAlternateThread() do
16928 what you would expect. The latter takes a boolean argument sepcifying
16929 whether to wait for garbage collection to finish before continuing to
16932 * DumpRenderTree/DumpRenderTree.m:
16933 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
16934 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
16935 * DumpRenderTree/GCController.h: Added.
16936 * DumpRenderTree/GCController.mm: Added.
16937 (+[GCController isSelectorExcludedFromWebScript:]):
16938 (+[GCController webScriptNameForSelector:]):
16939 (-[GCController collect]):
16940 (-[GCController collectOnAlternateThread:]):
16942 2006-05-23 John Sullivan <sullivan@apple.com>
16944 Reviewed by Maciej.
16946 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
16947 Newer Xcode removed some obsolete cruft
16949 * DumpRenderTree/TextInputController.m:
16950 (-[TextInputController textInput]):
16951 added (id) cast to make newer compiler happy
16953 2006-05-22 Steve Falkenburg <sfalken@apple.com>
16959 * Spinneret/Spinneret.sln:
16961 2006-05-18 Darin Adler <darin@apple.com>
16963 - try to fix no-SVG, no-XPATH build, again
16965 * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
16967 2006-05-18 Darin Adler <darin@apple.com>
16969 - try to fix no-SVG, no-XPATH build
16971 * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
16972 since the former is what's used in the WebCore project now.
16974 2006-05-17 Darin Adler <darin@apple.com>
16976 * Scripts/do-webcore-rename: Some more future renames.
16978 2006-05-16 Adele Peterson <adele@apple.com>
16982 * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
16983 HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
16985 2006-05-15 Alexey Proskuryakov <ap@nypop.com>
16987 * Scripts/install-unix-extras: Changed to be executable and removed
16988 text in the file generated by "svn diff".
16989 * Scripts/regenerate-makefiles: Ditto.
16991 2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
16993 Reviewed by Darin, landed by ap.
16995 - http://bugs.webkit.org/show_bug.cgi?id=8528
16996 Bakefiles (and generated Makefiles) for wx and gdk ports
16998 * Scripts/install-unix-extras: Added.
16999 * Scripts/regenerate-makefiles: Added.
17001 2006-05-10 Steve Falkenburg <sfalken@apple.com>
17003 Reviewed by Maciej.
17005 Fix registry usage from perl script. Turns out libwin32's
17006 SetRegValueEx, even for REG_DWORD, always takes its value as a string!
17008 * Scripts/install-win-extras:
17010 2006-05-09 Steve Falkenburg <sfalken@apple.com>
17013 Add load ended callback.
17017 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
17018 * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
17019 * Spinneret/Spinneret/Spinneret.cpp:
17020 (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
17021 (_tWinMain): Load built-in test content here instead of in lower-level code.
17022 * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
17024 2006-05-08 Maciej Stachowiak <mjs@apple.com>
17026 Reviewed by Anders.
17028 * Scripts/extract-localizable-strings: Update for correct names of log macros.
17030 2006-05-09 Anders Carlsson <acarlsson@apple.com>
17032 Reviewed by Maciej.
17034 * Scripts/check-dom-results:
17035 Add XPath to the list of results.
17037 2006-05-08 Darin Adler <darin@apple.com>
17039 * Scripts/do-webcore-rename: Add another rename.
17041 2006-05-01 Steve Falkenburg <sfalken@apple.com>
17045 Spinneret now links against the new separate lib.
17047 * Spinneret/Spinneret.sln:
17048 * Spinneret/Spinneret/Spinneret.cpp:
17049 (SpinneretWebHost::updateLocationBar):
17051 * Spinneret/Spinneret/Spinneret.h:
17052 * Spinneret/Spinneret/Spinneret.vcproj:
17053 * Spinneret/Spinneret/WebFrame.cpp: Removed.
17054 * Spinneret/Spinneret/WebFrame.h: Removed.
17055 * Spinneret/Spinneret/WebView.cpp: Removed.
17056 * Spinneret/Spinneret/WebView.h: Removed.
17058 2006-04-28 Steve Falkenburg <sfalken@apple.com>
17060 Reviewed by kdecker
17062 Modify error reporting registry keys to disable Dr. Watson.
17063 This allows Javascript test cases to complete without blocking UI.
17065 * Scripts/install-win-extras:
17066 - Use Perl Win32 registry functions to disable blocking UI
17069 2006-04-28 Steve Falkenburg <sfalken@apple.com>
17073 Turned off C++ exceptions, fixed memory leaks
17075 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
17076 * Spinneret/Spinneret.sln:
17077 * Spinneret/Spinneret/Spinneret.cpp:
17079 * Spinneret/Spinneret/Spinneret.vcproj:
17080 * Spinneret/Spinneret/WebFrame.cpp:
17081 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
17082 (WebKit::WebFrame::WebFrame):
17083 (WebKit::WebFrame::~WebFrame):
17084 (WebKit::WebFrame::impl):
17085 * Spinneret/Spinneret/WebFrame.h:
17086 * Spinneret/Spinneret/WebView.cpp:
17087 * Spinneret/Spinneret/stdafx.h:
17089 2006-04-28 Alexey Proskuryakov <ap@nypop.com>
17091 Reviewed by Darin Adler.
17093 - http://bugs.webkit.org/show_bug.cgi?id=8633
17094 DumpRenderTree should reset the URL cache
17096 * DumpRenderTree/DumpRenderTree.m:
17097 (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
17099 2006-04-28 Eric Seidel <eseidel@apple.com>
17101 Reviewed by andersca.
17103 * Scripts/do-webcore-rename: rename KCanvasContainer too
17104 * Scripts/run-webkit-tests: output total time
17106 2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
17108 Reviewed by hyatt. Landed by eseidel.
17110 - http://bugs.webkit.org/show_bug.cgi?id=8549
17111 Enable detection of excessive repainting with DumpRenderTree
17113 * DumpRenderTree/DumpRenderTree.m:
17114 (-[LayoutTestController display]):
17116 2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
17118 Reviewed by Darin Adler.
17120 - http://bugs.webkit.org/show_bug.cgi?id=6905
17121 DumpRenderTree needs a way to force painting (to allow invalidation tests)
17123 * DumpRenderTree/DumpRenderTree.m:
17124 (dump): If display() has been called during the test, grab the pixels from
17125 the view, after letting it repaint invalidated rects.
17126 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17127 (-[LayoutTestController display]): Added. Calls -display on the view
17128 and changes the subsequent behavior of dump().
17131 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
17133 Reviewed by Maciej.
17135 - http://bugs.webkit.org/show_bug.cgi?id=8532
17136 Update iExploder to 1.3.2
17138 Test case numbers are not compatible with iExploder 1.2.
17140 * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
17142 * iExploder/CHANGELOG.txt: Added.
17143 * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
17144 * iExploder/README.txt: Added some performance hints.
17146 * iExploder/htdocs/config.rb: Added.
17147 * iExploder/htdocs/cssproperties.in:
17148 * iExploder/htdocs/cssvalues.in:
17149 * iExploder/htdocs/htmlattrs.in:
17150 * iExploder/htdocs/htmltags.in:
17151 * iExploder/htdocs/iexploder.cgi:
17152 - Updated to support the latest HTML & CSS tags, properties, and values from both
17153 the WebKit and Mozilla CVS tree
17154 - cssproperties.in cleanup
17155 - Modularized the code a little bit.
17156 - Fix subtest bug that was causing last 5 tags to be missed
17157 - new subtest algorithm to deal better with larger tag counts
17158 - default HTML_MAX_TAGS increased from 32 to 96
17160 * iExploder/htdocs/index.html: Updated version to 1.3.2.
17161 * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
17162 alternative to our run-iexploder-tests.
17163 * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
17164 * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
17165 * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
17167 2006-04-22 Alexey Proskuryakov <ap@nypop.com>
17169 - commit Scripts/run-mangleme-tests (missed it the previous time).
17171 2006-04-18 Darin Adler <darin@apple.com>
17173 - attempt to fix Windows buildbot
17175 * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
17176 We need a better long-term solution for this.
17178 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
17180 Reviewed by Darin Adler.
17182 - http://bugs.webkit.org/show_bug.cgi?id=8444
17183 Integrate mangleme test script.
17185 Works in a similar way to run-iexploder-tests.
17187 * Scripts/run-mangleme-tests: Added.
17189 * mangleme/Makefile: Added.
17190 * mangleme/README: Added.
17191 * mangleme/mangle.cgi.c: Added.
17192 * mangleme/remangle.cgi.c: Added.
17193 * mangleme/tags.h: Added.
17195 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
17197 Reviewed by Darin Adler.
17199 - http://bugs.webkit.org/show_bug.cgi?id=8443
17200 An easier way to save iExploder tests.
17202 * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
17204 2006-04-17 Alexey Proskuryakov <ap@nypop.com>
17206 Reviewed by Darin Adler.
17208 - http://bugs.webkit.org/show_bug.cgi?id=8421
17209 Integrate iExploder test script.
17211 This script generates artificially mangled HTML documents, to test that the browser
17212 doesn't crash when handling ill-formed code.
17215 run-iexploder-tests Open an interactive test page in Safari+ToT.
17216 run-iexploder-tests nnnnn Open test #nnnnn.
17218 Command line options:
17219 --guard-malloc (-g) Use Guard Malloc.
17220 --port=nnnn Run Apache on port nnnn (default is 8000).
17222 To save a crashing test, you can use curl while the crash reporter dialog is on the screen
17223 (thus, Apache is still running), e.g.:
17224 curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
17226 Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
17228 * Scripts/run-iexploder-tests: Added.
17229 * iExploder: Added.
17230 * iExploder/LICENSE.txt: Added.
17231 * iExploder/README.txt: Added.
17232 * iExploder/htdocs: Added.
17233 * iExploder/htdocs/cssproperties.in: Added.
17234 * iExploder/htdocs/cssvalues.in: Added.
17235 * iExploder/htdocs/htmlattrs.in: Added.
17236 * iExploder/htdocs/htmltags.in: Added.
17237 * iExploder/htdocs/htmlvalues.in: Added.
17238 * iExploder/htdocs/iexploder.cgi: Added.
17239 * iExploder/htdocs/index.html: Added.
17240 * iExploder/tools: Added.
17241 * iExploder/tools/lasthit.rb: Added.
17242 * iExploder/tools/osx_last_crash.rb: Added.
17244 2006-04-16 Alexey Proskuryakov <ap@nypop.com>
17246 Reviewed by Darin Adler.
17248 - fix http://bugs.webkit.org/show_bug.cgi?id=8412
17249 Restore color profile after a crash
17251 * DumpRenderTree/DumpRenderTree.m:
17252 (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
17253 from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
17254 I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
17255 and this code may change significantly.
17257 (main): Install crashHandler.
17259 (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
17260 (CFStringGetCStringPtr should NEVER EVER be used!).
17262 2006-04-15 Darin Adler <darin@apple.com>
17266 * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
17267 Seems xmlsoft.org's HTTP no longer has what we need.
17269 2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
17271 Rubber-stamped by Darin Adler.
17273 - fix http://bugs.webkit.org/show_bug.cgi?id=8348
17274 upload-disk-image stage on buildslaves fail with "No space left on device"
17276 * BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
17277 'hdiutil create'. This creates the initial disk image based on the size of
17278 the source folder, and copies the contents to the new disk image. The file
17279 extension on the temporary uncompressed disk image has also been altered from
17280 ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
17281 the extension is not ".dmg".
17283 2006-04-12 Eric Seidel <eseidel@apple.com>
17287 * Scripts/update-webkit: Make this return non-zero when svn fails.
17289 2006-04-10 Alexey Proskuryakov <ap@nypop.com>
17291 Reviewed by Darin Adler.
17293 - fix http://bugs.webkit.org/show_bug.cgi?id=8157
17294 Make HTTP tests using Perl use .pl extension
17296 * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
17297 removed support for .text. Reduced the number of places that explicitly list supported
17298 extensions. Some of the changes come from bug 8121, the patch for which got landed only
17301 2006-04-06 Darin Adler <darin@apple.com>
17303 Changes requested by Mark Rowe.
17305 * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
17306 trash at the end of the file.
17307 * BuildSlaveSupport/build-launcher-dmg: Ditto.
17309 * WebKitLauncher/main.m: Removed trash at end of file.
17311 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
17312 to make name match.
17314 2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
17316 Reviewed by Darin, landed by Maciej.
17318 * BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
17319 and bundles the WebKit frameworks inside it.
17320 * BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
17321 containing WebKit.app.
17322 * BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
17323 * Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
17324 number of the SVN working copy.
17325 * WebKitLauncher: Added.
17326 * WebKitLauncher/Info.plist: Added.
17327 * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
17328 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
17329 * WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
17330 up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
17331 to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
17332 the nightly launcher.
17333 * WebKitLauncher/main.m: Added. The WebKit.app launcher.
17334 It sets up the environment to have Safari use the bundled frameworks
17335 and load the WebKitNightlyEnabler dylib before exec'ing Safari
17336 * WebKitLauncher/start.html: Added.
17337 * WebKitLauncher/webkit.icns: Added.
17339 2006-04-05 Darin Adler <darin@apple.com>
17341 Reviewed by Maciej.
17343 * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
17344 are allowed to have global initializers.
17346 2006-04-05 Geoffrey Garen <ggaren@apple.com>
17348 Reviewed by OMG BETH
17350 * Scripts/run-testkjs:
17351 - pipe STDERR to /dev/null by default; new --verbose option overrides
17353 - set DYLD_FRAMEWORK_PATH to the webkit-configured path
17354 - output run command in a format that can be copied and pasted into the
17355 terminal to run manually
17357 2006-04-03 Justin Garcia <justin.garcia@apple.com>
17359 Reviewed by harrison
17361 <http://bugs.webkit.org/show_bug.cgi?id=7567>
17362 A drag and drop in DumpRenderTree copies the source, instead of cutting it
17364 Tell the source that the drag is over after the drag is performed, not before.
17366 * DumpRenderTree/EventSendingController.m:
17367 (-[EventSendingController mouseUp]):
17369 2006-04-01 Darin Adler <darin@apple.com>
17371 Reviewed by Justin.
17373 * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
17374 Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
17375 elements in that array are not strings.
17377 2006-03-31 Darin Adler <darin@apple.com>
17379 Reviewed by John Sullivan.
17381 - added a "--reset-results" option to run-webkit-tests so you can reset
17382 the results without first deleting expected results
17383 - <rdar://problem/4185878> add scroll position to dumpRenderTree
17385 * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
17386 more logical. Moved all the subroutines to the end of the file. Added a
17389 * DumpRenderTree/DumpRenderTree.m:
17390 (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
17391 to generate new output for all tests it runs.
17392 (dump): Dump the scroll position if it's non-zero. Always dump the image when
17393 the --dump-all-pixels option is passed. Also tightened up the image dumping
17394 code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
17395 with code to save and restore the context.
17397 * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
17398 * DumpRenderTree/EventSendingController.m: Added now-needed include.
17400 2006-03-30 Tim Omernick <timo@apple.com>
17402 * DumpRenderTree/ObjCPlugin.h:
17404 * DumpRenderTree/ObjCPlugin.m: ditto
17405 * DumpRenderTree/ObjCPluginFunction.h: ditto
17406 * DumpRenderTree/ObjCPluginFunction.m: ditto
17408 2006-03-30 Tim Omernick <timo@apple.com>
17412 * DumpRenderTree/DumpRenderTree.m:
17413 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
17414 Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
17415 an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
17416 exposed to JS as a callable object.
17418 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17419 Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
17421 * DumpRenderTree/ObjCPlugin.h: Added.
17422 * DumpRenderTree/ObjCPlugin.m: Added.
17423 * DumpRenderTree/ObjCPluginFunction.h: Added.
17424 * DumpRenderTree/ObjCPluginFunction.m: Added.
17426 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
17427 Added a new method, "removeDefaultMethod", which removes the default method from the
17428 plugin object's class. The effect is that the plugin object is mutated from a callable
17429 function to a simple object.
17431 Handle "removeDefaultMethod".
17432 (pluginInvokeDefault):
17433 Made the default method actually do something (return 1).
17435 2006-03-30 Eric Seidel <eseidel@apple.com>
17437 Reviewed by ggaren.
17439 Remove WebFrame::viewImpl(), setMainFrame on page.
17441 * Spinneret/Spinneret/WebFrame.cpp:
17442 (WebKit::WebFrame::WebFrame):
17443 * Spinneret/Spinneret/WebFrame.h:
17444 * Spinneret/Spinneret/WebView.cpp:
17445 (WebKit::WebView::mouseMoved):
17446 (WebKit::WebView::mouseDown):
17447 (WebKit::WebView::mouseUp):
17448 (WebKit::WebView::mouseDoubleClick):
17449 (WebKit::WebViewWndProc):
17451 2006-03-30 Eric Seidel <eseidel@apple.com>
17455 Fix html editing input & basic form submission.
17457 * Spinneret/Spinneret/WebFrame.cpp:
17458 (WebKit::WebFrame::submitForm):
17459 (WebKit::WebFrame::loadURL):
17460 * Spinneret/Spinneret/WebFrame.h:
17461 * Spinneret/Spinneret/WebView.cpp:
17462 (WebKit::WebView::keyPress):
17463 (WebKit::WebViewWndProc):
17465 2006-03-28 Justin Garcia <justin.garcia@apple.com>
17469 <rdar://problem/4402375>
17470 REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
17472 Added an option to draw the selectionRect.
17474 * DumpRenderTree/DumpRenderTree.m:
17476 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17477 (-[LayoutTestController dumpSelectionRect]):
17480 2006-03-29 Darin Adler <darin@apple.com>
17482 Reviewed by Tim Hatcher.
17484 - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
17486 * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
17488 2006-03-28 Eric Seidel <eseidel@apple.com>
17492 * Scripts/check-for-global-initializers: remove svg exceptions.
17494 2006-03-28 Timothy Hatcher <timothy@apple.com>
17496 Reviewed by Darin Adler.
17498 Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
17500 * Scripts/check-for-global-initializers:
17502 2006-03-28 Timothy Hatcher <timothy@apple.com>
17504 Build fix. Turn off uninitialized warnings for the first block of code.
17506 * Scripts/check-for-global-initializers:
17508 2006-03-28 Darin Adler <darin@apple.com>
17512 * Scripts/check-for-global-initializers: Added.
17514 2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
17516 Reviewed by darin. Landed by eseidel.
17518 - http://bugs.webkit.org/show_bug.cgi?id=7947
17519 Add repaint testing support to run-webkit-tests
17521 * DumpRenderTree/DumpRenderTree.m:
17522 (main): Added --repaint and --horizontal-sweep options.
17523 (dump): Repaint line-by-line or column-by-column when the appropriate option
17525 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
17526 and repaintSweepHorizontally() methods to layoutTestController.
17527 (-[LayoutTestController testRepaint]):
17528 (-[LayoutTestController repaintSweepHorizontally]):
17530 * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
17531 to force these settings on tests that do not ask for them.
17533 2006-03-24 Eric Seidel <eseidel@apple.com>
17539 * Spinneret/Spinneret/WebFrame.cpp:
17540 (WebKit::WebFrame::openURL): replace QString with DeprecatedString
17542 2006-03-21 Beth Dakin <bdakin@apple.com>
17546 Add support for keyDown() to DumpRenderTree.
17548 * DumpRenderTree/DumpRenderTree.m:
17549 (main): Set the preference for tabbing to links.
17550 * DumpRenderTree/EventSendingController.m:
17551 (+[EventSendingController isSelectorExcludedFromWebScript:]):
17552 (+[EventSendingController webScriptNameForSelector:]):
17553 (-[EventSendingController keyDown:withModifiers:]):
17555 2006-03-20 Eric Seidel <eseidel@apple.com>
17561 * Spinneret/Spinneret/Spinneret.vcproj:
17562 * Spinneret/Spinneret/WebFrame.h:
17563 * Spinneret/Spinneret/WebView.cpp:
17564 (WebKit::WebView::mouseMoved):
17565 (WebKit::WebView::mouseDown):
17566 (WebKit::WebView::mouseUp):
17567 (WebKit::WebView::mouseDoubleClick):
17568 (WebKit::WebView::keyPress):
17569 (WebKit::WebViewWndProc):
17571 2006-03-19 Darin Adler <darin@apple.com>
17573 Reviewed by Anders.
17575 * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
17576 we can test it in layout tests. We don't really need tests that run with
17577 pop-up blocking off at the moment. If we do some day, we can add some
17578 API for turning it off in the layout test controller.
17580 * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
17581 don't ignore the leak; it should no longer show up.
17583 2006-03-17 Anders Carlsson <andersca@mac.com>
17587 * Scripts/install-win-extras:
17588 Fetch "Program Files" location from the environment.
17590 2006-03-17 Eric Seidel <eseidel@apple.com>
17592 Reviewed by ggaren.
17594 Fix Spinneret to pass Events as const & not as pointers.
17596 * Spinneret/Spinneret/WebView.cpp:
17597 (WebKit::WebView::mouseMoved):
17598 (WebKit::WebView::mouseDown):
17599 (WebKit::WebView::mouseUp):
17600 (WebKit::WebView::mouseDoubleClick):
17601 (WebKit::WebView::keyPress):
17603 2006-03-17 Eric Seidel <eseidel@apple.com>
17605 Reviewed by justing.
17607 Add support for basic HTML editing.
17609 * Spinneret/Spinneret/WebView.cpp:
17610 (WebKit::WebView::WebView):
17611 (WebKit::WebView::keyPress):
17613 2006-03-17 Eric Seidel <eseidel@apple.com>
17615 Rubber-stamped by ggaren.
17617 Break DumpRenderTree.m up into several files to make the code more readable.
17619 * DumpRenderTree/DumpRenderTree.h: Added.
17620 * DumpRenderTree/DumpRenderTree.m:
17621 (doneLoading): new accessor function for "done" global.
17622 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17623 * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
17624 * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
17625 * DumpRenderTree/EditingDelegate.h: Added.
17626 * DumpRenderTree/EditingDelegate.m: Added.
17627 (-[EditingDelegate webViewDidChangeSelection:]):
17628 * DumpRenderTree/EventSendingController.h: Added.
17629 * DumpRenderTree/EventSendingController.m: Added.
17631 2006-03-16 Eric Seidel <eseidel@apple.com>
17635 Add resize, scroll event support.
17637 * Spinneret/Spinneret/WebView.cpp:
17638 (WebKit::WebView::mouseMoved):
17639 (WebKit::WebView::mouseDown):
17640 (WebKit::WebView::mouseUp):
17641 (WebKit::WebView::mouseDoubleClick):
17642 (WebKit::WebView::keyPress):
17643 (WebKit::WebViewWndProc):
17644 * Spinneret/Spinneret/WebView.h:
17646 2006-03-16 Eric Seidel <eseidel@apple.com>
17650 Make build-webkit print correctly to stdout on windows.
17652 * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
17654 2006-03-15 Eric Seidel <eseidel@apple.com>
17658 Fix eventSender.mouseClick() to update lastClick timestamp.
17660 * DumpRenderTree/DumpRenderTree.m:
17661 (-[EventSendingController mouseClick]):
17663 2006-03-15 Darin Adler <darin@apple.com>
17665 Reviewed by Maciej.
17667 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
17668 that had a lowercase "i" in it so this builds on case-sensitive
17671 2006-03-15 Geoffrey Garen <ggaren@apple.com>
17675 Added run-testkjs and compare-timing-files scripts, to support super
17676 accurate JS iBench.
17678 * Scripts/compare-timing-files: Added.
17679 * Scripts/run-testkjs: Added.
17681 2006-03-14 Eric Seidel <eseidel@apple.com>
17685 Make the URL bar relinquish focus on page load.
17687 * Spinneret/Spinneret/Spinneret.cpp:
17690 2006-03-14 Eric Seidel <eseidel@apple.com>
17694 Fix WebView to allow KeyFocus.
17695 Add handling of space and shift-space for scrolling.
17697 * Spinneret/Spinneret/WebView.cpp:
17698 (WebKit::scrollMessageForKey):
17699 (WebKit::WebViewWndProc):
17701 2006-03-10 Eric Seidel <eseidel@apple.com>
17705 Add scrolling support into Spinneret.
17707 * Spinneret/Spinneret/WebFrame.cpp:
17708 (WebKit::WebFrame::paint):
17709 * Spinneret/Spinneret/WebView.cpp:
17710 (WebKit::WebView::createWebView):
17711 (WebKit::calculateScrollDelta):
17712 (WebKit::scrollMessageForKey):
17713 (WebKit::WebViewWndProc):
17715 2006-03-13 Eric Seidel <eseidel@apple.com>
17719 Fix checksum generation on Intel machines.
17720 Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
17721 give a small speed boost now that it uses a shared buffer.
17723 * DumpRenderTree/DumpRenderTree.m:
17726 (md5HashStringForBitmap):
17727 * DumpRenderTree/ImageDiff.m:
17728 (computePercentageDifferent):
17730 2006-03-13 Darin Adler <darin@apple.com>
17732 Reviewed by Tim Hatcher.
17734 * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
17735 have it named httpd-1.3 instead.
17737 2006-03-13 Alexey Proskuryakov <ap@nypop.com>
17739 Fix proposed by Mitz Pettel, reviewed by Darin Adler.
17741 - fix http://bugs.webkit.org/show_bug.cgi?id=7718
17742 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
17744 * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
17745 (sequences of slashes are equivalent to a single slash in POSIX paths, but not
17748 2006-03-09 Darin Adler <darin@apple.com>
17750 Reviewed by John Sullivan.
17752 - fix http://bugs.webkit.org/show_bug.cgi?id=7681
17753 memory leak in the plug-in tests
17755 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
17756 (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
17757 (NPP_SetWindow): Remove unneeded code to store the window pointer.
17759 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
17760 Moved the browser global in here since it's declared in this file's header.
17761 Changed the code to set up the pluginClass structure to not use function
17762 pointer casts. Those are dangerous because they can hide many types of mismatch.
17763 And indeed when I did this I discovered that many functions were missing their
17764 boolean return values or had parameter declarations with the wrong types.
17765 (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
17766 clarity. Added boolean return value: return true when successful and false when not.
17767 (pluginSetProperty): Added boolean return value, return false since we have no
17768 properties we can set.
17769 (pluginInvoke): Added boolean return value. Return true when successful and false
17770 when not. Use NPVARIANT macros where appropriate. Added a missing release for the
17771 return value from calling the browser. Changed code to put the strings in malloc
17772 buffers instead of relying on GCC's extension that allows variable-sized arrays
17774 (pluginInvokeDefault): Added boolean return value, return false since we have no
17775 default function to call.
17776 (pluginInvalidate): Added missing parameter. Removed comment.
17777 (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
17778 to cast the result of malloc.
17779 (pluginDeallocate): Removed uneeded cast.
17781 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
17782 includes. Changed our PluginObject to use NPObject instead of re-declaring fields
17783 that match NPObject's fields. Removed unused NPWindow pointer.
17785 2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
17787 Test: fast/events/event-sender-mouse-click.html
17789 Reviewed by Darin Adler.
17791 - fix http://bugs.webkit.org/show_bug.cgi?id=7583
17792 DRT hangs when doing eventSender.mouseDown on native widgets
17794 * DumpRenderTree/DumpRenderTree.m:
17795 (+[EventSendingController isSelectorExcludedFromWebScript:]):
17796 (-[EventSendingController mouseClick]): Simulates a click in a native
17797 widget by queueing a mouseUp before sending the mouseDown, so that
17798 the widget's mouse tracking event loop doesn't hang indefinitely.
17800 2006-03-09 Maciej Stachowiak <mjs@apple.com>
17804 - make link clicks work by handling link click requests
17807 * Spinneret/Spinneret/Spinneret.cpp:
17808 (updateLocationBar):
17809 * Spinneret/Spinneret/Spinneret.h:
17810 * Spinneret/Spinneret/WebFrame.cpp:
17811 (WebKit::WebFrame::WebFrame):
17812 (WebKit::WebFrame::openURL):
17813 (WebKit::WebFrame::loadURL):
17814 * Spinneret/Spinneret/WebFrame.h:
17816 2006-03-08 Eric Seidel <eseidel@apple.com>
17820 Focus URL bar on Spinneret launch, remove border from WebView.
17821 Stop WebFrame from deleting the job (prevent crash).
17823 * Spinneret/Spinneret/Spinneret.cpp:
17825 * Spinneret/Spinneret/WebFrame.cpp:
17826 (WebKit::WebFrame::receivedAllData):
17827 (WebKit::WebFrame::paint):
17828 * Spinneret/Spinneret/WebView.cpp:
17829 (WebKit::WebView::createWebView):
17831 2006-03-09 Alexey Proskuryakov <ap@nypop.com>
17833 Reviewed by Darin Adler.
17835 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
17836 (pluginInvoke): Added a method to test getURL.
17838 2006-03-08 Maciej Stachowiak <mjs@apple.com>
17842 - load URLs, not file paths, in Spinneret
17844 * Spinneret/Spinneret/Spinneret.cpp:
17846 * Spinneret/Spinneret/Spinneret.vcproj:
17847 * Spinneret/Spinneret/WebFrame.cpp:
17848 (WebKit::WebFrame::loadURL):
17849 (WebKit::WebFrame::receivedData):
17850 (WebKit::WebFrame::receivedAllData):
17851 * Spinneret/Spinneret/WebFrame.h:
17852 * Spinneret/Spinneret/WebView.cpp:
17853 (WebKit::WebView::WebView):
17855 2006-03-08 Darin Adler <darin@apple.com>
17859 - fixed AppleScript layout test results to not be endian-dependent
17860 (Hyatt complained to me about this one)
17862 * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
17863 Added specific code for dumping LongDateTime, instead of dumping the raw bytes
17864 (which are endian-dependent).
17866 2006-03-07 Darin Adler <darin@apple.com>
17868 Reviewed by Anders.
17870 - fix http://bugs.webkit.org/show_bug.cgi?id=7655
17871 unwanted output while running layout tests
17873 * DumpRenderTree/DumpRenderTree.m:
17874 (checkedMalloc): Added.
17875 (checkedRealloc): Added.
17876 (makeLargeMallocFailSilently): Added.
17877 (main): Call makeLargeMallocFailSilently.
17879 2006-03-06 Darin Adler <darin@apple.com>
17881 * Scripts/do-webcore-rename: Add some more planned renaming.
17883 2006-03-06 Eric Seidel <eseidel@apple.com>
17887 * Spinneret/Spinneret/WebFrame.cpp:
17888 (WebKit::WebFrame::paint): force layout before painting
17890 2006-03-06 Justin Garcia <justin.garcia@apple.com>
17894 Sent the windowNumber when sending events.
17895 Added leapForward so that we don't have to spend time waiting
17896 in layout tests that do mouse operations that require delays.
17898 * DumpRenderTree/DumpRenderTree.m:
17899 (+[EventSendingController isSelectorExcludedFromWebScript:]):
17900 (+[EventSendingController webScriptNameForSelector:]):
17901 (-[EventSendingController currentEventTime]):
17902 (-[EventSendingController leapForward:]):
17903 (-[EventSendingController mouseDown]):
17904 (-[EventSendingController mouseUp]):
17905 (-[EventSendingController mouseMoveToX:Y:]):
17907 2006-03-05 Darin Adler <darin@apple.com>
17909 * Scripts/do-webcore-rename: Fix a couple of things found while testing.
17910 Script now works (after landing my two pending patches).
17912 2006-03-05 Darin Adler <darin@apple.com>
17914 - check in a script to do a "big" rename in WebCore
17915 (can be run whenever we're ready to do it)
17917 * Scripts/do-webcore-rename: Added.
17919 2006-03-05 Maciej Stachowiak <mjs@apple.com>
17923 * Spinneret/Spinneret/WebFrame.cpp:
17924 (WebKit::WebFrame::loadFilePath): Close file when done.
17926 2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
17928 Reviewed by Darin, landed by ap.
17930 - fix http://bugs.webkit.org/show_bug.cgi?id=7589
17931 Mouse moved events do not work in DumpRenderTree
17933 Test: fast/events/event-sender-mouse-moved.html
17935 * DumpRenderTree/DumpRenderTree.m:
17936 (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
17938 2006-03-04 Eric Seidel <eseidel@apple.com>
17942 Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
17943 Disable background erase to avoid tearing.
17944 Fix potential memory smasher from extra long urls.
17946 * Spinneret/Spinneret/Spinneret.cpp:
17948 * Spinneret/Spinneret/Spinneret.vcproj:
17949 * Spinneret/Spinneret/WebFrame.cpp:
17950 (WebKit::WebFrame::loadFilePath):
17951 (WebKit::WebFrame::paint):
17952 * Spinneret/Spinneret/WebView.cpp:
17953 (WebKit::registerWebViewWithInstance):
17955 2006-03-04 Eric Seidel <eseidel@apple.com>
17957 Reviewed by ggaren.
17959 Hang WebView pointer off of HWND (gets rid of global hack).
17960 Remove MessageBox displayed on url change.
17962 * Spinneret/Spinneret/Spinneret.cpp:
17965 * Spinneret/Spinneret/WebView.cpp:
17966 (WebKit::registerWebViewWithInstance):
17967 (WebKit::WebView::createWebView):
17968 (WebKit::WebViewWndProc):
17970 2006-03-04 Alexey Proskuryakov <ap@nypop.com>
17974 Automatically kill httpd if it appears to be already running.
17976 * Scripts/run-webkit-tests:
17978 2006-03-04 Maciej Stachowiak <mjs@apple.com>
17982 * Spinneret/Spinneret/WebFrame.cpp:
17983 (WebKit::WebFrame::loadFilePath): Improved local file loading.
17985 2006-03-03 Eric Seidel <eseidel@apple.com>
17989 A few more fixes to make run-webkit-tests really work on win32.
17991 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
17993 * Scripts/run-webkit-tests:
17995 2006-03-03 Eric Seidel <eseidel@apple.com>
17999 Make run-webkit-tests work on win32.
18001 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18003 (dumpRenderTreeMain):
18004 (dumpRenderTreeToStdOut):
18005 (serializeToStdOut):
18007 * Scripts/run-webkit-tests:
18008 * Scripts/webkitdirs.pm:
18009 * Spinneret/Spinneret/WebView.cpp:
18010 (WebKit::WebView::WebView):
18012 2006-03-03 Eric Seidel <eseidel@apple.com>
18016 Add WebFrame class (to hold Frame and FrameView).
18017 Add Location bar support to Spinneret.
18019 * Spinneret/Spinneret/Spinneret.cpp:
18024 * Spinneret/Spinneret/Spinneret.vcproj:
18025 * Spinneret/Spinneret/WebFrame.cpp: Added.
18026 (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
18027 (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
18028 (WebKit::WebFrame::WebFrame):
18029 (WebKit::WebFrame::loadFilePath):
18030 (WebKit::WebFrame::loadHTMLString):
18031 (WebKit::WebFrame::paint):
18032 (WebKit::WebFrame::impl):
18033 (WebKit::WebFrame::viewImpl):
18034 * Spinneret/Spinneret/WebFrame.h: Added.
18035 * Spinneret/Spinneret/WebView.cpp:
18036 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
18037 (WebKit::WebView::WebView):
18038 (WebKit::WebView::windowHandle):
18039 (WebKit::WebView::mainFrame):
18040 (WebKit::WebView::mouseMoved):
18041 (WebKit::WebView::mouseDown):
18042 (WebKit::WebView::mouseUp):
18043 (WebKit::WebView::mouseDoubleClick):
18044 (WebKit::WebViewWndProc):
18045 * Spinneret/Spinneret/WebView.h:
18047 2006-03-02 Eric Seidel <eseidel@apple.com>
18049 Reviewed by ggaren.
18051 * Spinneret/Spinneret/WebView.cpp:
18052 (WebKit::registerWebViewWithInstance):
18053 (WebKit::WebView::WebView):
18054 (WebKit::WebView::mouseMoved):
18055 (WebKit::WebView::mouseDown):
18056 (WebKit::WebView::mouseUp):
18057 (WebKit::WebView::mouseDoubleClick):
18058 (WebKit::WebViewWndProc):
18059 * Spinneret/Spinneret/WebView.h:
18061 2006-03-01 Eric Seidel <eseidel@apple.com>
18063 Reviewed by andersca.
18065 Make spinneret take advantage of the new GraphicsContextCairo.
18067 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18068 (main): updated to match style guidelines.
18069 * Spinneret/Spinneret/Spinneret.cpp:
18071 * Spinneret/Spinneret/WebView.cpp:
18072 (WebKit::registerWebViewWithInstance):
18073 (WebKit::WebView::WebView):
18074 (WebKit::WebView::~WebView):
18075 (WebKit::WebView::drawRect):
18077 * Spinneret/Spinneret/WebView.h:
18079 2006-03-01 Justin Garcia <justin.garcia@apple.com>
18083 Give the events that eventSender sends a unique eventNumber
18085 * DumpRenderTree/DumpRenderTree.m:
18086 (-[EventSendingController mouseDown]):
18087 (-[EventSendingController mouseUp]):
18088 (-[EventSendingController mouseMoveToX:Y:]):
18090 2006-03-01 Eric Seidel <eseidel@apple.com>
18094 Add a stub win32 application to test WebCore drawing on windows.
18096 * Spinneret: Added.
18097 * Spinneret/Spinneret: Added.
18098 * Spinneret/Spinneret.sln: Added.
18099 * Spinneret/Spinneret/Resource.h: Added.
18100 * Spinneret/Spinneret/Spinneret.cpp: Added.
18106 * Spinneret/Spinneret/Spinneret.h: Added.
18107 * Spinneret/Spinneret/Spinneret.ico: Added.
18108 * Spinneret/Spinneret/Spinneret.rc: Added.
18109 * Spinneret/Spinneret/Spinneret.vcproj: Added.
18110 * Spinneret/Spinneret/WebView.cpp: Added.
18111 (WebKit::WebView::WebViewPrivate::WebViewPrivate):
18112 (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
18113 (WebKit::registerWebViewWithInstance):
18114 (WebKit::WebView::createWebView):
18115 (WebKit::WebView::WebView):
18116 (WebKit::WebView::~WebView):
18117 (WebKit::WebView::drawRect):
18118 (WebKit::WebView::windowHandle):
18120 * Spinneret/Spinneret/WebView.h: Added.
18121 * Spinneret/Spinneret/small.ico: Added.
18122 * Spinneret/Spinneret/stdafx.cpp: Added.
18123 * Spinneret/Spinneret/stdafx.h: Added.
18125 2006-02-28 Eric Seidel <eseidel@apple.com>
18129 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18130 (main): add ability to dump render tree and read from a local file.
18132 2006-02-27 Eric Seidel <eseidel@apple.com>
18136 * Scripts/install-win-extras: fix dll permissions & download zlib too.
18138 2006-02-27 Eric Seidel <eseidel@apple.com>
18140 Reviewed by ggaren.
18142 Test new KConfig -> PlugInInfoStore change.
18143 http://bugs.webkit.org/show_bug.cgi?id=7498
18145 * DumpRenderTree/DumpRenderTree.m:
18146 (main): load test netscape plugin
18147 * Scripts/run-webkit-tests: style update
18149 2006-02-24 Eric Seidel <eseidel@apple.com>
18153 Make DumpRenderTree link against icu.
18155 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
18157 2006-02-24 Eric Seidel <eseidel@apple.com>
18161 Make DumpRenderTree link against libxml, etc.
18163 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
18165 2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
18167 Reviewed and landed by Anders.
18169 Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
18170 getting called from the run loop, making the view render each test and thus slowing
18173 * DumpRenderTree/DumpRenderTree.m:
18174 (main): Set the offscreen window to not autodisplay.
18176 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
18178 Reviewed by Darin Adler.
18180 - Turn http tests back on by default.
18181 - Wait for Apache to actually start serving requests.
18182 - Get user id from a built-in variable rather than an external command;
18183 don't pass the group.
18185 * Scripts/run-webkit-tests:
18187 2006-02-23 Alexey Proskuryakov <ap@nypop.com>
18189 Suggested by Mitz Pettel, reviewed by Darin Adler.
18191 * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
18192 can run CGIs even if the permissions are 700 or 600.
18194 2006-02-23 Darin Adler <darin@apple.com>
18196 Collaborating with Alexey.
18198 - turn off http tests by default until we figure out how to get them
18199 to run even when permissions on CGI files are 700 instead of 755
18201 * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
18203 2006-02-23 Eric Seidel <eseidel@apple.com>
18205 Add *.user to ignore list.
18207 2006-02-23 Eric Seidel <eseidel@apple.com>
18209 Remove binary file which shouldn't have been commited (and add to ignore list).
18211 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
18212 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
18214 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
18218 * Scripts/run-webkit-tests: Put Apache log files in the right directory.
18220 2006-02-22 Eric Seidel <eseidel@apple.com>
18222 Reviewed by Tim Hatcher.
18224 Fix install-win-extras to not try to re-install setx if installed.
18226 * Scripts/install-win-extras:
18228 2006-02-22 Eric Seidel <eseidel@apple.com>
18230 One more file possibly missing from previous commit?
18232 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
18233 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
18235 2006-02-22 Eric Seidel <eseidel@apple.com>
18237 Reviewed by justing.
18239 Files missing from previous commit.
18241 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
18242 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
18244 2006-02-22 Eric Seidel <eseidel@apple.com>
18246 Rubber-stamped by justing.
18248 Corrected path for DumpRenderTree.intermediate files
18250 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
18252 2006-02-22 Eric Seidel <eseidel@apple.com>
18254 Reviewed by justing.
18256 Fixed build-dumprendertree to exit with correct error codes.
18258 * Scripts/build-dumprendertree:
18260 2006-02-22 Eric Seidel <eseidel@apple.com>
18262 Reviewed by justing.
18264 Update build scripts to generalize building on Win32, and allow
18265 building of DumpRenderTree on Win32 from build-dumprendertree.
18267 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18269 * Scripts/build-dumprendertree:
18270 * Scripts/build-webkit:
18271 * Scripts/webkitdirs.pm:
18273 2006-02-22 Eric Seidel <eseidel@apple.com>
18277 * DumpRenderTree/DumpRenderTree.vcproj: Added.
18278 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
18279 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
18280 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
18281 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
18282 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
18284 * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
18285 * Scripts/build-webkit: make build-webkit cleanup after itself
18287 2006-02-22 Alexey Proskuryakov <ap@nypop.com>
18289 Reviewed by Darin Adler.
18291 - http://bugs.webkit.org/show_bug.cgi?id=7409
18292 Some minor fixes to http tests.
18294 * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
18296 2006-02-21 Alexey Proskuryakov <ap@nypop.com>
18298 Reviewed by Darin Adler.
18300 - http://bugs.webkit.org/show_bug.cgi?id=6197
18301 Would like to use locally installed Apache for testing.
18303 Added two run-webkit-tests options:
18304 --http (--nohttp) - whether to launch Apache (defaults to yes);
18305 --port - which port to listen on (defaults to 8000).
18307 Tests in LayoutTests/http are not run directly, and Apache is used instead.
18308 For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
18309 http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
18311 Also added support for .shtml and .text files. Text files give an empty
18312 *-expected.txt, but a correct image.
18314 Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
18316 * Scripts/run-webkit-tests:
18318 2006-02-21 Darin Adler <darin@apple.com>
18320 Suggested by Mark Rowe.
18322 * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
18323 reporting leak counts.
18325 2006-02-18 Maciej Stachowiak <mjs@apple.com>
18327 Reviewed by Darin Adler.
18329 - Added install-win-extras script which installs some extra
18330 programs and libraries, and does Windows first-time setup.
18332 * Scripts/build-webkit: Add a newline between build results.
18333 * Scripts/install-win-extras: Added.
18335 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
18337 Reviewed by Darin Adler.
18339 - http://bugs.webkit.org/show_bug.cgi?id=7308
18340 DumpRenderTree should be able to load files via HTTP
18342 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
18343 Handle tests starting with "http://" as real URLs, not file system paths.
18345 2006-02-19 Alexey Proskuryakov <ap@nypop.com>
18347 Reviewed by Maciej.
18349 - fix http://bugs.webkit.org/show_bug.cgi?id=7357
18350 REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
18352 * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
18354 2006-02-18 Darin Adler <darin@apple.com>
18356 * Scripts/commit-log-editor: Added.
18358 2006-02-17 Eric Seidel <eseidel@apple.com>
18362 Make Win32 have the same default "WebKitBuild" directory behavior.
18364 * Scripts/build-webkit:
18365 * Scripts/webkitdirs.pm:
18367 2006-02-17 Eric Seidel <eseidel@apple.com>
18371 * Scripts/build-webkit: make win32 actually report errors
18373 2006-02-17 Eric Seidel <eseidel@apple.com>
18377 * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
18379 2006-02-17 Eric Seidel <eseidel@apple.com>
18383 * Scripts/run-webkit-tests: Ignore flash leaks
18385 2006-02-15 Justin Garcia <justin.garcia@apple.com>
18389 <http://bugs.webkit.org/show_bug.cgi?id=7148>
18390 Add drag and drop support to DumpRenderTree
18392 Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
18393 and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
18395 * DumpRenderTree/DumpRenderTree.m:
18397 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
18398 (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
18399 (-[WaitUntilDoneDelegate webViewFocus:]):
18400 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
18401 (+[LayoutTestController webScriptNameForSelector:]):
18402 (-[LayoutTestController setWindowIsKey:]):
18403 (-[LayoutTestController setMainFrameIsFirstResponder:]):
18404 (-[EventSendingController init]):
18405 (-[EventSendingController mouseDown]):
18406 (-[EventSendingController mouseUp]):
18407 (-[EventSendingController mouseMoveToX:Y:]):
18409 (-[DumpRenderTreeWindow isKeyWindow]):
18410 (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
18411 (-[DumpRenderTreeDraggingInfo dealloc]):
18412 (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
18413 (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
18414 (-[DumpRenderTreeDraggingInfo draggingLocation]):
18415 (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
18416 (-[DumpRenderTreeDraggingInfo draggedImage]):
18417 (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
18418 (-[DumpRenderTreeDraggingInfo draggingSource]):
18419 (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
18420 (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
18421 (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
18422 * DumpRenderTree/TextInputController.m:
18423 (-[TextInputController firstRectForCharactersFrom:length:]):
18424 (-[TextInputController characterIndexForPointX:Y:]):
18426 2006-02-15 Geoffrey Garen <ggaren@apple.com>
18430 * DumpRenderTree/DumpRenderTree.m:
18431 (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
18432 Added a dummy method for the sake of LayoutTests/plugins/
18433 undefined-property-crash.html. (It tests a crash due to fallback
18434 object use. WebCore won't create a fallback object if the method is
18437 2006-02-14 Eric Seidel <eseidel@apple.com>
18441 * Scripts/run-webkit-tests: added --results-directory (-o) option
18443 2006-02-09 Eric Seidel <eseidel@apple.com>
18445 Rubber-stamped by mjs.
18447 Renamed split-class to split-file-by-class.
18449 * Scripts/build-webkit: Updated copyright.
18450 * Scripts/split-class: Removed.
18451 * Scripts/split-file-by-class: Added.
18453 2006-02-08 Eric Seidel <eseidel@apple.com>
18455 Rubber-stamped by mjs.
18457 Adding new script for splitting multi-class files.
18458 Also adding supporting perl module with space removing heuristics.
18460 * Scripts/SpacingHeuristics.pm: Added.
18461 * Scripts/build-drawtest: updated copyright header
18462 * Scripts/split-class: Added.
18464 2006-02-08 Justin Garcia <justin.garcia@apple.com>
18466 Reviewed by thatcher
18468 Changes to test fix for:
18469 <http://bugs.webkit.org/show_bug.cgi?id=3982>
18470 webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
18472 * DumpRenderTree/DumpRenderTree.m:
18473 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
18474 (+[LayoutTestController isSelectorExcludedFromWebScript:]):
18475 (+[LayoutTestController webScriptNameForSelector:]):
18476 (-[LayoutTestController setWindowHasFocus:]):
18477 (-[LayoutTestController setDisplaysWithFocusAttributes:]):
18479 2006-02-07 Alexey Proskuryakov <ap@nypop.com>
18481 Reviewed by Timothy.
18483 Support automated testing of AppleScript "do JavaScript" command
18484 http://bugs.webkit.org/show_bug.cgi?id=7012
18486 * DumpRenderTree/AppleScriptController.h: Added.
18487 * DumpRenderTree/AppleScriptController.m: Added.
18488 * DumpRenderTree/DumpRenderTree.m:
18489 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
18490 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18492 2006-02-06 Eric Seidel <eseidel@apple.com>
18496 Fix build-webkit for use on win32 (unblocks buildbot usage).
18497 http://bugs.webkit.org/show_bug.cgi?id=7122
18499 * Scripts/build-webkit: use ifCygwin() to conditionalize builds
18500 * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
18502 2006-02-06 Eric Seidel <eseidel@apple.com>
18504 Rubber-stamped by darin & mjs.
18506 Added new support directory for build slave scripts.
18507 Committing the first script, for use by the PLT's build slave.
18508 This script is used to kick of the PLT (Page Load Test) slave.
18510 * BuildSlaveSupport: Added.
18511 * BuildSlaveSupport/run-performance-tests: Added.
18513 2006-02-06 Eric Seidel <eseidel@apple.com>
18515 Rubber-stamped by darin.
18517 Adding setSourceDir for scripts stored in non-standard locations.
18519 * Scripts/webkitdirs.pm:
18521 2006-02-04 Darin Adler <darin@apple.com>
18523 * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
18524 Configuration files that say Development or Deployment in them.
18526 2006-02-04 Darin Adler <darin@apple.com>
18528 * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
18529 wrapper already in the directory.
18530 * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
18531 these haven't been working at all.
18532 * Scripts/svn-unapply: Ditto.
18534 2006-02-03 Timothy Hatcher <timothy@apple.com>
18536 Reviewed by Justin.
18538 Renamed configuration names to Debug, Release and Production.
18540 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
18541 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18542 * Scripts/set-webkit-configuration:
18543 * Scripts/webkitdirs.pm:
18545 2006-02-02 Justin Garcia <justin.garcia@apple.com>
18547 Reviewed by thatcher
18549 Enabled spell checking for layout tests.
18551 * DumpRenderTree/DumpRenderTree.m:
18554 2006-01-29 Darin Adler <darin@apple.com>
18556 * Scripts/svn-apply: Added comments about things we should do to improve.
18557 * Scripts/svn-create-patch: Ditto.
18558 * Scripts/svn-unapply: Ditto.
18560 2006-01-28 Darin Adler <darin@apple.com>
18562 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
18563 already there, even if the checksum is correct.
18565 2006-01-27 Eric Seidel <eseidel@apple.com>
18569 * Scripts/run-webkit-tests: make new tests use absolute urls
18571 2006-01-27 Eric Seidel <eseidel@apple.com>
18575 make run-webkit-tests output total leaks count
18577 * Scripts/run-webkit-tests:
18579 2006-01-27 Eric Seidel <eseidel@apple.com>
18583 run-webkit-test --leaks crashes (malloc logging runs out of memory)
18584 http://bugs.webkit.org/show_bug.cgi?id=6869
18586 * Scripts/run-webkit-tests: fix --leaks to not crash
18588 2006-01-26 Eric Seidel <eseidel@apple.com>
18592 run-webkit-tests should produce a self-contained results directory
18593 http://bugs.webkit.org/show_bug.cgi?id=6864
18595 * Scripts/run-webkit-tests: copy failing items to results dir.
18597 2006-01-23 Darin Adler <darin@apple.com>
18599 - fix http://bugs.webkit.org/show_bug.cgi?id=3608
18600 need script to update localizable strings file in WebKit
18602 * Scripts/update-webkit-localizable-strings: Added.
18604 2006-01-23 Darin Adler <darin@apple.com>
18606 - added a couple of scripts -- more about these two soon
18608 * Scripts/extract-localizable-strings: Added.
18609 * Scripts/merge-changelog: Added.
18611 2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
18613 Reviewed by Anders.
18615 Build fix. build-webkit dies with "invalid build action: (empty string)"
18617 * Scripts/build-webkit:
18618 Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
18620 2006-01-22 Eric Seidel <eseidel@apple.com>
18622 Reviewed by anders.
18624 Fix --no-svg option to use XCode flags instead of gcc flags.
18626 * Scripts/build-webkit:
18628 2006-01-22 Eric Seidel <eseidel@apple.com>
18630 Reviewed by anders.
18632 Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
18634 * Scripts/build-webkit:
18636 2006-01-20 David Kilzer <ddkilzer@kilzer.net>
18638 Reviewed by eseidel.
18640 - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
18641 Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
18643 * Scripts/build-drawtest: Changed bareword 'true' to 1.
18644 * Scripts/run-drawtest: Changed bareword 'true' to 1.
18646 2006-01-19 Darin Adler <darin@apple.com>
18648 * Scripts/report-include-statistics: Added a new script.
18650 2006-01-19 Timothy Hatcher <timothy@apple.com>
18652 * Scripts/build-webkit: include JavaScriptGlue in the build
18654 2006-01-19 Darin Adler <darin@apple.com>
18656 * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
18657 spaces in it by using the form of open that treats each argument as a string
18658 rather than backtick syntax for reading the output of the nm tool.
18660 2006-01-12 Maciej Stachowiak <mjs@apple.com>
18662 Reviewed by Darin Adler.
18664 - make prepare-ChangeLog way faster by using svn diff instead of svn status to
18665 detect if there are any new tests
18667 * Scripts/prepare-ChangeLog:
18669 2006-01-12 Darin Adler <darin@apple.com>
18671 - removed some of the cvs-specific scripts -- not needed for this project any more
18673 * Scripts/cvs-abandon: Removed.
18674 * Scripts/cvs-apply: Removed.
18675 * Scripts/cvs-create-patch: Removed.
18676 * Scripts/cvs-unapply: Removed.
18678 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
18680 Reviewed by eseidel. Committed by eseidel.
18682 - run-webkit-tests always launches Safari when tests fail
18683 http://bugs.webkit.org/show_bug.cgi?id=6456
18685 * Scripts/run-webkit-tests:
18686 Add a command-line flag to prevent Safari being launched to display failed
18687 tests. Always exit with non-zero status when tests have failed.
18689 2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
18691 Reviewed by eseidel. Committed by eseidel.
18693 - build-webkit should exit with non-zero status when build fails
18694 http://bugs.webkit.org/show_bug.cgi?id=6459
18696 * Scripts/build-webkit:
18697 Use correct bits of subprocess exit code when passing back through
18698 as build-webkit's exit code.
18700 2006-01-10 Eric Seidel <eseidel@apple.com>
18702 Restored corrupted nibs from TOT CVS.
18704 * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
18705 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
18706 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
18707 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
18708 * DrawTest/English.lproj/Inspector.nib: Replaced.
18709 * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
18710 * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
18711 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
18712 * DrawTest/English.lproj/MainMenu.nib: Replaced.
18713 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
18714 * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
18715 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
18716 * DrawTest/English.lproj/TestViewer.nib: Replaced.
18717 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
18718 * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
18719 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
18721 2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
18723 Reviewed by eseidel. Committed by eseidel.
18725 DrawTestView now subclasses WebView instead of DrawView.
18727 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
18728 * DrawTest/DrawTestDocument.h:
18729 * DrawTest/DrawTestDocument.m:
18730 (-[DrawTestDocument dealloc]):
18731 (-[DrawTestDocument readFromFile:ofType:]):
18732 (-[DrawTestDocument windowControllerDidLoadNib:]):
18733 (-[DrawTestDocument dumpSVGToConsole:]):
18734 (-[DrawTestDocument openSourceForSelection:]):
18735 (-[DrawTestDocument dataRepresentationOfType:]):
18736 * DrawTest/DrawTestToolbarController.h:
18737 * DrawTest/DrawTestToolbarController.m:
18738 (-[DrawTestToolbarController initWithDrawView:]):
18739 (-[DrawTestToolbarController clickedToolbarItem:]):
18740 (-[DrawTestToolbarController validateToolbarItem:]):
18741 * DrawTest/DrawTestView.h:
18742 * DrawTest/DrawTestView.m:
18743 (-[DrawTestView initWithFrame:]):
18744 (-[DrawTestView setDocument:]):
18745 * DrawTest/SVGTest.h:
18746 * DrawTest/SVGTest.m:
18747 (+[SVGTest sharedDrawView]):
18748 (-[SVGTest generateCompositeIfNecessary]):
18749 * DrawTest/TestController.h:
18750 * DrawTest/TestController.m:
18751 (-[TestController awakeFromNib]):
18752 (-[TestController setSelectedTest:]):
18753 (-[TestController openTestViewerForSelection:]):
18754 (-[TestController toggleViewersScaleRule:]):
18755 * DrawTest/TestViewerSplitView.m:
18756 (-[TestViewerSplitView drawRect:]):
18758 2006-01-10 Anders Carlsson <andersca@mac.com>
18760 Reviewed by Timothy.
18762 * DumpRenderTree/DumpRenderTree.m:
18763 (main): Set the default language to "en", so language tests will work.
18765 2006-01-08 Maciej Stachowiak <mjs@apple.com>
18769 - script to generate HTML wrappers for JS tests
18770 http://bugs.webkit.org/show_bug.cgi?id=6441
18772 * Scripts/make-js-test-wrappers: Added.
18774 2006-01-08 Maciej Stachowiak <mjs@apple.com>
18778 * Scripts/svn-create-patch: Fix to work when passed directory names.
18780 2006-01-08 Geoffrey Garen <ggaren@apple.com>
18784 - Added back/forward navigation support to DumpRenderTree. Hopefully we
18785 can start writing automated loader tests now. I have one in the works.
18787 * DumpRenderTree/DumpRenderTree.m:
18788 (main): Construct global navigationController on entry, destroy on exit.
18789 Set frame to nil on exit too, to match all the other global objects.
18790 (Probably academic, since the process is exiting, anyway.)
18791 (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
18792 navigationController, in case it wants to kick off a load.
18793 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
18794 the navigationController to scripting.
18796 New class, should be straightforward:
18798 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18799 * DumpRenderTree/NavigationController.h: Added.
18800 * DumpRenderTree/NavigationController.m: Added.
18802 (+[NavigationController isSelectorExcludedFromWebScript:]):
18803 (+[NavigationController webScriptNameForSelector:]):
18804 (-[NavigationController setPendingScript:]):
18805 (-[NavigationController setPendingRequest:]):
18806 (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
18807 (-[NavigationController webView:didFinishLoadForFrame:]):
18808 (-[NavigationController dealloc]):
18810 2006-01-08 Timothy Hatcher <timothy@apple.com>
18812 Removed this script, no longer needs with the Subversion switch.
18814 * checkout: Removed.
18816 2006-01-08 Timothy Hatcher <timothy@apple.com>
18818 Removes some stray tabs.
18820 * Scripts/update-webkit:
18822 2005-01-07 Eric Seidel <eseidel@apple.com>
18826 build-webkit should pass on build arguments from command line
18827 http://bugs.webkit.org/show_bug.cgi?id=5854
18829 * Scripts/build-webkit:
18831 2006-01-07 Eric Seidel <eseidel@apple.com>
18833 Reviewed by mjs & xenon.
18835 * Scripts/update-webkit: support Internal updates as well
18837 2006-01-06 Geoffrey Garen <ggaren@apple.com>
18839 Temporarily rolling out plugin support from DumpRenderTree because it
18840 caused lots of layout test regressions.
18842 * DumpRenderTree/DumpRenderTree.m:
18843 (main): Remove invisible window added to support plugins.
18845 2006-01-06 Geoffrey Garen <ggaren@apple.com>
18849 - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
18850 Add plugin support to DumpRenderTree
18852 Also wrote first test plugin.
18854 * DumpRenderTree/DumpRenderTree.m:
18856 (1) Put the WebView in an invisible window, because PlugIns are
18857 optimized not to load if there's no parent window.
18858 (2) Tell WebKit to load any PlugIns in the directory from which we
18859 loaded. This means we can build nasty PlugIns alongside DumpRenderTree
18860 and they'll load automagically during layout testing, but they won't be
18861 added to the user's system, hosing apps like Safari.
18863 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
18864 test PlugIn to project.
18866 PlugIn added to project:
18868 * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
18869 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
18871 (initializeIdentifiers):
18872 (pluginHasProperty):
18874 (pluginGetProperty):
18875 (pluginSetProperty):
18877 (pluginInvokeDefault):
18878 (pluginInvalidate):
18880 (pluginDeallocate):
18881 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
18882 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
18884 (NP_GetEntryPoints):
18890 (NPP_DestroyStream):
18893 (NPP_StreamAsFile):
18900 2006-01-04 Timothy Hatcher <timothy@apple.com>
18902 Reviewed by Darin Adler.
18904 Tweaked and tested by me.
18906 New scripts to work with Subversion when the switch happens.
18907 These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
18909 * Scripts/svn-apply: Added.
18910 * Scripts/svn-create-patch: Added.
18911 * Scripts/svn-unapply: Added.
18913 2005-12-30 Eric Seidel <eseidel@apple.com>
18917 Move WebView width/height logic into DumpRenderTree to support
18918 running the W3C SVG 1.1 tests along side other tests. The W3C
18919 SVG 1.1 tests require a 480x360 view.
18921 * DumpRenderTree/DumpRenderTree.m:
18922 (main): don't accept width/height
18923 (dump): override width/height for SVG/W3C
18924 * Scripts/run-webkit-tests: don't pass width/height
18926 2005-12-30 Eric Seidel <eseidel@apple.com>
18928 No review, only removing dead code.
18930 * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
18931 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
18933 2005-12-30 Eric Seidel <eseidel@apple.com>
18937 DumpRenderTree should set a consistent color profile while running
18938 http://bugs.webkit.org/show_bug.cgi?id=6155
18940 Creates consistent colormatched renderings on every test machine
18941 using the only way possible with Tiger APIs: by setting the
18942 system color profile on the test machine for the duration of the
18943 tests. This will (unfortunately) cause colors to change while
18944 running DumpRenderTree. This can also cause "permanent" color
18945 changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
18946 This is far from ideal, but it's be best way we've found to deal
18947 with the issue for now.
18949 * DumpRenderTree/DumpRenderTree.m:
18950 (restoreColorSpace):
18951 (setDefaultColorProfileToRGB):
18954 2005-12-20 Alexey Proskuryakov <ap@nypop.com>
18956 Reviewed by Darin Adler.
18958 - fix http://bugs.webkit.org/show_bug.cgi?id=5846
18959 cvs-create-patch --include produces incorrect paths
18961 * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
18963 2005-12-19 Eric Seidel <eseidel@apple.com>
18967 * Scripts/run-webkit-tests: stop /etc/catalog warnings
18969 2005-12-19 Darin Adler <darin@apple.com>
18971 Reviewed by Eric Seidel.
18973 - fix http://bugs.webkit.org/show_bug.cgi?id=4990
18974 WebKit needs to use a local pasteboard during testing
18976 * DumpRenderTree/DumpRenderTree.m:
18977 (main): Call poseAs to substitute our NSPasteboard class for the default one.
18978 Create a local pasteboard (really a global one with a unique name) and release
18979 it when exiting from the function so we don't leave it in the pasteboard server.
18980 (dumpRenderTree): Added an autorelease pool around one small bit of code that
18981 ddn't have one. Fixed a leak in an unlikely error case.
18982 (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
18983 of this method to return our local pasteboard.
18985 2005-12-15 Eric Seidel <eseidel@apple.com>
18987 Reviewed by Tim Hatcher.
18989 * Scripts/build-webkit: --svg is now default!
18991 2005-12-15 Eric Seidel <eseidel@apple.com>
18995 Don't run svg test automatically if +SVG is built (yet).
18997 * Scripts/run-webkit-tests:
18999 2005-12-15 Darin Adler <darin@apple.com>
19001 * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
19002 support is not compiled in. Report the 10 slowest tests if "--slowest" is
19003 passed on the command line.
19005 2005-12-06 John Sullivan <sullivan@apple.com>
19007 Reviewed by Darin Adler.
19009 * Scripts/prepare-ChangeLog:
19010 Remove special-case handling for nib files. This avoided trouble with cvs diff
19011 when we were using wrappers for nib files. Now that we aren't using wrappers,
19012 there's no reason to avoid adding the modified nib files to the file list that
19015 2005-12-05 Eric Seidel <eseidel@apple.com>
19019 Script updates for SVG files move (remove references to SVGSupport)
19021 * Scripts/build-webkit: remove SVGSupport
19022 * Scripts/run-webkit-tests: Resources -> resources for --svg
19023 * Scripts/update-webkit: remove SVGSupport
19025 2005-12-05 Eric Seidel <eseidel@apple.com>
19029 * checkout: remove --svg support, SVG is now checked out by default
19031 2005-11-29 Eric Seidel <eseidel@apple.com>
19035 Update scripts to run SVG tests automatically (w/o --svg) if
19036 WebCore is built with SVG support.
19038 * Scripts/build-drawtest: SVG support required
19039 * Scripts/build-dumpkcanvastree: Removed.
19040 * Scripts/run-drawtest: SVG support required to run
19041 * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
19042 * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
19044 2005-11-28 Alexey Proskuryakov <ap@nypop.com>
19046 Reviewed by Darin Adler. Committed by Maciej.
19048 - fixed "DumpRenderTree should test for Ahem before doing anything else"
19049 (http://bugs.webkit.org/show_bug.cgi?id=5838)
19051 * DumpRenderTree/DumpRenderTree.m:
19054 2005-11-28 Eric Seidel <eseidel@apple.com>
19056 Reviewed by sullivan and GGAREN.
19058 Minor additions to make error messages more clear from cvs-apply.
19060 * Scripts/cvs-apply: make errors more clear
19062 2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
19064 Reviewed and committed by Maciej.
19066 - fixed cvs-create-patch --include produces incorrect paths
19067 (http://bugs.webkit.org/show_bug.cgi?id=5846)
19069 * Scripts/cvs-create-patch: produce proper paths for new files.
19071 2005-11-21 Eric Seidel <eseidel@apple.com>
19075 Some simple fixes to the build/test scripts now that SVG uses the
19076 WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
19077 or symlinks for KDOM.
19079 * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
19080 * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
19081 * Scripts/run-webkit-tests: now runs SVG tests using DRT
19082 * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
19083 * checkout: no longer symlink kdom
19085 2005-11-10 Eric Seidel <eseidel@apple.com>
19087 Reviewed by ggaren.
19089 * Scripts/build-webkit: Pass through options to xcodebuild
19091 2005-11-07 Darin Adler <darin@apple.com>
19093 * Scripts/cvs-apply: Fix case where the patch has files at the top level.
19095 2005-11-03 John Sullivan <sullivan@apple.com>
19097 Reviewed by Darin Adler.
19099 * Scripts/run-safari:
19100 changed message to say "Starting Safari" instead of odd "Start Safari"
19101 * Scripts/run-webkit-tests:
19102 changed the way we pass the file parameter to use -NSOpen rather than relying on
19103 unlabeled arguments being treated as files. This was failing on some machines that
19104 (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
19106 2005-10-27 Geoffrey Garen <ggaren@apple.com>
19108 Patch by Alexey Proskuryakov.
19110 Reviewed by Maciej.
19112 Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
19113 TextInputController should support attributed strings
19115 * DumpRenderTree/TextInputController.m:
19116 (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
19117 (+[NSMutableAttributedString webScriptNameForSelector:]):
19118 (-[NSMutableAttributedString getLength]):
19119 (-[NSMutableAttributedString attributeNamesAtIndex:]):
19120 (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
19121 (-[NSMutableAttributedString addAttribute:value:]):
19122 (-[NSMutableAttributedString addAttribute:value:from:length:]):
19123 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
19124 (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
19125 (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
19126 (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
19127 (+[TextInputController isSelectorExcludedFromWebScript:]):
19128 (+[TextInputController webScriptNameForSelector:]):
19129 (-[TextInputController insertText:]):
19130 (-[TextInputController attributedSubstringFrom:length:]):
19131 (-[TextInputController attributedStringWithString:]):
19133 2005-10-11 Eric Seidel <eseidel@apple.com>
19137 Checks for leaks in ImageDiff too.
19139 * Scripts/run-webkit-tests:
19141 2005-10-09 Darin Adler <darin@apple.com>
19143 * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
19144 * Scripts/cvs-apply: Handle added/deleted files in the current directory.
19145 * Scripts/cvs-unapply: Ditto.
19146 * Scripts/run-webkit-tests: Add a few more false-positive leaks.
19148 2005-10-08 Alexey Proskuryakov <ap@nypop.com>
19150 Reviewed, rearranged and landed by Darin Adler.
19152 - fixed http://bugs.webkit.org/show_bug.cgi?id=4707
19153 Need a way to automatically test for regressions in NSTextInput implementation
19155 * DumpRenderTree/DumpRenderTree.m:
19156 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
19157 Create a text input controller and put it in a property of the window object.
19159 * DumpRenderTree/TextInputController.h: Added.
19160 * DumpRenderTree/TextInputController.m: Added.
19161 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
19163 2005-10-06 Darin Adler <darin@apple.com>
19165 * Scripts/cvs-apply: Fixed merge option to work better when not all directories
19166 are controlled by cvs, or when changes cross multiple repositories.
19167 * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
19169 2005-10-03 Eric Seidel <eseidel@apple.com>
19173 Make mouseDown and mouseUp force layout before acting.
19174 This is used by a new test case for 4233558.
19176 * DumpRenderTree/DumpRenderTree.m:
19177 (-[EventSendingController mouseDown]): force layout
19178 (-[EventSendingController mouseUp]): force layout
19180 2005-09-30 Eric Seidel <eseidel@apple.com>
19184 Updated all the scripts for the move:
19185 WebCore/layout-tests -> LayoutTests
19187 * Scripts/check-dom-results:
19188 * Scripts/prepare-ChangeLog:
19189 * Scripts/run-webkit-tests:
19190 * Scripts/update-webkit: added --no-tests
19191 * checkout: added --no-tests
19193 2005-09-28 Darin Adler <darin@apple.com>
19195 - fixed http://bugs.webkit.org/show_bug.cgi?id=5144
19196 pixel test should run even if render trees differ
19198 * Scripts/run-webkit-tests: Don't check if the text dump matches.
19200 2005-09-27 Eric Seidel <eseidel@apple.com>
19202 No review needed, SVG build fix only.
19204 * DumpKCanvasTree/DumpKCanvasTree.m:
19205 Missed one in my previous checkin.
19206 http://bugs.webkit.org/show_bug.cgi?id=5141
19208 2005-09-26 Eric Seidel <eseidel@apple.com>
19210 No review needed, SVG build fix only.
19212 * DrawTest/DrawTestDocument.m:
19213 * DrawTest/DrawTestToolbarController.m:
19214 * DrawTest/DrawTestView.h:
19215 * DrawTest/DrawTestView.m:
19216 * DrawTest/SVGTest.m:
19217 * DrawTest/TestController.m:
19218 Updated for WebCore+SVG -> WebCore rename.
19219 http://bugs.webkit.org/show_bug.cgi?id=5141
19221 2005-09-26 Eric Seidel <eseidel@apple.com>
19225 * DumpRenderTree/DumpRenderTree.m:
19226 (dump): updated error message
19227 * Scripts/check-dom-results: now includes xhtml
19228 Tool updates for xhtml.
19229 http://bugs.webkit.org/show_bug.cgi?id=4907
19231 2005-09-22 Duncan Wilcox <duncan@mclink.it>
19233 Reviewed by Maciej.
19234 Landed by Darin Adler.
19236 - patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
19237 "Would like to simulate human interaction with webview"
19239 * DumpRenderTree/DumpRenderTree.m:
19240 (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
19241 (+[EventSendingController isSelectorExcludedFromWebScript:]):
19242 (+[EventSendingController webScriptNameForSelector:]):
19243 (-[EventSendingController init]):
19244 (-[EventSendingController mouseDown]):
19245 (-[EventSendingController mouseUp]):
19246 (-[EventSendingController mouseMoveToX:Y:]):
19247 Add eventSender javascript object, that sends fake mouse events to the webview.
19249 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19250 link with Carbon.framework
19252 2005-09-22 Eric Seidel <eseidel@apple.com>
19256 Update tools for WebCore+SVG -> WebCore rename.
19257 Also fold several SVG specific tools into their original
19258 WebCore counterparts.
19259 http://bugs.webkit.org/show_bug.cgi?id=5003
19261 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
19262 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
19263 * Scripts/build-drawtest:
19264 * Scripts/build-dumpkcanvastree:
19265 * Scripts/build-webcore-svg: Removed.
19266 * Scripts/build-webkit: added --svg option
19267 * Scripts/run-drawtest:
19268 * Scripts/run-webkit-tests:
19269 * Scripts/webkitdirs.pm: various additions.
19270 * checkout: added --svg option
19271 * checkout-svg: Removed.
19273 2005-09-19 Eric Seidel <eseidel@apple.com>
19277 * Scripts/run-webkit-tests: added --guard-malloc option
19278 http://bugs.webkit.org/show_bug.cgi?id=4613
19280 2005-09-16 Justin Garcia <justin.garcia@apple.com>
19284 Removed a script that is only used by apple internal developers
19286 * Scripts/update-webkitsysteminterface: Removed.
19288 2005-09-16 Adele Peterson <adele@apple.com>
19290 Reviewed by Maciej.
19292 * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
19294 2005-09-14 Darin Adler <darin@apple.com>
19296 - fixed http://bugs.webkit.org/show_bug.cgi?id=4291
19297 dumpAsText doesn't work with XHTML documents
19299 * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
19300 rather than of the body element. This works with typical XHTML documents. We can probably
19301 do something even better in the long run, but this fixes the immediate issue.
19305 * Scripts/run-webkit-tests: Show the results in the current built Safari by using
19306 run-safari instead of just using "open", which often runs another copy of Safari instead.
19308 2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
19310 Reviewed, tweaked, and landed by Darin Adler.
19312 - fixed http://bugs.webkit.org/show_bug.cgi?id=4286
19313 .Mac prefpane crashes when Safari using CVS WebKit is running
19315 * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
19316 * Scripts/run-webkit-app: Ditto.
19318 2005-09-11 Darin Adler <darin@apple.com>
19320 * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
19322 2005-09-11 Darin Adler <darin@apple.com>
19326 * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
19327 two ways: 1) puts all files in a directory before any files in a subdirectory, and
19328 2) sort file names with numeric digits in them in a logical way, so test-33 will come
19331 2005-09-08 Justin Garcia <justin.garcia@apple.com>
19335 * Scripts/update-webkitsysteminterface: Added.
19336 Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
19338 2005-09-01 John Sullivan <sullivan@apple.com>
19340 * Scripts/run-webkit-tests:
19341 Excluded a known system leak to reduce noise; added comments about which leaks
19342 are being excluded.
19344 2005-09-01 Tim Omernick <tomernick@apple.com>
19346 Change made by Darin, reviewed by John and myself.
19348 - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
19350 * Scripts/prepare-ChangeLog:
19352 2005-08-31 Maciej Stachowiak <mjs@apple.com>
19354 Reviewed by Darin Adler.
19356 - set color variant and font settings to a consistent value.
19357 (http://bugs.webkit.org/show_bug.cgi?id=4769)
19359 * DumpRenderTree/DumpRenderTree.m:
19362 2005-08-30 Eric Seidel <eseidel@apple.com>
19366 * Scripts/build-svg2png: Removed.
19367 * svg2png/ImageDiff.h: Removed.
19368 * svg2png/ImageDiff.m: Removed.
19369 * svg2png/svg2png.m: Removed.
19370 * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
19371 * svg2png/svg2png_Prefix.pch: Removed.
19372 svg2png is no longer needed.
19374 2005-08-30 Darin Adler <darin@apple.com>
19376 * Scripts/check-dom-results: Special case 100% to say something nice.
19377 * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
19378 applying the patch (need a better name).
19379 * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
19381 2005-08-30 Darin Adler <darin@apple.com>
19383 * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
19385 2005-08-29 Maciej Stachowiak <mjs@apple.com>
19387 Reviewed by Darin Adler.
19389 - fixed http://bugs.webkit.org/show_bug.cgi?id=4723
19390 (some pixel tests fail when AA settings are changed)
19392 * DumpRenderTree/DumpRenderTree.m:
19393 (main): set AA settings to the default values
19395 2005-08-29 Darin Adler <darin@apple.com>
19397 Reviewed by John Sullivan.
19399 * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
19400 executable -- much slower but can help pinpoint leaks. Changed formatting of some
19403 2005-08-28 Maciej Stachowiak <mjs@apple.com>
19407 - fixed http://bugs.webkit.org/show_bug.cgi?id=4720
19408 (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
19410 * DumpRenderTree/DumpRenderTree.m:
19411 (main): set scrollbar arrow setting to a consistent value
19413 2005-08-27 Jussi Hagman <juhagman@abo.fi>
19415 Reviewed and landed by Darin Adler.
19417 - fixed http://bugs.webkit.org/show_bug.cgi?id=4676
19418 output of update-webkit is too verbose
19420 * Scripts/update-webkit:
19421 Added option --quiet (-q) to decrease the amount of output.
19423 2005-08-27 Darin Adler <darin@apple.com>
19425 - fixed http://bugs.webkit.org/show_bug.cgi?id=4596
19426 cvs-create-patch --include-unknowns should ignore hidden files
19428 * Scripts/cvs-create-patch: Add code to check for files starting with ".".
19430 2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
19432 Reviewed, tweaked, and landed by Darin Adler.
19434 - fixed http://bugs.webkit.org/show_bug.cgi?id=4585
19435 update-webkit doesn't notice when you have SVGSupport and update properly
19437 * Scripts/update-webkit: Build SVGSupport directory if it's present.
19439 2005-08-25 Anders Carlsson <andersca@mac.com>
19441 Reviewed and landed by Darin Adler.
19443 - fixed http://bugs.webkit.org/show_bug.cgi?id=4572
19444 layout test machinery can't handle tests with applets that have code attributes
19446 * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
19448 2005-08-24 Darin Adler <darin@apple.com>
19450 Reviewed by Maciej.
19452 - fixed http://bugs.webkit.org/show_bug.cgi?id=4625
19453 DumpRenderTree --pixel-tests crash
19454 - landed some other small changes I had sitting in my tree
19456 * DumpRenderTree/DumpRenderTree.m:
19457 (main): Don't bother saving and restoring the preferences. Not sure
19458 why this was ever done since the preferences are specific to DumpRenderTree.
19459 Clear delegates before releasing the WebView, because you can't count on the
19460 order of object deallocation.
19461 (dumpRenderTree): Fix code that releases a string before storing it in a
19464 * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
19465 of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
19467 2005-08-23 Eric Seidel <eseidel@apple.com>
19471 * Scripts/run-webkit-tests:
19472 Made --leaks option more readable by printing to a file.
19473 http://bugs.webkit.org/show_bug.cgi?id=4590
19475 2005-08-22 Eric Seidel <eseidel@apple.com>
19476 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
19480 * Scripts/run-webkit-tests: hides "expected actual diffs" links
19481 when they are not needed (for pixel-only failures)
19482 http://bugs.webkit.org/show_bug.cgi?id=4584
19484 2005-08-22 Eric Seidel <eseidel@apple.com>
19488 * Scripts/run-webkit-tests: Added the ability to display more than
19489 just two images as part of the image-diff "slideshow".
19490 Added display of "-w3c.png" baseline images for SVG.
19491 http://bugs.webkit.org/show_bug.cgi?id=4581
19493 2005-08-20 Eric Seidel <eseidel@apple.com>
19495 * Scripts/run-webkit-tests:
19496 "build" fix after committing incorrect version.
19498 2005-08-20 Eric Seidel <eseidel@apple.com>
19502 * DumpRenderTree/DumpRenderTree.m:
19503 (main): cleans up delegates
19504 (dumpRenderTree): closes CFString/CFURL leak
19505 * Scripts/run-webkit-tests:
19506 Adds --leaks option to run-webkit-tests
19507 http://bugs.webkit.org/show_bug.cgi?id=4542
19509 2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
19511 Reviewed by Darin Adler.
19513 * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
19514 new files to be included in the patch even without "cvs add".
19516 2005-08-19 Darin Adler <darin@apple.com>
19518 * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
19519 non-cvs-generated patches. Anders has been creating these, so it's bad that
19520 the script can't handle them.
19521 * Scripts/cvs-unapply: Ditto.
19523 2005-08-18 Darin Adler <darin@apple.com>
19525 * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
19526 "." in them -- based on complaint by someone here at Apple.
19528 2005-08-18 Eric Seidel <eseidel@apple.com>
19532 * Scripts/run-webkit-tests:
19533 Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
19535 2005-08-17 Maciej Stachowiak <mjs@apple.com>
19537 - add file that I forgot in the last checkin
19539 * DumpRenderTree/ImageDiff.m: Added.
19541 (getImageFromStdin):
19543 (getDifferenceBitmap):
19544 (computePercentageDifferent):
19546 2005-08-17 Maciej Stachowiak <mjs@apple.com>
19548 Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
19549 somewhat by me, and also tweaked by me a little bit.
19551 - better support for pixel-dumping
19552 - use checksums of the images so the tests are fast
19553 - change output format to make the tests run faster
19554 - don't dump pixel results for tests that dump as text
19556 * DumpKCanvasTree/DumpKCanvasTree.m:
19559 (md5HashStringForBitmap):
19561 (constrainSizeToMaximum):
19562 (getBitmapImageRepForSVGDocument):
19563 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
19564 * DumpRenderTree/DumpRenderTree.m:
19568 (md5HashStringForBitmap):
19569 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19570 * Scripts/run-webkit-tests:
19572 2005-08-17 Maciej Stachowiak <mjs@apple.com>
19574 Reviewed by Darin Adler.
19576 - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
19578 * DumpRenderTree/DumpRenderTree.m:
19581 2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
19583 Reviewed and landed by Darin Adler.
19585 - fixed http://bugs.webkit.org/show_bug.cgi?id=4251
19586 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
19588 * Scripts/run-safari: Pass arguments through to Safari on command line.
19589 * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
19591 2005-08-11 Eric Seidel <eseidel@apple.com>
19592 Fix by Tobias Lidskog <tobiaslidskog@mac.com>
19594 Reviewed by eseidel.
19596 * DrawTest/TestController.m:
19597 (-[TestController imagePathForSVGPath:]):
19598 Fixed support for using TextViewer with the layout-tests.
19599 http://bugs.webkit.org/show_bug.cgi?id=4385
19601 2005-08-11 Maciej Stachowiak <mjs@apple.com>
19603 At Least Roughly Glanced At by Anders.
19605 - fix change with totally breaks the layout tests.
19607 * DumpRenderTree/DumpRenderTree.m:
19608 (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
19609 load, to avoid dumping twice accidentally.
19611 2005-08-10 Eric Seidel <eseidel@apple.com>
19612 Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
19616 * DumpRenderTree/DumpRenderTree.m:
19617 Added support for rendering to a PNG file.
19618 http://bugs.webkit.org/show_bug.cgi?id=3840
19620 2005-08-07 Eric Seidel <eseidel@apple.com>
19624 * Scripts/run-webkit-tests: added --svg option
19625 * Scripts/run-webkit-tests-svg: Removed.
19626 http://bugs.webkit.org/show_bug.cgi?id=4300
19628 2005-08-07 Eric Seidel <eseidel@apple.com>
19629 Changes by Ben La Monica <ben.lamonica@gmail.com>
19633 * svg2png/ImageDiff.h: Added.
19634 * svg2png/ImageDiff.m: Added.
19635 (getDifferenceBitmap):
19636 (computePercentageDifferent):
19637 (saveAnimatedGIFToFile):
19638 * svg2png/svg2png.m:
19639 (usage): added several new options
19640 (getBitmapForSVG): added NSBitmapImageRep generation
19641 (main): various argument changes.
19642 * svg2png/svg2png.xcodeproj/project.pbxproj:
19643 Several additions to provide image differencing functionality.
19644 http://bugs.webkit.org/show_bug.cgi?id=4193
19646 2005-08-07 Eric Seidel <eseidel@apple.com>
19650 * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
19651 * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
19652 Adding the first SVG layout tests:
19653 http://bugs.webkit.org/show_bug.cgi?id=4303
19655 2005-08-07 Darin Adler <darin@apple.com>
19657 * Scripts/cvs-create-patch: Do all the directories at once, for speed.
19659 2005-08-06 Eric Seidel <eseidel@apple.com>
19663 * DumpKCanvasTree/DumpKCanvasTree.m: Added.
19664 * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
19665 * Scripts/build-dumpkcanvastree: Added.
19666 * Scripts/run-webkit-tests-svg: Added.
19667 Adds a DumpRenderTree-like tool for SVG which allows us to do
19668 text-based layout regression testing. This (like most of the
19669 SVG specific stuff) is temporary and will be replaced by
19670 DumpRenderTree once the DOMs and RenderTrees merge.
19671 http://bugs.webkit.org/show_bug.cgi?id=3917
19673 2005-08-06 Eric Seidel <eseidel@apple.com>
19677 * DrawTest/DrawTestView.m:
19678 (-[DrawTestView toggleFilterSupport:]): missing negation.
19679 One half of fix for toggling filter support.
19680 http://bugs.webkit.org/show_bug.cgi?id=4252
19682 2005-08-04 Eric Seidel <eseidel@apple.com>
19686 * Scripts/build-drawtest:
19687 * Scripts/build-dumprendertree:
19688 * Scripts/build-svg2png:
19689 * Scripts/build-webcore-svg:
19690 * Scripts/build-webkit:
19691 * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
19692 Added checkRequiredSystemConfig and made all the build-* scripts
19693 use it to print a pretty warning when trying to compile on an
19694 unsupported system (less than 10.4, Xcode 2.1).
19695 http://bugs.webkit.org/show_bug.cgi?id=4280
19697 2005-08-04 Darin Adler <darin@apple.com>
19699 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
19700 the dead. It was removed by accident when someone was trying to work on the branch.
19702 2005-07-31 Darin Adler <darin@apple.com>
19704 - a little tools cleanup
19706 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
19707 project as a whole. Removed unused Default configuration.
19709 * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
19711 2005-07-31 Duncan Wilcox <duncan@mclink.it>
19713 Reviewed and landed by Darin Adler.
19715 Add logging of editing delegate calls for regression checking.
19717 * DumpRenderTree/DumpRenderTree.m:
19719 setup editing delegate
19721 (-[DOMNode dumpPath]):
19722 (-[DOMRange dump]):
19723 utility for editing delegate logging
19725 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
19726 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
19727 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
19728 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
19729 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
19730 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
19731 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
19732 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
19733 (-[EditingDelegate webViewDidBeginEditing:]):
19734 (-[EditingDelegate webViewDidChange:]):
19735 (-[EditingDelegate webViewDidEndEditing:]):
19736 (-[EditingDelegate webViewDidChangeTypingStyle:]):
19737 log corresponding editing delegate methods
19739 (-[EditingDelegate webViewDidChangeSelection:]):
19740 log selection except when clearing selection after end of test (uses existing "done" flag)
19743 added clearing of selection after test
19745 2005-07-31 Eric Seidel <eseidel@apple.com>
19749 * Scripts/build-drawtest: Added.
19750 * Scripts/build-svg2png: Added.
19751 * Scripts/build-webcore-svg: Added.
19752 * Scripts/run-drawtest: Added.
19753 * Scripts/webkitdirs.pm: added checkSVGFrameworks
19754 Made it much easier to build WebCore+SVG.
19755 http://bugs.webkit.org/show_bug.cgi?id=4208
19757 2005-07-29 Eric Seidel <eseidel@apple.com>
19761 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
19762 Build fix. Removed bad path.
19764 2005-07-29 Eric Seidel <eseidel@apple.com>
19766 Reviewed by sullivan.
19768 * DrawTest/AppDelegate.h: Added.
19769 * DrawTest/AppDelegate.m: Added.
19770 * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
19771 * DrawTest/DrawTestDocument.h: Added.
19772 * DrawTest/DrawTestDocument.m: Added.
19773 * DrawTest/DrawTestInspectorController.h: Added.
19774 * DrawTest/DrawTestInspectorController.m: Added.
19775 * DrawTest/DrawTestToolbarController.h: Added.
19776 * DrawTest/DrawTestToolbarController.m: Added.
19777 * DrawTest/DrawTestView.h: Added.
19778 * DrawTest/DrawTestView.m: Added.
19779 * DrawTest/DrawTest_Prefix.pch: Added.
19780 * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
19781 * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
19782 * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
19783 * DrawTest/English.lproj/InfoPlist.strings: Added.
19784 * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
19785 * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
19786 * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
19787 * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
19788 * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
19789 * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
19790 * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
19791 * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
19792 * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
19793 * DrawTest/Info.plist: Added.
19794 * DrawTest/SVGTest.h: Added.
19795 * DrawTest/SVGTest.m: Added.
19796 * DrawTest/ScalingImageView.h: Added.
19797 * DrawTest/ScalingImageView.m: Added.
19798 * DrawTest/TestController.h: Added.
19799 * DrawTest/TestController.m: Added.
19800 * DrawTest/TestViewerSplitView.h: Added.
19801 * DrawTest/TestViewerSplitView.m: Added.
19802 * DrawTest/main.m: Added.
19803 Adding simple cocoa app for testing SVG rendering, interaction.
19804 http://bugs.webkit.org/show_bug.cgi?id=4157
19806 2005-07-28 Eric Seidel <eseidel@apple.com>
19808 Reviewed by ggaren.
19810 * svg2png/svg2png.m: Added.
19811 * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
19812 * svg2png/svg2png_Prefix.pch: Added.
19813 Added a simple test tool which dumps a PNG from an SVG using
19814 WebCore+SVG's SVG rendering support.
19815 http://bugs.webkit.org/show_bug.cgi?id=4156
19817 2005-07-26 Maciej Stachowiak <mjs@apple.com>
19819 Reviewed by Darin Adler.
19821 - new script to review the DOM layout test results and see where we stand
19822 on actual success and failure
19824 * Scripts/check-dom-results: Added.
19826 2005-07-25 Darin Adler <darin@apple.com>
19828 * Scripts/webkitdirs.pm: Check in missing line of code.
19830 2005-07-25 Darin Adler <darin@apple.com>
19832 - fixed problem that was causing JavaScriptCore test to fail
19833 (except for people who had set DYLD_FRAMEWORK_PATH)
19835 * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
19836 Add code to parse configuration parameter so you can pass --deployment if you like.
19837 * Scripts/run-webkit-tests: Add code to parse configuration parameter.
19839 * Scripts/update-javascriptcore-test-results: Add license header.
19841 * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
19842 from @ARGV. This lets us use this option in commands that take other options and
19843 pass them along to a subsequent tool.
19845 2005-07-25 Darin Adler <darin@apple.com>
19847 Reviewed by Geoff Garen.
19849 - Fixed run-safari and gdb-safari to use the Safari application in the build results
19850 directory, if any, falling back to the one in the Applications directory otherwise.
19851 Does no harm for open source contributors who don't build Safari, and helps out the
19852 Safari team, since we do build Safari.
19854 * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
19855 variable, and if that's not present, looks in either the build results directory or
19856 /Applications; factors code that was in both scripts before into a shared function.
19857 Also removed some Xcode 2.0 support which is no longer relevant since our projects are
19858 now in Xcode 2.1 format and incompatible with older versions of Xcode.
19860 * Scripts/gdb-safari: Use safariPath.
19861 * Scripts/run-safari: Use safariPath.
19863 2005-07-22 Geoffrey Garen <ggaren@apple.com>
19865 Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
19866 run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
19868 Moved Tools/Scripts/update-mozilla-js-test-results to
19869 WebKitTools/Scripts/update-javascriptcore-test-results.
19873 * Scripts/run-javascriptcore-tests: Added.
19875 2005-07-21 Geoffrey Garen <ggaren@apple.com>
19877 Reviewed by Darin Adler.
19879 * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
19881 2005-07-21 Geoffrey Garen <ggaren@apple.com>
19883 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
19885 2005-07-21 Geoffrey Garen <ggaren@apple.com>
19887 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
19889 2005-07-21 Geoffrey Garen <ggaren@apple.com>
19891 * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
19893 2005-07-21 Geoffrey Garen <ggaren@apple.com>
19895 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
19897 2005-07-21 Geoffrey Garen <ggaren@apple.com>
19899 * Scripts/build-webkit:
19901 2005-07-12 Eric Seidel <eseidel@apple.com>
19905 * checkout-svg: Fixed error with symlink creation.
19907 2005-07-12 Eric Seidel <eseidel@apple.com>
19911 * checkout-svg: Added.
19912 Script to check out WebCore+SVG
19914 2005-06-30 Darin Adler <darin@apple.com>
19916 Changes based on input from Michael Kahl.
19918 * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
19919 specify different style of "diff".
19920 * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
19921 determineConfigurationProductDir works in all cases.
19923 2005-06-29 Darin Adler <darin@apple.com>
19925 - fixed bug which would result in multiple unwanted dumps in a single layout test
19927 * DumpRenderTree/DumpRenderTree.m:
19928 (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
19929 "readyToDump" flag.
19930 (-[LayoutTestController waitUntilDone]): Update for name change.
19931 (-[LayoutTestController notifyDone]): Dump only if ready.
19932 (dumpRenderTree): Set up new boolean and update for name change.
19934 2005-06-29 Darin Adler <darin@apple.com>
19936 Changes by Timothy Hatcher.
19939 * Scripts/run-webkit-app: Added script to open an arbritrary application with
19940 a CVS built WebKit. Example: ./run-webkit-app Colloquy
19942 * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
19943 a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
19944 * Scripts/run-safari: Ditto.
19946 2005-06-26 Darin Adler <darin@apple.com>
19948 * Scripts/build-dumprendertree: Pass -project option so that having a second
19949 copy of the project (like the one Xcode 2.1 offers to make for you) that's
19950 out of date won't screw you up.
19951 * Scripts/build-webkit: Ditto.
19953 2005-06-23 Darin Adler <darin@apple.com>
19955 * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
19957 2005-06-23 Darin Adler <darin@apple.com>
19959 Changes based on input from Michael Kahl.
19961 * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
19962 directory passed in.
19964 * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
19965 getcwd() in the code to find the base product dir. Added code to handle unusual
19966 base product directory values that use SRCROOT.
19968 2005-06-22 Darin Adler <darin@apple.com>
19970 Change by Anders Carlsson.
19972 - added support for dumping title changes
19974 * DumpRenderTree/DumpRenderTree.m:
19975 (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
19976 if requested by JavaScript.
19977 (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
19978 (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
19979 (dumpRenderTree): Start flag as NO.
19981 2005-06-20 Darin Adler <darin@apple.com>
19983 Reviewed by Justin Garcia.
19985 * Scripts/run-webkit-tests: Report number of tests when they succeed.
19987 2005-06-18 Darin Adler <darin@apple.com>
19989 * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
19990 in the hope of making the tool use less memory and run faster.
19992 2005-06-18 Darin Adler <darin@apple.com>
19994 * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
19995 * Scripts/cvs-unapply: Ditto.
19997 2005-06-17 Maciej Stachowiak <mjs@apple.com>
19999 - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
20000 benefit of all WebKit hackerdom
20002 * Scripts/prepare-ChangeLog: Added.
20004 2005-06-16 Darin Adler <darin@apple.com>
20006 - recent changes to XcodeOptions made it depend on the current directory
20007 The intent was to have the WebKitBuild directory be next to WebKitTools,
20008 not inside the various build directories. Workaround for now is to call
20009 XcodeOptions when the directory is set to the WebKit directory.
20011 * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
20012 at the start of the script.
20013 * Scripts/build-webkit: Ditto.
20015 2005-06-15 Darin Adler <darin@apple.com>
20017 * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
20019 2005-06-14 Darin Adler <darin@apple.com>
20021 Changes by Anders Carlsson.
20024 - fixed <http://bugs.webkit.org/show_bug.cgi?id=3496>
20025 Add gdb-safari script to launch Safari under gdb
20027 * Scripts/gdb-safari: Added.
20029 2005-06-12 Darin Adler <darin@apple.com>
20031 Changes by Stuart Morgan.
20034 * Scripts/cvs-abandon: Use cwd instead of `pwd`.
20035 * Scripts/cvs-apply: Ditto.
20036 * Scripts/cvs-create-patch: Ditto.
20037 * Scripts/cvs-unapply: Ditto.
20038 * Scripts/run-webkit-tests: Ditto.
20039 * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
20041 2005-06-12 Darin Adler <darin@apple.com>
20043 * Scripts/cvs-apply: Handle case of an empty patch better.
20044 * Scripts/cvs-unapply: Ditto.
20046 2005-06-12 Darin Adler <darin@apple.com>
20048 Changes by Michael Gaiman.
20051 - fixed <http://bugs.webkit.org/show_bug.cgi?id=3487>
20052 WebKit no longer builds after configuration supporting build changes
20054 * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
20056 2005-06-12 Darin Adler <darin@apple.com>
20058 * Scripts/update-webkit: Make this script work when called from any directory.
20060 2005-06-12 Darin Adler <darin@apple.com>
20062 Reviewed by Maciej.
20063 Includes changes by Stuart Morgan as well as my own.
20065 * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
20066 symrootXcodeOptions to set the -buildstyle option.
20067 * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
20068 The new --development option does the same thing.
20069 * Scripts/run-safari: Ditto.
20070 * Scripts/run-webkit-tests: Ditto.
20071 * Scripts/update-webkit: Ditto.
20072 * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
20074 * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
20075 directory is when invoking a script. Add code to determine the Xcode version so we can do the right
20076 thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
20077 product directory. Read the default configuration from a file, overridable by a passed-in command-line
20080 2005-06-11 Darin Adler <darin@apple.com>
20082 * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
20083 to execute the cvs diff commands.
20085 2005-06-11 Darin Adler <darin@apple.com>
20087 - added first cuts at some cvs scripts
20089 cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
20090 cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
20091 cvs-apply is for applying patches; runs patch and cvs add and cvs rm
20092 cvs-unapply is for unapplying patches; does the opposite of cvs-apply
20094 An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
20096 * Scripts/cvs-abandon: Added.
20097 * Scripts/cvs-apply: Added.
20098 * Scripts/cvs-create-patch: Added.
20099 * Scripts/cvs-unapply: Added.
20101 2005-06-09 Darin Adler <darin@apple.com>
20103 Reviewed by Maciej.
20105 - fixed http://bugs.webkit.org/show_bug.cgi?id=3397
20106 Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
20108 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
20109 for Foundation.framework. How was it ever wrong?
20111 - finally, I tested making the default build directory work; it works now
20113 * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
20114 that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
20115 * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
20116 * Scripts/build-dumprendertree: Ditto.
20118 2005-06-09 Darin Adler <darin@apple.com>
20120 * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
20121 work. Someone should try building without setting the Xcode build product directory now,
20122 and let me know if it works.
20124 2005-06-08 Darin Adler <darin@apple.com>
20126 - quick fix to try to get build scripts working again
20128 * Scripts/build-dumprendertree: Add FindBin.
20129 * Scripts/build-webkit: Ditto.
20130 * Scripts/run-safari: Ditto.
20131 * Scripts/run-webkit-tests: Ditto.
20132 * Scripts/update-webkit: Ditto.
20134 2005-06-08 Darin Adler <darin@apple.com>
20136 Reviewed by Maciej.
20138 - some build script enhancements
20140 * Scripts/build-dumprendertree: Changed to use webkitdirs.
20141 * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
20143 * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
20144 before Deplyment in that case.
20145 * Scripts/run-webkit-tests: Changed to use webkitdirs.
20146 * Scripts/update-webkit: Changed to use webkitdirs.
20148 * Scripts/webkitdirs.pm: Added.
20150 2005-06-08 Maciej Stachowiak <mjs@apple.com>
20152 Code change by Toby Peterson <toby@opendarwin.org>
20155 * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
20156 get confused because build-webkit now makes even 2.0 build directories look
20159 2005-06-07 Darin Adler <darin@apple.com>
20161 Reviewed by Adele Peterson.
20163 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
20164 * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
20165 so we can run tests with Xcode 2.1.
20167 2005-06-07 Darin Adler <darin@apple.com>
20169 Reviewed by Adele Peterson.
20171 * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
20172 layout-tests directory to include additional sets of tests.
20174 2005-06-07 Darin Adler <darin@apple.com>
20176 * checkout: Added license.
20177 * Scripts/build-dumprendertree: Ditto.
20178 * Scripts/run-webkit-tests: Ditto.
20179 * Scripts/update-webkit: Ditto.
20181 2005-06-07 Darin Adler <darin@apple.com>
20183 Change by Toby Peterson <toby@opendarwin.org>.
20186 * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
20187 * Scripts/run-safari: Ditto.
20189 2005-06-06 Maciej Stachowiak <mjs@apple.com>
20191 * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
20193 2005-06-06 Maciej Stachowiak <mjs@apple.com>
20195 * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
20197 2005-06-06 Maciej Stachowiak <mjs@apple.com>
20199 * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
20201 2005-06-05 Darin Adler <darin@apple.com>
20203 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
20204 * Scripts/build-dumprendertree: Added.
20205 * Scripts/build-webkit: Build All in the JavaScriptCore directory.
20206 * Scripts/run-webkit-tests: Build DumpRenderTree before running.
20208 2005-06-05 Darin Adler <darin@apple.com>
20210 * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
20212 2005-06-05 Darin Adler <darin@apple.com>
20214 - add run-webkit-tests script; not working yet but the pieces are there
20216 * Scripts/run-webkit-tests: Added.
20218 * DumpRenderTree/DumpRenderTree.m: Added.
20219 * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
20220 * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
20221 * DumpRenderTree/DumpRenderTreePrefix.h: Added.
20223 2005-06-05 Darin Adler <darin@apple.com>
20225 - created module, first cut at Web Kit Open Source Project scripts
20227 * ChangeLog: Added.
20228 * Scripts/build-webkit: Added.
20229 * Scripts/run-safari: Added.
20230 * Scripts/update-webkit: Added.
20233 === creation of WebKitTools module ===