1 2008-02-14 Adam Roben <aroben@apple.com>
3 Turn on cross-document messaging support by default
7 * Scripts/build-webkit:
9 2008-02-14 Adam Roben <aroben@apple.com>
11 Conditionalize cross-document messaging support
13 The cross-document messaging parts of HTML 5 are in flux and we want
14 ports to be able to turn off the support as needed.
16 Note that the support is turned off by default right now. A subsequent
17 commit will turn it on by default.
21 * Scripts/build-webkit:
23 2008-02-14 Darin Adler <darin@apple.com>
27 * DumpRenderTree/win/UIDelegate.cpp:
28 (UIDelegate::setStatusText): Update parameter types to match declaration.
30 2008-02-14 Oliver Hunt <oliver@apple.com>
32 Reviewed by Geoff G and Weinig.
34 Add ability for DRT to report tests setting the status text.
36 * DumpRenderTree/LayoutTestController.cpp:
37 (LayoutTestController::LayoutTestController):
38 (dumpStatusCallbacksCallback):
39 (LayoutTestController::staticFunctions):
40 * DumpRenderTree/LayoutTestController.h:
41 * DumpRenderTree/mac/UIDelegate.mm:
42 (-[UIDelegate webView:setStatusText:]):
43 * DumpRenderTree/win/UIDelegate.cpp:
44 * DumpRenderTree/win/UIDelegate.h:
46 2008-02-13 Adam Roben <aroben@apple.com>
50 * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
52 2008-02-13 Adam Roben <aroben@apple.com>
54 Windows/GTK+ build fix
56 * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
59 2008-02-13 Brady Eidson <beidson@apple.com>
61 Reviewed by Darin Adler
63 Add some much needed Database support to DRT
65 * DumpRenderTree/LayoutTestController.cpp:
66 (LayoutTestController::LayoutTestController):
67 (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
69 (clearAllDatabasesCallback): Allow a test to delete all databases
70 (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
71 (LayoutTestController::staticFunctions):
73 * DumpRenderTree/LayoutTestController.h:
74 (LayoutTestController::dumpDatabaseCallbacks):
75 (LayoutTestController::setDumpDatabaseCallbacks):
77 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
78 (LayoutTestController::clearAllDatabases):
79 (LayoutTestController::setDatabaseQuota):
81 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
82 (LayoutTestController::clearAllDatabases): Stubbed out
83 (LayoutTestController::setDatabaseQuota): Ditto
84 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
85 (LayoutTestController::clearAllDatabases): Stubbed out with error message
86 (LayoutTestController::setDatabaseQuota): Ditto
88 * DumpRenderTree/mac/UIDelegate.mm:
89 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
90 message with details about the event then return a 5mb quota like before
93 2008-02-12 Steve Falkenburg <sfalken@apple.com>
95 Changes to support merged MIDL output.
97 All COM interfaces are now generated to WebKit.h.
101 * Drosera/win/BaseDelegate.h:
102 * Drosera/win/DebuggerClient.cpp:
103 * Drosera/win/DebuggerDocumentPlatform.cpp:
104 * Drosera/win/Drosera.cpp:
105 * Drosera/win/ServerConnection.cpp:
106 * Drosera/win/ServerConnection.h:
107 * DumpRenderTree/win/DumpRenderTree.cpp:
108 * DumpRenderTree/win/EditingDelegate.h:
109 * DumpRenderTree/win/EventSender.cpp:
110 * DumpRenderTree/win/FrameLoadDelegate.cpp:
111 * DumpRenderTree/win/FrameLoadDelegate.h:
112 * DumpRenderTree/win/GCControllerWin.cpp:
113 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
114 * DumpRenderTree/win/PolicyDelegate.h:
115 * DumpRenderTree/win/ResourceLoadDelegate.h:
116 * DumpRenderTree/win/UIDelegate.cpp:
117 * DumpRenderTree/win/UIDelegate.h:
118 * DumpRenderTree/win/WorkQueueItemWin.cpp:
120 2008-02-10 Dan Bernstein <mitz@apple.com>
122 Reviewed by Oliver Hunt.
126 * DumpRenderTree/cg/ImageDiffCG.cpp:
127 (getDifferenceBitmap): Use a static CFMutableData instead of allocating
128 and leaking the buffer each time.
130 2008-02-07 Adam Roben <aroben@apple.com>
132 Fix error in bisect-builds when responding "broken" for the first
135 Reviewed by Dave Kilzer.
137 * Scripts/bisect-builds: Only try to test the build if the nightly
138 info for the current index has not been deleted.
140 2008-02-07 Geoffrey Garen <ggaren@apple.com>
142 Reviewed by Alexey Proskuryakov.
144 Fixed two minor typos in the --root option, to get it working.
146 * Scripts/run-sunspider:
147 1. Actually assign the function argument to our local variable.
148 2. Actually set the $root variable, so we don't try to build later.
150 2008-02-05 Oliver Hunt <oliver@apple.com>
154 Re-enable foreignObject by default as it is needed for a number of non-fO
155 related SVG tests and none of the old known crashes occur anymore.
157 * Scripts/build-webkit:
159 2008-02-05 Steve Falkenburg <sfalken@apple.com>
161 Build fix. Don't override intermediate directory.
163 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
165 2008-02-05 Holger Hans Peter Freyther <zecke@selfish.org>
167 Build fix for Windows. willCloseFrame is a pure virtual and we are
168 forced to have an implementation.
170 This partially reverts r30014.
172 * DumpRenderTree/win/FrameLoadDelegate.cpp:
173 (FrameLoadDelegate::willCloseFrame):
174 * DumpRenderTree/win/FrameLoadDelegate.h:
176 2008-02-05 Nikolas Zimmermann <zimmermann@kde.org>
180 Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
182 * Scripts/make-js-test-wrappers:
184 2008-02-05 Holger Freyther <zecke@selfish.org>
188 In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
189 the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
190 depends on the order the tests are executed.
192 Propose to remove willCloseFrame and didlCearWindowObject output from the
193 FrameLoadDelegate and update the test results. The output of didClearWindowObject
194 is not interesting for any of the current tests and we have other ways to find
195 out if a frame was closed or not.
197 * DumpRenderTree/mac/FrameLoadDelegate.mm:
198 * DumpRenderTree/win/FrameLoadDelegate.cpp:
199 (FrameLoadDelegate::didClearWindowObject):
200 * DumpRenderTree/win/FrameLoadDelegate.h:
202 2008-02-04 Mark Rowe <mrowe@apple.com>
204 Reviewed by Oliver Hunt.
206 Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
207 Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
209 Don't install the signal handler unless we are running the pixel tests.
210 It is currently only used to restore the color profile, but by catching
211 signals we can trigger a deadlock in DRT while running leak tests.
212 The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
213 and a more complete fix will need to be developed to address this for
216 * DumpRenderTree/mac/DumpRenderTree.mm:
219 2008-02-04 Mark Rowe <mrowe@apple.com>
223 * Scripts/webkitdirs.pm: Fix perl's complaint about an odd number of elements in anonymous hash.
225 2008-02-04 Jan Michael Alonzo <jmalonzo@unpluggable.com>
227 Reviewed by Alp Toker and Mark Rowe.
229 http://bugs.webkit.org/show_bug.cgi?id=16618
230 [GTK] build-webkit and run-webkit-tests autootools support
232 * Scripts/build-webkit: added --database and --icon-database options
233 * Scripts/run-launcher:
234 * Scripts/run-webkit-tests:
235 * Scripts/webkitdirs.pm:
237 2008-02-04 Oliver Hunt <oliver@apple.com>
241 Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
243 Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
245 * Uses Sleep() to implement leapForward reliably.
246 * 3 DND tests still fail for reasons that i have not yet determined
247 * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain
249 * DumpRenderTree/win/EventSender.cpp:
250 (leapForwardCallback):
255 (mouseMoveToCallback):
256 Minor updates to these functions to handle the different message queue structure.
259 More complicated now. Where possible we just use the old while-loop model of execution,
260 but when leapForward has been used we have to jump through some hoops and set up an
261 inner event loop so that we can ensure messages get the correct time stamp.
263 * DumpRenderTree/win/UIDelegate.cpp:
264 (UIDelegate::doDragDrop):
265 Call replaySavedEvents directly to force synchronous handling of drag and drop.
267 2008-02-04 Rodney Dawes <dobey@wayofthemonkey.com>
269 Reviewed by Alp Toker and Mark Rowe.
271 Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
272 Bug 17175: Use of C++ compiler flags in CFLAGS
274 * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
276 2008-02-04 Darin Adler <darin@apple.com>
280 * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
281 and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
284 2008-02-04 Adam Roben <aroben@apple.com>
286 Windows Apple-only build fix
288 * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
291 2008-02-04 Alp Toker <alp@atoker.com>
293 Rubber-stamped by Mark Rowe.
295 Remove all trailing whitespace in the GTK+ port and related
298 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
299 * DumpRenderTree/gtk/GCControllerGtk.cpp:
300 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
303 2008-02-01 Eric Seidel <eric@webkit.org>
307 Also search LayoutTests/svg for js-based tests.
309 * Scripts/make-js-test-wrappers:
311 2008-01-31 Alp Toker <alp@atoker.com>
313 Rubber-stamped by Adam Roben.
315 http://bugs.webkit.org/show_bug.cgi?id=17006
316 [GTK] Header path should be webkit/webkit.h
318 Move the GTK+ API sources as needed and update the build systems.
320 * DumpRenderTree/gtk/DumpRenderTree.cpp:
321 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
322 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
324 * GtkLauncher/main.c:
326 2008-01-30 Stephanie <slewis@apple.com>
330 Add an option to run-webkit-tests to merge leaks results and print the number of unique leaks found under a certain call depth. This should make it easier for the buildbots to track new leaks.
332 * Scripts/run-webkit-tests:
334 2008-01-30 Alexey Proskuryakov <ap@webkit.org>
336 Reviewed by Adam Roben.
338 One more debug (external) fix.
340 * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
341 and Debug configurations.
343 2008-01-29 Geoffrey Garen <ggaren@apple.com>
345 Reviewed by Sam Weinig. Sam Weinig.
347 Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
348 fails when run after fast/dom/Window/window-property-shadowing.html (16902)
350 Modified our policy delegates not to output window.name. Since a
351 previous test may have explicitly set window.name, we can't rely on its
352 implicit value in test results.
354 * DumpRenderTree/mac/PolicyDelegate.mm:
355 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
357 * DumpRenderTree/win/PolicyDelegate.cpp:
358 (PolicyDelegate::decidePolicyForNavigationAction):
360 2008-01-29 Mark Rowe <mrowe@apple.com>
362 Reviewed by Tim Hatcher.
364 <rdar://problem/5600926> WebCore on Tiger must link to its own copy of SQLite 3.4 or newer (so HTML database behavior will be correct).
366 * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
368 2008-01-29 David Kilzer <ddkilzer@apple.com>
370 Refactor ChangeLog path code
374 * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
375 duplicate code in another foreach() loop.
377 2008-01-29 Alexey Proskuryakov <ap@webkit.org>
381 <rdar://problem/5710692> All storage tests fail/crash
383 * DumpRenderTree/mac/UIDelegate.mm:
384 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
385 arbitrary quota of 5 megabytes.
387 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
388 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
389 Removed unused (I think) code.
391 * DumpRenderTree/win/UIDelegate.cpp:
392 (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
393 (UIDelegate::webViewPainted): A stub implementation.
394 (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
395 * DumpRenderTree/win/UIDelegate.h:
397 2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
399 GTK+ DRT build fix for breakage introduced in r29822.
401 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
402 (LayoutTestController::setPersistentUserStyleSheetLocation):
403 (LayoutTestController::clearPersistentUserStyleSheet):
405 2008-01-27 Dan Bernstein <mitz@apple.com>
407 Reviewed by Darin Adler.
409 - add support for directory prologues and epilogues to run-webkit-tests
410 - allow setting a persistent user style sheet in DumpRenderTree
411 - activate the WebKit Layout Tests font in Windows DumpRenderTree
413 * DumpRenderTree/LayoutTestController.cpp:
414 (clearPersistentUserStyleSheetCallback): Added.
415 (setPersistentUserStyleSheetLocationCallback): Added.
416 (LayoutTestController::staticFunctions): Added.
417 clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
418 * DumpRenderTree/LayoutTestController.h:
419 * DumpRenderTree/mac/DumpRenderTree.mm:
420 (setPersistentUserStyleSheetLocation): Added.
421 (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
422 to the set of things this function resets. Now it either disables the
423 user style sheet or sets it to the persistent user style sheet and
425 * DumpRenderTree/mac/DumpRenderTreeMac.h:
426 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
427 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
428 (LayoutTestController::clearPersistentUserStyleSheet): Added.
429 * DumpRenderTree/win/DumpRenderTree.cpp:
430 (setPersistentUserStyleSheetLocation): Added.
431 (initialize): Added the WebKit Layout Tests font to the set of fonts to
433 (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
434 * DumpRenderTree/win/DumpRenderTreeWin.h:
435 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
436 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
437 (LayoutTestController::clearPersistentUserStyleSheet): Added.
438 * Scripts/run-webkit-tests: Changed to look for, and if found process in
439 DumpRenderTree, files named run-webkit-tests-prologue.html and
440 run-webkit-tests-epilogue.html in the resources subdirectory of any
441 test directory and platform test results directory. The prologues are
442 processed before the first test from the directory (and its
443 subdirectories) is run, and the epilogues are processed after the last
444 test from the directory is run. Platform-specific prologues and
445 epilogues are processed in order of specificity.
447 2008-01-25 Alexey Proskuryakov <ap@webkit.org>
449 Reviewed by Mark Rowe.
451 <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
453 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
455 * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
457 2008-01-24 Sam Weinig <sam@webkit.org>
459 Reviewed by Ada Chan.
461 Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
463 - Adds simplified UndoManager to windows DRT to allow testing the
464 undo/redo code paths in WebCore and WebKit. This is a temporary
465 solution to an issue that should eventually be solved by having a
466 shared UndoManager in WebKit.
468 * DumpRenderTree/win/DumpRenderTree.cpp:
470 * DumpRenderTree/win/UIDelegate.cpp:
471 (DRTUndoObject::DRTUndoObject):
472 (DRTUndoObject::invoke):
473 (DRTUndoStack::~DRTUndoStack):
474 (DRTUndoStack::isEmpty):
475 (DRTUndoStack::clear):
476 (DRTUndoStack::push):
478 (DRTUndoManager::canRedo):
479 (DRTUndoManager::canUndo):
480 (DRTUndoManager::DRTUndoManager):
481 (DRTUndoManager::removeAllActions):
482 (DRTUndoManager::registerUndoWithTarget):
483 (DRTUndoManager::redo):
484 (DRTUndoManager::undo):
485 (UIDelegate::UIDelegate):
486 (UIDelegate::resetUndoManager):
487 (UIDelegate::registerUndoWithTarget):
488 (UIDelegate::removeAllActionsWithTarget):
489 (UIDelegate::setActionTitle):
492 (UIDelegate::canUndo):
493 (UIDelegate::canRedo):
494 * DumpRenderTree/win/UIDelegate.h:
496 2008-01-23 Adam Roben <aroben@apple.com>
498 Allow directories containing ChangeLogs to be passed to
501 Reviewed by David Kilzer.
503 * Scripts/resolve-ChangeLogs:
504 (sub findChangeLog): Return a ChangeLog contained within the specified
505 directory if one exists.
507 2008-01-23 Steve Falkenburg <sfalken@apple.com>
509 <rdar://problem/5698732> Copyright strings should include 2008
513 * Drosera/win/Drosera.vcproj/Drosera.rc:
514 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
516 2008-01-23 Alp Toker <alp@atoker.com>
518 Rubber-stamped by Mark Rowe.
520 Remove whitespace after -I in automake include lists.
524 2008-01-23 Michael Goddard <michael.goddard@trolltech.com>
526 Reviewed by Lars Knoll <lars@trolltech.com>.
528 Reworked the JavaScriptCore Qt bindings:
530 * Update JS DRT controller for Qt JS binding changes.
531 There were two functions that needed some changes
532 so that the layout tests would work, so this makes
533 a few tests pass again.
535 * Bump the timeout for layout tests up to 11s.
536 At least some tests have an internal timeout of
537 10 seconds, so make the waitUntilDone approach
538 wait at least 11s. fast/dom/open-and-close-by-DOM.html
539 is one of these - now the failure message is more
543 * DumpRenderTree/qt/jsobjects.cpp:
544 (LayoutTestController::waitUntilDone):
545 * DumpRenderTree/qt/jsobjects.h:
547 2008-01-22 Anders Carlsson <andersca@apple.com>
549 Reviewed by Darin and Adam.
551 <rdar://problem/5688975>
552 div element on microsoft site has wrong left offset.
554 Add new method for testing the return vale of NPN_GetProperty.
556 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
559 2008-01-22 Alexey Proskuryakov <ap@webkit.org>
561 Reviewed by Adam Roben.
563 <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
565 * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
567 2008-01-21 Jan Michael Alonzo <jmalonzo@unpluggable.com>
569 Reviewed by Alp Toker.
571 http://bugs.webkit.org/show_bug.cgi?id=16955
572 Get errors when cross-compile webkit-gtk
574 * GNUmakefile.am: Removed ICU_CFLAGS
576 2008-01-21 Darin Adler <darin@apple.com>
578 Reviewed by Mitz and Adam.
580 * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
581 sorting speed by doing all sort criteria in a single pass instead of three sorts.
583 2008-01-21 Simon Hausmann <hausmann@webkit.org>
587 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
589 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
590 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
591 and make the return value depend on whether we successfully determined a focusable
593 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
594 if we could not handle the focus chain ourselves.
595 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
596 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
597 used to control the situation of stepping out of the focus chain inside the page.
598 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
599 The layout tests expect this to be disabled but for the user it seems sensible to have it
600 on by default, hence the default in qwebsettings.cpp
603 * DumpRenderTree/qt/DumpRenderTree.cpp:
604 (WebCore::WebPage::WebPage):
606 2008-01-19 Mark Rowe <mrowe@apple.com>
608 Reviewed by Alp Toker.
610 Allow the --http flag to run-webkit-tests to override
611 the default behaviour of disabling HTTP tests for Qt,
614 * Scripts/run-webkit-tests:
616 2008-01-19 David Kilzer <ddkilzer@apple.com>
618 <rdar://problem/5695344> check-for-global-initializers script never checks any object files
622 We now touch a check-for-global-initializers.timestamp file in
623 the TARGET_TEMP_DIR directory to determine when new object files
624 have been compiled and thus need to be checked. If the timestamp
625 file doesn't exist, all object files will be checked.
627 Previously the modification time of the "executable" (the
628 framework binary, e.g., WebKit.framework/WebKit) was used, but
629 since this was the last file modified at the end of the compile
630 phase, no object files would ever get checked!
632 Also added JSCustomSQLTransactionCallback.o to the list of files
633 since it has static initializers in Debug builds of WebCore.
635 * Scripts/check-for-global-initializers:
637 2008-01-18 Adam Roben <aroben@apple.com>
641 * Scripts/build-webkit:
643 2008-01-18 Beth Dakin <bdakin@apple.com>
647 Update build-webkit to account for foreign-object being disabled by
650 * Scripts/build-webkit:
652 2008-01-18 Adam Roben <aroben@apple.com>
654 Updated for method renames
658 * DumpRenderTree/mac/FrameLoadDelegate.mm:
659 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
660 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
661 (LayoutTestController::setMainFrameIsFirstResponder):
662 (LayoutTestController::setWindowIsKey):
663 * DumpRenderTree/mac/UIDelegate.mm:
664 (-[UIDelegate webViewFocus:]):
665 * DumpRenderTree/win/FrameLoadDelegate.cpp:
666 (FrameLoadDelegate::didCommitLoadForFrame):
668 2008-01-18 Alexey Proskuryakov <ap@webkit.org>
670 Reviewed by Adam Roben.
672 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
673 between DRT and TestNetscapePlugin.
675 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
676 * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
678 2008-01-18 Simon Hausmann <hausmann@webkit.org>
682 Fix fast/dom/Window/window-resize.html
684 In DRT connect the page's geometryChangeRequest signal to a slot that
685 sets the geometry of the view widget.
688 * DumpRenderTree/qt/DumpRenderTree.cpp:
689 (WebCore::WebPage::setViewGeometry):
690 (WebCore::WebPage::WebPage):
692 2008-01-17 Steve Falkenburg <sfalken@apple.com>
696 * Drosera/DroseraWin.make:
698 2008-01-17 Darin Adler <darin@apple.com>
700 * Scripts/run-webkit-tests: Fixed a bug number.
702 2008-01-17 Alexey Proskuryakov <ap@webkit.org>
704 Reviewed by Adam Roben.
706 http://bugs.webkit.org/show_bug.cgi?id=16908
707 run-webkit-tests complains about missing FindSafari.exe
709 * Scripts/webkitdirs.pm: Append _debug as appropriate.
711 2008-01-17 Steve Falkenburg <sfalken@apple.com>
713 Re-add DEBUG_WEBKIT_HAS_SUFFIX.
715 Rubber-stamped by Jon Honeycutt.
717 * DumpRenderTree/win/DumpRenderTree.vcproj:
719 2008-01-16 Alp Toker <alp@atoker.com>
721 Reviewed by Mark Rowe.
723 http://bugs.webkit.org/show_bug.cgi?id=16218
724 [GTK] API: Should this entry point be called go_back rather than go_backward?
726 Track back/forward API changes in the tools.
728 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
729 (BackForwardItem::invoke):
730 * GtkLauncher/main.c:
733 2008-01-16 Adam Roben <aroben@apple.com>
735 Windows build fix after r29488
737 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
738 Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
739 expects to find the plugin.
741 2008-01-11 Geoffrey Garen <ggaren@apple.com>
743 Reviewed by Sam Weinig.
745 Fixed the waitUntilDone watchdog timer -- the old code never added the
746 timer to the run loop, so it didn't do anything.
748 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
749 (LayoutTestController::setWaitToDump):
750 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
751 (LayoutTestController::setWaitToDump):
753 2008-01-14 Steve Falkenburg <sfalken@apple.com>
755 Use shared vsprops for most vcproj properties.
759 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
760 * DumpRenderTree/win/DumpRenderTree.vcproj:
761 * DumpRenderTree/win/ImageDiff.vcproj:
762 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
763 * FindSafari/FindSafari.vcproj:
765 2008-01-14 Stephanie <slewis@apple.com>
769 revert accidental character.
771 * Scripts/run-webkit-tests:
773 2008-01-14 Stephanie <slewis@apple.com>
777 add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
779 * Scripts/run-webkit-tests:
781 2008-01-14 Darin Adler <darin@apple.com>
783 * Scripts/do-webcore-rename: Queue up another rename.
785 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
789 * Allow to run the tests in reverse order to spot test cases where the result depends on the order
791 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
793 * Scripts/run-webkit-tests:
795 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
799 * Randomize tests array to spot test cases where the results depends on the order
801 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
803 * Scripts/run-webkit-tests:
805 2008-01-14 Darin Adler <darin@apple.com>
807 * Scripts/run-webkit-tests: More ignore list tweaking.
809 2008-01-14 Darin Adler <darin@apple.com>
811 * Scripts/run-webkit-tests: Add another leak to the ignore list.
813 2008-01-14 Dan Bernstein <mitz@apple.com>
815 Reviewed by Adam Roben.
817 - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
820 * DumpRenderTree/win/DumpRenderTree.cpp:
821 (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
823 2008-01-13 Steve Falkenburg <sfalken@apple.com>
825 Share common files across projects.
828 Debug: common.vsprops, debug.vsprops
829 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
830 Release: common.vsprops, release.vsprops
832 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
833 debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
835 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
837 Reviewed by Adam Roben.
839 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
840 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
841 * Drosera/win/Drosera.vcproj/VERSION: Removed.
842 * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
843 * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
844 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
845 * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
846 * DumpRenderTree/win/DumpRenderTree.vcproj:
847 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
848 * DumpRenderTree/win/debug.vsprops: Removed.
849 * DumpRenderTree/win/debug_internal.vsprops: Removed.
850 * DumpRenderTree/win/release.vsprops: Removed.
852 2008-01-13 Brent Fulgham <bfulgham@gmail.com>
856 - http://bugs.webkit.org/show_bug.cgi?id=16314
857 Script to launch Drosera
859 * Scripts/gdb-drosera: Added.
860 * Scripts/run-drosera: Added.
861 * Scripts/run-drosera-nightly.cmd: Added.
862 * Scripts/webkitdirs.pm: Added runDrosera function.
864 2008-01-13 Dan Bernstein <mitz@apple.com>
866 - fix breakage due to last-minute change
868 * DumpRenderTree/win/DumpRenderTree.cpp:
869 (runTest): Declare the loop variable.
871 2008-01-13 Dan Bernstein <mitz@apple.com>
873 Reviewed by Adam Roben.
875 - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
877 * DumpRenderTree/win/DumpRenderTree.cpp:
878 (DumpRenderTreeWndProc):
880 (dumpBackForwardList):
881 (dumpBackForwardListForAllWindows):
883 (resetWebViewToConsistentStateBeforeTesting): Factored out of
886 (allWindows): Added. Returns a vector of all open windows.
887 (windowToWebViewMap): Added. Returns a map from open windows to their
889 (createWebViewAndOffscreenWindow): Factored out of main() to be
890 reusable for creating extra windows.
892 * DumpRenderTree/win/DumpRenderTreeWin.h:
893 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
894 (LayoutTestController::windowCount): Implemented.
895 * DumpRenderTree/win/UIDelegate.cpp:
896 (UIDelegate::createWebViewWithRequest): Implemented.
897 (UIDelegate::webViewClose): Implemented.
898 * DumpRenderTree/win/UIDelegate.h:
900 2008-01-12 Alp Toker <alp@atoker.com>
902 Reviewed by Mark Rowe.
904 Hide non-public symbols in GTK+/autotools release builds.
908 2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
912 * Make launching of the WebKit httpd work on GNU/Debian/Linux
914 The configuration of Apache2 and installation does not depend on
915 the kernel but on the distribution policy. Make launching of httpd
916 work for Debian derived distributions.
918 * Scripts/run-webkit-httpd:
919 * Scripts/run-webkit-tests:
920 * Scripts/webkitdirs.pm:
922 2008-01-12 Mark Rowe <mrowe@apple.com>
924 Reviewed by Maciej Stachowiak.
926 Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
928 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
929 match the callers expectations that it can take ownership of the string.
931 2008-01-11 Alexey Proskuryakov <ap@webkit.org>
933 Reviewed by Adam Roben.
935 <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
937 * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
938 as these are only posted because the test window is not a normal visible one, and
939 they confuse drag&drop machinery.
941 2008-01-11 Adam Roben <aroben@apple.com>
943 Fix a crash when pathToLocalResource fails and a leak
947 * DumpRenderTree/LayoutTestController.cpp:
948 (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
949 sure not to pass null to JSValueMakeString.
950 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
951 (LayoutTestController::pathToLocalResource): Print an error message if
952 the conversion fails so it's clear what happened.
954 2008-01-11 Geoffrey Garen <ggaren@apple.com>
956 Reviewed by John Sullivan.
958 * DumpRenderTree/mac/GCControllerMac.mm:
959 (GCController::collectOnAlternateThread): Updated for name change.
961 2008-01-10 Kevin Ollivier <kevino@theolliviers.com>
963 wx build fix. Don't build dftables any longer since it's now a Perl
968 2008-01-10 Sam Weinig <sam@webkit.org>
970 Reviewed by Anders Carlsson.
972 Make DRT track open windows instead of allocated windows so that
973 we can avoid ASSERTION due to late deallocs out of our control.
975 * DumpRenderTree/mac/DumpRenderTree.mm:
976 (dumpBackForwardListForAllWindows):
978 * DumpRenderTree/mac/DumpRenderTreeMac.h:
979 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
980 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
981 (+[DumpRenderTreeWindow openWindows]):
982 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
983 (-[DumpRenderTreeWindow close]):
984 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
985 (LayoutTestController::windowCount):
987 2008-01-10 Ada Chan <adachan@apple.com>
989 Meta key is not the same as Alt key on windows.
993 * DumpRenderTree/win/EventSender.cpp:
996 2008-01-09 Kevin McCullough <kmccullough@apple.com>
998 Reviewed by Darin, Sam and Adam.
1000 -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
1001 link in gmail message displays JavaScript alert falsely complaining
1002 about pop-up blocking.
1003 - Added the ability to enable the pop-up blocker via the
1004 LayoutTestController.
1006 * DumpRenderTree/LayoutTestController.cpp:
1007 (setPopupBlockingEnabledCallback):
1008 (LayoutTestController::staticFunctions):
1009 * DumpRenderTree/LayoutTestController.h:
1010 * DumpRenderTree/mac/DumpRenderTree.mm:
1011 (setDefaultsToConsistentValuesForTesting):
1012 (resetWebViewToConsistentStateBeforeTesting):
1013 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1014 (LayoutTestController::setPopupBlockingEnabled):
1016 2008-01-10 Lars Knoll <lars@trolltech.com>
1020 rename QWebPageHistory to QWebHistory.
1023 * DumpRenderTree/qt/jsobjects.cpp:
1025 2008-01-09 Maciej Stachowiak <mjs@apple.com>
1029 - add some more renames, adjust some
1031 * Scripts/do-webcore-rename:
1033 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
1037 Enable SVG Fonts support by default.
1039 * Scripts/build-webkit:
1041 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
1045 Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
1046 DRT doesn't handle platform specific pixel test results correctly.
1048 <test>-expected.txt files and <test>-expected.png files may now live
1049 in different directories (ie. a cross-platform <test>-expected.txt file
1050 and a platform-specific <test>-expected.png file).
1052 * Scripts/run-webkit-tests:
1054 2008-01-04 Kevin McCullough <kmccullough@apple.com>
1058 - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
1059 DRT did not correctly handle printing the '\0' char. Now it does.
1061 * DumpRenderTree/win/DumpRenderTree.cpp:
1065 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1069 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
1072 * DumpRenderTree/qt/main.cpp:
1073 * DumpRenderTree/qt/testplugin.cpp:
1074 * DumpRenderTree/qt/testplugin.h:
1076 2008-01-05 Mark Rowe <mrowe@apple.com>
1078 Reviewed by Alp Toker.
1080 Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
1082 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1083 (processWork): Process pending work.
1084 (webViewLoadFinished): Schedule processing of pending work.
1085 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
1087 2008-01-05 Darin Adler <darin@apple.com>
1089 * Scripts/do-webcore-rename: Some more renaming plans.
1091 2008-01-04 Alice Liu <alice.liu@apple.com>
1093 Reviewed by Alexey and Darin.
1095 Adding "home" and "end" to DRT's keydown since
1096 DOM key events can't handle keyIdentifiers at this point.
1098 * DumpRenderTree/mac/EventSendingController.mm:
1099 (-[EventSendingController keyDown:withModifiers:]):
1100 * DumpRenderTree/win/EventSender.cpp:
1103 2008-01-04 Lars Knoll <lars@trolltech.com>
1107 fix DRT after the changes to QWebPage.
1109 The great thing is that we actually don't have
1110 any regressions from the QWebPage change :)
1113 * DumpRenderTree/qt/DumpRenderTree.cpp:
1114 (WebCore::DumpRenderTree::DumpRenderTree):
1116 2008-01-04 Lars Knoll <lars@trolltech.com>
1120 make QWebPage a QObject and get things to compile.
1122 Nothing works currently though.
1125 * DumpRenderTree/qt/DumpRenderTree.cpp:
1126 (WebCore::DumpRenderTree::DumpRenderTree):
1128 2008-01-04 Lars Knoll <lars@trolltech.com>
1132 take a QString as identifier in QWebFrame::addToJSWindowObject.
1134 * DumpRenderTree/qt/DumpRenderTree.cpp:
1135 (WebCore::DumpRenderTree::initJSObjects):
1137 2008-01-04 Alp Toker <alp@atoker.com>
1139 GTK+ DRT build fix for breakage introduced in r29149.
1141 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1142 (LayoutTestController::execCommand):
1144 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
1148 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
1150 Added layoutTestController.execCommand to access editor commands that are not available
1151 via document.execCommand.
1153 * DumpRenderTree/LayoutTestController.cpp:
1154 (execCommandCallback):
1155 (LayoutTestController::staticFunctions):
1156 * DumpRenderTree/LayoutTestController.h:
1157 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1158 (LayoutTestController::execCommand):
1159 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1160 (LayoutTestController::queueLoad):
1161 (LayoutTestController::execCommand):
1163 2008-01-03 Alice Liu <alice.liu@apple.com>
1165 Reviewed by Darin, Mitz.
1167 fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
1169 the clickcount should not increase if the last click was at a different location. it's a new click.
1171 * DumpRenderTree/mac/DumpRenderTree.mm:
1173 * DumpRenderTree/mac/EventSendingController.h:
1174 * DumpRenderTree/mac/EventSendingController.mm:
1175 (-[EventSendingController mouseDown]):
1176 (-[EventSendingController mouseUp]):
1178 2008-01-03 Darin Adler <darin@apple.com>
1182 * Scripts/update-webkit: Make this work a little better for the people at Apple
1183 who have a directory named Internal.
1185 2008-01-03 Adam Roben <aroben@apple.com>
1187 Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
1189 Rubberstamped by Mark.
1191 * Scripts/update-webkit-auxiliary-libs:
1193 2008-01-03 Adam Roben <aroben@apple.com>
1195 Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
1197 http://bugs.webkit.org/show_bug.cgi?id=15663
1199 Added a fuzz factor into the Last-Modified comparison for downloading
1200 WebKitAuxiliaryLibrary.zip.
1202 The zip file is served from a set of mirrors who give Last-Modified
1203 times that are off by 1-3 seconds from each other. This was causing
1204 the build bots to redownload WebKitAuxiliaryLibrary for every build,
1205 which would then cause all of WebCore to rebuild each time.
1209 * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
1210 at least 30 seconds newer than the old one -- otherwise we assume that
1211 the difference in time is due to the mirrors being slightly offset
1213 (sub lastModifiedToUnixTime): Added.
1215 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
1219 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
1221 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1225 Moved QWebPage::open to QWebFrame::load and added setHtml.
1228 * DumpRenderTree/qt/DumpRenderTree.cpp:
1229 (WebCore::DumpRenderTree::open):
1231 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1235 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
1238 * DumpRenderTree/qt/DumpRenderTree.cpp:
1239 (WebCore::DumpRenderTree::DumpRenderTree):
1241 2008-01-02 Sam Weinig <sam@webkit.org>
1243 * Scripts/do-webcore-rename: Yet more renaming ideas.
1245 2008-01-02 Darin Adler <darin@apple.com>
1247 * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
1249 2008-01-02 Alice Liu <alice.liu@apple.com>
1251 Reviewed by Sam Weinig.
1253 fixing assertion hit with editing/selection/move-begin-end.html
1255 * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
1256 * DumpRenderTree/win/DumpRenderTree.vcproj:
1257 * DumpRenderTree/win/EventSender.cpp:
1259 using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
1261 2008-01-02 Darin Adler <darin@apple.com>
1263 * Scripts/do-webcore-rename: Some more name change plans.
1265 2008-01-02 Alice Liu <alice.liu@apple.com>
1269 Added handling for page up and page down in EventSender
1271 * DumpRenderTree/mac/EventSendingController.mm:
1272 (-[EventSendingController keyDown:withModifiers:]):
1273 * DumpRenderTree/win/EventSender.cpp:
1276 2008-01-02 Alexey Proskuryakov <ap@webkit.org>
1280 Fix fast/events/arrow-keys-on-body.html for real.
1282 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
1284 2008-01-02 Luca Bruno <lethalman88@gmail.com>
1288 http://bugs.webkit.org/show_bug.cgi?id=16674
1289 [GTK] run-launcher sets wrong LD_LIBRARY_PATH
1291 * Scripts/run-launcher:
1293 2007-12-31 Darin Adler <darin@apple.com>
1297 * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
1298 we get it installed on the build bots.
1300 2007-12-30 Eric Seidel <eric@webkit.org>
1304 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
1306 2007-12-29 Darin Adler <darin@apple.com>
1310 - fix http://bugs.webkit.org/show_bug.cgi?id=16663
1311 leak bot shows createCStringFromNPVariant result leaking
1313 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1314 (pluginInvoke): Added a missing free.
1316 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1318 Reviewed by Alp Toker.
1320 http://bugs.webkit.org/show_bug.cgi?id=16390
1321 Use autotools or GNU make as the build system for the GTK port
1323 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
1324 * GNUmakefile.am: Added.
1326 2007-12-24 Alexey Proskuryakov <ap@webkit.org>
1330 Fix fast/events/arrow-keys-on-body.html, failing on Windows.
1332 * DumpRenderTree/win/EventSender.cpp:
1333 (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
1334 of 1, even though WebKit currently ignores it.
1336 2007-12-23 Kevin Ollivier <kevino@theolliviers.com>
1338 wx buildbot fix. Update libpng dl script to the latest version.
1340 * wx/install-unix-extras:
1342 2007-12-22 Antti Koivisto <antti@apple.com>
1346 * Scripts/webkitdirs.pm:
1348 2007-12-21 Sam Weinig <sam@webkit.org>
1350 Reviewed by Mark Rowe.
1352 - Disable the back/forward cache using the new WebPreferences API
1353 instead of through the BackForwardList. This makes us match what
1356 * DumpRenderTree/mac/DumpRenderTree.mm:
1357 (createWebViewAndOffscreenWindow):
1358 (setDefaultsToConsistentValuesForTesting):
1360 2007-12-21 Dan Bernstein <mitz@apple.com>
1362 Reviewed by Mark Rowe.
1364 - disable the back/forward cache in Windows DumpRenderTree. It is
1365 already disabled in Mac DumpRenderTree.
1367 * DumpRenderTree/win/DumpRenderTree.cpp:
1368 (initializePreferences):
1370 2007-12-13 Antti Koivisto <antti@apple.com>
1372 Reviewed by Darin and Steve.
1374 - check for QuickTime SDK on Windows.
1375 - build media support on Windows by default
1377 * Scripts/build-webkit:
1378 * Scripts/webkitdirs.pm:
1380 2007-12-21 Kevin Ollivier <kevino@theolliviers.com>
1382 Build script fix for buildbot.
1384 * wx/build-wxwebkit:
1386 2007-12-20 Eric Seidel <eric@webkit.org>
1390 * Scripts/run-sunspider: change --runs default to 10 for better accuracy
1392 2007-12-20 Kevin McCullough <kmccullough@apple.com>
1396 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
1399 - Drosera and Safari need to use the same ProgIDs in order for
1400 CoCreateInstance to work properly. The most robust way to do this is
1401 for WebKit to dynamically publish those ProgIDs.
1403 * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
1404 (DebuggerClient::createWebViewWithRequest):
1405 * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
1409 (Drosera::attemptToCreateServerConnection):
1410 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
1411 * Drosera/win/ServerConnection.cpp: Reformat the connection function and
1412 make use of the published ProgIDs.
1413 (ServerConnection::attemptToCreateServerConnection):
1415 2007-12-20 Kevin McCullough <kmccullough@apple.com>
1417 - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
1418 - Build bot and leak fix.
1420 * DumpRenderTree/LayoutTestController.cpp:
1421 (pathToLocalResourceCallback):
1423 2007-12-19 David Kilzer <ddkilzer@apple.com>
1425 Make svn-apply/svn-unapply work with patches from git-format-patch.
1429 * Scripts/svn-apply:
1430 (patch): If 'Index:' can't be found in the text passed in, print it
1431 out with a warning and return early.
1432 * Scripts/svn-unapply:
1435 2007-12-18 Kevin Ollivier <kevino@theolliviers.com>
1437 Reviewed by Alp Toker.
1439 Build related fixes.
1441 * wx/build-wxwebkit:
1442 - Check to make sure the user is running a supported wx port
1443 - More robust checks for Cygwin
1444 - Only run install-unix-extras on Mac, it's not the right solution
1446 - Remove outdated Linux instructions after successful build
1447 - Clean Bakefile-generated files during a clean operation
1449 2007-12-18 Darin Adler <darin@apple.com>
1451 * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
1453 2007-12-18 Steve Falkenburg <sfalken@apple.com>
1455 Add script to run Drosera as part of the nightly.
1457 Reviewed by Kevin M.
1459 * Scripts/run-drosera.cmd: Added.
1461 2007-12-18 Darin Adler <darin@apple.com>
1463 * Scripts/do-webcore-rename: Remove a stray K.
1465 2007-12-18 Darin Adler <darin@apple.com>
1467 * Scripts/do-webcore-rename: Plan more renaming.
1469 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
1471 Reviewed by Alp Toker.
1473 http://bugs.webkit.org/show_bug.cgi?id=16042
1474 [GTK] Eliminate webkit_init()
1476 Moving webkit initialization to WebView class init.
1478 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1480 * GtkLauncher/main.c:
1483 2007-12-17 Luca Bruno <lethalman88@gmail.com>
1485 Reviewed by Alp Toker.
1487 http://bugs.webkit.org/show_bug.cgi?id=13542
1488 gdklauncher doesnt change URL in adress GTKEntry.
1490 * GtkLauncher/main.c:
1491 (load_commit_cb): added
1495 2007-12-16 Dimitri Glazkov <dimitri@glazkov.com>
1497 Reviewed by Adam Roben.
1499 Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
1501 * FindSafari/FindSafari.cpp:
1504 2007-12-16 Brent Fulgham <bfulgham@gmail.com>
1506 Reviewed by Adam Roben.
1508 http://bugs.webkit.org/show_bug.cgi?id=16315
1509 FindSafari needs a path-only option.
1511 * FindSafari/FindSafari.cpp:
1514 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
1518 http://bugs.webkit.org/show_bug.cgi?id=16462
1519 REGRESSION: access keys broken on Windows
1521 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
1524 2007-12-15 Sam Weinig <sam@webkit.org>
1526 Reviewed by Mark Rowe.
1528 Fix urlSuitableForTestResult to correctly identify wstring::npos as
1529 the case when wstring.find doesn't find anything.
1531 * DumpRenderTree/win/DumpRenderTree.cpp:
1532 (urlSuitableForTestResult):
1534 2007-12-15 Alp Toker <alp@atoker.com>
1536 GTK+ DRT build fix for GLib < 2.14.
1538 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1539 (LayoutTestController::setWaitToDump):
1541 2007-12-05 Mark Rowe <mrowe@apple.com>
1543 Reviewed by Alp Toker.
1545 Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents
1546 many layout tests from hanging while waiting on user responses to dialogs.
1548 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1549 (invalidateAnyPreviousWaitToDumpWatchdog):
1550 (webViewScriptAlert):
1551 (webViewScriptPrompt):
1552 (webViewScriptConfirm):
1554 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1555 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1556 (waitToDumpWatchdogFired):
1557 (LayoutTestController::setWaitToDump):
1559 2007-12-05 Mark Rowe <mrowe@apple.com>
1561 Reviewed by Alp Toker.
1563 Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass.
1565 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1566 (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
1569 (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
1570 (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
1571 work queue is empty.
1572 (webViewWindowObjectCleared): Set up window.layoutTestController.
1573 (webViewConsoleMessage): Match the console message format expected by the layout test results.
1574 (main): Hook up the new signals.
1575 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1576 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
1577 dumping multiple times.
1578 * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
1579 * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results.
1581 2007-12-14 Anders Carlsson <andersca@apple.com>
1585 Assert that a web frame that's loading a resource always has either a data source or
1586 a provisional data source.
1588 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1589 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1591 2007-12-14 Darin Adler <darin@apple.com>
1593 - fix mistake causing nearly all tests to fail on Windows
1595 * DumpRenderTree/win/UIDelegate.cpp:
1596 (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
1597 npos, not 0. Also pass URL in to URL function rather than passing the entire message.
1599 * DumpRenderTree/mac/UIDelegate.mm:
1600 (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
1601 than passing the entire message.
1603 2007-12-14 Darin Adler <darin@apple.com>
1607 * DumpRenderTree/mac/UIDelegate.mm:
1608 (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
1609 new-to-Leopard methods.
1611 2007-12-14 Darin Adler <darin@apple.com>
1613 * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
1614 since it now triggers unwanted icon loading. We only had it because we implemented "all"
1615 delegate methods here.
1617 2007-12-14 Anders Carlsson <andersca@apple.com>
1619 Reviewed by Darin and Geoff.
1621 <rdar://problem/5619295>
1622 REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
1624 Add property getting methods to the plug-in.
1626 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1629 2007-12-14 Kevin McCullough <kmccullough@apple.com>
1633 - Layout test fix for mac. When dumped to the console local file paths
1634 now only show the name of the resource not the whole path. This is to
1635 make the results machine and OS independent.
1637 * DumpRenderTree/mac/UIDelegate.mm:
1638 (-[UIDelegate webView:addMessageToConsole:]):
1640 2007-12-13 Kevin McCullough <kmccullough@apple.com>
1644 - Layout tests fix. We need a way to remove machine-dependent
1645 information from paths in layout test results. The UIDelegate now does
1648 * DumpRenderTree/DumpRenderTree.h:
1649 * DumpRenderTree/win/DumpRenderTree.cpp:
1650 (urlSuitableForTestResult):
1651 * DumpRenderTree/win/DumpRenderTreeWin.h:
1652 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
1653 * DumpRenderTree/win/UIDelegate.cpp:
1654 (UIDelegate::webViewAddMessageToConsole):
1656 2007-12-13 Alp Toker <alp@atoker.com>
1658 Build fix for DRT breakage introduced in r28690.
1660 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1661 (LayoutTestController::pathToLocalResource):
1663 2007-12-12 Kevin McCullough <kmccullough@apple.com>
1665 Reviewed by Alice and Sam.
1667 - <rdar://5621435> Need a way to specify local resources (being loaded
1668 from HTTP tests) on Windows.
1669 - Implemented pathToLocalResource which exposes the functionality of
1670 converting a given unix path to the correct location on Windows.
1672 * DumpRenderTree/LayoutTestController.cpp:
1673 (pathToLocalResourceCallback):
1674 (LayoutTestController::staticFunctions):
1675 * DumpRenderTree/LayoutTestController.h:
1676 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1677 (LayoutTestController::pathToLocalResource):
1678 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1679 (LayoutTestController::pathToLocalResource):
1681 2007-12-12 Anders Carlsson <andersca@apple.com>
1685 <rdar://problem/5132003>
1686 dumpResourceLoadCallbacks is not implemented in DRT on Windows.
1688 * DumpRenderTree/win/DumpRenderTree.cpp:
1690 Set the resource load delegate.
1692 * DumpRenderTree/win/DumpRenderTree.vcproj:
1694 * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
1695 * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
1697 2007-12-12 Alexey Proskuryakov <ap@webkit.org>
1699 Reviewed by Adam Roben.
1701 Fix conversion from double to LPARAM in dispatchMessage().
1703 * DumpRenderTree/win/EventSender.cpp:
1704 (dispatchMessageCallback):
1706 2007-12-11 Dan Bernstein <mitz@apple.com>
1708 Reviewed by Mark Rowe and Sam Weinig too!
1710 - added Helvetica Oblique and Helvetica Bold Oblique to the list of
1711 fonts DumpRenderTree registers.
1713 * DumpRenderTree/win/DumpRenderTree.cpp:
1716 2007-12-11 Brady Eidson <beidson@apple.com>
1720 Make DumpRenderTree on mac use its own path for Databases testing
1722 * DumpRenderTree/mac/DumpRenderTree.mm:
1723 (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
1724 for future DRT-only use, then use it to construct the Databases path and set that default
1726 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1730 <rdar://problem/5535636>
1731 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1733 http://bugs.webkit.org/show_bug.cgi?id=13916
1734 JavaScript detects Tab as a character input on a textfield validation
1736 * DumpRenderTree/mac/EventSendingController.mm:
1737 (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
1738 Dispatch a keyup to better match what happens when a key is physically pressed.
1740 * DumpRenderTree/win/EventSender.cpp:
1741 (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
1742 returning from keyDown().
1743 (getConstantCallback): Fixed a couple copy/paste mistakes.
1745 2007-12-07 Kevin McCullough <kmccullough@apple.com>
1749 - <rdar://5599845> Drosera: Does not show loal files in the file list
1752 * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
1753 * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
1754 so the open source community can build.
1756 2007-12-10 Brady Eidson <beidson@apple.com>
1758 Rubberstamped by Sam Weinig
1760 Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
1762 * DumpRenderTree/mac/UIDelegate.mm:
1763 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
1764 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
1766 2007-12-08 Oliver Hunt <oliver@apple.com>
1770 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
1772 Fixes <rdar://problem/5620249> Must disable SVG animation
1773 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
1775 In order to allow finer grained control over the set of SVG features
1776 this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
1778 ENABLE_SVG_ANIMATION
1784 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
1786 Script handles all the new build flags, and allows --svg-experimental
1787 to automatically enable all features.
1789 * Scripts/build-webkit:
1791 2007-12-07 Steve Falkenburg <sfalken@apple.com>
1793 Fix version parsing.
1795 Rubber-stamped by Oliver.
1797 * Drosera/win/Drosera.vcproj/auto-version.sh:
1799 2007-12-07 Steve Falkenburg <sfalken@apple.com>
1801 Build modifications for Drosera.
1805 * Drosera/DroseraWin.make: Added.
1806 * Drosera/win/Drosera.vcproj/Drosera.rc:
1807 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1808 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
1809 * Drosera/win/Drosera.vcproj/VERSION: Added.
1810 * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
1812 2007-12-06 Adam Roben <aroben@apple.com>
1814 Explicitly turn on the Mac font ascent hack on Windows
1816 This keeps our font metrics matching those from Mac.
1820 * DumpRenderTree/win/DumpRenderTree.cpp:
1823 2007-12-06 Anders Carlsson <andersca@apple.com>
1825 Rename main.c to main.cpp here too.
1827 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
1829 2007-12-06 Sam Weinig <sam@webkit.org>
1831 Rubber stamped by Geoff.
1833 * Scripts/do-webcore-rename: Don't rename kjs_css twice.
1835 2007-12-06 Darin Adler <darin@apple.com>
1837 * Scripts/do-webcore-rename: Some more renaming plans.
1839 2007-12-06 Anders Carlsson <andersca@apple.com>
1841 Restore implementation of testGetIntIdentifier that was accidentally
1842 removed somehow (possibly when I made PluginObject be a cpp file).
1844 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1847 2007-12-05 Anders Carlsson <andersca@apple.com>
1849 Make the entry points extern "C".
1850 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1852 2007-12-05 Anders Carlsson <andersca@apple.com>
1856 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1865 2007-12-05 Anders Carlsson <andersca@apple.com>
1867 Add the .cpp files to the TestNetscapePlugIn target.
1869 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1871 2007-12-05 Anders Carlsson <andersca@apple.com>
1875 Rename the TestNetscapePlugIn .c files to be .cpp.
1877 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1878 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
1879 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
1880 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
1881 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
1882 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
1883 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
1884 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1886 2007-12-05 Adam Roben <aroben@apple.com>
1888 Fix case of keypresses from the Windows implementation of eventSender.keyDown
1890 This fixes several regression tests.
1894 * DumpRenderTree/win/EventSender.cpp:
1895 (keyDownCallback): Virtual keycodes for ASCII characters are always
1896 uppercase, so we need to check the case of the original character
1897 passed in to eventSender.keyDown.
1899 2007-12-05 Adam Roben <aroben@apple.com>
1901 Learn from Tim's mistakes
1903 * DumpRenderTree/win/DumpRenderTree.cpp:
1904 (runTest): Reset the authorAndUserStylesEnabled preference for each
1907 2007-12-05 Alp Toker <alp@atoker.com>
1909 Reviewed by Mark Rowe.
1911 Initialize GTK+ and WebKit so the tests can run.
1913 Reorganize the headers a little.
1915 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1918 2007-12-04 Anders Carlsson <andersca@apple.com>
1920 Remove IWebScriptScope include.
1922 * Drosera/win/DebuggerDocumentPlatform.cpp:
1924 2007-12-04 Sam Weinig <sam@webkit.org>
1926 Rubber stamped by Mark Rowe.
1928 Define CF as platform for mac and revert r28409
1930 * DumpRenderTree/DumpRenderTree.h:
1931 * DumpRenderTree/mac/DumpRenderTreeMac.h:
1933 2007-12-04 Sam Weinig <sam@webkit.org>
1935 Define CF as platform for windows.
1937 Reviewed by Adam Roben.
1939 * DumpRenderTree/win/DumpRenderTreeWin.h:
1941 2007-12-04 Kevin McCullough <kmccullough@apple.com>
1943 Reviewed by Adam and Darin.
1945 - Removed a needless BSTR cleanup.
1947 * Drosera/win/DebuggerDocumentPlatform.cpp:
1948 (DebuggerDocument::getPlatformCurrentFunctionStack):
1950 2007-11-27 Adam Roben <aroben@apple.com>
1952 Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
1956 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1957 (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
1959 2007-12-04 Alp Toker <alp@atoker.com>
1961 Prospective Win DRT build fix.
1963 * DumpRenderTree/DumpRenderTree.h:
1965 2007-12-04 Alp Toker <alp@atoker.com>
1967 Fix a clobbered copyright header.
1969 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1971 2007-12-04 Xan Lopez <xan@gnome.org>
1973 Reviewed by Alp Toker.
1975 http://bugs.webkit.org/show_bug.cgi?id=15561
1976 GTK port needs DumpRenderTree implementation
1978 Start work on the GTK+ DRT.
1980 This does not work yet, and there are a few lingering style issues
1981 (nothing major) but this patch has been stuck in the bug tracker for
1984 * DumpRenderTree/DumpRenderTree.h:
1985 * DumpRenderTree/gtk: Added.
1986 * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
1988 (shouldLogFrameLoadDelegates):
1989 (dumpFrameScrollPosition):
1993 (dumpRenderTreeAsText):
1997 * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
1998 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
1999 * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
2000 (GCController::collect):
2001 (GCController::collectOnAlternateThread):
2002 (GCController::getJSObjectCount):
2003 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
2004 (LayoutTestController::~LayoutTestController):
2005 (LayoutTestController::addDisallowedURL):
2006 (LayoutTestController::clearBackForwardList):
2007 (LayoutTestController::copyDecodedHostName):
2008 (LayoutTestController::copyEncodedHostName):
2009 (LayoutTestController::display):
2010 (LayoutTestController::keepWebHistory):
2011 (LayoutTestController::notifyDone):
2012 (LayoutTestController::queueBackNavigation):
2013 (LayoutTestController::queueForwardNavigation):
2014 (LayoutTestController::queueLoad):
2015 (LayoutTestController::queueReload):
2016 (LayoutTestController::queueScript):
2017 (LayoutTestController::setAcceptsEditing):
2018 (LayoutTestController::setCustomPolicyDelegate):
2019 (LayoutTestController::setMainFrameIsFirstResponder):
2020 (LayoutTestController::setTabKeyCyclesThroughElements):
2021 (LayoutTestController::setUseDashboardCompatibilityMode):
2022 (LayoutTestController::setUserStyleSheetEnabled):
2023 (LayoutTestController::setUserStyleSheetLocation):
2024 (LayoutTestController::setWindowIsKey):
2025 (LayoutTestController::setWaitToDump):
2026 (LayoutTestController::windowCount):
2027 (LayoutTestController::setPrivateBrowsingEnabled):
2028 (LayoutTestController::setAuthorAndUserStylesEnabled):
2029 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
2030 (JSStringCopyUTF8CString):
2032 (ReloadItem::invoke):
2033 (ScriptItem::invoke):
2034 (BackForwardItem::invoke):
2036 2007-12-03 Sam Weinig <sam@webkit.org>
2038 Move JavaScriptCore thread testing code to pthread specific directory
2039 and remove the dependance on CoreFoundation by using WTF::HashSet.
2041 Reviewed by Geoff and Oliver.
2043 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2044 * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
2045 * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
2046 * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
2047 * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
2048 * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
2049 * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
2050 * DumpRenderTree/pthreads: Added.
2051 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
2052 (javaScriptThreads):
2053 (runJavaScriptThread):
2054 (startJavaScriptThreads):
2055 (stopJavaScriptThreads):
2057 2007-12-03 Andrew Bonventre <andybons@google.com>
2059 Reviewed by Darin Adler.
2061 - fix http://bugs.webkit.org/show_bug.cgi?id=16267
2062 Symbol lookup menu broken in debugger view
2064 * Drosera/debugger.js: Fixed javascript error where document property
2065 should have been used instead of contentDocument in switchFunction that
2066 was breaking the select symbol dropdown menu. This is because
2067 window.frames will return a Window object and not a frame object like
2068 the author was originally expecting.
2070 2007-12-03 Kevin McCullough <kmccullough@apple.com>
2074 - <rdar://5618942> Drosera: Console window does not process everything
2076 - <rdar://5619005> Drosera: could be sped up by moving the
2077 WebScriptScope stuff into the WebScriptCallFrame.
2078 - Now the console can correctly process objects and does not receive
2079 notifications from JavaScriptCore about the JavaScript in Drosera's
2082 * Drosera/win/DebuggerDocumentPlatform.cpp:
2083 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2084 (DebuggerDocument::platformValueForScopeVariableNamed):
2086 2007-12-03 Stephanie <slewis@apple.com>
2090 Check to see if we are building a debug root
2092 * Scripts/check-for-global-initializers:
2094 2007-12-03 Dan Bernstein <mitz@apple.com>
2096 Reviewed by Darin Adler.
2098 - added a testGetIntIdentifier() method to TestNetscapePlugIn
2100 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2103 2007-12-03 Alexey Proskuryakov <ap@webkit.org>
2107 Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
2108 in a more fine-grained manner than eventSender.keyDown().
2110 * DumpRenderTree/win/EventSender.cpp:
2111 (getConstantCallback):
2112 (dispatchMessageCallback):
2114 2007-12-02 Darin Adler <darin@apple.com>
2116 * Scripts/do-webcore-rename: More planned renaming.
2118 2007-12-02 Sam Weinig <sam@webkit.org>
2120 Rubber stamped by Anders.
2122 Use [NSURL absoluteString] instead of [NSURL description] in order to get
2123 more uniform results cross platform.
2125 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2126 (-[NSURL _drt_descriptionSuitableForTestResult]):
2128 2007-12-02 Sam Weinig <sam@webkit.org>
2130 Rubber stamped by Niko.
2132 Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
2134 * DumpRenderTree/win/DumpRenderTree.cpp:
2135 * DumpRenderTree/win/DumpRenderTree.vcproj:
2136 * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
2137 * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
2138 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
2139 * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
2141 2007-12-01 Alp Toker <alp@atoker.com>
2143 Reviewed by Adam Roben.
2145 Make use of the newly introduced webkit.h convenience header.
2147 * GtkLauncher/main.c:
2149 2007-12-01 Adam Treat <treat@kde.org>
2153 * Check to see if the directory exists and exit if not.
2155 * DumpRenderTree/qt/main.cpp:
2158 2007-12-01 Adam Treat <treat@kde.org>
2162 * Don't hide symbols when in Debug mode
2163 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
2166 * DumpRenderTree/qt/main.cpp:
2169 2007-11-30 Alp Toker <alp@atoker.com>
2171 Reviewed by Adam Roben.
2173 http://bugs.webkit.org/show_bug.cgi?id=15691
2174 [GTK] Public API does not follow GTK+ conventions
2176 Refactor the WebKit/GTK+ public API. Changes:
2177 WebKitPage -> WebKitWebView
2178 WebKitFrame -> WebKitWebFrame
2180 Public API source and header names have been updated to mirror the API
2183 The API is now kept in WebKit/gtk/WebView to match other ports in the
2184 same class such as Mac and Win.
2186 * GtkLauncher/main.c:
2187 (activate_uri_entry_cb):
2190 (progress_change_cb):
2196 2007-11-30 Adam Roben <aroben@apple.com>
2198 Hopefully the final build fix
2200 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
2201 pull in WTF's assertion/logging functions.
2203 2007-11-30 Adam Roben <aroben@apple.com>
2207 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
2210 2007-11-30 Adam Roben <aroben@apple.com>
2214 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
2216 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
2218 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
2219 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
2220 WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
2222 2007-11-30 Sam Weinig <sam@webkit.org>
2224 Reviewed by Adam Roben.
2226 Fix drawSelectionRect to actually draw the selection rect.
2228 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2229 (drawSelectionRect):
2231 2007-11-30 Darin Adler <darin@apple.com>
2233 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
2235 2007-11-30 Darin Adler <darin@apple.com>
2237 * Scripts/do-webcore-rename: Get ready for some future renaming.
2239 2007-11-29 Kevin McCullough <kmccullough@apple.com>
2243 - Removed some unnecessary functions and changed an unused return type.
2245 * Drosera/win/DebuggerClient.cpp:
2246 (registerConsoleClass):
2247 * Drosera/win/DebuggerClient.h:
2248 * Drosera/win/Drosera.cpp:
2249 (registerDroseraClass):
2251 2007-11-28 Alp Toker <alp@atoker.com>
2253 Reviewed by Timothy Hatcher.
2255 http://bugs.webkit.org/show_bug.cgi?id=16174
2256 [GTK] Use "URI" not "URL" in public API
2258 Replace use of the term "URL" with "URI" in public headers,
2259 documentation and some internal code to match GLib/GTK+ convention.
2261 This is now mentioned in the API guidelines:
2262 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
2264 * GtkLauncher/main.c:
2265 (activate_uri_entry_cb):
2270 2007-11-29 Anders Carlsson <andersca@apple.com>
2274 <rdar://problem/5230478>
2275 FrameLoadDelegate callbacks are not dumped in DRT.
2277 * DumpRenderTree/win/DumpRenderTree.cpp:
2278 (shouldLogFrameLoadDelegates):
2281 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
2283 (descriptionSuitableForTestResult):
2284 (FrameLoadDelegate::QueryInterface):
2285 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2286 (FrameLoadDelegate::didFailProvisionalLoadWithError):
2287 (FrameLoadDelegate::didCommitLoadForFrame):
2288 (FrameLoadDelegate::didFinishLoadForFrame):
2289 (FrameLoadDelegate::willCloseFrame):
2290 (FrameLoadDelegate::didClearWindowObject):
2291 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
2292 (FrameLoadDelegate::didHandleOnloadEventsForFrame):
2293 * DumpRenderTree/win/FrameLoaderDelegate.h:
2294 (FrameLoadDelegate::windowScriptObjectAvailable):
2295 (FrameLoadDelegate::didFirstLayoutInFrame):
2297 2007-11-29 Sam Weinig <sam@webkit.org>
2301 Add database quota UIDelegates methods to DRT UIDelegate.
2303 * DumpRenderTree/mac/UIDelegate.mm:
2304 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
2305 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
2307 2007-11-29 Kevin McCullough <kmccullough@apple.com>
2311 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
2312 dying and vice versa.
2313 - This fix will allow Drosera and Safari to reconnect if either of them
2314 closes correctly, but does not fix the case where one of them dies
2317 * Drosera/win/ServerConnection.cpp:
2318 (ServerConnection::attemptToCreateServerConnection): Added a safety
2319 check, because it's possilbe to try to connect to a server that's dying.
2320 (ServerConnection::serverDidDie): Implemented. This resets Drosera when
2321 the server has died.
2322 * Drosera/win/ServerConnection.h: Added the new function and removed
2323 an unnecessary member.
2325 2007-11-29 Anders Carlsson <andersca@apple.com>
2327 * DumpRenderTree/win/DumpRenderTree.vcproj:
2328 Add shlwapi.lib to all configurations.
2330 2007-11-29 Kevin McCullough <kmccullough@apple.com>
2332 - Build fix. Added additional includes for VS Express to the Release
2335 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2337 2007-11-29 Anders Carlsson <andersca@apple.com>
2341 <rdar://problem/5132005>
2342 setUserStyleSheetEnabled is not fully implemented in Windows DRT.
2344 * DumpRenderTree/win/DumpRenderTree.vcproj:
2347 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2348 (LayoutTestController::setUserStyleSheetEnabled):
2351 (appendComponentToPath):
2352 New method which wraps the Win32 API PathAppend.
2355 New method which checks if a file points to a shortcut and
2356 follows the shortcut.
2358 (resolveCygwinPath):
2359 New method that takes a cygwin unix-style path and returns the Win32 path.
2361 (cfStringRefToWString):
2363 (LayoutTestController::setUserStyleSheetLocation):
2366 2007-11-29 Alice Liu <alice.liu@apple.com>
2370 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
2372 * DumpRenderTree/win/EventSender.cpp:
2374 uppercase letters were being sent as lowercase letters without the shift key down.
2376 2007-11-29 Kevin McCullough <kmccullough@apple.com>
2378 - Windows build fix. VS express needs some love.
2380 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2382 2007-11-28 Darin Adler <darin@apple.com>
2384 Reviewed by Adam Roben.
2386 * DumpRenderTree/mac/EventSendingController.mm:
2387 (-[EventSendingController keyDown:withModifiers:]):
2388 Send capital letters through as lowercase letters with the shift key down
2389 rather than sending them as if they were highly unusual "capital letter keys".
2391 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
2392 where you need to update results and more tests are failing than before.
2394 2007-11-28 Anders Carlsson <andersca@apple.com>
2398 <rdar://problem/5132001>
2399 contextClick is not implemented in DRT on Windows.
2401 * DumpRenderTree/win/EventSender.cpp:
2402 (contextClickCallback):
2403 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
2404 by a WM_RBUTTONUP message.
2406 * DumpRenderTree/win/UIDelegate.cpp:
2407 (UIDelegate::hasCustomMenuImplementation):
2408 (UIDelegate::trackCustomPopupMenu):
2409 * DumpRenderTree/win/UIDelegate.h:
2410 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
2411 menu from being shown (and causing the DRT to hang).
2413 2007-11-27 Maciej Stachowiak <mjs@apple.com>
2417 Fix DumpRenderTree ObjC bug comparing strings.
2419 * DumpRenderTree/mac/ObjCController.m:
2420 (-[ObjCController identityIsEqual::]): Compare strings with string
2421 equality instead of identiy equality.
2423 2007-11-27 Timothy Hatcher <timothy@apple.com>
2427 Reset the authorAndUserStylesEnabled preference
2428 back to YES for each test. Fixes the broken tests.
2430 * DumpRenderTree/mac/DumpRenderTree.mm:
2431 (resetWebViewToConsistentStateBeforeTesting):
2433 2007-11-27 Kevin McCullough <kmccullough@apple.com>
2437 - Drosera now displays the console window, although it cannot currently
2440 * Drosera/win/DebuggerClient.cpp: Shows the console window.
2441 (registerConsoleClass): Implemented.
2442 (consoleWndProc): Implemented.
2443 (DebuggerClient::onSize): Implemented.
2444 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
2446 * Drosera/win/DebuggerClient.h: Added needed method and members for
2447 creating and maintaining a new window.
2448 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
2449 lines of code to more appropriate places.
2450 (Drosera::handleCommand):
2455 2007-11-27 Timothy Hatcher <timothy@apple.com>
2457 Reviewed by Dave Hyatt.
2459 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
2461 Add support for disabling author and user styles for testing.
2463 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2464 * DumpRenderTree/LayoutTestController.cpp:
2465 (setAuthorAndUserStylesEnabledCallback):
2466 (LayoutTestController::staticFunctions):
2467 * DumpRenderTree/LayoutTestController.h:
2468 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2469 (LayoutTestController::setAuthorAndUserStylesEnabled):
2470 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2471 (LayoutTestController::setAuthorAndUserStylesEnabled):
2473 2007-11-26 Dan Bernstein <mitz@apple.com>
2477 * DumpRenderTree/mac/Configurations/Base.xcconfig:
2479 2007-11-26 Kevin McCullough <kmccullough@apple.com>
2483 - Implemented displaying variables for Drosera on Win.
2485 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
2486 that retrieve variables to not hold onto the return value since it's
2487 not returned. Also changed to use the new signatures of the retrieval
2489 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2490 (DebuggerDocument::platformValueForScopeVariableNamed):
2491 * Drosera/win/Drosera.cpp: Removed a needless TODO.
2494 2007-11-26 Sam Weinig <sam@webkit.org>
2496 Cleanup names of painting and repainting functions.
2498 Reviewed by Adam Roben.
2500 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2501 (drawSelectionRect): was drawSelectionRectIntoContext.
2502 (dumpWebViewAsPixelsAndCompareWithExpected):
2503 * DumpRenderTree/cg/PixelDumpSupportCG.h:
2504 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2505 (paintWebView): was drawWebViewIntoContext.
2506 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
2508 2007-11-26 Sam Weinig <sam@webkit.org>
2510 Reviewed by Dan Bernstein.
2514 * DumpRenderTree/mac/Configurations/Base.xcconfig:
2516 2007-11-26 Sam Weinig <sam@webkit.org>
2518 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
2519 Use shared PixelDumpSupport for Mac DRT
2521 Reviewed by Adam Roben.
2523 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2524 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
2525 * DumpRenderTree/cg/ImageDiffCG.cpp:
2526 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2527 (drawSelectionRectIntoContext):
2528 (dumpWebViewAsPixelsAndCompareWithExpected):
2529 * DumpRenderTree/cg/PixelDumpSupportCG.h:
2530 * DumpRenderTree/mac/Configurations/Base.xcconfig:
2531 * DumpRenderTree/mac/DumpRenderTree.mm:
2533 * DumpRenderTree/mac/ImageDiff.m: Removed.
2534 * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
2535 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
2536 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
2537 (setDefaultColorProfileToRGB):
2538 (getBitmapContextFromWebView):
2539 (drawWebViewIntoContext):
2540 (repaintWithVerticalSweep):
2541 (repaintWithHorizontalSweep):
2543 * DumpRenderTree/win/PixelDumpSupport.h: Removed.
2545 2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
2547 Bug 16052: prepare-ChangeLog doesn't report deleted files
2548 <http://bugs.webkit.org/show_bug.cgi?id=16052>
2552 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
2554 2007-11-25 David Kilzer <ddkilzer@webkit.org>
2556 Bug 15864: Replace merge-changelog with resolve-ChangeLogs
2557 <http://bugs.webkit.org/show_bug.cgi?id=15864>
2561 Roll functionality of merge-changelog into resolve-ChangeLogs
2562 script. The script now checks for ChangeLog.rej and
2563 ChangeLog.orig files first. If it finds them, it uses the
2564 ChangeLog.rej file as a patch (in old contextual diff format) to
2565 apply with --fuzz=3.
2567 * Scripts/merge-changelog: Removed.
2568 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
2570 2007-11-25 Sam Weinig <sam@webkit.org>
2572 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
2574 Reviewed by Mark Rowe.
2576 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2577 * DumpRenderTree/mac/Configurations/Base.xcconfig:
2578 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2579 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
2580 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
2582 2007-11-25 Sam Weinig <sam@webkit.org>
2584 Convert DumpRenderTree to ues .xcconfig files.
2586 Reviewed by Mark Rowe.
2588 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2589 * DumpRenderTree/mac/Configurations: Added.
2590 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
2591 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
2592 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
2594 2007-11-25 Sam Weinig <sam@webkit.org>
2596 Add ForwardingHeaders to wtf for DumpRenderTree.
2598 Reviewed by Mark Rowe.
2600 * DumpRenderTree/DumpRenderTree.h:
2601 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2602 * DumpRenderTree/ForwardingHeaders: Added.
2603 * DumpRenderTree/ForwardingHeaders/wtf: Added.
2604 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
2605 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
2606 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
2607 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
2608 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
2609 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
2610 * DumpRenderTree/LayoutTestController.cpp:
2611 * DumpRenderTree/WorkQueue.cpp:
2612 * DumpRenderTree/mac/DumpRenderTree.mm:
2613 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2614 * DumpRenderTree/mac/JavaScriptThreading.cpp:
2615 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2616 * DumpRenderTree/mac/ObjCController.m:
2617 * DumpRenderTree/mac/UIDelegate.mm:
2618 * DumpRenderTree/mac/WorkQueueItemMac.mm:
2620 2007-11-25 Adam Roben <aroben@apple.com>
2622 Fix some test failures caused by r28019
2624 Now that stdout is in binary mode, we need to always use printf
2625 instead of wprintf. Otherwise we'll end up with UTF-16 characters in
2630 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
2632 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2633 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2634 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2635 (UIDelegate::webViewAddMessageToConsole):
2637 2007-11-25 Adam Roben <aroben@apple.com>
2639 Set the font smoothing preference in DRT
2641 This makes the pixel results on Windows closer to the Mac results.
2645 * DumpRenderTree/win/DumpRenderTree.cpp:
2646 (initializePreferences):
2648 2007-11-25 Adam Roben <aroben@apple.com>
2650 Port ImageDiff to CG and C++
2652 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
2657 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
2658 * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
2660 (createImageFromStdin):
2662 (getDifferenceBitmap):
2663 (computePercentageDifferent):
2664 * DumpRenderTree/win/ImageDiff.vcproj: Added.
2666 2007-11-25 Adam Roben <aroben@apple.com>
2668 Fix image diff link generation on Windows
2672 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
2675 2007-11-25 Adam Roben <aroben@apple.com>
2677 Implement pixel dumping in Windows DRT
2679 Part of http://bugs.webkit.org/show_bug.cgi?id=16133
2684 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
2685 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
2686 Content-Length header.
2687 (getMD5HashStringForBitmap):
2688 (dumpWebViewAsPixelsAndCompareWithExpected):
2689 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
2690 * DumpRenderTree/win/DumpRenderTree.cpp:
2691 (dump): Do a pixel dump if requested.
2692 (main): Parse pixel test options.
2693 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
2694 the cg/ subdirectory to the include path.
2695 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
2696 available in a header or import library, so we have to go through this
2697 LoadLibrary/GetProcAddress dance to use them.
2705 * DumpRenderTree/win/MD5.h: Added.
2706 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
2707 moved up to the top level to share it with Mac eventually.
2708 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
2709 (getBitmapContextFromWebView): Forces the WebView to paint using a
2710 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
2712 2007-11-25 Adam Roben <aroben@apple.com>
2714 Clean up Windows DRT's option parsing a little bit
2718 * DumpRenderTree/win/DumpRenderTree.cpp:
2719 (main): Put non-option arguments into a Vector.
2721 2007-11-25 Adam Roben <aroben@apple.com>
2723 Make Windows DRT stop changing LF into CRLF
2727 * DumpRenderTree/win/DumpRenderTree.cpp:
2728 (main): Put stdout in binary mode.
2729 * Scripts/run-webkit-tests: Remove the CRLF hack.
2731 2007-11-24 David Kilzer <ddkilzer@webkit.org>
2733 Removed empty directory.
2735 * Scripts/resources: Removed.
2737 2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
2739 Fix bisect-builds to work with recent WebKit nightly builds.
2743 * Scripts/bisect-builds: Check for the
2744 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
2745 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
2746 to WebKit.app/Contents/Resources.
2748 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
2752 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
2753 not closed (affects digg.com)
2755 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
2756 one after finishing with a test to avoid having its delayed onload handler firing when
2757 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
2758 but it helps somewhat.
2760 2007-11-22 Mark Rowe <mrowe@apple.com>
2762 Reviewed by Alp Toker.
2764 Fix build-webkit to propagate make's exit status if it fails.
2766 * Scripts/webkitdirs.pm:
2768 2007-11-22 Dan Bernstein <mitz@apple.com>
2770 Reviewed by Mark Rowe.
2772 - fix crash when running pixel tests
2774 * DumpRenderTree/mac/DumpRenderTree.mm:
2775 (dumpRenderTree): Parse the command line options before setting up the
2776 environment so that we know if we need to set up the pixel dump
2779 2007-11-21 Eric Seidel <eric@webkit.org>
2781 Speculative build fix for Tiger.
2783 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
2785 2007-11-21 Eric Seidel <eric@webkit.org>
2787 Reviewed by Tim Hatcher.
2789 Break out more of DumpRenderTree.mm into individual files
2791 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2792 * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
2795 (makeLargeMallocFailSilently):
2796 * DumpRenderTree/mac/CheckedMalloc.h: Added.
2797 * DumpRenderTree/mac/DumpRenderTree.mm:
2800 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2801 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
2802 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2803 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2804 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2805 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
2806 (javaScriptThreads):
2807 (runJavaScriptThread):
2808 (startJavaScriptThreads):
2809 (stopJavaScriptThreads):
2810 * DumpRenderTree/mac/JavaScriptThreading.h: Added.
2811 * DumpRenderTree/mac/PixelDumpSupport.h: Added.
2812 * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
2813 (restoreColorSpace):
2814 (setDefaultColorProfileToRGB):
2815 (initializeColorSpaceAndScreeBufferForPixelTests):
2816 (md5HashStringForBitmap):
2817 (dumpWebViewAsPixelsAndCompareWithExpected):
2819 2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
2821 Move install-unix-extras to wx directory as it seems only to be used by that
2822 port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
2823 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
2824 have install-unix-extras install into WebKitLibraries as per
2827 Reviewed by Mark Rowe.
2829 * Scripts/install-unix-extras: Removed.
2830 * wx/build-wxwebkit:
2831 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
2833 2007-11-21 Eric Seidel <eric@webkit.org>
2837 More refactoring for greater code readability
2839 * DumpRenderTree/mac/DumpRenderTree.mm:
2840 (initializeGlobalsFromCommandLineOptions):
2841 (initializeColorSpaceAndScreeBufferForPixelTests):
2842 (addTestPluginsToPluginSearchPath):
2843 (useLongRunningServerMode):
2844 (runTestingServerLoop):
2845 (prepareConsistentTestingEnvironment):
2849 (dumpBackForwardListForWebView):
2850 (sizeWebViewForCurrentTest):
2851 (methodNameStringForFailedTest):
2852 (dumpBackForwardListForAllWindows):
2853 (dumpWebViewAsPixelsAndCompareWithExpected):
2854 (invalidateAnyPreviousWaitToDumpWatchdog):
2856 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2857 * DumpRenderTree/mac/UIDelegate.mm:
2858 (-[UIDelegate webView:createWebViewWithRequest:]):
2860 2007-11-21 Eric Seidel <eric@webkit.org>
2862 Reviewed by Tim Hatcher.
2864 Abstract more of DRT into static methods
2866 * DumpRenderTree/mac/DumpRenderTree.mm:
2867 (setDefaultsToConsistentValuesForTesting):
2868 (setupSignalHandlers):
2869 (allocateGlobalControllers):
2871 (releaseGlobalControllers):
2873 (shouldLogFrameLoadDelegates):
2874 (createCFURLFromPathOrURL):
2875 (resetWebViewToConsistentStateBeforeTesting):
2878 2007-11-21 Eric Seidel <eric@webkit.org>
2880 Reviewed by Tim Hatcher.
2882 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
2884 * DumpRenderTree/DumpRenderTree.h:
2885 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2886 * DumpRenderTree/mac/DumpRenderTree.mm:
2890 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
2891 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
2892 (+[DumpRenderTreePasteboard _pasteboardWithName:]):
2893 (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
2894 (-[DumpRenderTreePasteboard declareType:owner:]):
2895 (+[LocalPasteboard alloc]):
2896 (-[LocalPasteboard init]):
2897 (-[LocalPasteboard dealloc]):
2898 (-[LocalPasteboard name]):
2899 (-[LocalPasteboard releaseGlobally]):
2900 (-[LocalPasteboard declareTypes:owner:]):
2901 (-[LocalPasteboard addTypes:owner:]):
2902 (-[LocalPasteboard changeCount]):
2903 (-[LocalPasteboard types]):
2904 (-[LocalPasteboard availableTypeFromArray:]):
2905 (-[LocalPasteboard setData:forType:]):
2906 (-[LocalPasteboard dataForType:]):
2907 (-[LocalPasteboard setPropertyList:forType:]):
2908 (-[LocalPasteboard setString:forType:]):
2909 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
2910 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
2911 (+[DumpRenderTreeWindow allWindows]):
2912 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
2913 (-[DumpRenderTreeWindow dealloc]):
2914 (-[DumpRenderTreeWindow isKeyWindow]):
2915 (-[DumpRenderTreeWindow keyDown:]):
2917 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
2919 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
2920 it indiscriminately copies any headers inside JavaScriptCore,
2921 which includes Tiger ICU headers.
2923 * wx/build-wxwebkit:
2924 Don't run WebCore/move-js-headers.sh any longer.
2926 2007-11-20 Adam Treat <treat@kde.org>
2928 Reviewed by David Kilzer.
2930 * Prepend git branch name to $baseProductDir
2932 * Scripts/VCSUtils.pm:
2933 * Scripts/webkitdirs.pm:
2935 2007-11-20 Mark Rowe <mrowe@apple.com>
2937 Reviewed by Simon Hausmann.
2939 * Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
2940 * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
2941 Have it trigger a "make distclean" rather than "make clean" to ensure that the
2942 built product and generated Makefile's are removed.
2944 2007-11-19 Alp Toker <alp@atoker.com>
2946 Reviewed by Mark Rowe.
2948 http://bugs.webkit.org/show_bug.cgi?id=16040
2949 [GTK] GtkLauncher should be written in C
2951 Port GtkLauncher to plain C.
2953 Use a more conventional GTK+ coding style.
2955 Use a toolbar instead of menus.
2957 Various signature fixes and cleanups.
2959 Add a license header. Assume all previous modifications were copyright
2960 assigned to Apple Inc. by default.
2962 * GtkLauncher/GtkLauncher.pro:
2963 * GtkLauncher/main.c: Added.
2964 (activate_url_entry_cb):
2968 (progress_change_cb):
2977 * GtkLauncher/main.cpp: Removed.
2979 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
2981 Build script fixes to ensure they do the right thing for the
2982 wx port, and update build-wxwebkit to reflect the way the
2983 build scripts now work.
2987 * Scripts/build-testkjs:
2988 * Scripts/build-webkit:
2989 * Scripts/run-javascriptcore-tests:
2990 * Scripts/webkitdirs.pm:
2991 * wx/build-wxwebkit:
2993 2007-11-18 Eric Seidel <eric@webkit.org>
2997 Make run-javascriptcore-tests report failures on exit (to support git bisect)
2999 * Scripts/run-javascriptcore-tests:
3001 2007-11-18 Alexey Proskuryakov <ap@webkit.org>
3003 Reviewed by Adam Roben.
3005 Make run-webkit-tests work with Windows debug build.
3007 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
3008 * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
3009 as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
3010 symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
3011 and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
3013 2007-11-18 Kevin Ollivier <kevino@theolliviers.com>
3015 Add wxWebKit sample and build script, and integrate it with
3016 build-webkit. Also make build-webkit --clean work for all
3019 Reviewed by Darin Adler.
3021 * Scripts/build-webkit:
3022 * Scripts/webkitdirs.pm:
3024 * wx/browser: Added.
3025 * wx/browser/browser.bkl: Added.
3026 * wx/browser/browser.cpp: Added.
3027 * wx/build-wxwebkit: Added.
3029 2007-11-17 Adam Roben <aroben@apple.com>
3031 Make it easy to run Safari in the debugger on Windows
3033 I've added a new script, debug-safari, which launches Safari in the
3034 debugger. On OS X it just calls gdb-safari.
3036 Reviewed by Mark Rowe.
3038 * FindSafari/FindSafari.cpp:
3039 (_tmain): Added a /debugger flag, which in combination with
3040 /printSafariLauncher will print a script that launches Safari in the
3042 * Scripts/debug-safari: Added.
3043 * Scripts/run-safari: Changed to call runSafari().
3044 * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
3045 vsvars32.bat, which will let us find VS/VC++ Express, and passes the
3046 first argument along to FindSafari.
3047 * Scripts/webkitdirs.pm:
3048 (sub runSafari): Added.
3050 2007-11-16 Alexey Proskuryakov <ap@webkit.org>
3052 Reviewed by Adam Roben.
3054 * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
3056 2007-11-16 Ryan Leavengood <leavengood@gmail.com>
3058 Reviewed by David Kilzer.
3060 The git config command was renamed to repo-config at some point. This
3061 change tries git config and then git repo-config if the first fails.
3063 * Scripts/prepare-ChangeLog:
3066 2007-11-16 Dan Bernstein <mitz@apple.com>
3068 Reviewed by Darin Adler and Sam Weinig.
3070 - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
3072 * DumpRenderTree/win/EventSender.cpp:
3073 (keyDownCallback): For characters that cannot be entered on the active
3074 keyboard layout, send a WM_CHAR message with the character along with
3075 a WM_KEYDOWN message with a virtual key code of 255.
3077 2007-11-16 Mark Rowe <mrowe@apple.com>
3079 Reviewed by Tim Hatcher.
3081 Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
3083 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3084 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3086 2007-11-15 Adam Roben <aroben@apple.com>
3088 Make run-safari actually work on Windows
3090 * Scripts/run-safari: Fixed the order of arguments to cp, and added a
3093 2007-11-14 Adam Roben <aroben@apple.com>
3095 Updates to Safari launching now that 3.0.4 is released
3099 * FindSafari/FindSafari.cpp:
3100 (getWebViewCLSID): Use version-independent ProgID.
3101 * Scripts/run-safari: Use run-webkit-nightly.cmd.
3103 2007-11-14 Anders Carlsson <andersca@apple.com>
3107 <rdar://problem/5309081>
3108 In DRT, "plugin.logDestroy = true" not working on Windows.
3110 * DumpRenderTree/win/TestNetscapePlugin/main.c:
3113 2007-11-14 Eric Seidel <eric@webkit.org>
3117 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
3119 2007-11-14 Anders Carlsson <andersca@apple.com>
3123 <rdar://problem/5141186>
3124 window.layoutTestController.setWindowIsKey is not implemented in DRT.
3126 Implement setWindowIsKey.
3128 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3129 (LayoutTestController::setWindowIsKey):
3131 2007-11-13 Sam Weinig <sam@webkit.org>
3133 Reviewed by Adam Roben.
3135 Fix for <rdar://problem/5382579>
3136 http/tests/security/cross-frame-access-put.html reports large
3137 negative numbers for screenLeft and screenTop (Mac reports "0")
3139 * DumpRenderTree/win/UIDelegate.cpp:
3140 (UIDelegate::UIDelegate): Initialize the RECT.
3141 (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
3142 (UIDelegate::webViewFrame): ditto.
3143 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
3145 2007-11-13 Kevin McCullough <kmccullough@apple.com>
3149 - Make Drosera show source, source URLs, and function stack on Windows,
3150 and some minor fixes.
3152 * Drosera/DebuggerDocument.cpp: Force source to always update display.
3153 (DebuggerDocument::updateFileSource):
3154 * Drosera/debugger.js: Force source to always update display.
3155 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
3157 (DebuggerClient::resume):
3158 (DebuggerClient::pause):
3159 (DebuggerClient::stepInto):
3160 (DebuggerClient::stepOver):
3161 (DebuggerClient::stepOut):
3162 (DebuggerClient::showConsole):
3163 (DebuggerClient::closeCurrentFile):
3164 * Drosera/win/DebuggerClient.h: Ditto.
3165 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
3166 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
3167 removed two bugs. 1) caller could be in a bad state when asked to
3168 assign into it. 2) BSTRs were not created correctly.
3169 (DebuggerDocument::getPlatformCurrentFunctionStack):
3170 * Drosera/win/Drosera.cpp: Hook up the menu controls.
3175 (Drosera::stepInto):
3176 (Drosera::stepOver):
3178 (Drosera::showConsole):
3179 (Drosera::closeCurrentFile):
3180 * Drosera/win/Drosera.h: Hook up the menu controls.
3181 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
3182 functions, added a null check, and fixed another bug where caller could
3183 be in a bad state when asked to assign into it.
3184 (ServerConnection::didLoadMainResourceForDataSource):
3185 (ServerConnection::getCallerFrame):
3186 * Drosera/win/ServerConnection.h: Safety first.
3188 2007-11-13 Dan Bernstein <mitz@apple.com>
3190 Reviewed by Darin Adler.
3192 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
3193 DumpRenderTree --pixel-tests renders each test twice
3195 * DumpRenderTree/mac/DumpRenderTree.mm:
3196 (dumpRenderTree): Removed the --paint option because the painting code
3197 is always exercised as a result of
3198 -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
3199 calling -displayIfNeeded.
3200 (dump): Changed to always grab the image from the window since the view
3201 is always displayed.
3204 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
3205 because it always paints.
3207 2007-11-12 Antti Koivisto <antti@apple.com>
3211 Add support for http media tests
3213 * Scripts/run-webkit-tests:
3215 2007-11-12 Sam Weinig <sam@webkit.org>
3217 Reviewed by Adam Roben.
3219 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
3221 * DumpRenderTree/win/DumpRenderTree.cpp:
3223 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3224 (LayoutTestController::setPrivateBrowsingEnabled):
3226 2007-11-12 Adam Roben <aroben@apple.com>
3228 * Scripts/update-webkit-localizable-strings: Changed to only scan the
3229 mac and win subdirectories.
3231 2007-11-11 Adam Roben <aroben@apple.com>
3233 Fix <rdar://5133816> keepWebHistory is not implemented
3235 Fixes fast/history/clicked-link-is-visited.html.
3239 * DumpRenderTree/win/DumpRenderTree.cpp:
3240 (runTest): Clear the optionalSharedHistory.
3241 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3242 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
3244 2007-11-10 Sam Weinig <sam@webkit.org>
3246 Reviewed by Tim Hatcher.
3248 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
3249 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
3252 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
3254 Added test: http/tests/security/cross-frame-access-private-browsing.html
3256 * DumpRenderTree/LayoutTestController.cpp:
3257 (setPrivateBrowsingEnabledCallback):
3258 (LayoutTestController::staticFunctions):
3259 * DumpRenderTree/LayoutTestController.h:
3260 * DumpRenderTree/mac/DumpRenderTree.mm:
3261 (runTest): Default to private browsing disabled.
3262 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3263 (LayoutTestController::setPrivateBrowsingEnabled):
3264 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3265 (LayoutTestController::setPrivateBrowsingEnabled):
3267 2007-11-08 Kevin McCullough <kmccullough@apple.com>
3271 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
3274 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
3275 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
3276 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
3277 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
3278 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
3279 * Drosera/win/Drosera.cpp:
3280 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3282 2007-11-08 Kevin McCullough <kmccullough@apple.com>
3286 - Use the new IWebFrame [local] function signature and get the shared
3289 * Drosera/win/DebuggerClient.cpp:
3290 (DebuggerClient::didFinishLoadForFrame):
3291 * Drosera/win/ServerConnection.cpp:
3292 (ServerConnection::attemptToCreateServerConnection):
3294 2007-11-07 Dan Bernstein <mitz@apple.com>
3296 Reviewed by Darin Adler.
3298 - add an option to run-webkit-tests to ignore pixel test failures where
3299 all pixels differ by no more than a specified threshold
3301 * DumpRenderTree/mac/ImageDiff.m:
3304 (computePercentageDifferent):
3305 * Scripts/run-webkit-tests:
3307 2007-11-07 Simon Hausmann <hausmann@kde.org>
3311 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
3313 * DumpRenderTree/qt/DumpRenderTree.cpp:
3315 2007-11-07 Simon Hausmann <hausmann@kde.org>
3319 Reworked the QWebSettings API.
3320 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
3322 * DumpRenderTree/qt/DumpRenderTree.cpp:
3324 2007-11-07 Simon Hausmann <hausmann@kde.org>
3328 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
3330 * DumpRenderTree/qt/jsobjects.cpp:
3332 2007-11-07 Simon Hausmann <hausmann@kde.org>
3334 Reviewed by Lars Knoll <lars@trolltech.com>.
3336 Add a QWebPage::frameCreated() signal and fix DRT
3338 The removal of createFrame in QWebPage broke the re-implementation
3339 in DumpRenderTree. Instead emit a frameCreated() signal and
3340 connect to it in DumpRenderTree.
3343 * DumpRenderTree/qt/DumpRenderTree.cpp:
3344 (WebCore::WebPage::WebPage):
3345 (WebCore::DumpRenderTree::dump):
3346 (WebCore::DumpRenderTree::connectFrame):
3347 * DumpRenderTree/qt/DumpRenderTree.h:
3349 2007-11-07 Simon Hausmann <hausmann@kde.org>
3351 Reviewed by Lars Knoll <lars@trolltech.com>.
3353 Moved all the event handlers from QWebFrame into QWebPage.
3355 This cleans up the public API and allows us to remove the
3356 HackWebFrame hack in DumpRenderTree.
3359 * DumpRenderTree/qt/jsobjects.cpp:
3360 (EventSender::mouseDown):
3361 (EventSender::mouseUp):
3362 (EventSender::mouseMoveTo):
3364 2007-11-07 Simon Hausmann <hausmann@kde.org>
3368 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
3369 to prevent the default implementation from popping up messageboxes.
3371 * DumpRenderTree/qt/DumpRenderTree.cpp:
3372 (WebCore::WebPage::javaScriptConfirm):
3373 (WebCore::WebPage::javaScriptPrompt):
3375 2007-11-06 Eric Seidel <eric@webkit.org>
3377 * Scripts/build-testkjs: build fix... too many $$
3379 2007-11-06 Eric Seidel <eric@webkit.org>
3381 Reviewed by Mark Rowe.
3383 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
3385 2007-11-05 Adam Roben <aroben@apple.com>
3387 Add support on Windows for WEBKIT_TESTFONTS
3389 This environment variable lets you specify where the fonts to be used
3390 by DumpRenderTree reside. The Qt port is already using this, so I'm
3391 just following their lead.
3395 * DumpRenderTree/win/DumpRenderTree.cpp:
3396 (exePath): Refactored code out of initialize().
3397 (fontsPath): Returns either $WEBKIT_TESTFONTS or
3398 DumpRenderTree.resources.
3399 (initialize): Use the new fontsPath function.
3400 (main): Use the new exePath function.
3401 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
3402 variable to DRT, like Qt does.
3404 2007-11-05 Mark Rowe <mrowe@apple.com>
3406 Rubber-stamped by Alp Toker.
3408 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
3410 * GtkLauncher/main.cpp:
3414 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
3416 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
3417 <http://bugs.webkit.org/show_bug.cgi?id=15830>
3419 Reviewed by Timothy.
3421 Restrict the range of nightly builds used by the bisect-builds script
3422 based on the version of Safari and the version of Mac OS X being used.
3424 Mac OS X 10.4: Safari 2.0: r11976 or newer
3425 Mac OS X 10.4: Safari 3.0: r19992 or newer
3427 Mac OS X 10.5: Safari 2.0: r19594 or newer
3428 Mac OS X 10.5: Safari 3.0: r25124 or newer
3430 * Scripts/bisect-builds:
3431 (findMacOSXVersion): Added.
3432 (makeNightlyList): Added argument to provide version of Mac OS X.
3433 Restrict range of nightly builds based on Safari and Mac OS X versions.
3435 2007-11-04 Kevin McCullough <kmccullough@apple.com>
3439 - This patch involves several changes, all of them were noticed that
3440 they were needed by the work being done in WebKit to get Drosera and
3441 WebKit working together on Windows.
3443 1) Added a debugger console for output messages.
3444 2) Drosera now listens for the WebKit server (before, the server would
3445 have to be running before Drosera was started.)
3446 3) Fixed a bug where the WebView started out as 0x0 pixels.
3447 4) Fixed a bug when there is no scope.
3448 5) Added the HTML, JS, and CSS to the project file to make them easy to
3450 6) Made the ServerConnection functions virtual.
3452 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
3453 for the WebKit server.
3454 (DebuggerClient::DebuggerClient):
3455 (DebuggerClient::~DebuggerClient):
3456 (DebuggerClient::didFinishLoadForFrame):
3457 (DebuggerClient::serverConnected):
3458 (DebuggerClient::attemptToCreateServerConnection):
3459 * Drosera/win/DebuggerClient.h: Ditto.
3460 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
3462 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3463 (DebuggerDocument::platformValueForScopeVariableNamed):
3464 * Drosera/win/Drosera.cpp:
3465 (_tWinMain): Added a console in debug for output messages.
3466 (Drosera::Drosera): Listen for server.
3467 (Drosera::initUI): The server now Initializes COM.
3468 (Drosera::serverConnected): Part of the listening for the server.
3469 (Drosera::attemptToCreateServerConnection): Ditto.
3470 * Drosera/win/Drosera.h: New interface for listening for the server.
3471 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
3472 files to the VS project.
3473 * Drosera/win/ServerConnection.cpp: Part of listening for the server
3475 (ServerConnection::ServerConnection):
3476 (ServerConnection::attemptToCreateServerConnection):
3477 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
3479 (ServerConnection::serverConnected):
3481 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
3485 http://bugs.webkit.org/show_bug.cgi?id=15832
3486 fast/dom/gc-10.html crashes when run alone
3488 Check for !done before using objects that can be already deallocated.
3490 * DumpRenderTree/mac/EditingDelegate.mm:
3491 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3492 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
3493 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3494 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3495 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
3496 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3497 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3498 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3499 (-[EditingDelegate webViewDidBeginEditing:]):
3500 (-[EditingDelegate webViewDidChange:]):
3501 (-[EditingDelegate webViewDidEndEditing:]):
3502 (-[EditingDelegate webViewDidChangeTypingStyle:]):
3503 (-[EditingDelegate webViewDidChangeSelection:]):
3504 * DumpRenderTree/mac/FrameLoadDelegate.mm:
3505 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
3506 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
3507 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3508 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
3509 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
3510 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
3511 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3512 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
3513 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
3514 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
3515 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
3516 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
3517 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
3518 (-[FrameLoadDelegate webView:willCloseFrame:]):
3519 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
3520 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
3521 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3522 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3523 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3524 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
3525 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
3526 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
3527 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
3529 2007-11-04 Mark Rowe <mrowe@apple.com>
3531 Build fix. Don't use Carbon.h as the prefix header as it triggers
3532 warnings that would otherwise be suppressed due to it being a system header.
3534 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3536 2007-11-03 Maciej Stachowiak <mjs@apple.com>
3538 Rubber stamped by Adam.
3540 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
3542 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3544 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
3546 Sort files(...); sections of Xcode project files.
3548 Rubber-stamped by Darin.
3550 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3551 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3552 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3553 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
3555 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
3557 Script to sort "files(...);" sections in Xcode project.pbxproj files.
3561 * Scripts/sort-Xcode-project-file: Added.
3563 2007-11-02 Darin Adler <darin@apple.com>
3565 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
3567 2007-11-02 Darin Adler <darin@apple.com>
3571 * Scripts/run-sunspider: Pass the "--base" option through.
3573 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
3574 the real script do that. Default configuration to Release to match run-sunspider
3575 so we don't end up building Debug just to compare results.
3577 2007-11-01 Adam Roben <aroben@apple.com>
3579 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
3583 * Scripts/commit-log-editor: Show all the directories beneath the
3584 source root, instead of just the last one.
3586 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
3588 Reviewed by Adam Roben.
3590 Print out an error message when the Windows build fails
3591 and provide guidance on how to find out what went wrong.
3593 * Scripts/build-webkit:
3594 * Scripts/webkitdirs.pm:
3596 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
3598 Rubber-stamped by Adam Roben.
3600 Rolled out r27326 - debug CRT seems to cause no problems after all.
3602 * DumpRenderTree/win/DumpRenderTree.vcproj:
3604 2007-10-31 Adam Roben <aroben@apple.com>
3606 Switch the Debug configuration to using the non-debug CRT
3608 This matches WebKit.
3612 * DumpRenderTree/win/DumpRenderTree.vcproj:
3614 2007-10-31 Antti Koivisto <antti@apple.com>
3618 Disable media tests when doing leak checking on Tiger.
3619 They crash in QuickTime (rdar://problem/5537157).
3621 * Scripts/run-webkit-tests:
3623 2007-10-29 Antti Koivisto <antti@apple.com>
3627 Build media support by default on OSX only.
3629 * Scripts/build-webkit:
3631 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3633 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
3634 get caught by the pre-commit hooks.
3636 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3640 - This is a collection of relatively unrelated changes and cleanups
3641 to Drosera to prepare it for interacting with WebKit. A lot of these
3642 changes are just correcting mistakes, for example removing included
3643 headers that are no longer needed.
3645 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
3646 this will be needed by the DebuggerClient.
3647 (DebuggerDocument::server):
3648 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
3649 * Drosera/win/DebuggerClient.cpp:
3650 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
3651 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
3652 (DebuggerClient::createWebViewWithRequest): Added comment about its
3654 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
3656 (DebuggerClient::webViewLoaded): Moved.
3657 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
3658 file, since this was the only place it was used.
3660 * Drosera/win/Drosera.h: Cleaned up the includes.
3661 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
<