1 2007-12-16 Brent Fulgham <bfulgham@gmail.com>
3 Reviewed by Adam Roben.
5 http://bugs.webkit.org/show_bug.cgi?id=16315
6 FindSafari needs a path-only option.
8 * FindSafari/FindSafari.cpp:
11 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
15 http://bugs.webkit.org/show_bug.cgi?id=16462
16 REGRESSION: access keys broken on Windows
18 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
21 2007-12-15 Sam Weinig <sam@webkit.org>
23 Reviewed by Mark Rowe.
25 Fix urlSuitableForTestResult to correctly identify wstring::npos as
26 the case when wstring.find doesn't find anything.
28 * DumpRenderTree/win/DumpRenderTree.cpp:
29 (urlSuitableForTestResult):
31 2007-12-15 Alp Toker <alp@atoker.com>
33 GTK+ DRT build fix for GLib < 2.14.
35 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
36 (LayoutTestController::setWaitToDump):
38 2007-12-05 Mark Rowe <mrowe@apple.com>
40 Reviewed by Alp Toker.
42 Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents
43 many layout tests from hanging while waiting on user responses to dialogs.
45 * DumpRenderTree/gtk/DumpRenderTree.cpp:
46 (invalidateAnyPreviousWaitToDumpWatchdog):
48 (webViewScriptPrompt):
49 (webViewScriptConfirm):
51 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
52 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
53 (waitToDumpWatchdogFired):
54 (LayoutTestController::setWaitToDump):
56 2007-12-05 Mark Rowe <mrowe@apple.com>
58 Reviewed by Alp Toker.
60 Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass.
62 * DumpRenderTree/gtk/DumpRenderTree.cpp:
63 (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
66 (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
67 (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
69 (webViewWindowObjectCleared): Set up window.layoutTestController.
70 (webViewConsoleMessage): Match the console message format expected by the layout test results.
71 (main): Hook up the new signals.
72 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
73 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
74 dumping multiple times.
75 * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
76 * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results.
78 2007-12-14 Anders Carlsson <andersca@apple.com>
82 Assert that a web frame that's loading a resource always has either a data source or
83 a provisional data source.
85 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
86 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
88 2007-12-14 Darin Adler <darin@apple.com>
90 - fix mistake causing nearly all tests to fail on Windows
92 * DumpRenderTree/win/UIDelegate.cpp:
93 (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
94 npos, not 0. Also pass URL in to URL function rather than passing the entire message.
96 * DumpRenderTree/mac/UIDelegate.mm:
97 (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
98 than passing the entire message.
100 2007-12-14 Darin Adler <darin@apple.com>
104 * DumpRenderTree/mac/UIDelegate.mm:
105 (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
106 new-to-Leopard methods.
108 2007-12-14 Darin Adler <darin@apple.com>
110 * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
111 since it now triggers unwanted icon loading. We only had it because we implemented "all"
112 delegate methods here.
114 2007-12-14 Anders Carlsson <andersca@apple.com>
116 Reviewed by Darin and Geoff.
118 <rdar://problem/5619295>
119 REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
121 Add property getting methods to the plug-in.
123 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
126 2007-12-14 Kevin McCullough <kmccullough@apple.com>
130 - Layout test fix for mac. When dumped to the console local file paths
131 now only show the name of the resource not the whole path. This is to
132 make the results machine and OS independent.
134 * DumpRenderTree/mac/UIDelegate.mm:
135 (-[UIDelegate webView:addMessageToConsole:]):
137 2007-12-13 Kevin McCullough <kmccullough@apple.com>
141 - Layout tests fix. We need a way to remove machine-dependent
142 information from paths in layout test results. The UIDelegate now does
145 * DumpRenderTree/DumpRenderTree.h:
146 * DumpRenderTree/win/DumpRenderTree.cpp:
147 (urlSuitableForTestResult):
148 * DumpRenderTree/win/DumpRenderTreeWin.h:
149 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
150 * DumpRenderTree/win/UIDelegate.cpp:
151 (UIDelegate::webViewAddMessageToConsole):
153 2007-12-13 Alp Toker <alp@atoker.com>
155 Build fix for DRT breakage introduced in r28690.
157 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
158 (LayoutTestController::pathToLocalResource):
160 2007-12-12 Kevin McCullough <kmccullough@apple.com>
162 Reviewed by Alice and Sam.
164 - <rdar://5621435> Need a way to specify local resources (being loaded
165 from HTTP tests) on Windows.
166 - Implemented pathToLocalResource which exposes the functionality of
167 converting a given unix path to the correct location on Windows.
169 * DumpRenderTree/LayoutTestController.cpp:
170 (pathToLocalResourceCallback):
171 (LayoutTestController::staticFunctions):
172 * DumpRenderTree/LayoutTestController.h:
173 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
174 (LayoutTestController::pathToLocalResource):
175 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
176 (LayoutTestController::pathToLocalResource):
178 2007-12-12 Anders Carlsson <andersca@apple.com>
182 <rdar://problem/5132003>
183 dumpResourceLoadCallbacks is not implemented in DRT on Windows.
185 * DumpRenderTree/win/DumpRenderTree.cpp:
187 Set the resource load delegate.
189 * DumpRenderTree/win/DumpRenderTree.vcproj:
191 * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
192 * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
194 2007-12-12 Alexey Proskuryakov <ap@webkit.org>
196 Reviewed by Adam Roben.
198 Fix conversion from double to LPARAM in dispatchMessage().
200 * DumpRenderTree/win/EventSender.cpp:
201 (dispatchMessageCallback):
203 2007-12-11 Dan Bernstein <mitz@apple.com>
205 Reviewed by Mark Rowe and Sam Weinig too!
207 - added Helvetica Oblique and Helvetica Bold Oblique to the list of
208 fonts DumpRenderTree registers.
210 * DumpRenderTree/win/DumpRenderTree.cpp:
213 2007-12-11 Brady Eidson <beidson@apple.com>
217 Make DumpRenderTree on mac use its own path for Databases testing
219 * DumpRenderTree/mac/DumpRenderTree.mm:
220 (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
221 for future DRT-only use, then use it to construct the Databases path and set that default
223 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
227 <rdar://problem/5535636>
228 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
230 http://bugs.webkit.org/show_bug.cgi?id=13916
231 JavaScript detects Tab as a character input on a textfield validation
233 * DumpRenderTree/mac/EventSendingController.mm:
234 (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
235 Dispatch a keyup to better match what happens when a key is physically pressed.
237 * DumpRenderTree/win/EventSender.cpp:
238 (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
239 returning from keyDown().
240 (getConstantCallback): Fixed a couple copy/paste mistakes.
242 2007-12-07 Kevin McCullough <kmccullough@apple.com>
246 - <rdar://5599845> Drosera: Does not show loal files in the file list
249 * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
250 * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
251 so the open source community can build.
253 2007-12-10 Brady Eidson <beidson@apple.com>
255 Rubberstamped by Sam Weinig
257 Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
259 * DumpRenderTree/mac/UIDelegate.mm:
260 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
261 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
263 2007-12-08 Oliver Hunt <oliver@apple.com>
267 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
269 Fixes <rdar://problem/5620249> Must disable SVG animation
270 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
272 In order to allow finer grained control over the set of SVG features
273 this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
281 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
283 Script handles all the new build flags, and allows --svg-experimental
284 to automatically enable all features.
286 * Scripts/build-webkit:
288 2007-12-07 Steve Falkenburg <sfalken@apple.com>
292 Rubber-stamped by Oliver.
294 * Drosera/win/Drosera.vcproj/auto-version.sh:
296 2007-12-07 Steve Falkenburg <sfalken@apple.com>
298 Build modifications for Drosera.
302 * Drosera/DroseraWin.make: Added.
303 * Drosera/win/Drosera.vcproj/Drosera.rc:
304 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
305 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
306 * Drosera/win/Drosera.vcproj/VERSION: Added.
307 * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
309 2007-12-06 Adam Roben <aroben@apple.com>
311 Explicitly turn on the Mac font ascent hack on Windows
313 This keeps our font metrics matching those from Mac.
317 * DumpRenderTree/win/DumpRenderTree.cpp:
320 2007-12-06 Anders Carlsson <andersca@apple.com>
322 Rename main.c to main.cpp here too.
324 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
326 2007-12-06 Sam Weinig <sam@webkit.org>
328 Rubber stamped by Geoff.
330 * Scripts/do-webcore-rename: Don't rename kjs_css twice.
332 2007-12-06 Darin Adler <darin@apple.com>
334 * Scripts/do-webcore-rename: Some more renaming plans.
336 2007-12-06 Anders Carlsson <andersca@apple.com>
338 Restore implementation of testGetIntIdentifier that was accidentally
339 removed somehow (possibly when I made PluginObject be a cpp file).
341 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
344 2007-12-05 Anders Carlsson <andersca@apple.com>
346 Make the entry points extern "C".
347 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
349 2007-12-05 Anders Carlsson <andersca@apple.com>
353 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
362 2007-12-05 Anders Carlsson <andersca@apple.com>
364 Add the .cpp files to the TestNetscapePlugIn target.
366 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
368 2007-12-05 Anders Carlsson <andersca@apple.com>
372 Rename the TestNetscapePlugIn .c files to be .cpp.
374 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
375 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
376 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
377 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
378 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
379 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
380 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
381 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
383 2007-12-05 Adam Roben <aroben@apple.com>
385 Fix case of keypresses from the Windows implementation of eventSender.keyDown
387 This fixes several regression tests.
391 * DumpRenderTree/win/EventSender.cpp:
392 (keyDownCallback): Virtual keycodes for ASCII characters are always
393 uppercase, so we need to check the case of the original character
394 passed in to eventSender.keyDown.
396 2007-12-05 Adam Roben <aroben@apple.com>
398 Learn from Tim's mistakes
400 * DumpRenderTree/win/DumpRenderTree.cpp:
401 (runTest): Reset the authorAndUserStylesEnabled preference for each
404 2007-12-05 Alp Toker <alp@atoker.com>
406 Reviewed by Mark Rowe.
408 Initialize GTK+ and WebKit so the tests can run.
410 Reorganize the headers a little.
412 * DumpRenderTree/gtk/DumpRenderTree.cpp:
415 2007-12-04 Anders Carlsson <andersca@apple.com>
417 Remove IWebScriptScope include.
419 * Drosera/win/DebuggerDocumentPlatform.cpp:
421 2007-12-04 Sam Weinig <sam@webkit.org>
423 Rubber stamped by Mark Rowe.
425 Define CF as platform for mac and revert r28409
427 * DumpRenderTree/DumpRenderTree.h:
428 * DumpRenderTree/mac/DumpRenderTreeMac.h:
430 2007-12-04 Sam Weinig <sam@webkit.org>
432 Define CF as platform for windows.
434 Reviewed by Adam Roben.
436 * DumpRenderTree/win/DumpRenderTreeWin.h:
438 2007-12-04 Kevin McCullough <kmccullough@apple.com>
440 Reviewed by Adam and Darin.
442 - Removed a needless BSTR cleanup.
444 * Drosera/win/DebuggerDocumentPlatform.cpp:
445 (DebuggerDocument::getPlatformCurrentFunctionStack):
447 2007-11-27 Adam Roben <aroben@apple.com>
449 Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
453 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
454 (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
456 2007-12-04 Alp Toker <alp@atoker.com>
458 Prospective Win DRT build fix.
460 * DumpRenderTree/DumpRenderTree.h:
462 2007-12-04 Alp Toker <alp@atoker.com>
464 Fix a clobbered copyright header.
466 * DumpRenderTree/gtk/DumpRenderTree.cpp:
468 2007-12-04 Xan Lopez <xan@gnome.org>
470 Reviewed by Alp Toker.
472 http://bugs.webkit.org/show_bug.cgi?id=15561
473 GTK port needs DumpRenderTree implementation
475 Start work on the GTK+ DRT.
477 This does not work yet, and there are a few lingering style issues
478 (nothing major) but this patch has been stuck in the bug tracker for
481 * DumpRenderTree/DumpRenderTree.h:
482 * DumpRenderTree/gtk: Added.
483 * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
485 (shouldLogFrameLoadDelegates):
486 (dumpFrameScrollPosition):
490 (dumpRenderTreeAsText):
494 * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
495 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
496 * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
497 (GCController::collect):
498 (GCController::collectOnAlternateThread):
499 (GCController::getJSObjectCount):
500 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
501 (LayoutTestController::~LayoutTestController):
502 (LayoutTestController::addDisallowedURL):
503 (LayoutTestController::clearBackForwardList):
504 (LayoutTestController::copyDecodedHostName):
505 (LayoutTestController::copyEncodedHostName):
506 (LayoutTestController::display):
507 (LayoutTestController::keepWebHistory):
508 (LayoutTestController::notifyDone):
509 (LayoutTestController::queueBackNavigation):
510 (LayoutTestController::queueForwardNavigation):
511 (LayoutTestController::queueLoad):
512 (LayoutTestController::queueReload):
513 (LayoutTestController::queueScript):
514 (LayoutTestController::setAcceptsEditing):
515 (LayoutTestController::setCustomPolicyDelegate):
516 (LayoutTestController::setMainFrameIsFirstResponder):
517 (LayoutTestController::setTabKeyCyclesThroughElements):
518 (LayoutTestController::setUseDashboardCompatibilityMode):
519 (LayoutTestController::setUserStyleSheetEnabled):
520 (LayoutTestController::setUserStyleSheetLocation):
521 (LayoutTestController::setWindowIsKey):
522 (LayoutTestController::setWaitToDump):
523 (LayoutTestController::windowCount):
524 (LayoutTestController::setPrivateBrowsingEnabled):
525 (LayoutTestController::setAuthorAndUserStylesEnabled):
526 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
527 (JSStringCopyUTF8CString):
529 (ReloadItem::invoke):
530 (ScriptItem::invoke):
531 (BackForwardItem::invoke):
533 2007-12-03 Sam Weinig <sam@webkit.org>
535 Move JavaScriptCore thread testing code to pthread specific directory
536 and remove the dependance on CoreFoundation by using WTF::HashSet.
538 Reviewed by Geoff and Oliver.
540 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
541 * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
542 * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
543 * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
544 * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
545 * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
546 * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
547 * DumpRenderTree/pthreads: Added.
548 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
550 (runJavaScriptThread):
551 (startJavaScriptThreads):
552 (stopJavaScriptThreads):
554 2007-12-03 Andrew Bonventre <andybons@google.com>
556 Reviewed by Darin Adler.
558 - fix http://bugs.webkit.org/show_bug.cgi?id=16267
559 Symbol lookup menu broken in debugger view
561 * Drosera/debugger.js: Fixed javascript error where document property
562 should have been used instead of contentDocument in switchFunction that
563 was breaking the select symbol dropdown menu. This is because
564 window.frames will return a Window object and not a frame object like
565 the author was originally expecting.
567 2007-12-03 Kevin McCullough <kmccullough@apple.com>
571 - <rdar://5618942> Drosera: Console window does not process everything
573 - <rdar://5619005> Drosera: could be sped up by moving the
574 WebScriptScope stuff into the WebScriptCallFrame.
575 - Now the console can correctly process objects and does not receive
576 notifications from JavaScriptCore about the JavaScript in Drosera's
579 * Drosera/win/DebuggerDocumentPlatform.cpp:
580 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
581 (DebuggerDocument::platformValueForScopeVariableNamed):
583 2007-12-03 Stephanie <slewis@apple.com>
587 Check to see if we are building a debug root
589 * Scripts/check-for-global-initializers:
591 2007-12-03 Dan Bernstein <mitz@apple.com>
593 Reviewed by Darin Adler.
595 - added a testGetIntIdentifier() method to TestNetscapePlugIn
597 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
600 2007-12-03 Alexey Proskuryakov <ap@webkit.org>
604 Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
605 in a more fine-grained manner than eventSender.keyDown().
607 * DumpRenderTree/win/EventSender.cpp:
608 (getConstantCallback):
609 (dispatchMessageCallback):
611 2007-12-02 Darin Adler <darin@apple.com>
613 * Scripts/do-webcore-rename: More planned renaming.
615 2007-12-02 Sam Weinig <sam@webkit.org>
617 Rubber stamped by Anders.
619 Use [NSURL absoluteString] instead of [NSURL description] in order to get
620 more uniform results cross platform.
622 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
623 (-[NSURL _drt_descriptionSuitableForTestResult]):
625 2007-12-02 Sam Weinig <sam@webkit.org>
627 Rubber stamped by Niko.
629 Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
631 * DumpRenderTree/win/DumpRenderTree.cpp:
632 * DumpRenderTree/win/DumpRenderTree.vcproj:
633 * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
634 * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
635 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
636 * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
638 2007-12-01 Alp Toker <alp@atoker.com>
640 Reviewed by Adam Roben.
642 Make use of the newly introduced webkit.h convenience header.
644 * GtkLauncher/main.c:
646 2007-12-01 Adam Treat <treat@kde.org>
650 * Check to see if the directory exists and exit if not.
652 * DumpRenderTree/qt/main.cpp:
655 2007-12-01 Adam Treat <treat@kde.org>
659 * Don't hide symbols when in Debug mode
660 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
663 * DumpRenderTree/qt/main.cpp:
666 2007-11-30 Alp Toker <alp@atoker.com>
668 Reviewed by Adam Roben.
670 http://bugs.webkit.org/show_bug.cgi?id=15691
671 [GTK] Public API does not follow GTK+ conventions
673 Refactor the WebKit/GTK+ public API. Changes:
674 WebKitPage -> WebKitWebView
675 WebKitFrame -> WebKitWebFrame
677 Public API source and header names have been updated to mirror the API
680 The API is now kept in WebKit/gtk/WebView to match other ports in the
681 same class such as Mac and Win.
683 * GtkLauncher/main.c:
684 (activate_uri_entry_cb):
687 (progress_change_cb):
693 2007-11-30 Adam Roben <aroben@apple.com>
695 Hopefully the final build fix
697 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
698 pull in WTF's assertion/logging functions.
700 2007-11-30 Adam Roben <aroben@apple.com>
704 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
707 2007-11-30 Adam Roben <aroben@apple.com>
711 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
713 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
715 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
716 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
717 WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
719 2007-11-30 Sam Weinig <sam@webkit.org>
721 Reviewed by Adam Roben.
723 Fix drawSelectionRect to actually draw the selection rect.
725 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
728 2007-11-30 Darin Adler <darin@apple.com>
730 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
732 2007-11-30 Darin Adler <darin@apple.com>
734 * Scripts/do-webcore-rename: Get ready for some future renaming.
736 2007-11-29 Kevin McCullough <kmccullough@apple.com>
740 - Removed some unnecessary functions and changed an unused return type.
742 * Drosera/win/DebuggerClient.cpp:
743 (registerConsoleClass):
744 * Drosera/win/DebuggerClient.h:
745 * Drosera/win/Drosera.cpp:
746 (registerDroseraClass):
748 2007-11-28 Alp Toker <alp@atoker.com>
750 Reviewed by Timothy Hatcher.
752 http://bugs.webkit.org/show_bug.cgi?id=16174
753 [GTK] Use "URI" not "URL" in public API
755 Replace use of the term "URL" with "URI" in public headers,
756 documentation and some internal code to match GLib/GTK+ convention.
758 This is now mentioned in the API guidelines:
759 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
761 * GtkLauncher/main.c:
762 (activate_uri_entry_cb):
767 2007-11-29 Anders Carlsson <andersca@apple.com>
771 <rdar://problem/5230478>
772 FrameLoadDelegate callbacks are not dumped in DRT.
774 * DumpRenderTree/win/DumpRenderTree.cpp:
775 (shouldLogFrameLoadDelegates):
778 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
780 (descriptionSuitableForTestResult):
781 (FrameLoadDelegate::QueryInterface):
782 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
783 (FrameLoadDelegate::didFailProvisionalLoadWithError):
784 (FrameLoadDelegate::didCommitLoadForFrame):
785 (FrameLoadDelegate::didFinishLoadForFrame):
786 (FrameLoadDelegate::willCloseFrame):
787 (FrameLoadDelegate::didClearWindowObject):
788 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
789 (FrameLoadDelegate::didHandleOnloadEventsForFrame):
790 * DumpRenderTree/win/FrameLoaderDelegate.h:
791 (FrameLoadDelegate::windowScriptObjectAvailable):
792 (FrameLoadDelegate::didFirstLayoutInFrame):
794 2007-11-29 Sam Weinig <sam@webkit.org>
798 Add database quota UIDelegates methods to DRT UIDelegate.
800 * DumpRenderTree/mac/UIDelegate.mm:
801 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
802 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
804 2007-11-29 Kevin McCullough <kmccullough@apple.com>
808 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
809 dying and vice versa.
810 - This fix will allow Drosera and Safari to reconnect if either of them
811 closes correctly, but does not fix the case where one of them dies
814 * Drosera/win/ServerConnection.cpp:
815 (ServerConnection::attemptToCreateServerConnection): Added a safety
816 check, because it's possilbe to try to connect to a server that's dying.
817 (ServerConnection::serverDidDie): Implemented. This resets Drosera when
819 * Drosera/win/ServerConnection.h: Added the new function and removed
820 an unnecessary member.
822 2007-11-29 Anders Carlsson <andersca@apple.com>
824 * DumpRenderTree/win/DumpRenderTree.vcproj:
825 Add shlwapi.lib to all configurations.
827 2007-11-29 Kevin McCullough <kmccullough@apple.com>
829 - Build fix. Added additional includes for VS Express to the Release
832 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
834 2007-11-29 Anders Carlsson <andersca@apple.com>
838 <rdar://problem/5132005>
839 setUserStyleSheetEnabled is not fully implemented in Windows DRT.
841 * DumpRenderTree/win/DumpRenderTree.vcproj:
844 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
845 (LayoutTestController::setUserStyleSheetEnabled):
848 (appendComponentToPath):
849 New method which wraps the Win32 API PathAppend.
852 New method which checks if a file points to a shortcut and
853 follows the shortcut.
856 New method that takes a cygwin unix-style path and returns the Win32 path.
858 (cfStringRefToWString):
860 (LayoutTestController::setUserStyleSheetLocation):
863 2007-11-29 Alice Liu <alice.liu@apple.com>
867 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
869 * DumpRenderTree/win/EventSender.cpp:
871 uppercase letters were being sent as lowercase letters without the shift key down.
873 2007-11-29 Kevin McCullough <kmccullough@apple.com>
875 - Windows build fix. VS express needs some love.
877 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
879 2007-11-28 Darin Adler <darin@apple.com>
881 Reviewed by Adam Roben.
883 * DumpRenderTree/mac/EventSendingController.mm:
884 (-[EventSendingController keyDown:withModifiers:]):
885 Send capital letters through as lowercase letters with the shift key down
886 rather than sending them as if they were highly unusual "capital letter keys".
888 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
889 where you need to update results and more tests are failing than before.
891 2007-11-28 Anders Carlsson <andersca@apple.com>
895 <rdar://problem/5132001>
896 contextClick is not implemented in DRT on Windows.
898 * DumpRenderTree/win/EventSender.cpp:
899 (contextClickCallback):
900 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
901 by a WM_RBUTTONUP message.
903 * DumpRenderTree/win/UIDelegate.cpp:
904 (UIDelegate::hasCustomMenuImplementation):
905 (UIDelegate::trackCustomPopupMenu):
906 * DumpRenderTree/win/UIDelegate.h:
907 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
908 menu from being shown (and causing the DRT to hang).
910 2007-11-27 Maciej Stachowiak <mjs@apple.com>
914 Fix DumpRenderTree ObjC bug comparing strings.
916 * DumpRenderTree/mac/ObjCController.m:
917 (-[ObjCController identityIsEqual::]): Compare strings with string
918 equality instead of identiy equality.
920 2007-11-27 Timothy Hatcher <timothy@apple.com>
924 Reset the authorAndUserStylesEnabled preference
925 back to YES for each test. Fixes the broken tests.
927 * DumpRenderTree/mac/DumpRenderTree.mm:
928 (resetWebViewToConsistentStateBeforeTesting):
930 2007-11-27 Kevin McCullough <kmccullough@apple.com>
934 - Drosera now displays the console window, although it cannot currently
937 * Drosera/win/DebuggerClient.cpp: Shows the console window.
938 (registerConsoleClass): Implemented.
939 (consoleWndProc): Implemented.
940 (DebuggerClient::onSize): Implemented.
941 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
943 * Drosera/win/DebuggerClient.h: Added needed method and members for
944 creating and maintaining a new window.
945 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
946 lines of code to more appropriate places.
947 (Drosera::handleCommand):
952 2007-11-27 Timothy Hatcher <timothy@apple.com>
954 Reviewed by Dave Hyatt.
956 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
958 Add support for disabling author and user styles for testing.
960 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
961 * DumpRenderTree/LayoutTestController.cpp:
962 (setAuthorAndUserStylesEnabledCallback):
963 (LayoutTestController::staticFunctions):
964 * DumpRenderTree/LayoutTestController.h:
965 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
966 (LayoutTestController::setAuthorAndUserStylesEnabled):
967 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
968 (LayoutTestController::setAuthorAndUserStylesEnabled):
970 2007-11-26 Dan Bernstein <mitz@apple.com>
974 * DumpRenderTree/mac/Configurations/Base.xcconfig:
976 2007-11-26 Kevin McCullough <kmccullough@apple.com>
980 - Implemented displaying variables for Drosera on Win.
982 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
983 that retrieve variables to not hold onto the return value since it's
984 not returned. Also changed to use the new signatures of the retrieval
986 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
987 (DebuggerDocument::platformValueForScopeVariableNamed):
988 * Drosera/win/Drosera.cpp: Removed a needless TODO.
991 2007-11-26 Sam Weinig <sam@webkit.org>
993 Cleanup names of painting and repainting functions.
995 Reviewed by Adam Roben.
997 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
998 (drawSelectionRect): was drawSelectionRectIntoContext.
999 (dumpWebViewAsPixelsAndCompareWithExpected):
1000 * DumpRenderTree/cg/PixelDumpSupportCG.h:
1001 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1002 (paintWebView): was drawWebViewIntoContext.
1003 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
1005 2007-11-26 Sam Weinig <sam@webkit.org>
1007 Reviewed by Dan Bernstein.
1011 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1013 2007-11-26 Sam Weinig <sam@webkit.org>
1015 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
1016 Use shared PixelDumpSupport for Mac DRT
1018 Reviewed by Adam Roben.
1020 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1021 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
1022 * DumpRenderTree/cg/ImageDiffCG.cpp:
1023 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1024 (drawSelectionRectIntoContext):
1025 (dumpWebViewAsPixelsAndCompareWithExpected):
1026 * DumpRenderTree/cg/PixelDumpSupportCG.h:
1027 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1028 * DumpRenderTree/mac/DumpRenderTree.mm:
1030 * DumpRenderTree/mac/ImageDiff.m: Removed.
1031 * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
1032 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
1033 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
1034 (setDefaultColorProfileToRGB):
1035 (getBitmapContextFromWebView):
1036 (drawWebViewIntoContext):
1037 (repaintWithVerticalSweep):
1038 (repaintWithHorizontalSweep):
1040 * DumpRenderTree/win/PixelDumpSupport.h: Removed.
1042 2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
1044 Bug 16052: prepare-ChangeLog doesn't report deleted files
1045 <http://bugs.webkit.org/show_bug.cgi?id=16052>
1049 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
1051 2007-11-25 David Kilzer <ddkilzer@webkit.org>
1053 Bug 15864: Replace merge-changelog with resolve-ChangeLogs
1054 <http://bugs.webkit.org/show_bug.cgi?id=15864>
1058 Roll functionality of merge-changelog into resolve-ChangeLogs
1059 script. The script now checks for ChangeLog.rej and
1060 ChangeLog.orig files first. If it finds them, it uses the
1061 ChangeLog.rej file as a patch (in old contextual diff format) to
1062 apply with --fuzz=3.
1064 * Scripts/merge-changelog: Removed.
1065 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
1067 2007-11-25 Sam Weinig <sam@webkit.org>
1069 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
1071 Reviewed by Mark Rowe.
1073 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1074 * DumpRenderTree/mac/Configurations/Base.xcconfig:
1075 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1076 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
1077 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
1079 2007-11-25 Sam Weinig <sam@webkit.org>
1081 Convert DumpRenderTree to ues .xcconfig files.
1083 Reviewed by Mark Rowe.
1085 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1086 * DumpRenderTree/mac/Configurations: Added.
1087 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
1088 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
1089 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
1091 2007-11-25 Sam Weinig <sam@webkit.org>
1093 Add ForwardingHeaders to wtf for DumpRenderTree.
1095 Reviewed by Mark Rowe.
1097 * DumpRenderTree/DumpRenderTree.h:
1098 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1099 * DumpRenderTree/ForwardingHeaders: Added.
1100 * DumpRenderTree/ForwardingHeaders/wtf: Added.
1101 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
1102 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
1103 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
1104 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
1105 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
1106 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
1107 * DumpRenderTree/LayoutTestController.cpp:
1108 * DumpRenderTree/WorkQueue.cpp:
1109 * DumpRenderTree/mac/DumpRenderTree.mm:
1110 * DumpRenderTree/mac/FrameLoadDelegate.mm:
1111 * DumpRenderTree/mac/JavaScriptThreading.cpp:
1112 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1113 * DumpRenderTree/mac/ObjCController.m:
1114 * DumpRenderTree/mac/UIDelegate.mm:
1115 * DumpRenderTree/mac/WorkQueueItemMac.mm:
1117 2007-11-25 Adam Roben <aroben@apple.com>
1119 Fix some test failures caused by r28019
1121 Now that stdout is in binary mode, we need to always use printf
1122 instead of wprintf. Otherwise we'll end up with UTF-16 characters in
1127 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
1129 (UIDelegate::runJavaScriptAlertPanelWithMessage):
1130 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
1131 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
1132 (UIDelegate::webViewAddMessageToConsole):
1134 2007-11-25 Adam Roben <aroben@apple.com>
1136 Set the font smoothing preference in DRT
1138 This makes the pixel results on Windows closer to the Mac results.
1142 * DumpRenderTree/win/DumpRenderTree.cpp:
1143 (initializePreferences):
1145 2007-11-25 Adam Roben <aroben@apple.com>
1147 Port ImageDiff to CG and C++
1149 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
1154 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
1155 * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
1157 (createImageFromStdin):
1159 (getDifferenceBitmap):
1160 (computePercentageDifferent):
1161 * DumpRenderTree/win/ImageDiff.vcproj: Added.
1163 2007-11-25 Adam Roben <aroben@apple.com>
1165 Fix image diff link generation on Windows
1169 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
1172 2007-11-25 Adam Roben <aroben@apple.com>
1174 Implement pixel dumping in Windows DRT
1176 Part of http://bugs.webkit.org/show_bug.cgi?id=16133
1181 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
1182 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
1183 Content-Length header.
1184 (getMD5HashStringForBitmap):
1185 (dumpWebViewAsPixelsAndCompareWithExpected):
1186 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
1187 * DumpRenderTree/win/DumpRenderTree.cpp:
1188 (dump): Do a pixel dump if requested.
1189 (main): Parse pixel test options.
1190 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
1191 the cg/ subdirectory to the include path.
1192 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
1193 available in a header or import library, so we have to go through this
1194 LoadLibrary/GetProcAddress dance to use them.
1202 * DumpRenderTree/win/MD5.h: Added.
1203 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
1204 moved up to the top level to share it with Mac eventually.
1205 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
1206 (getBitmapContextFromWebView): Forces the WebView to paint using a
1207 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
1209 2007-11-25 Adam Roben <aroben@apple.com>
1211 Clean up Windows DRT's option parsing a little bit
1215 * DumpRenderTree/win/DumpRenderTree.cpp:
1216 (main): Put non-option arguments into a Vector.
1218 2007-11-25 Adam Roben <aroben@apple.com>
1220 Make Windows DRT stop changing LF into CRLF
1224 * DumpRenderTree/win/DumpRenderTree.cpp:
1225 (main): Put stdout in binary mode.
1226 * Scripts/run-webkit-tests: Remove the CRLF hack.
1228 2007-11-24 David Kilzer <ddkilzer@webkit.org>
1230 Removed empty directory.
1232 * Scripts/resources: Removed.
1234 2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
1236 Fix bisect-builds to work with recent WebKit nightly builds.
1240 * Scripts/bisect-builds: Check for the
1241 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
1242 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
1243 to WebKit.app/Contents/Resources.
1245 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
1249 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
1250 not closed (affects digg.com)
1252 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
1253 one after finishing with a test to avoid having its delayed onload handler firing when
1254 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
1255 but it helps somewhat.
1257 2007-11-22 Mark Rowe <mrowe@apple.com>
1259 Reviewed by Alp Toker.
1261 Fix build-webkit to propagate make's exit status if it fails.
1263 * Scripts/webkitdirs.pm:
1265 2007-11-22 Dan Bernstein <mitz@apple.com>
1267 Reviewed by Mark Rowe.
1269 - fix crash when running pixel tests
1271 * DumpRenderTree/mac/DumpRenderTree.mm:
1272 (dumpRenderTree): Parse the command line options before setting up the
1273 environment so that we know if we need to set up the pixel dump
1276 2007-11-21 Eric Seidel <eric@webkit.org>
1278 Speculative build fix for Tiger.
1280 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
1282 2007-11-21 Eric Seidel <eric@webkit.org>
1284 Reviewed by Tim Hatcher.
1286 Break out more of DumpRenderTree.mm into individual files
1288 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1289 * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
1292 (makeLargeMallocFailSilently):
1293 * DumpRenderTree/mac/CheckedMalloc.h: Added.
1294 * DumpRenderTree/mac/DumpRenderTree.mm:
1297 * DumpRenderTree/mac/DumpRenderTreeMac.h:
1298 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
1299 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
1300 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
1301 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
1302 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
1303 (javaScriptThreads):
1304 (runJavaScriptThread):
1305 (startJavaScriptThreads):
1306 (stopJavaScriptThreads):
1307 * DumpRenderTree/mac/JavaScriptThreading.h: Added.
1308 * DumpRenderTree/mac/PixelDumpSupport.h: Added.
1309 * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
1310 (restoreColorSpace):
1311 (setDefaultColorProfileToRGB):
1312 (initializeColorSpaceAndScreeBufferForPixelTests):
1313 (md5HashStringForBitmap):
1314 (dumpWebViewAsPixelsAndCompareWithExpected):
1316 2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
1318 Move install-unix-extras to wx directory as it seems only to be used by that
1319 port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
1320 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
1321 have install-unix-extras install into WebKitLibraries as per
1324 Reviewed by Mark Rowe.
1326 * Scripts/install-unix-extras: Removed.
1327 * wx/build-wxwebkit:
1328 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
1330 2007-11-21 Eric Seidel <eric@webkit.org>
1334 More refactoring for greater code readability
1336 * DumpRenderTree/mac/DumpRenderTree.mm:
1337 (initializeGlobalsFromCommandLineOptions):
1338 (initializeColorSpaceAndScreeBufferForPixelTests):
1339 (addTestPluginsToPluginSearchPath):
1340 (useLongRunningServerMode):
1341 (runTestingServerLoop):
1342 (prepareConsistentTestingEnvironment):
1346 (dumpBackForwardListForWebView):
1347 (sizeWebViewForCurrentTest):
1348 (methodNameStringForFailedTest):
1349 (dumpBackForwardListForAllWindows):
1350 (dumpWebViewAsPixelsAndCompareWithExpected):
1351 (invalidateAnyPreviousWaitToDumpWatchdog):
1353 * DumpRenderTree/mac/DumpRenderTreeMac.h:
1354 * DumpRenderTree/mac/UIDelegate.mm:
1355 (-[UIDelegate webView:createWebViewWithRequest:]):
1357 2007-11-21 Eric Seidel <eric@webkit.org>
1359 Reviewed by Tim Hatcher.
1361 Abstract more of DRT into static methods
1363 * DumpRenderTree/mac/DumpRenderTree.mm:
1364 (setDefaultsToConsistentValuesForTesting):
1365 (setupSignalHandlers):
1366 (allocateGlobalControllers):
1368 (releaseGlobalControllers):
1370 (shouldLogFrameLoadDelegates):
1371 (createCFURLFromPathOrURL):
1372 (resetWebViewToConsistentStateBeforeTesting):
1375 2007-11-21 Eric Seidel <eric@webkit.org>
1377 Reviewed by Tim Hatcher.
1379 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
1381 * DumpRenderTree/DumpRenderTree.h:
1382 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1383 * DumpRenderTree/mac/DumpRenderTree.mm:
1387 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
1388 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
1389 (+[DumpRenderTreePasteboard _pasteboardWithName:]):
1390 (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
1391 (-[DumpRenderTreePasteboard declareType:owner:]):
1392 (+[LocalPasteboard alloc]):
1393 (-[LocalPasteboard init]):
1394 (-[LocalPasteboard dealloc]):
1395 (-[LocalPasteboard name]):
1396 (-[LocalPasteboard releaseGlobally]):
1397 (-[LocalPasteboard declareTypes:owner:]):
1398 (-[LocalPasteboard addTypes:owner:]):
1399 (-[LocalPasteboard changeCount]):
1400 (-[LocalPasteboard types]):
1401 (-[LocalPasteboard availableTypeFromArray:]):
1402 (-[LocalPasteboard setData:forType:]):
1403 (-[LocalPasteboard dataForType:]):
1404 (-[LocalPasteboard setPropertyList:forType:]):
1405 (-[LocalPasteboard setString:forType:]):
1406 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
1407 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
1408 (+[DumpRenderTreeWindow allWindows]):
1409 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
1410 (-[DumpRenderTreeWindow dealloc]):
1411 (-[DumpRenderTreeWindow isKeyWindow]):
1412 (-[DumpRenderTreeWindow keyDown:]):
1414 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
1416 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
1417 it indiscriminately copies any headers inside JavaScriptCore,
1418 which includes Tiger ICU headers.
1420 * wx/build-wxwebkit:
1421 Don't run WebCore/move-js-headers.sh any longer.
1423 2007-11-20 Adam Treat <treat@kde.org>
1425 Reviewed by David Kilzer.
1427 * Prepend git branch name to $baseProductDir
1429 * Scripts/VCSUtils.pm:
1430 * Scripts/webkitdirs.pm:
1432 2007-11-20 Mark Rowe <mrowe@apple.com>
1434 Reviewed by Simon Hausmann.
1436 * Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
1437 * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
1438 Have it trigger a "make distclean" rather than "make clean" to ensure that the
1439 built product and generated Makefile's are removed.
1441 2007-11-19 Alp Toker <alp@atoker.com>
1443 Reviewed by Mark Rowe.
1445 http://bugs.webkit.org/show_bug.cgi?id=16040
1446 [GTK] GtkLauncher should be written in C
1448 Port GtkLauncher to plain C.
1450 Use a more conventional GTK+ coding style.
1452 Use a toolbar instead of menus.
1454 Various signature fixes and cleanups.
1456 Add a license header. Assume all previous modifications were copyright
1457 assigned to Apple Inc. by default.
1459 * GtkLauncher/GtkLauncher.pro:
1460 * GtkLauncher/main.c: Added.
1461 (activate_url_entry_cb):
1465 (progress_change_cb):
1474 * GtkLauncher/main.cpp: Removed.
1476 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
1478 Build script fixes to ensure they do the right thing for the
1479 wx port, and update build-wxwebkit to reflect the way the
1480 build scripts now work.
1484 * Scripts/build-testkjs:
1485 * Scripts/build-webkit:
1486 * Scripts/run-javascriptcore-tests:
1487 * Scripts/webkitdirs.pm:
1488 * wx/build-wxwebkit:
1490 2007-11-18 Eric Seidel <eric@webkit.org>
1494 Make run-javascriptcore-tests report failures on exit (to support git bisect)
1496 * Scripts/run-javascriptcore-tests:
1498 2007-11-18 Alexey Proskuryakov <ap@webkit.org>
1500 Reviewed by Adam Roben.
1502 Make run-webkit-tests work with Windows debug build.
1504 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
1505 * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
1506 as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
1507 symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
1508 and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
1510 2007-11-18 Kevin Ollivier <kevino@theolliviers.com>
1512 Add wxWebKit sample and build script, and integrate it with
1513 build-webkit. Also make build-webkit --clean work for all
1516 Reviewed by Darin Adler.
1518 * Scripts/build-webkit:
1519 * Scripts/webkitdirs.pm:
1521 * wx/browser: Added.
1522 * wx/browser/browser.bkl: Added.
1523 * wx/browser/browser.cpp: Added.
1524 * wx/build-wxwebkit: Added.
1526 2007-11-17 Adam Roben <aroben@apple.com>
1528 Make it easy to run Safari in the debugger on Windows
1530 I've added a new script, debug-safari, which launches Safari in the
1531 debugger. On OS X it just calls gdb-safari.
1533 Reviewed by Mark Rowe.
1535 * FindSafari/FindSafari.cpp:
1536 (_tmain): Added a /debugger flag, which in combination with
1537 /printSafariLauncher will print a script that launches Safari in the
1539 * Scripts/debug-safari: Added.
1540 * Scripts/run-safari: Changed to call runSafari().
1541 * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
1542 vsvars32.bat, which will let us find VS/VC++ Express, and passes the
1543 first argument along to FindSafari.
1544 * Scripts/webkitdirs.pm:
1545 (sub runSafari): Added.
1547 2007-11-16 Alexey Proskuryakov <ap@webkit.org>
1549 Reviewed by Adam Roben.
1551 * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
1553 2007-11-16 Ryan Leavengood <leavengood@gmail.com>
1555 Reviewed by David Kilzer.
1557 The git config command was renamed to repo-config at some point. This
1558 change tries git config and then git repo-config if the first fails.
1560 * Scripts/prepare-ChangeLog:
1563 2007-11-16 Dan Bernstein <mitz@apple.com>
1565 Reviewed by Darin Adler and Sam Weinig.
1567 - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
1569 * DumpRenderTree/win/EventSender.cpp:
1570 (keyDownCallback): For characters that cannot be entered on the active
1571 keyboard layout, send a WM_CHAR message with the character along with
1572 a WM_KEYDOWN message with a virtual key code of 255.
1574 2007-11-16 Mark Rowe <mrowe@apple.com>
1576 Reviewed by Tim Hatcher.
1578 Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
1580 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1581 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1583 2007-11-15 Adam Roben <aroben@apple.com>
1585 Make run-safari actually work on Windows
1587 * Scripts/run-safari: Fixed the order of arguments to cp, and added a
1590 2007-11-14 Adam Roben <aroben@apple.com>
1592 Updates to Safari launching now that 3.0.4 is released
1596 * FindSafari/FindSafari.cpp:
1597 (getWebViewCLSID): Use version-independent ProgID.
1598 * Scripts/run-safari: Use run-webkit-nightly.cmd.
1600 2007-11-14 Anders Carlsson <andersca@apple.com>
1604 <rdar://problem/5309081>
1605 In DRT, "plugin.logDestroy = true" not working on Windows.
1607 * DumpRenderTree/win/TestNetscapePlugin/main.c:
1610 2007-11-14 Eric Seidel <eric@webkit.org>
1614 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
1616 2007-11-14 Anders Carlsson <andersca@apple.com>
1620 <rdar://problem/5141186>
1621 window.layoutTestController.setWindowIsKey is not implemented in DRT.
1623 Implement setWindowIsKey.
1625 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1626 (LayoutTestController::setWindowIsKey):
1628 2007-11-13 Sam Weinig <sam@webkit.org>
1630 Reviewed by Adam Roben.
1632 Fix for <rdar://problem/5382579>
1633 http/tests/security/cross-frame-access-put.html reports large
1634 negative numbers for screenLeft and screenTop (Mac reports "0")
1636 * DumpRenderTree/win/UIDelegate.cpp:
1637 (UIDelegate::UIDelegate): Initialize the RECT.
1638 (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
1639 (UIDelegate::webViewFrame): ditto.
1640 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
1642 2007-11-13 Kevin McCullough <kmccullough@apple.com>
1646 - Make Drosera show source, source URLs, and function stack on Windows,
1647 and some minor fixes.
1649 * Drosera/DebuggerDocument.cpp: Force source to always update display.
1650 (DebuggerDocument::updateFileSource):
1651 * Drosera/debugger.js: Force source to always update display.
1652 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
1654 (DebuggerClient::resume):
1655 (DebuggerClient::pause):
1656 (DebuggerClient::stepInto):
1657 (DebuggerClient::stepOver):
1658 (DebuggerClient::stepOut):
1659 (DebuggerClient::showConsole):
1660 (DebuggerClient::closeCurrentFile):
1661 * Drosera/win/DebuggerClient.h: Ditto.
1662 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
1663 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
1664 removed two bugs. 1) caller could be in a bad state when asked to
1665 assign into it. 2) BSTRs were not created correctly.
1666 (DebuggerDocument::getPlatformCurrentFunctionStack):
1667 * Drosera/win/Drosera.cpp: Hook up the menu controls.
1672 (Drosera::stepInto):
1673 (Drosera::stepOver):
1675 (Drosera::showConsole):
1676 (Drosera::closeCurrentFile):
1677 * Drosera/win/Drosera.h: Hook up the menu controls.
1678 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
1679 functions, added a null check, and fixed another bug where caller could
1680 be in a bad state when asked to assign into it.
1681 (ServerConnection::didLoadMainResourceForDataSource):
1682 (ServerConnection::getCallerFrame):
1683 * Drosera/win/ServerConnection.h: Safety first.
1685 2007-11-13 Dan Bernstein <mitz@apple.com>
1687 Reviewed by Darin Adler.
1689 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
1690 DumpRenderTree --pixel-tests renders each test twice
1692 * DumpRenderTree/mac/DumpRenderTree.mm:
1693 (dumpRenderTree): Removed the --paint option because the painting code
1694 is always exercised as a result of
1695 -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
1696 calling -displayIfNeeded.
1697 (dump): Changed to always grab the image from the window since the view
1698 is always displayed.
1701 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
1702 because it always paints.
1704 2007-11-12 Antti Koivisto <antti@apple.com>
1708 Add support for http media tests
1710 * Scripts/run-webkit-tests:
1712 2007-11-12 Sam Weinig <sam@webkit.org>
1714 Reviewed by Adam Roben.
1716 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
1718 * DumpRenderTree/win/DumpRenderTree.cpp:
1720 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1721 (LayoutTestController::setPrivateBrowsingEnabled):
1723 2007-11-12 Adam Roben <aroben@apple.com>
1725 * Scripts/update-webkit-localizable-strings: Changed to only scan the
1726 mac and win subdirectories.
1728 2007-11-11 Adam Roben <aroben@apple.com>
1730 Fix <rdar://5133816> keepWebHistory is not implemented
1732 Fixes fast/history/clicked-link-is-visited.html.
1736 * DumpRenderTree/win/DumpRenderTree.cpp:
1737 (runTest): Clear the optionalSharedHistory.
1738 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1739 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
1741 2007-11-10 Sam Weinig <sam@webkit.org>
1743 Reviewed by Tim Hatcher.
1745 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
1746 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
1749 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
1751 Added test: http/tests/security/cross-frame-access-private-browsing.html
1753 * DumpRenderTree/LayoutTestController.cpp:
1754 (setPrivateBrowsingEnabledCallback):
1755 (LayoutTestController::staticFunctions):
1756 * DumpRenderTree/LayoutTestController.h:
1757 * DumpRenderTree/mac/DumpRenderTree.mm:
1758 (runTest): Default to private browsing disabled.
1759 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1760 (LayoutTestController::setPrivateBrowsingEnabled):
1761 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1762 (LayoutTestController::setPrivateBrowsingEnabled):
1764 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1768 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
1771 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
1772 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
1773 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
1774 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
1775 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
1776 * Drosera/win/Drosera.cpp:
1777 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1779 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1783 - Use the new IWebFrame [local] function signature and get the shared
1786 * Drosera/win/DebuggerClient.cpp:
1787 (DebuggerClient::didFinishLoadForFrame):
1788 * Drosera/win/ServerConnection.cpp:
1789 (ServerConnection::attemptToCreateServerConnection):
1791 2007-11-07 Dan Bernstein <mitz@apple.com>
1793 Reviewed by Darin Adler.
1795 - add an option to run-webkit-tests to ignore pixel test failures where
1796 all pixels differ by no more than a specified threshold
1798 * DumpRenderTree/mac/ImageDiff.m:
1801 (computePercentageDifferent):
1802 * Scripts/run-webkit-tests:
1804 2007-11-07 Simon Hausmann <hausmann@kde.org>
1808 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
1810 * DumpRenderTree/qt/DumpRenderTree.cpp:
1812 2007-11-07 Simon Hausmann <hausmann@kde.org>
1816 Reworked the QWebSettings API.
1817 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
1819 * DumpRenderTree/qt/DumpRenderTree.cpp:
1821 2007-11-07 Simon Hausmann <hausmann@kde.org>
1825 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
1827 * DumpRenderTree/qt/jsobjects.cpp:
1829 2007-11-07 Simon Hausmann <hausmann@kde.org>
1831 Reviewed by Lars Knoll <lars@trolltech.com>.
1833 Add a QWebPage::frameCreated() signal and fix DRT
1835 The removal of createFrame in QWebPage broke the re-implementation
1836 in DumpRenderTree. Instead emit a frameCreated() signal and
1837 connect to it in DumpRenderTree.
1840 * DumpRenderTree/qt/DumpRenderTree.cpp:
1841 (WebCore::WebPage::WebPage):
1842 (WebCore::DumpRenderTree::dump):
1843 (WebCore::DumpRenderTree::connectFrame):
1844 * DumpRenderTree/qt/DumpRenderTree.h:
1846 2007-11-07 Simon Hausmann <hausmann@kde.org>
1848 Reviewed by Lars Knoll <lars@trolltech.com>.
1850 Moved all the event handlers from QWebFrame into QWebPage.
1852 This cleans up the public API and allows us to remove the
1853 HackWebFrame hack in DumpRenderTree.
1856 * DumpRenderTree/qt/jsobjects.cpp:
1857 (EventSender::mouseDown):
1858 (EventSender::mouseUp):
1859 (EventSender::mouseMoveTo):
1861 2007-11-07 Simon Hausmann <hausmann@kde.org>
1865 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
1866 to prevent the default implementation from popping up messageboxes.
1868 * DumpRenderTree/qt/DumpRenderTree.cpp:
1869 (WebCore::WebPage::javaScriptConfirm):
1870 (WebCore::WebPage::javaScriptPrompt):
1872 2007-11-06 Eric Seidel <eric@webkit.org>
1874 * Scripts/build-testkjs: build fix... too many $$
1876 2007-11-06 Eric Seidel <eric@webkit.org>
1878 Reviewed by Mark Rowe.
1880 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
1882 2007-11-05 Adam Roben <aroben@apple.com>
1884 Add support on Windows for WEBKIT_TESTFONTS
1886 This environment variable lets you specify where the fonts to be used
1887 by DumpRenderTree reside. The Qt port is already using this, so I'm
1888 just following their lead.
1892 * DumpRenderTree/win/DumpRenderTree.cpp:
1893 (exePath): Refactored code out of initialize().
1894 (fontsPath): Returns either $WEBKIT_TESTFONTS or
1895 DumpRenderTree.resources.
1896 (initialize): Use the new fontsPath function.
1897 (main): Use the new exePath function.
1898 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
1899 variable to DRT, like Qt does.
1901 2007-11-05 Mark Rowe <mrowe@apple.com>
1903 Rubber-stamped by Alp Toker.
1905 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
1907 * GtkLauncher/main.cpp:
1911 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
1913 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
1914 <http://bugs.webkit.org/show_bug.cgi?id=15830>
1916 Reviewed by Timothy.
1918 Restrict the range of nightly builds used by the bisect-builds script
1919 based on the version of Safari and the version of Mac OS X being used.
1921 Mac OS X 10.4: Safari 2.0: r11976 or newer
1922 Mac OS X 10.4: Safari 3.0: r19992 or newer
1924 Mac OS X 10.5: Safari 2.0: r19594 or newer
1925 Mac OS X 10.5: Safari 3.0: r25124 or newer
1927 * Scripts/bisect-builds:
1928 (findMacOSXVersion): Added.
1929 (makeNightlyList): Added argument to provide version of Mac OS X.
1930 Restrict range of nightly builds based on Safari and Mac OS X versions.
1932 2007-11-04 Kevin McCullough <kmccullough@apple.com>
1936 - This patch involves several changes, all of them were noticed that
1937 they were needed by the work being done in WebKit to get Drosera and
1938 WebKit working together on Windows.
1940 1) Added a debugger console for output messages.
1941 2) Drosera now listens for the WebKit server (before, the server would
1942 have to be running before Drosera was started.)
1943 3) Fixed a bug where the WebView started out as 0x0 pixels.
1944 4) Fixed a bug when there is no scope.
1945 5) Added the HTML, JS, and CSS to the project file to make them easy to
1947 6) Made the ServerConnection functions virtual.
1949 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
1950 for the WebKit server.
1951 (DebuggerClient::DebuggerClient):
1952 (DebuggerClient::~DebuggerClient):
1953 (DebuggerClient::didFinishLoadForFrame):
1954 (DebuggerClient::serverConnected):
1955 (DebuggerClient::attemptToCreateServerConnection):
1956 * Drosera/win/DebuggerClient.h: Ditto.
1957 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
1959 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1960 (DebuggerDocument::platformValueForScopeVariableNamed):
1961 * Drosera/win/Drosera.cpp:
1962 (_tWinMain): Added a console in debug for output messages.
1963 (Drosera::Drosera): Listen for server.
1964 (Drosera::initUI): The server now Initializes COM.
1965 (Drosera::serverConnected): Part of the listening for the server.
1966 (Drosera::attemptToCreateServerConnection): Ditto.
1967 * Drosera/win/Drosera.h: New interface for listening for the server.
1968 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
1969 files to the VS project.
1970 * Drosera/win/ServerConnection.cpp: Part of listening for the server
1972 (ServerConnection::ServerConnection):
1973 (ServerConnection::attemptToCreateServerConnection):
1974 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
1976 (ServerConnection::serverConnected):
1978 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
1982 http://bugs.webkit.org/show_bug.cgi?id=15832
1983 fast/dom/gc-10.html crashes when run alone
1985 Check for !done before using objects that can be already deallocated.
1987 * DumpRenderTree/mac/EditingDelegate.mm:
1988 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
1989 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
1990 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
1991 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
1992 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
1993 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
1994 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
1995 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
1996 (-[EditingDelegate webViewDidBeginEditing:]):
1997 (-[EditingDelegate webViewDidChange:]):
1998 (-[EditingDelegate webViewDidEndEditing:]):
1999 (-[EditingDelegate webViewDidChangeTypingStyle:]):
2000 (-[EditingDelegate webViewDidChangeSelection:]):
2001 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2002 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2003 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2004 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2005 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2006 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2007 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2008 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2009 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2010 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2011 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2012 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2013 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2014 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2015 (-[FrameLoadDelegate webView:willCloseFrame:]):
2016 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2017 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2018 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2019 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2020 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2021 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2022 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2023 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2024 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2026 2007-11-04 Mark Rowe <mrowe@apple.com>
2028 Build fix. Don't use Carbon.h as the prefix header as it triggers
2029 warnings that would otherwise be suppressed due to it being a system header.
2031 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2033 2007-11-03 Maciej Stachowiak <mjs@apple.com>
2035 Rubber stamped by Adam.
2037 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
2039 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2041 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
2043 Sort files(...); sections of Xcode project files.
2045 Rubber-stamped by Darin.
2047 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2048 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2049 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2050 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2052 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
2054 Script to sort "files(...);" sections in Xcode project.pbxproj files.
2058 * Scripts/sort-Xcode-project-file: Added.
2060 2007-11-02 Darin Adler <darin@apple.com>
2062 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
2064 2007-11-02 Darin Adler <darin@apple.com>
2068 * Scripts/run-sunspider: Pass the "--base" option through.
2070 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
2071 the real script do that. Default configuration to Release to match run-sunspider
2072 so we don't end up building Debug just to compare results.
2074 2007-11-01 Adam Roben <aroben@apple.com>
2076 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
2080 * Scripts/commit-log-editor: Show all the directories beneath the
2081 source root, instead of just the last one.
2083 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
2085 Reviewed by Adam Roben.
2087 Print out an error message when the Windows build fails
2088 and provide guidance on how to find out what went wrong.
2090 * Scripts/build-webkit:
2091 * Scripts/webkitdirs.pm:
2093 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
2095 Rubber-stamped by Adam Roben.
2097 Rolled out r27326 - debug CRT seems to cause no problems after all.
2099 * DumpRenderTree/win/DumpRenderTree.vcproj:
2101 2007-10-31 Adam Roben <aroben@apple.com>
2103 Switch the Debug configuration to using the non-debug CRT
2105 This matches WebKit.
2109 * DumpRenderTree/win/DumpRenderTree.vcproj:
2111 2007-10-31 Antti Koivisto <antti@apple.com>
2115 Disable media tests when doing leak checking on Tiger.
2116 They crash in QuickTime (rdar://problem/5537157).
2118 * Scripts/run-webkit-tests:
2120 2007-10-29 Antti Koivisto <antti@apple.com>
2124 Build media support by default on OSX only.
2126 * Scripts/build-webkit:
2128 2007-10-30 Kevin McCullough <kmccullough@apple.com>
2130 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
2131 get caught by the pre-commit hooks.
2133 2007-10-30 Kevin McCullough <kmccullough@apple.com>
2137 - This is a collection of relatively unrelated changes and cleanups
2138 to Drosera to prepare it for interacting with WebKit. A lot of these
2139 changes are just correcting mistakes, for example removing included
2140 headers that are no longer needed.
2142 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
2143 this will be needed by the DebuggerClient.
2144 (DebuggerDocument::server):
2145 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
2146 * Drosera/win/DebuggerClient.cpp:
2147 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
2148 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
2149 (DebuggerClient::createWebViewWithRequest): Added comment about its
2151 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
2153 (DebuggerClient::webViewLoaded): Moved.
2154 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
2155 file, since this was the only place it was used.
2157 * Drosera/win/Drosera.h: Cleaned up the includes.
2158 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
2159 * Drosera/win/HelperFunctions.h: Removed.
2161 2007-10-30 Kevin McCullough <kmccullough@apple.com>
2165 - Small cleanup in the ServerConnection class.
2167 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
2168 and added an include.
2169 (ServerConnection::currentFrame):
2170 (ServerConnection::getCallerFrame):
2171 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
2172 made a pointer into a COMPtr, and cleaned up the includes.
2174 2007-10-29 Timothy Hatcher <timothy@apple.com>
2176 Reviewed by John Sullivan.
2178 - Place the Localizable.strings file in mac or win directories
2179 if that location exists.
2180 - Also look for UI_STRING in .c files.
2182 * Scripts/extract-localizable-strings:
2184 2007-10-30 Kevin McCullough <kmccullough@apple.com>
2188 - Set the eol-style to native and made all the line endings the same
2189 so that I avoid messy diffs that show eol changes.
2191 * Drosera/win/ServerConnection.cpp:
2192 (ServerConnection::didParseSource):
2193 (ServerConnection::didEnterCallFrame):
2194 (ServerConnection::willExecuteStatement):
2195 (ServerConnection::willLeaveCallFrame):
2196 (ServerConnection::exceptionWasRaised):
2198 2007-10-30 Kevin McCullough <kmccullough@apple.com>
2202 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
2203 functionality that could not have existed previously without the new
2205 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
2206 from a BSTR to a JSValueRef.
2207 (DebuggerDocument::platformEvaluateScript): Implemented.
2208 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
2209 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2211 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
2212 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
2213 * Drosera/win/ServerConnection.cpp: Added a helper function.
2214 (ServerConnection::getCallerFrame):
2215 * Drosera/win/ServerConnection.h: Added a helper function.
2217 2007-10-29 Kevin McCullough <kmccullough@apple.com>
2219 updated reviewers for my previous changelog.
2221 2007-10-29 Kevin McCullough <kmccullough@apple.com>
2222 Reviewed by Maciej and Adam and Geoff.
2224 - Minor mac-side improvements including moving a function to a more
2225 appropriate location, fixing a warning, and correctly checking
2228 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
2229 (DebuggerDocument::willExecuteStatement):
2230 (DebuggerDocument::didEnterCallFrame):
2231 (DebuggerDocument::willLeaveCallFrame):
2232 (DebuggerDocument::windowScriptObjectAvailable):
2233 (DebuggerDocument::callFunctionOnObject):
2234 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
2235 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
2236 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
2237 because it doesn't require the ServerConnection at all.
2238 (NSStringCreateWithJSStringRef): Made an argument const.
2239 (JSValueRefCreateWithNSString): Made an argument const.
2240 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
2241 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2242 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
2243 * Drosera/mac/ServerConnection.mm: Ditto.
2244 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
2246 2007-10-29 Sam Weinig <sam@webkit.org>
2248 Reviewed by Adam Roben.
2250 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
2252 * DumpRenderTree/LayoutTestController.cpp:
2253 (LayoutTestController::LayoutTestController):
2254 (getGlobalFlagCallback):
2255 (setGlobalFlagCallback):
2256 (LayoutTestController::getJSClass):
2257 (LayoutTestController::staticValues):
2258 * DumpRenderTree/LayoutTestController.h:
2259 (LayoutTestController::globalFlag):
2260 (LayoutTestController::setGlobalFlag):
2262 2007-10-29 Darin Adler <darin@apple.com>
2266 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
2267 resolution instead of its default.
2269 2007-10-29 David Kilzer <ddkilzer@webkit.org>
2271 Fixed showStatus() to print status for successfully resolved conflicts when using git.
2273 Reviewed by Mark Rowe.
2275 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
2276 was successfully resolved, but this would not show any status because the change had
2277 already been cached in the index using "git add". The solution is to add an optional
2278 second argument to showStatus() which adds the "--cached" switch to the command.
2280 * Scripts/resolve-ChangeLogs:
2283 2007-10-28 Eric Seidel <eric@webkit.org>
2285 Reviewed by Maciej and Geoff, in unison.
2287 * Scripts/run-webkit-tests: remove broken --svg option
2289 2007-10-28 Darin Adler <darin@apple.com>
2293 * Scripts/run-sunspider: Default to "Release" configuration rather than
2294 defaulting to the last configuration used as other scripts do. This can
2295 still be overriden on the command line with "--debug" if there's some
2296 reason to do so. Also fix a typo.
2298 * Scripts/sunspider-compare-results: Fix a typo.
2300 2007-10-26 Kevin McCullough <kmccullough@apple.com>
2304 - Implemented the WebScriptDebugListener functions now that the
2305 WebScriptDebugServer exists
2307 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
2309 (ServerConnection::currentFrame):
2310 (ServerConnection::didLoadMainResourceForDataSource):
2311 (ServerConnection::didParseSource):
2312 (ServerConnection::failedToParseSource):
2313 (ServerConnection::didEnterCallFrame):
2314 (ServerConnection::willExecuteStatement):
2315 (ServerConnection::willLeaveCallFrame):
2316 (ServerConnection::exceptionWasRaised):
2317 * Drosera/win/ServerConnection.h: Removed unused arguments from the
2318 members arguments list.
2320 2007-10-26 David Kilzer <ddkilzer@webkit.org>
2322 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
2323 <http://bugs.webkit.org/show_bug.cgi?id=15600>
2327 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
2328 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
2329 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
2330 file. Note that it may also be used as a stand-alone script.
2332 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
2333 * Scripts/resolve-ChangeLogs: Added.
2334 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
2336 2007-10-26 Mark Rowe <mrowe@apple.com>
2338 Qt build fix. r27084 added a destructor implementation for LayoutTestController
2339 to the Qt port on the assumption that it was an implementation of the cross-platform
2340 LayoutTestController class. It is not, so it did not need to be changed.
2342 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
2344 2007-10-25 Mark Rowe <mrowe@apple.com>
2348 Fix builds with code coverage enabled.
2350 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
2352 2007-10-25 Darin Adler <darin@apple.com>
2354 Reviewed by Mark Rowe.
2356 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
2357 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
2359 2007-10-25 Stephanie <slewis@apple.com>
2363 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2365 2007-10-25 Stephanie <slewis@apple.com>
2367 Reviewed by Mark Rowe, Adam Roben.
2369 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
2371 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2373 2007-10-25 Alice Liu <alice.liu@apple.com>
2377 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
2379 Moving destructor into platform-specific files
2380 * DumpRenderTree/LayoutTestController.cpp:
2381 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2382 (LayoutTestController::~LayoutTestController):
2383 * DumpRenderTree/qt/jsobjects.cpp:
2384 (LayoutTestController::~LayoutTestController):
2386 LayoutTestController wasn't being destroyed
2387 * DumpRenderTree/win/DumpRenderTree.cpp:
2391 * DumpRenderTree/win/EditingDelegate.h:
2393 Reset certain values on the webview (or related delegate) that might
2394 have changed while running a test
2395 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2396 (LayoutTestController::~LayoutTestController):
2398 2007-10-25 Adam Roben <aroben@apple.com>
2400 Make sunspider-compare-results work with relative paths
2404 * Scripts/sunspider-compare-results: Convert arguments to absolute
2405 paths before we chdir.
2407 2007-10-25 Kevin McCullough <kmccullough@apple.com>
2411 - Implemented server calls now the WebScriptDebugServer exists.
2412 - Also removed no longer needed call to initialize CG.
2414 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
2417 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
2418 (ServerConnection::ServerConnection):
2419 (ServerConnection::~ServerConnection):
2420 (ServerConnection::pause):
2421 (ServerConnection::resume):
2422 (ServerConnection::stepInto):
2423 (ServerConnection::applicationTerminating):
2424 (ServerConnection::serverConnectionDidDie):
2425 * Drosera/win/ServerConnection.h: Now uses the COM class.
2427 2007-10-24 George Staikos <staikos@kde.org>
2431 * Scripts/build-webkit:
2433 2007-10-24 Adam Roben <aroben@apple.com>
2435 Remove now-unnecessary call to InitializeCoreGraphics
2437 WebKit takes care of this now.
2441 * DumpRenderTree/win/DumpRenderTree.cpp:
2444 2007-10-24 Adam Roben <aroben@apple.com>
2446 Use WebTextRenderer in DRT
2450 * DumpRenderTree/win/DumpRenderTree.cpp:
2451 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
2453 2007-10-24 Sven Herzberg <sven@imendio.com>
2455 Reviewed by Mark Rowe.
2457 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
2458 Bug 15614: [GTK] qmake based backends don't build on OS X
2460 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
2461 GTK backend on a Mac
2462 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
2463 isDarwin() to make it reusable in other places (like the workaround-
2464 for-prebuilt-qmake in build-webkit)
2466 2007-10-24 David Kilzer <ddkilzer@webkit.org>
2468 Refurbish update-webkit script.
2472 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
2473 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
2474 multi-argument version of system() for flexibility and security. Check for existence
2475 of Internal directory using -d test instead of -x.
2477 2007-10-24 David Kilzer <ddkilzer@webkit.org>
2479 Minor clean-up of prepare-ChangeLog script.
2483 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
2484 of a string. Use multi-argument versions of open() and system() for flexibility and
2487 2007-10-24 Alice Liu <alice.liu@apple.com>
2491 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
2493 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
2494 replay the saved events when we're still processing the mousedown that starts the drag
2495 * DumpRenderTree/win/EventSender.cpp:
2497 * DumpRenderTree/win/UIDelegate.cpp:
2498 (UIDelegate::doDragDrop):
2500 2007-10-24 Kevin McCullough <kmccullough@apple.com>
2502 Reviewed by Sam, Steve and Darin.
2504 - Stubbed out the WebScriptDebugListener functionality in the Server
2505 Connection class to prepare it for receiving those callbacks.
2506 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
2507 and the ServerConnection to not need to be initialized with a server
2508 name, since that is not the way we connect to the WebKit server.
2510 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
2511 no exception. Now it only loggs when there is an exception
2512 (DebuggerDocument::willExecuteStatement):
2513 (DebuggerDocument::didEnterCallFrame):
2514 (DebuggerDocument::willLeaveCallFrame):
2515 (DebuggerDocument::windowScriptObjectAvailable):
2516 (DebuggerDocument::callFunctionOnObject):
2517 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
2518 to be instantiated with a server's name.
2519 (DebuggerClient::DebuggerClient):
2520 (DebuggerClient::didFinishLoadForFrame):
2521 * Drosera/win/DebuggerClient.h: Removed unsued variable.
2522 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
2525 (Drosera::initServer):
2526 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
2527 instantiated with a server's name.
2528 * Drosera/win/ServerConnection.cpp:
2529 (ServerConnection::ServerConnection): No longer needs a server name
2530 (ServerConnection::~ServerConnection): Only release the global context
2532 (ServerConnection::serverConnectionDidDie): Stub for
2533 IWebScriptDebugListener
2534 (ServerConnection::QueryInterface): ditto
2535 (ServerConnection::AddRef): ditto
2536 (ServerConnection::Release): ditto
2537 (ServerConnection::didLoadMainResourceForDataSource): ditto
2538 (ServerConnection::didParseSource): ditto
2539 (ServerConnection::failedToParseSource): ditto
2540 (ServerConnection::didEnterCallFrame): ditto
2541 (ServerConnection::willExecuteStatement): ditto
2542 (ServerConnection::willLeaveCallFrame): ditto
2543 (ServerConnection::exceptionWasRaised): ditto
2544 * Drosera/win/ServerConnection.h: Stubbed out the
2545 IWebScriptDebugListener functions, and this class no longer needs to be
2546 instantiated with a server name.
2548 2007-10-24 Lars Knoll <lars@trolltech.com>
2552 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
2554 * DumpRenderTree/qt/jsobjects.h:
2556 2007-10-24 Lars Knoll <lars@trolltech.com>
2560 add another command.
2562 * DumpRenderTree/qt/jsobjects.cpp:
2563 (TextInputController::doCommand):
2565 2007-10-24 Lars Knoll <lars@trolltech.com>
2569 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
2571 * DumpRenderTree/qt/jsobjects.cpp:
2572 (EventSender::keyDown):
2573 * DumpRenderTree/qt/jsobjects.h:
2575 2007-10-24 Lars Knoll <lars@trolltech.com>
2579 implement eventSender.keyDown().
2581 * DumpRenderTree/qt/jsobjects.cpp:
2582 (EventSender::keyDown):
2584 2007-10-24 Lars Knoll <lars@trolltech.com>
2588 some smaller fixes to the editing support in DRT. Makes another few tests pass.
2590 * DumpRenderTree/qt/DumpRenderTree.cpp:
2591 (WebCore::DumpRenderTree::DumpRenderTree):
2592 (WebCore::DumpRenderTree::initJSObjects):
2593 * DumpRenderTree/qt/jsobjects.cpp:
2594 (TextInputController::doCommand):
2596 2007-10-24 Lars Knoll <lars@trolltech.com>
2600 first bit of implementation for the textinputcontroller.
2602 * DumpRenderTree/qt/DumpRenderTree.cpp:
2603 (WebCore::DumpRenderTree::DumpRenderTree):
2604 * DumpRenderTree/qt/DumpRenderTree.h:
2605 * DumpRenderTree/qt/jsobjects.cpp:
2606 (TextInputController::TextInputController):
2607 (TextInputController::doCommand):
2608 * DumpRenderTree/qt/jsobjects.h:
2610 2007-10-24 Lars Knoll <lars@trolltech.com>
2614 make the man webpage believe it has focus, so the editing tests work correctly.
2616 * DumpRenderTree/qt/DumpRenderTree.cpp:
2617 (WebCore::DumpRenderTree::DumpRenderTree):
2619 2007-10-24 Lars Knoll <lars@trolltech.com>
2623 implement layoutTestController.dumpEditingCallbacks() correctly.
2625 * DumpRenderTree/qt/DumpRenderTree.cpp:
2626 (WebCore::DumpRenderTree::DumpRenderTree):
2627 * DumpRenderTree/qt/jsobjects.cpp:
2628 (LayoutTestController::reset):
2629 (LayoutTestController::dumpEditingCallbacks):
2631 2007-10-24 Lars Knoll <lars@trolltech.com>
2635 Implement support for testing editing.
2637 * DumpRenderTree/qt/DumpRenderTree.cpp:
2638 (WebCore::DumpRenderTree::DumpRenderTree):
2640 2007-10-23 Sam Weinig <sam@webkit.org>
2642 Check for null BSTR that can be passed to the UIDelegate methods
2643 from javascript null and undefined. Fixes a failing test case on
2644 Windows (fast/dom/Window/alert-undefined.html)
2646 Reviewed by Eric Seidel.
2648 * DumpRenderTree/win/UIDelegate.cpp:
2649 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2650 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2651 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2652 (UIDelegate::webViewAddMessageToConsole):
2654 2007-10-23 Maciej Stachowiak <mjs@apple.com>
2658 Don't print a massive pile of setenvs from tools that automatically build testkjs.
2660 * Scripts/build-testkjs:
2662 2007-10-23 Maciej Stachowiak <mjs@apple.com>
2666 - add wrapper that finds the right copy of testkjs
2668 * Scripts/sunspider-compare-results: Added.
2670 2007-10-23 Kevin McCullough <kmccullough@apple.com>
2674 - After talking with Steve I now see that the WebKit server must be
2675 running for DCOM to create the distributed objects, which makes sense
2676 and currently WebKit only allows one instance to be running at a time
2677 which avoids accidentally connecting to the wrong server
2678 - In light of this I have removed the code for the attach box and
2679 NotificationServer and known server names, since they are all extranious
2682 * Drosera/win/Drosera.cpp: Removed notification classes and known server
2684 (_tWinMain): Uses init instead of initUI.
2685 (droseraWndProc): No longer creats an attach dialog box.
2686 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
2687 it's not manditory to call init before doing COM stuff.
2688 (Drosera::init): calls initUI and will call attach when the
2689 functionality exists.
2690 (Drosera::initUI): Has changed very little.
2691 (Drosera::attach): Changed the signature to reflect that we no longer
2692 need the dictionary of known server names.
2693 * Drosera/win/Drosera.h: Removed notification classes and known server
2694 names. Also renamed and moved some functions.
2695 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
2696 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
2697 headers to the resources folder.
2698 * Drosera/win/resource.h: Removed the Attach box.
2700 2007-10-22 Adam Roben <aroben@apple.com>
2704 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
2706 2007-10-22 Kevin McCullough <kmccullough@apple.com>
2708 - Removed a leak that was fixed.
2710 * Scripts/run-webkit-tests:
2712 2007-10-19 Kevin McCullough <kmccullough@apple.com>
2716 - Changed the Client so that the DebuggerDocument now own the
2717 ServerConnection. This simplifies ownership and cleanup.
2719 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
2721 (DebuggerClient::initWithServerName):
2722 (DebuggerClient::didFinishLoadForFrame):
2723 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
2725 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
2726 until after we have a server which we are attached to.
2729 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
2732 2007-10-22 Simon Hausmann <hausmann@kde.org>
2734 Reviewed by Nikolas.
2736 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
2738 * Scripts/run-javascriptcore-tests:
2740 2007-10-22 Simon Hausmann <hausmann@kde.org>
2742 Reviewed by Nikolas.
2744 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.
2746 * Scripts/build-drosera:
2747 * Scripts/build-dumprendertree:
2748 * Scripts/build-testkjs:
2749 * Scripts/build-webkit:
2750 * Scripts/run-javascriptcore-tests:
2751 * Scripts/run-sunspider:
2752 * Scripts/run-webkit-tests:
2753 * Scripts/webkitdirs.pm:
2755 2007-10-22 Andrew Wellington <proton@wiretapped.net>
2757 Reviewed by Mark Rowe.
2759 Fix for local database support after r26879
2760 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
2762 * Scripts/build-webkit:
2764 2007-10-22 Holger Freyther <zecke@selfish.org>
2766 Reviewed by Simon Hausmann <hausmann@kde.org>.
2768 - Do not build testkjs as an application bundle. This is
2769 needed for run-javascriptcore-tests on OSX.
2770 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
2771 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
2772 as we do not have -rpath on OSX.
2774 * DumpRenderTree/qt/DumpRenderTree.pro:
2775 * Scripts/run-webkit-tests:
2777 2007-10-22 Simon Hausmann <hausmann@kde.org>
2781 Fix support for Signed-off-by detection in prepare-ChangeLog
2782 --git-commit. The Signed-off-by tag does not appear in the header
2783 but usually at the end.
2785 * Scripts/prepare-ChangeLog:
2787 2007-10-21 Mark Rowe <mrowe@apple.com>
2791 Fix run-javascriptcore-tests for Gtk.
2793 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
2795 2007-10-20 Eric Seidel <eric@webkit.org>
2799 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
2801 2007-10-20 Eric Seidel <eric@webkit.org>
2805 Add improved argument handling to run-sunspider, including
2806 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
2807 Also re-factor code into subroutines
2809 * Scripts/build-dumprendertree: removed bogus comments
2810 * Scripts/build-testkjs: Added.
2811 * Scripts/run-javascriptcore-tests: use build-testkjs
2812 * Scripts/run-sunspider: improved argument handling, abstraction
2813 * Scripts/run-webkit-tests: improved abstraction
2815 2007-10-20 Matt Lilek <webkit@mattlilek.com>
2817 Not reviewed, Windows build fix.
2819 * DumpRenderTree/win/EventSender.cpp:
2822 2007-10-20 Darin Adler <darin@apple.com>
2824 Reviewed by Tim Hatcher.
2826 - http://bugs.webkit.org/show_bug.cgi?id=15544
2827 <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
2828 not rely on Apple-specific key codes
2830 * DumpRenderTree/mac/EventSendingController.mm:
2831 (-[EventSendingController keyDown:withModifiers:]):
2832 Added named key "rightArrow". Later we could have a whole table of these.
2833 Also tweaked modifiers code a little.
2835 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
2837 2007-10-19 Darin Adler <darin@apple.com>
2841 - http://bugs.webkit.org/show_bug.cgi?id=15566
2842 possible fix for leak seen in DumpRenderTree
2844 * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
2845 Delete the item if it's not put on the queue, since the caller has
2846 no way of knowing that. Would be better to have the parameter type
2847 be auto_ptr to express the fact that we take ownership.
2851 * Drosera/mac/main.m: Add missing include.
2853 2007-10-19 Kevin McCullough <kmccullough@apple.com>
2857 - This change should be identical but for some reason was not working
2860 * Scripts/prepare-ChangeLog:
2862 2007-10-19 Kevin McCullough <kmccullough@apple.com>
2864 Reviewed by Oliver and Tim.
2866 - Made use of RetainPtr to avoid retain and release issues and moved the
2867 log function to DebuggerDocumentPlatform, which seems to be a more
2868 logical place for it to live.
2869 - Also moved knownServers from the ServerConnection to
2870 DebuggerApplication to match the Windows code and because it makes sense
2871 that a connection knows its own server but not all of them.
2873 * Drosera/mac/DebuggerClient.h: Moved the log function to
2874 DebuggerDocumentPlatform.
2875 * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
2876 Because it's owned by an own Ptr in DebuggerDocument. Also moved the
2877 call for the server name up from the ServerConnection class.
2878 (-[DebuggerClient dealloc]):
2879 (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
2880 for the server name up from the ServerConnection.
2881 * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
2882 (DebuggerDocument::platformPause):
2883 (DebuggerDocument::platformResume):
2884 (DebuggerDocument::platformStepInto):
2885 (DebuggerDocument::platformEvaluateScript):
2886 (DebuggerDocument::getPlatformCurrentFunctionStack):
2887 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2888 (DebuggerDocument::platformValueForScopeVariableNamed):
2889 (DebuggerDocument::platformLog): Log directly from here. No need to call
2891 * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
2892 way I see it, a ServerConnection should only know about its connection
2893 and the group of all possible servers should be kept by the
2895 * Drosera/mac/ServerConnection.mm: Removed knownServer but added
2896 currentServerName, it makes sense that the connection should know that
2898 (-[ServerConnection currentServerName]):
2900 2007-10-19 Kevin McCullough <kmccullough@apple.com>
2904 - Integrated changes from mac drosera. Recently I've encapsulated
2905 out the server connection object from the rest of Drosera because
2906 it is very platform dependent right now and RPC is not implemented on
2907 windows. This functionality, of communicating with the WebKit server
2908 is the next area I will be focusing on in Windows.
2910 - Other changes and cleanup were made to organize the code and add notes
2911 on which parts still need work. Also some mac code is added and
2912 commented out, to act as pseudocode for the logic of those parts.
2914 * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
2916 * Drosera/config.h: Added whitespace.
2917 * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
2918 these files got moved into Drosera.h/cpp
2919 * Drosera/win/DebuggerApplication.h: Removed.
2920 * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
2921 happened here to better match the logic flow of the same code on the
2922 mac side and to use the new ServerConnection class.
2923 (DebuggerClient::DebuggerClient): Constructor that takes a server name.
2924 (DebuggerClient::initWithServerName): Initializer that will set up the
2925 class to use a ServerConnection object. This was necessary so I could
2926 create a DebuggerClient without having to initilaize it at
2928 (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
2929 will be the UIDelegate and FrameLoadDelegate.
2930 (DebuggerClient::AddRef): For IUnknown.
2931 (DebuggerClient::Release): For IUnknown.
2932 (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
2933 this still needs to set the global context of the server, but
2934 IWebFrame does not have an accessor for the global context yet.
2935 (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
2936 this is a pass through for the same function in the document.
2937 (DebuggerClient::didReceiveTitle): Unimplemented part of
2938 FrameLoadDelegate this would change the title of the window.
2939 (DebuggerClient::createWebViewWithRequest): Part of the
2940 FrameLoadDelegate. This is about new windows via Window.open() and
2941 how their delegates are set.
2942 (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
2943 UIDelegate. Just a debug function for printing messages.
2944 * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
2945 because the Client should be the UIDelegate and FrameLoadDelegate
2946 to match the delegates on mac.
2947 (DebuggerClient::webViewLoaded): Added accessor method.
2948 * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
2949 forgotten to add this file before. This is where the platform
2950 dependent versions of the Documents functions live. Most of these are
2951 unimplemented because some piece of functionality does not exist on
2953 (DebuggerDocument::platformPause):
2954 (DebuggerDocument::platformResume):
2955 (DebuggerDocument::platformStepInto):
2956 (DebuggerDocument::platformEvaluateScript):
2957 (DebuggerDocument::getPlatformCurrentFunctionStack):
2958 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2959 (DebuggerDocument::platformValueForScopeVariableNamed):
2960 (DebuggerDocument::platformLog):
2961 * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
2962 responsibilities becaue they belong in the Client. Also I laid the
2963 groundwork for attaching Drosera to a WebKit process
2964 (attachWndProc): Now if a server is selected the Client becomes it's
2966 (Drosera::Drosera): Added the construction of the Client and dictionary
2968 (Drosera::initUI): This is no longer the delegates, the Client is.
2969 (Drosera::webViewLoaded): Now asks the Client instead of holding local
2971 (Drosera::applicationDidFinishLaunching): Placeholder for needed
2972 notification registration when it's possible to implement.
2973 (Drosera::serverLoaded): Ditto
2974 (Drosera::serverUnloaded): Ditto
2975 (Drosera::attach): Attach Drosera to the WebKit server.
2976 * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
2979 (Drosera::knownServers):
2980 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
2981 and added the ServerConnection.
2982 * Drosera/win/DroseraPrefix.h: Added an ifndef check.
2983 * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
2984 Most of the functions are completely unimlemented because they cannot
2985 connect with the WebKit server, because one does not exist on Windows
2987 (ServerConnection::initWithServerName):
2988 (ServerConnection::~ServerConnection):
2989 (ServerConnection::setGlobalContext):
2990 (ServerConnection::pause):
2991 (ServerConnection::resume):
2992 (ServerConnection::stepInto):
2993 (ServerConnection::switchToServerNamed):
2994 (ServerConnection::applicationTerminating):
2995 (ServerConnection::serverConnectionDidDie):
2996 (ServerConnection::currentFrame):
2997 * Drosera/win/ServerConnection.h: Added. Ditto.
2998 (ServerConnection::ServerConnection):
3000 2007-10-19 Alice Liu <alice.liu@apple.com>
3004 Fix for these broken layout tests on Windows:
3006 fast/forms/focus-selection-input.html
3007 fast/forms/focus-selection-textarea.html
3008 fast/forms/select-accesskey.html
3010 * DumpRenderTree/win/EventSender.cpp:
3012 correct the VK code for alt key.
3014 2007-10-19 Eric Seidel <eric@webkit.org>
3016 Reviewed by Mark Rowe.
3018 Make the GtkLauncher code slightly more readable.
3020 * GtkLauncher/main.cpp:
3021 (setupMainMenu): Added.
3022 (setupMainWindowUI): Added.
3025 2007-10-19 Maciej Stachowiak <mjs@apple.com>
3027 Rubber stamped by Adam.
3029 - don't delay-load WebKit in DumpRenderTree.
3031 * DumpRenderTree/win/DumpRenderTree.vcproj:
3033 2007-10-18 Dan Bernstein <mitz@apple.com>
3035 Reviewed by Adam Roben.
3037 - fix <rdar://problem/5313523>
3038 REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
3040 * DumpRenderTree/mac/DumpRenderTree.mm:
3041 (dump): Changed to use _responseMIMEType.
3043 2007-10-17 Adam Roben <aroben@apple.com>
3045 Make it possible to have Windows-specific tests and results
3047 When searching for tests to run and the Skipped file, we will only
3048 look in platform/win and the cross-platform directory. When looking
3049 for expected results, we will look in platform/win, then
3050 platform/mac-leopard, then platform/mac, then finally the
3051 cross-platform directory.
3055 * Scripts/run-webkit-tests:
3056 (sub expectedDirectoryForTest): Search in mac-leopard and mac before
3057 searching in the cross-platform directory.
3058 (sub buildPlatformHierarchy): Removed some unneeded calls to
3061 2007-10-17 Adam Roben <aroben@apple.com>
3063 Add back the call to register WebKit that we had before WebKitInitializer existed
3065 This is needed to ensure that the right WebKit is used when
3066 instantiating COM objects.
3070 * DumpRenderTree/win/debug_internal.vsprops: Define
3071 DEBUG_WEBKIT_HAS_SUFFIX.
3072 * DumpRenderTree/win/DumpRenderTree.cpp:
3075 2007-10-17 Adam Roben <aroben@apple.com>
3077 Import File::Basename in webkitdirs since we use it
3079 * Scripts/webkitdirs.pm:
3081 2007-10-17 Kevin McCullough <kmccullough@apple.com>
3083 - Updated the tiger leaks list to make the internal bots green.
3085 * Scripts/run-webkit-tests:
3087 2007-10-17 Adam Roben <aroben@apple.com>
3089 Build fix for VC++ Express
3091 * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
3094 2007-10-16 Kevin McCullough <kmccullough@apple.com>
3098 - Minor mac improvements based on observations I made while implementing the
3101 * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
3102 then hand it to the Client who will retain it, it should just be the client who
3103 creates and owns the server.
3104 (-[DebuggerApplication attach:]):
3105 * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
3106 * Drosera/mac/DebuggerClient.mm: Creates the server.
3107 (-[DebuggerClient initWithServerName:]):
3108 * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
3109 can instead forward declare what it needs.
3111 2007-10-16 Darin Adler <darin@apple.com>
3113 Reviewed by Geoff Garen.
3115 * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
3116 want to turn failing tests into platform-specific test results. Also did a
3117 number of tweaks, including fixing a potential bug where expectedDirectoryForTest
3118 would take the type of results into account only some of the time.
3120 2007-10-16 Adam Roben <aroben@apple.com>
3122 Add a new nightly launcher script for Windows
3124 This new script is for versions of Safari that don't delay-load
3125 WebKit. I had to make FindSafari be able to print out the nightly
3126 launcher script on stdout because Windows shell scripts can't capture
3127 the output from a command into an environment variable.
3131 * FindSafari/FindSafari.cpp:
3132 (_tmain): Added /printSafariLauncher option.
3133 * Scripts/run-webkit-nightly.cmd: Added.
3135 2007-10-16 Adam Roben <aroben@apple.com>
3137 Replace WebKitInitializer with FindSafari
3139 We now rely on setting the PATH environment variable to tell Windows
3140 where to find WebKit and its dependencies (similar to
3141 DYLD_FRAMEWORK_PATH on Mac).
3143 This change also make DumpRenderTree no longer delay-load WebKit.
3147 * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
3149 * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
3150 * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
3151 WebKitInitializer, don't delay-load WebKit.
3152 * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
3153 * Scripts/run-webkit-tests: Ditto.
3154 * Scripts/webkitdirs.pm:
3155 (sub setPathForRunningWebKitApp): Added.
3156 * WebKitInitializer/WebKitInitializer.cpp: Removed.
3157 * WebKitInitializer/WebKitInitializer.h: Removed.
3158 * WebKitInitializer/WebKitInitializer.vcproj: Removed.
3159 * WebKitInitializer/debug.vsprops: Removed.
3160 * WebKitInitializer/debug_internal.vsprops: Removed.
3161 * WebKitInitializer/release.vsprops: Removed.
3163 2007-10-16 Adam Roben <aroben@apple.com>
3165 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
3167 http://bugs.webkit.org/show_bug.cgi?id=15532
3169 FindSafari simply prints the location of an installed Safari.exe on
3174 * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
3177 (getInstalledWebKitDirectory):
3179 * FindSafari/FindSafari.vcproj: Added.
3180 * Scripts/webkitdirs.pm:
3181 (sub installedSafariPath): Added. Calls FindSafari on Windows.
3183 2007-10-16 Adam Roben <aroben@apple.com>
3185 Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
3187 Reviewed by Kevin McCullough.
3189 * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
3190 when referring to WebKit.dll.
3191 * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
3192 * DumpRenderTree/win/debug_internal.vsprops: Ditto.
3193 * DumpRenderTree/win/release.vsprops: Ditto.
3194 * Scripts/run-safari: Don't pass /debug to Safari anymore because we
3195 never have a _debug suffix on WebKit.dll.
3196 * WebKitInitializer/WebKitInitializer.cpp:
3197 (initializeWebKit): Only use the _debug suffix for WebKit.dll when
3199 * WebKitInitializer/debug_internal.vsprops: Added
3200 DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
3202 2007-10-16 Darin Adler <darin@apple.com>
3206 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
3207 Remove now-unneeded control/alt key hack; the tests have been updated.
3209 2007-10-16 Kevin McCullough <kmccullough@apple.com>
3211 - Updated leaks list because our internal bot upgraded it's version of leopard and
3212 one of the leaks was fixed between that revision and the bot's previous version of
3215 * Scripts/run-webkit-tests:
3217 2007-10-15 Kevin McCullough <kmccullough@apple.com>
3221 - I encapsulated out the server connecton functionality because it is a specific part
3222 of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
3223 into WebCore and C++. But if it is encapsulated out it can be easily replaced on
3224 Windows. So the majority of this patch is moving preexisting functionality.
3226 - Also I removed the prefix header and changed to use config.h because it is more
3227 standard on how we use config.h in windows and it didn't make much sense to keep
3228 the prefix header and the config.h
3230 * Drosera/DebuggerDocument.cpp:
3231 (DebuggerDocument::DebuggerDocument):
3232 * Drosera/DebuggerDocument.h:
3234 * Drosera/mac/DebuggerApplication.mm:
3235 (-[DebuggerApplication attach:]):
3236 * Drosera/mac/DebuggerClient.h:
3237 * Drosera/mac/DebuggerClient.mm:
3238 (-[DebuggerClient initWithServerConnection:]):
3239 (-[DebuggerClient dealloc]):
3240 (-[DebuggerClient windowDidLoad]):
3241 (-[DebuggerClient windowWillClose:]):
3242 (-[DebuggerClient webView:didFinishLoadForFrame:]):
3243 (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
3244 * Drosera/mac/DebuggerDocumentPlatform.mm:
3245 (DebuggerDocument::platformPause):
3246 (DebuggerDocument::platformResume):
3247 (DebuggerDocument::platformStepInto):
3248 (DebuggerDocument::platformEvaluateScript):
3249 (DebuggerDocument::getPlatformCurrentFunctionStack):
3250 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3251 (DebuggerDocument::platformValueForScopeVariableNamed):
3252 (DebuggerDocument::platformLog):
3253 * Drosera/mac/Drosera.pch: Removed.
3254 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3255 * Drosera/mac/ServerConnection.h: Added.
3256 * Drosera/mac/ServerConnection.mm: Added.
3257 (-[ServerConnection initWithServerName:]):
3258 (-[ServerConnection dealloc]):
3259 (-[ServerConnection setGlobalContext:]):
3260 (-[ServerConnection pause]):
3261 (-[ServerConnection resume]):
3262 (-[ServerConnection stepInto]):
3263 (-[ServerConnection switchToServerNamed:]):
3264 (-[ServerConnection applicationTerminating:]):
3265 (-[ServerConnection serverConnectionDidDie:]):
3266 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
3267 (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3268 (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
3269 (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3270 (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3271 (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3272 (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3273 (-[ServerConnection currentFrame]):
3274 (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
3275 (-[ServerConnection knownServers]):
3277 2007-10-15 David Kilzer <ddkilzer@webkit.org>
3281 - fix http://bugs.webkit.org/show_bug.cgi?id=15002
3282 Script to automatically search nightly builds for regressions (bisect-builds)
3284 * Scripts/bisect-builds: Added.
3286 2007-10-14 Maciej Stachowiak <mjs@apple.com>
3290 - New JavaScript benchmark
3291 http://bugs.webkit.org/show_bug.cgi?id=15515
3293 * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
3294 current development or release build of JavaScriptCore.
3296 2007-10-15 Mark Rowe <mrowe@apple.com>
3300 Fix 'run-webkit-tests --qt' complaining about the --qt argument.
3302 * Scripts/webkitdirs.pm:
3303 - Change checkArgv to remove the options from @ARGV to prevent
3304 them from interfering with further option processing.
3305 - Fix logic error in determineIsQt that would prevent it from bailing out early.
3306 - Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
3307 already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
3308 incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
3310 2007-10-15 Darin Adler <darin@apple.com>
3314 - added logging of window.prompt and window.confirm
3316 * DumpRenderTree/mac/UIDelegate.mm:
3317 (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
3318 Implement the recommended delegate rather than the deprecated one.
3319 (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
3321 (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
3324 * DumpRenderTree/win/UIDelegate.h:
3325 * DumpRenderTree/win/UIDelegate.cpp:
3326 (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
3327 (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
3328 (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
3329 (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
3331 2007-10-15 Alice Liu <alice.liu@apple.com>
3333 Reviewed by Sam Weinig.
3335 Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
3337 * DumpRenderTree/win/DumpRenderTree.cpp:
3338 (runTest): Like on mac, before running each test, set the webview's policy delegate to null
3339 (main): allocate the global policy delegate for DRT's custom use
3340 * DumpRenderTree/win/DumpRenderTree.vcproj:
3341 Adding files to project
3342 * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
3343 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3344 (LayoutTestController::setCustomPolicyDelegate):
3345 set the webview's policy delegate to DRT's custom one if the test requests it.
3346 * DumpRenderTree/win/PolicyDelegate.cpp: Added.
3347 Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
3348 (PolicyDelegate::PolicyDelegate):
3349 (PolicyDelegate::QueryInterface):
3350 (PolicyDelegate::AddRef):
3351 (PolicyDelegate::Release):
3352 (PolicyDelegate::decidePolicyForNavigationAction):
3353 * DumpRenderTree/win/PolicyDelegate.h: Added.
3354 (PolicyDelegate::decidePolicyForNewWindowAction):
3355 (PolicyDelegate::decidePolicyForMIMEType):
3356 (PolicyDelegate::unableToImplementPolicyWithError):
3358 2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
3362 * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
3363 when querying for QMAKE_MKSPECS.
3365 2007-10-14 Andrew Wellington <proton@wiretapped.net>
3367 Reviewed by Adam Roben.
3369 Fix run-webkit-tests is too greedy calculating platform hierarchy
3370 http://bugs.webkit.org/show_bug.cgi?id=15465
3372 Fix run-webkit-tests being too greedy in trying to split the platform name up
3373 causing it to try and find tests in every directory above the first "-" in the
3374 path to the LayoutTests
3376 * Scripts/run-webkit-tests:
3378 2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
3382 http://bugs.webkit.org/show_bug.cgi?id=15006
3383 Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
3384 to reduce code duplication.
3386 * Scripts/build-webkit:
3387 * Scripts/webkitdirs.pm:
3388 buildQMakeProject() renamed to buildQMakeQtProject().
3389 buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
3390 unused $colorize has been removed.
3392 === Start merge of feature-branch 2007-10-12 ===
3394 2007-10-08 Eric Seidel <eric@webkit.org>
3396 Reviewed by Mark Rowe.
3398 * Scripts/build-webkit: add --help, remove unused --color
3400 2007-10-07 Eric Seidel <eric@webkit.org>
3404 * Drosera/mac/DebuggerDocumentPlatform.mm:
3405 (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
3407 2007-10-03 Rob Buis <buis@kde.org>
3411 Adapt to changed location of Ahem font.
3413 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3415 2007-10-02 Eric Seidel <eric@webkit.org>
3417 Reviewed by Adam Roben.
3419 Make pixel tests more useful!
3420 Finally fix the image diff 0.00% mystery problem
3421 Highlight any image differences in the image diff.
3422 Add a link from image diffs back to original test file.
3424 * DumpRenderTree/mac/ImageDiff.m:
3425 (compareImages): highlight any differences
3426 (computePercentageDifferent): round to two decimal places
3427 * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
3429 2007-10-02 Eric Seidel <eric@webkit.org>
3431 Reviewed by Alexey Proskuryakov.
3433 * Scripts/run-webkit-tests: print the % image difference on main results page
3435 2007-10-02 Mark Rowe <mrowe@apple.com>
3439 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
3441 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
3442 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
3444 2007-10-01 Mark Rowe <mrowe@apple.com>
3446 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
3448 2007-09-25 Eric Seidel <eric@webkit.org>
3450 Reviewed by Mark Rowe.
3452 DerivedSources.make was finding "ENABLE_SVG" in the string
3453 "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
3456 * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
3458 2007-09-25 Mark Rowe <mrowe@apple.com>
3460 Rubber-stamped by Eric.
3462 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
3463 This makes it possible to automate nightly builds for the feature-branch.
3465 2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
3467 Rubber stamped by Mark.
3469 Enable svg experimental features as default here in feature-branch.
3471 * Scripts/build-webkit:
3473 2007-06-29 Antti Koivisto <antti@apple.com>
3477 Add VIDEO flag for timed media features
3479 * Scripts/build-webkit
3481 === End merge of feature-branch 2007-10-12 ===
3483 2007-10-11 Kevin McCullough <kmccullough@apple.com>
3487 - Updated rational for the leaks list to be more clear.
3489 * Scripts/run-webkit-tests:
3491 2007-10-11 Kevin McCullough <kmccullough@apple.com>
3493 Rubber Stamp by Sam.
3495 Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
3496 I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
3498 * Scripts/run-webkit-tests:
3500 2007-10-10 Simon Hausmann <hausmann@kde.org>
3504 Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
3505 includes are needed for INT_MAX, std::auto_ptr and the like.
3507 * DumpRenderTree/qt/main.cpp:
3509 2007-10-09 Lars Knoll <lars@trolltech.com>
3513 implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
3515 * DumpRenderTree/qt/jsobjects.cpp:
3516 (LayoutTestController::encodeHostName):
3517 (LayoutTestController::decodeHostName):
3518 * DumpRenderTree/qt/jsobjects.h:
3520 2007-10-09 Lars Knoll <lars@trolltech.com>
3524 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.
3526 * DumpRenderTree/qt/DumpRenderTree.cpp:
3527 (WebCore::WebPage::createFrame):
3528 (WebCore::DumpRenderTree::DumpRenderTree):
3529 (WebCore::DumpRenderTree::titleChanged):
3530 * DumpRenderTree/qt/DumpRenderTree.h:
3531 * DumpRenderTree/qt/jsobjects.cpp:
3532 (LayoutTestController::reset):
3533 * DumpRenderTree/qt/jsobjects.h:
3535 2007-10-09 Lars Knoll <lars@trolltech.com>
3539 add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
3541 * DumpRenderTree/qt/DumpRenderTree.h:
3542 * DumpRenderTree/qt/jsobjects.cpp:
3543 (LayoutTestController::clearBackForwardList):
3544 * DumpRenderTree/qt/jsobjects.h:
3546 2007-10-09 Lars Knoll <lars@trolltech.com>
3550 make --git-reviewer work again.
3552 * Scripts/prepare-ChangeLog:
3554 2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
3556 Rubber stamped by Eric.
3558 Connect to the "hovering-over-link" signal emitted by WebKitPage and
3559 show the current link inside the statusbar.
3560 This shows how to make use of this signal and allows to easily test
3561 http://bugs.webkit.org/show_bug.cgi?id=15299.
3563 * GtkLauncher/main.cpp:
3567 2007-10-05 Lars Knoll <lars@trolltech.com>
3569 add proper error messages to the FrameLoaderClient.
3570 Implement ChromeClientQt::closeWindowSoon and
3571 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
3572 Some fixes in DRT to make it work correctly with multiple windows.
3576 * DumpRenderTree/qt/DumpRenderTree.cpp:
3577 (WebCore::DumpRenderTree::DumpRenderTree):
3578 (WebCore::DumpRenderTree::createWindow):
3579 (WebCore::DumpRenderTree::windowCount):
3580 * DumpRenderTree/qt/DumpRenderTree.h:
3581 * DumpRenderTree/qt/jsobjects.cpp:
3582 (LayoutTestController::maybeDump):
3583 (LayoutTestController::windowCount):
3584 * DumpRenderTree/qt/jsobjects.h:
3586 2007-10-05 Lars Knoll <lars@trolltech.com>
3588 Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
3589 Add support for layoutTextController.setCanOpenWindows() to DRT
3590 fixing another 2 test cases in fast/dom/Window.
3594 * DumpRenderTree/qt/DumpRenderTree.cpp:
3595 (WebCore::WebPage::WebPage):
3596 (WebCore::WebPage::createWindow):
3597 (WebCore::DumpRenderTree::resetJSObjects):
3598 (WebCore::DumpRenderTree::createWindow):
3599 * DumpRenderTree/qt/DumpRenderTree.h:
3600 * DumpRenderTree/qt/DumpRenderTree.pro:
3601 * DumpRenderTree/qt/jsobjects.cpp:
3602 (LayoutTestController::LayoutTestController):
3603 (LayoutTestController::reset):
3604 * DumpRenderTree/qt/jsobjects.h:
3605 * DumpRenderTree/qt/main.cpp:
3606 * DumpRenderTree/qt/testplugin.cpp: Added.
3607 * DumpRenderTree/qt/testplugin.h: Added.
3609 2007-10-04 Sam Weinig <sam@webkit.org>
3611 Rubber stamped by Adam.
3613 Remove empty directories.
3615 * DumpRenderTree/DumpRenderTree.qtproj: Removed.
3616 * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
3618 2007-10-03 Darin Adler <darin@apple.com>
3622 * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
3623 we find the internal libraries in the libraries directory. This
3624 is helpful for Safari team engineers at Apple.
3626 2007-10-03 Adam Roben <aroben@apple.com>
3628 Update the location of AHEM___.TTF after r25968
3632 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3634 2007-10-03 Alp Toker <alp@atoker.com>
3638 http://bugs.webkit.org/show_bug.cgi?id=14726
3639 [gtk] API design. Mapping the WebView delegates to signals.
3641 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
3643 * GtkLauncher/main.cpp:
3647 (menuMainBackCallback):
3648 (menuMainForwardCallback):
3651 2007-10-03 Lars Knoll <lars@trolltech.com>
3655 This fixes --strict mode in run-webkit-tests again after
3656 the platform dependent test results have been moved.
3658 * Scripts/run-webkit-tests:
3660 2007-10-03 Lars Knoll <lars@trolltech.com>
3664 remove the hack in run-webkit-tests that forced text only test
3665 to be taken from the platform independent dir. It was only left
3666 there from early days.
3668 Remove platform dependent results for tests that are text only nowadays,
3669 and add one platform dependent result for a text only test that requires it.
3671 * Scripts/run-webkit-tests:
3673 2007-10-03 Lars Knoll <lars@trolltech.com>
3677 Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
3679 * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
3680 (WebCore::WebFrame::WebFrame):
3681 (WebCore::WebPage::WebPage):
3682 (WebCore::WebPage::createFrame):
3683 (WebCore::WebPage::javaScriptAlert):
3684 (WebCore::WebPage::javaScriptConsoleMessage):
3685 (WebCore::DumpRenderTree::DumpRenderTree):
3686 (WebCore::DumpRenderTree::~DumpRenderTree):
3687 (WebCore::DumpRenderTree::open):
3688 (WebCore::DumpRenderTree::readStdin):
3689 (WebCore::DumpRenderTree::resetJSObjects):
3690 (WebCore::DumpRenderTree::initJSObjects):
3691 (WebCore::DumpRenderTree::dumpFramesAsText):
3692 (WebCore::DumpRenderTree::dump):
3693 * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
3694 (WebCore::DumpRenderTree::layoutTestController):
3695 (WebCore::DumpRenderTree::eventSender):
3696 * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
3697 * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
3698 * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
3699 * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
3700 (HackWebFrame::mousePressEvent):
3701 (HackWebFrame::mouseReleaseEvent):
3702 (HackWebFrame::mouseMoveEvent):
3703 (HackWebFrame::HackWebFrame):
3704 (HackWebFrame::~HackWebFrame):
3705 (LayoutTestController::LayoutTestController):
3706 (LayoutTestController::reset):
3707 (LayoutTestController::maybeDump):
3708 (LayoutTestController::waitUntilDone):
3709 (LayoutTestController::notifyDone):
3710 (LayoutTestController::dumpEditingCallbacks):
3711 (LayoutTestController::queueReload):
3712 (LayoutTestController::provisionalLoad):
3713 (LayoutTestController::timerEvent):
3714 (EventSender::EventSender):
3715 (EventSender::mouseDown):
3716 (EventSender::mouseUp):
3717 (EventSender::mouseMoveTo):
3718 (EventSender::leapForward):
3719 (EventSender::keyDown):
3720 (EventSender::frameUnderMouse):
3721 * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
3722 (LayoutTestController::isLoading):
3723 (LayoutTestController::setLoading):
3724 (LayoutTestController::shouldDumpAsText):
3725 (LayoutTestController::shouldDumpChildrenAsText):
3726 (LayoutTestController::shouldWaitUntilDone):
3727 (LayoutTestController::dumpAsText):
3728 (LayoutTestController::dumpChildFramesAsText):
3729 * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
3733 * Scripts/run-webkit-tests:
3735 2007-10-03 Mark Rowe <mrowe@apple.com>
3737 Reviewed by Alp Toker.
3739 Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
3740 should take precedence over QTDIR when determining which port we are working with.
3742 * Scripts/webkitdirs.pm:
3744 2007-10-02 Adam Roben <aroben@apple.com>
3746 Add keychain to the list of default packages to install
3748 Rubberstamped by Sam.
3750 * CygwinDownloader/cygwin-downloader.py:
3751 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
3753 2007-10-02 David Kilzer <ddkilzer@webkit.org>
3757 Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
3758 Also makes WebCore regression test case logic work when using git.
3760 * Scripts/prepare-ChangeLog:
3761 (reviewerAndDescriptionForGitCommit): Added.
3763 2007-10-02 Lars Knoll <lars@trolltech.com>
3767 Add API to retrieve the frame name from QWebFrame.
3768 Implement support for DRT::dumpChildrenAsText.
3770 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3771 (WebCore::DumpRenderTree::dumpFramesAsText):
3772 (WebCore::DumpRenderTree::dump):
3773 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
3774 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3775 (LayoutTestController::LayoutTestController):
3776 (LayoutTestController::reset):
3777 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
3779 2007-10-02 Lars Knoll <lars@trolltech.com>
3783 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
3785 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
3786 (WebCore::DumpRenderTree::readStdin):
3788 2007-10-02 Mark Rowe <mrowe@apple.com>
3792 Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
3794 * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
3795 * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
3797 2007-10-02 Mark Rowe <mrowe@apple.com>
3799 Rubber-stamped by Maciej.
3801 Configuration changes from build.webkit.org. The major change is refactoring to work
3802 with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
3805 * BuildSlaveSupport/build.webkit.org-config/master.cfg:
3806 * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
3807 * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
3808 * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
3809 * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
3810 * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
3811 * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
3812 * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
3814 2007-10-02 Lars Knoll <lars@trolltech.com>
3818 Add support for eventSender.mouseMove to DRT.
3819 Fixes fast/css/hover-affects-child.html
3821 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
3822 (EventSender::mouseMoveTo):
3824 2007-10-01 Mark Rowe <mrowe@apple.com>
3826 * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
3828 2007-10-01 David Kilzer <ddkilzer@webkit.org>
3832 Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
3834 * Scripts/svn-apply:
3835 (gitdiff2svndiff): Ignore lines beginning with "new file".
3836 * Scripts/svn-unapply:
3837 (gitdiff2svndiff): Ditto.
3839 2007-09-30 George Staikos <staikos@kde.org>
3841 Qt build fix (Mac OS X specific)
3843 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
3845 2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
3849 -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
3850 Remove Bakefiles from svn.
3852 * GtkLauncher/Bakefiles.bkgen: Removed.
3853 * GtkLauncher/ENV: Removed.
3854 * GtkLauncher/gdklauncher.bkl: Removed.
3855 * GtkLauncher/mk: Removed.
3856 * Scripts/regenerate-makefiles: Removed.
3858 2007-09-25 Kevin McCullough <kmccullough@apple.com>
3862 - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
3864 * Scripts/run-webkit-tests:
3866 2007-09-26 Adam Roben <aroben@apple.com>
3868 Make not finding an installed WebKit non-fatal
3870 What really matters is that we are able to load WebKit and its
3871 dependencies, not whether we think we've found an installed WebKit.
3875 * WebKitInitializer/WebKitInitializer.cpp:
3876 (getWebViewCLSID): Use new LOG_WARNING macro.
3877 (getInstalledWebKitDirectory): Ditto.
3878 (initializeWebKit): Don't die if we didn't find an installed WebKit,
3880 * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
3882 2007-09-26 Adam Roben <aroben@apple.com>
3884 Committed this file before saving it
3886 * WebKitInitializer/debug_internal.vsprops:
3888 2007-09-26 Adam Roben <aroben@apple.com>
3890 Load WebKit and its dependencies manually so they come from DllDirectory
3892 I had to change WebKitInitializer to use malloc/free instead of
3893 new/delete to avoid pulling in WebKit (and its dependencies) early
3894 through use of fastMalloc.
3898 * WebKitInitializer/WebKitInitializer.cpp:
3899 (getStringValue): Changed to use malloc/free.
3900 (getInstalledWebKitDirectory): Ditto.
3901 (initializeWebKit): Call SetDllDirectory first, then load all of
3902 WebKit's dependencies manually, finally followed by WebKit itself.
3903 * WebKitInitializer/WebKitInitializer.vcproj: Added a new
3904 configuration to match our other projects.
3905 * WebKitInitializer/debug_internal.vsprops: Added.
3907 2007-09-25 Adam Roben <aroben@apple.com>
3909 Actually define DEBUG/NDEBUG so that we load WebKit correctly
3911 Rubberstamped by Sam.
3913 * WebKitInitializer/WebKitInitializer.vcproj:
3915 2007-09-25 Adam Roben <aroben@apple.com>
3917 Make DumpRenderTree delay-load its dependencies
3919 This lets WebKitInitializer re-route the dependencies to be loaded out
3920 of the Safari installation directory.
3922 Also replaced all uses of kCFAllocatorDefault with 0 (which means the
3923 same thing), since we can't import the kCFAllocatorDefault symbol when
3924 delay-loading CoreFoundation.dll.
3926 Rubberstamped by Sam.
3928 * DumpRenderTree/win/DumpRenderTree.cpp:
3930 (javaScriptThreads):
3931 * DumpRenderTree/win/DumpRenderTree.vcproj:
3932 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3933 (LayoutTestController::setWaitToDump):
3935 2007-09-25 Adam Roben <aroben@apple.com>
3937 Pull ole32.lib into WebKitInitializer
3939 Rubberstamped by Sam.
3941 * WebKitInitializer/WebKitInitializer.vcproj:
3943 2007-09-25 David Kilzer <ddkilzer@webkit.org>
3947 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
3948 LGPL'ed files contain incorrect FSF address
3952 2007-09-25 David Kilzer <ddkilzer@webkit.org>
3956 Make svn-apply and svn-unapply work with git-diff formatted patches.
3958 * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
3959 (gitdiff2svndiff): Added.
3960 * Scripts/svn-unapply: Ditto.
3961 (gitdiff2svndiff): Added.
3963 2007-09-25 Adam Roben <aroben@apple.com>
3965 Pull advapi32.lib into WebKitInitializer
3967 This is needed to get the registry functions we use.
3969 Rubberstamped by Sam.
3971 * WebKitInitializer/WebKitInitializer.vcproj:
3973 2007-09-25 Adam Roben <aroben@apple.com>
3975 Add python and rsync to cygwin-downloader
3977 Our build slaves need this, and it can't hurt for everyone else to
3982 * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
3983 * CygwinDownloader/cygwin-downloader.zip: Regenerated.
3985 2007-09-25 Adam Roben <aroben@apple.com>
3987 Add WebKitInitializer and use it in DumpRenderTree
3989 WebKitInitializer is a static library that has one function,
3990 initializeWebKit(). This registers WebKit and sets up the DLL search
3991 path so that WebKit's dependencies that are installed with Safari can
3996 * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
3997 DumpRenderTree depend on it.
3998 * DumpRenderTree/win/DumpRenderTree.cpp:
3999 (initialize): Call initializeWebKit.
4000 * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
4001 WebKitInitializer.lib.
4002 * WebKitInitializer/WebKitInitializer.cpp: Added.
4005 (getInstalledWebKitDirectory):
4007 * WebKitInitializer/WebKitInitializer.h: Added.
4008 * WebKitInitializer/WebKitInitializer.vcproj: Added.
4009 * WebKitInitializer/debug.vsprops: Added.
4010 * WebKitInitializer/release.vsprops: Added.
4012 2007-09-25 Adam Roben <aroben@apple.com>
4014 Make run-webkit-tests respect set-webkit-configuration
4018 * Scripts/run-webkit-tests: Initialize $configuration to whatever
4019 set-webkit-configuration was last set to.
4021 2007-09-25 Mark Rowe <mrowe@apple.com>
4023 Rubber-stamped by Eric.
4025 * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
4026 This makes it possible to automate nightly builds for the feature-branch.
4028 2007-09-25 Adam Roben <aroben@apple.com>
4030 A couple of fixes/enhancements to update-webkit-*-libs
4032 You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
4033 to tell update-webkit-support-libraries where it should find the
4034 WebKitSupportLibrary.zip file you downloaded.
4036 These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
4041 * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
4042 to $auxiliaryLibsURL and removed an irrelevant comment.
4043 * Scripts/update-webkit-support-libs:
4045 2007-09-25 Adam Treat <treat@kde.org>
4047 Reviewed by Simon and Lars.
4049 Refactors and cleans up Qt DRT member variable names, member variable
4050 initialization, style fixes and general code cleanup.
4052 Adds queueReload slot to LayoutTestController that some tests require.
4054 Subclasses QWebFrame to make sure that all frames have an associated
4055 LayoutTestController JS window object.
4057 Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
4058 aren't dumped twice.
4062 Together, this patch fixes some 20+ layout tests in QtWebKit.
4064 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
4065 (WebCore::WebFrame::WebFrame):
4066 (WebCore::WebPage::WebPage):
4067 (WebCore::WebPage::createFrame):
4068 (WebCore::DumpRenderTree::DumpRenderTree):
4069 (WebCore::DumpRenderTree::open):
4070 (WebCore::DumpRenderTree::readStdin):
4071 (WebCore::DumpRenderTree::initJSObjects):
4072 (WebCore::DumpRenderTree::dump):
4073 * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
4074 (WebCore::DumpRenderTree::layoutTestController):
4075 (WebCore::DumpRenderTree::eventSender):
4076 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
4077 (LayoutTestController::LayoutTestController):
4078 (LayoutTestController::reset):
4079 (LayoutTestController::maybeDump):
4080 (LayoutTestController::waitUntilDone):
4081 (LayoutTestController::notifyDone):
4082 (LayoutTestController::queueReload):
4083 (LayoutTestController::provisionalLoad):
4084 (EventSender::EventSender):
4085 (EventSender::mouseDown):
4086 (EventSender::mouseUp):
4087 (EventSender::mouseMoveTo):
4088 (EventSender::frameUnderMouse):
4089 * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
4090 (LayoutTestController::isLoading):
4091 (LayoutTestController::setLoading):
4092 (LayoutTestController::dumpAsText):
4093 * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
4096 2007-09-24 Kevin McCullough <kmccullough@apple.com>
4099 - Reverted an accidentally checked in file.
4101 * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
4103 2007-09-24 Kevin McCullough <kmccullough@apple.com>
4106 - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
4108 * DumpRenderTree/win/DumpRenderTree.vcproj:
4109 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
4111 2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
4113 Rubber stamped by Adam.
4115 * GdkLauncher: Removed.
4116 * GdkLauncher/Bakefiles.bkgen: Removed.
4117 * GdkLauncher/ENV: Removed.
4118 * GdkLauncher/GdkLauncher.pro: Removed.
4119 * GdkLauncher/gdklauncher.bkl: Removed.
4120 * GdkLauncher/main.cpp: Removed.
4121 * GdkLauncher/mk: Removed.
4122 * GdkLauncher/simple.svg: Removed.
4123 * GdkLauncher/text.html: Removed.
4124 * GtkLauncher: Added.
4125 * GtkLauncher/GdkLauncher.pro: Removed.
4126 * GtkLauncher/GtkLauncher.pro: Added.
4127 * GtkLauncher/main.cpp:
4128 (updateWindowTitle):
4130 * Scripts/build-webkit:
4131 * Scripts/regenerate-makefiles:
4132 * Scripts/run-javascriptcore-tests:
4133 * Scripts/run-launcher:
4134 * Scripts/run-webkit-tests:
4135 * Scripts/webkitdirs.pm:
4137 2007-09-21 Timothy Hatcher <timothy@apple.com>
4141 <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
4143 Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
4144 This is tested by plugins/root-object-premature-delete-crash.html.
4146 * DumpRenderTree/mac/ObjCController.m:
4147 (-[ObjCController accessStoredWebScriptObject]):
4149 2007-09-21 Kevin McCullough <kmccullough@apple.com>
4153 - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
4155 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
4156 (FrameLoadDelegate::FrameLoadDelegate):
4158 2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
4162 Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
4163 webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
4165 Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
4166 Now isQt() and isGdk() use global variables that are only set once.
4168 An array of all the parameters is now given to build-dumprender which includes
4169 the platform on linux.
4171 * Scripts/build-dumprendertree:
4172 * Scripts/run-webkit-tests:
4173 * Scripts/webkitdirs.pm:
4175 2007-09-19 Adam Roben <aroben@apple.com>
4177 Rubberstamped by Hyatt.
4179 * Spinneret: Removed.
4181 2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
4183 Reviewed by David Kilzer.
4185 * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
4187 2007-09-18 Sam Weinig <sam@webkit.org>
4189 Add JSRetainPtr.h #include to fix some builds.
4191 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4193 2007-09-18 Mike Hommey <glandium@debian.org>
4197 * Scripts/prepare-ChangeLog:
4198 - Properly parse GECOS field.
4199 - Use git configuration for user name and email when appropriate.
4201 2007-09-17 Sam Weinig <sam@webkit.org>
4205 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4207 2007-09-17 Sam Weinig <sam@webkit.org>
4209 Reviewed by Adam Roben.
4211 Share more code between mac and windows DRT.
4212 - GCController is now shared.
4213 - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
4215 * DumpRenderTree/GCController.cpp:
4216 * DumpRenderTree/win/DumpRenderTree.cpp:
4217 * DumpRenderTree/win/DumpRenderTree.vcproj:
4218 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
4219 (FrameLoadDelegate::FrameLoadDelegate):
4220 (FrameLoadDelegate::~FrameLoadDelegate):
4221 (FrameLoadDelegate::windowScriptObjectAvailable):
4222 * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
4223 * DumpRenderTree/win/GCController.cpp: Removed.
4224 * DumpRenderTree/win/GCController.h: Removed.
4225 * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
4226 (GCController::collect):
4227 (GCController::collectOnAlternateThread):
4228 (GCController::getJSObjectCount):
4229 * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
4230 * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
4232 2007-09-17 Sam Weinig <sam@webkit.org>
4234 Reviewed by Adam Roben.
4236 Begin sharing code between mac and windows DRT.
4237 - both now share LayoutTestController.h/cpp and implement platform dependant
4238 operations in LayoutTestControllerMac/Win.
4239 - DumpRenderTree.h is now shared.
4240 - WorkQueue and WorkQueueItem are also shared.
4242 * DumpRenderTree/DumpRenderTree.h:
4243 * DumpRenderTree/LayoutTestController.cpp:
4244 * DumpRenderTree/win/DumpRenderTree.cpp:
4246 (dumpFrameScrollPosition):
4250 * DumpRenderTree/win/DumpRenderTree.h: Removed.
4251 * DumpRenderTree/win/DumpRenderTree.vcproj:
4252 * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
4253 * DumpRenderTree/win/EditingDelegate.cpp:
4254 (EditingDelegate::shouldBeginEditingInDOMRange):
4255 (EditingDelegate::shouldEndEditingInDOMRange):
4256 (EditingDelegate::shouldInsertNode):
4257 (EditingDelegate::shouldInsertText):
4258 (EditingDelegate::shouldDeleteDOMRange):
4259 (EditingDelegate::shouldChangeSelectedDOMRange):
4260 (EditingDelegate::shouldApplyStyle):
4261 (EditingDelegate::shouldChangeTypingStyle):
4262 (EditingDelegate::doPlatformCommand):
4263 (EditingDelegate::webViewDidBeginEditing):
4264 (EditingDelegate::webViewDidChange):
4265 (EditingDelegate::webViewDidEndEditing):
4266 (EditingDelegate::webViewDidChangeTypingStyle):
4267 (EditingDelegate::webViewDidChangeSelection):
4268 * DumpRenderTree/win/LayoutTestController.cpp: Removed.
4269 * DumpRenderTree/win/LayoutTestController.h: Removed.