1 2008-02-14 Adam Roben <aroben@apple.com>
3 Conditionalize cross-document messaging support
5 The cross-document messaging parts of HTML 5 are in flux and we want
6 ports to be able to turn off the support as needed.
8 Note that the support is turned off by default right now. A subsequent
9 commit will turn it on by default.
13 * Scripts/build-webkit:
15 2008-02-14 Darin Adler <darin@apple.com>
19 * DumpRenderTree/win/UIDelegate.cpp:
20 (UIDelegate::setStatusText): Update parameter types to match declaration.
22 2008-02-14 Oliver Hunt <oliver@apple.com>
24 Reviewed by Geoff G and Weinig.
26 Add ability for DRT to report tests setting the status text.
28 * DumpRenderTree/LayoutTestController.cpp:
29 (LayoutTestController::LayoutTestController):
30 (dumpStatusCallbacksCallback):
31 (LayoutTestController::staticFunctions):
32 * DumpRenderTree/LayoutTestController.h:
33 * DumpRenderTree/mac/UIDelegate.mm:
34 (-[UIDelegate webView:setStatusText:]):
35 * DumpRenderTree/win/UIDelegate.cpp:
36 * DumpRenderTree/win/UIDelegate.h:
38 2008-02-13 Adam Roben <aroben@apple.com>
42 * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
44 2008-02-13 Adam Roben <aroben@apple.com>
46 Windows/GTK+ build fix
48 * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
51 2008-02-13 Brady Eidson <beidson@apple.com>
53 Reviewed by Darin Adler
55 Add some much needed Database support to DRT
57 * DumpRenderTree/LayoutTestController.cpp:
58 (LayoutTestController::LayoutTestController):
59 (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
61 (clearAllDatabasesCallback): Allow a test to delete all databases
62 (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
63 (LayoutTestController::staticFunctions):
65 * DumpRenderTree/LayoutTestController.h:
66 (LayoutTestController::dumpDatabaseCallbacks):
67 (LayoutTestController::setDumpDatabaseCallbacks):
69 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
70 (LayoutTestController::clearAllDatabases):
71 (LayoutTestController::setDatabaseQuota):
73 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
74 (LayoutTestController::clearAllDatabases): Stubbed out
75 (LayoutTestController::setDatabaseQuota): Ditto
76 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
77 (LayoutTestController::clearAllDatabases): Stubbed out with error message
78 (LayoutTestController::setDatabaseQuota): Ditto
80 * DumpRenderTree/mac/UIDelegate.mm:
81 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
82 message with details about the event then return a 5mb quota like before
85 2008-02-12 Steve Falkenburg <sfalken@apple.com>
87 Changes to support merged MIDL output.
89 All COM interfaces are now generated to WebKit.h.
93 * Drosera/win/BaseDelegate.h:
94 * Drosera/win/DebuggerClient.cpp:
95 * Drosera/win/DebuggerDocumentPlatform.cpp:
96 * Drosera/win/Drosera.cpp:
97 * Drosera/win/ServerConnection.cpp:
98 * Drosera/win/ServerConnection.h:
99 * DumpRenderTree/win/DumpRenderTree.cpp:
100 * DumpRenderTree/win/EditingDelegate.h:
101 * DumpRenderTree/win/EventSender.cpp:
102 * DumpRenderTree/win/FrameLoadDelegate.cpp:
103 * DumpRenderTree/win/FrameLoadDelegate.h:
104 * DumpRenderTree/win/GCControllerWin.cpp:
105 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
106 * DumpRenderTree/win/PolicyDelegate.h:
107 * DumpRenderTree/win/ResourceLoadDelegate.h:
108 * DumpRenderTree/win/UIDelegate.cpp:
109 * DumpRenderTree/win/UIDelegate.h:
110 * DumpRenderTree/win/WorkQueueItemWin.cpp:
112 2008-02-10 Dan Bernstein <mitz@apple.com>
114 Reviewed by Oliver Hunt.
118 * DumpRenderTree/cg/ImageDiffCG.cpp:
119 (getDifferenceBitmap): Use a static CFMutableData instead of allocating
120 and leaking the buffer each time.
122 2008-02-07 Adam Roben <aroben@apple.com>
124 Fix error in bisect-builds when responding "broken" for the first
127 Reviewed by Dave Kilzer.
129 * Scripts/bisect-builds: Only try to test the build if the nightly
130 info for the current index has not been deleted.
132 2008-02-07 Geoffrey Garen <ggaren@apple.com>
134 Reviewed by Alexey Proskuryakov.
136 Fixed two minor typos in the --root option, to get it working.
138 * Scripts/run-sunspider:
139 1. Actually assign the function argument to our local variable.
140 2. Actually set the $root variable, so we don't try to build later.
142 2008-02-05 Oliver Hunt <oliver@apple.com>
146 Re-enable foreignObject by default as it is needed for a number of non-fO
147 related SVG tests and none of the old known crashes occur anymore.
149 * Scripts/build-webkit:
151 2008-02-05 Steve Falkenburg <sfalken@apple.com>
153 Build fix. Don't override intermediate directory.
155 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
157 2008-02-05 Holger Hans Peter Freyther <zecke@selfish.org>
159 Build fix for Windows. willCloseFrame is a pure virtual and we are
160 forced to have an implementation.
162 This partially reverts r30014.
164 * DumpRenderTree/win/FrameLoadDelegate.cpp:
165 (FrameLoadDelegate::willCloseFrame):
166 * DumpRenderTree/win/FrameLoadDelegate.h:
168 2008-02-05 Nikolas Zimmermann <zimmermann@kde.org>
172 Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
174 * Scripts/make-js-test-wrappers:
176 2008-02-05 Holger Freyther <zecke@selfish.org>
180 In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
181 the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
182 depends on the order the tests are executed.
184 Propose to remove willCloseFrame and didlCearWindowObject output from the
185 FrameLoadDelegate and update the test results. The output of didClearWindowObject
186 is not interesting for any of the current tests and we have other ways to find
187 out if a frame was closed or not.
189 * DumpRenderTree/mac/FrameLoadDelegate.mm:
190 * DumpRenderTree/win/FrameLoadDelegate.cpp:
191 (FrameLoadDelegate::didClearWindowObject):
192 * DumpRenderTree/win/FrameLoadDelegate.h:
194 2008-02-04 Mark Rowe <mrowe@apple.com>
196 Reviewed by Oliver Hunt.
198 Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
199 Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
201 Don't install the signal handler unless we are running the pixel tests.
202 It is currently only used to restore the color profile, but by catching
203 signals we can trigger a deadlock in DRT while running leak tests.
204 The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
205 and a more complete fix will need to be developed to address this for
208 * DumpRenderTree/mac/DumpRenderTree.mm:
211 2008-02-04 Mark Rowe <mrowe@apple.com>
215 * Scripts/webkitdirs.pm: Fix perl's complaint about an odd number of elements in anonymous hash.
217 2008-02-04 Jan Michael Alonzo <jmalonzo@unpluggable.com>
219 Reviewed by Alp Toker and Mark Rowe.
221 http://bugs.webkit.org/show_bug.cgi?id=16618
222 [GTK] build-webkit and run-webkit-tests autootools support
224 * Scripts/build-webkit: added --database and --icon-database options
225 * Scripts/run-launcher:
226 * Scripts/run-webkit-tests:
227 * Scripts/webkitdirs.pm:
229 2008-02-04 Oliver Hunt <oliver@apple.com>
233 Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
235 Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
237 * Uses Sleep() to implement leapForward reliably.
238 * 3 DND tests still fail for reasons that i have not yet determined
239 * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain
241 * DumpRenderTree/win/EventSender.cpp:
242 (leapForwardCallback):
247 (mouseMoveToCallback):
248 Minor updates to these functions to handle the different message queue structure.
251 More complicated now. Where possible we just use the old while-loop model of execution,
252 but when leapForward has been used we have to jump through some hoops and set up an
253 inner event loop so that we can ensure messages get the correct time stamp.
255 * DumpRenderTree/win/UIDelegate.cpp:
256 (UIDelegate::doDragDrop):
257 Call replaySavedEvents directly to force synchronous handling of drag and drop.
259 2008-02-04 Rodney Dawes <dobey@wayofthemonkey.com>
261 Reviewed by Alp Toker and Mark Rowe.
263 Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
264 Bug 17175: Use of C++ compiler flags in CFLAGS
266 * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
268 2008-02-04 Darin Adler <darin@apple.com>
272 * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
273 and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
276 2008-02-04 Adam Roben <aroben@apple.com>
278 Windows Apple-only build fix
280 * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
283 2008-02-04 Alp Toker <alp@atoker.com>
285 Rubber-stamped by Mark Rowe.
287 Remove all trailing whitespace in the GTK+ port and related
290 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
291 * DumpRenderTree/gtk/GCControllerGtk.cpp:
292 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
295 2008-02-01 Eric Seidel <eric@webkit.org>
299 Also search LayoutTests/svg for js-based tests.
301 * Scripts/make-js-test-wrappers:
303 2008-01-31 Alp Toker <alp@atoker.com>
305 Rubber-stamped by Adam Roben.
307 http://bugs.webkit.org/show_bug.cgi?id=17006
308 [GTK] Header path should be webkit/webkit.h
310 Move the GTK+ API sources as needed and update the build systems.
312 * DumpRenderTree/gtk/DumpRenderTree.cpp:
313 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
314 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
316 * GtkLauncher/main.c:
318 2008-01-30 Stephanie <slewis@apple.com>
322 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.
324 * Scripts/run-webkit-tests:
326 2008-01-30 Alexey Proskuryakov <ap@webkit.org>
328 Reviewed by Adam Roben.
330 One more debug (external) fix.
332 * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
333 and Debug configurations.
335 2008-01-29 Geoffrey Garen <ggaren@apple.com>
337 Reviewed by Sam Weinig. Sam Weinig.
339 Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
340 fails when run after fast/dom/Window/window-property-shadowing.html (16902)
342 Modified our policy delegates not to output window.name. Since a
343 previous test may have explicitly set window.name, we can't rely on its
344 implicit value in test results.
346 * DumpRenderTree/mac/PolicyDelegate.mm:
347 (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
349 * DumpRenderTree/win/PolicyDelegate.cpp:
350 (PolicyDelegate::decidePolicyForNavigationAction):
352 2008-01-29 Mark Rowe <mrowe@apple.com>
354 Reviewed by Tim Hatcher.
356 <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).
358 * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
360 2008-01-29 David Kilzer <ddkilzer@apple.com>
362 Refactor ChangeLog path code
366 * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
367 duplicate code in another foreach() loop.
369 2008-01-29 Alexey Proskuryakov <ap@webkit.org>
373 <rdar://problem/5710692> All storage tests fail/crash
375 * DumpRenderTree/mac/UIDelegate.mm:
376 (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
377 arbitrary quota of 5 megabytes.
379 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
380 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
381 Removed unused (I think) code.
383 * DumpRenderTree/win/UIDelegate.cpp:
384 (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
385 (UIDelegate::webViewPainted): A stub implementation.
386 (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
387 * DumpRenderTree/win/UIDelegate.h:
389 2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
391 GTK+ DRT build fix for breakage introduced in r29822.
393 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
394 (LayoutTestController::setPersistentUserStyleSheetLocation):
395 (LayoutTestController::clearPersistentUserStyleSheet):
397 2008-01-27 Dan Bernstein <mitz@apple.com>
399 Reviewed by Darin Adler.
401 - add support for directory prologues and epilogues to run-webkit-tests
402 - allow setting a persistent user style sheet in DumpRenderTree
403 - activate the WebKit Layout Tests font in Windows DumpRenderTree
405 * DumpRenderTree/LayoutTestController.cpp:
406 (clearPersistentUserStyleSheetCallback): Added.
407 (setPersistentUserStyleSheetLocationCallback): Added.
408 (LayoutTestController::staticFunctions): Added.
409 clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
410 * DumpRenderTree/LayoutTestController.h:
411 * DumpRenderTree/mac/DumpRenderTree.mm:
412 (setPersistentUserStyleSheetLocation): Added.
413 (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
414 to the set of things this function resets. Now it either disables the
415 user style sheet or sets it to the persistent user style sheet and
417 * DumpRenderTree/mac/DumpRenderTreeMac.h:
418 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
419 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
420 (LayoutTestController::clearPersistentUserStyleSheet): Added.
421 * DumpRenderTree/win/DumpRenderTree.cpp:
422 (setPersistentUserStyleSheetLocation): Added.
423 (initialize): Added the WebKit Layout Tests font to the set of fonts to
425 (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
426 * DumpRenderTree/win/DumpRenderTreeWin.h:
427 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
428 (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
429 (LayoutTestController::clearPersistentUserStyleSheet): Added.
430 * Scripts/run-webkit-tests: Changed to look for, and if found process in
431 DumpRenderTree, files named run-webkit-tests-prologue.html and
432 run-webkit-tests-epilogue.html in the resources subdirectory of any
433 test directory and platform test results directory. The prologues are
434 processed before the first test from the directory (and its
435 subdirectories) is run, and the epilogues are processed after the last
436 test from the directory is run. Platform-specific prologues and
437 epilogues are processed in order of specificity.
439 2008-01-25 Alexey Proskuryakov <ap@webkit.org>
441 Reviewed by Mark Rowe.
443 <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
445 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
447 * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
449 2008-01-24 Sam Weinig <sam@webkit.org>
451 Reviewed by Ada Chan.
453 Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
455 - Adds simplified UndoManager to windows DRT to allow testing the
456 undo/redo code paths in WebCore and WebKit. This is a temporary
457 solution to an issue that should eventually be solved by having a
458 shared UndoManager in WebKit.
460 * DumpRenderTree/win/DumpRenderTree.cpp:
462 * DumpRenderTree/win/UIDelegate.cpp:
463 (DRTUndoObject::DRTUndoObject):
464 (DRTUndoObject::invoke):
465 (DRTUndoStack::~DRTUndoStack):
466 (DRTUndoStack::isEmpty):
467 (DRTUndoStack::clear):
468 (DRTUndoStack::push):
470 (DRTUndoManager::canRedo):
471 (DRTUndoManager::canUndo):
472 (DRTUndoManager::DRTUndoManager):
473 (DRTUndoManager::removeAllActions):
474 (DRTUndoManager::registerUndoWithTarget):
475 (DRTUndoManager::redo):
476 (DRTUndoManager::undo):
477 (UIDelegate::UIDelegate):
478 (UIDelegate::resetUndoManager):
479 (UIDelegate::registerUndoWithTarget):
480 (UIDelegate::removeAllActionsWithTarget):
481 (UIDelegate::setActionTitle):
484 (UIDelegate::canUndo):
485 (UIDelegate::canRedo):
486 * DumpRenderTree/win/UIDelegate.h:
488 2008-01-23 Adam Roben <aroben@apple.com>
490 Allow directories containing ChangeLogs to be passed to
493 Reviewed by David Kilzer.
495 * Scripts/resolve-ChangeLogs:
496 (sub findChangeLog): Return a ChangeLog contained within the specified
497 directory if one exists.
499 2008-01-23 Steve Falkenburg <sfalken@apple.com>
501 <rdar://problem/5698732> Copyright strings should include 2008
505 * Drosera/win/Drosera.vcproj/Drosera.rc:
506 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
508 2008-01-23 Alp Toker <alp@atoker.com>
510 Rubber-stamped by Mark Rowe.
512 Remove whitespace after -I in automake include lists.
516 2008-01-23 Michael Goddard <michael.goddard@trolltech.com>
518 Reviewed by Lars Knoll <lars@trolltech.com>.
520 Reworked the JavaScriptCore Qt bindings:
522 * Update JS DRT controller for Qt JS binding changes.
523 There were two functions that needed some changes
524 so that the layout tests would work, so this makes
525 a few tests pass again.
527 * Bump the timeout for layout tests up to 11s.
528 At least some tests have an internal timeout of
529 10 seconds, so make the waitUntilDone approach
530 wait at least 11s. fast/dom/open-and-close-by-DOM.html
531 is one of these - now the failure message is more
535 * DumpRenderTree/qt/jsobjects.cpp:
536 (LayoutTestController::waitUntilDone):
537 * DumpRenderTree/qt/jsobjects.h:
539 2008-01-22 Anders Carlsson <andersca@apple.com>
541 Reviewed by Darin and Adam.
543 <rdar://problem/5688975>
544 div element on microsoft site has wrong left offset.
546 Add new method for testing the return vale of NPN_GetProperty.
548 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
551 2008-01-22 Alexey Proskuryakov <ap@webkit.org>
553 Reviewed by Adam Roben.
555 <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
557 * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
559 2008-01-21 Jan Michael Alonzo <jmalonzo@unpluggable.com>
561 Reviewed by Alp Toker.
563 http://bugs.webkit.org/show_bug.cgi?id=16955
564 Get errors when cross-compile webkit-gtk
566 * GNUmakefile.am: Removed ICU_CFLAGS
568 2008-01-21 Darin Adler <darin@apple.com>
570 Reviewed by Mitz and Adam.
572 * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
573 sorting speed by doing all sort criteria in a single pass instead of three sorts.
575 2008-01-21 Simon Hausmann <hausmann@webkit.org>
579 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
581 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
582 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
583 and make the return value depend on whether we successfully determined a focusable
585 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
586 if we could not handle the focus chain ourselves.
587 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
588 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
589 used to control the situation of stepping out of the focus chain inside the page.
590 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
591 The layout tests expect this to be disabled but for the user it seems sensible to have it
592 on by default, hence the default in qwebsettings.cpp
595 * DumpRenderTree/qt/DumpRenderTree.cpp:
596 (WebCore::WebPage::WebPage):
598 2008-01-19 Mark Rowe <mrowe@apple.com>
600 Reviewed by Alp Toker.
602 Allow the --http flag to run-webkit-tests to override
603 the default behaviour of disabling HTTP tests for Qt,
606 * Scripts/run-webkit-tests:
608 2008-01-19 David Kilzer <ddkilzer@apple.com>
610 <rdar://problem/5695344> check-for-global-initializers script never checks any object files
614 We now touch a check-for-global-initializers.timestamp file in
615 the TARGET_TEMP_DIR directory to determine when new object files
616 have been compiled and thus need to be checked. If the timestamp
617 file doesn't exist, all object files will be checked.
619 Previously the modification time of the "executable" (the
620 framework binary, e.g., WebKit.framework/WebKit) was used, but
621 since this was the last file modified at the end of the compile
622 phase, no object files would ever get checked!
624 Also added JSCustomSQLTransactionCallback.o to the list of files
625 since it has static initializers in Debug builds of WebCore.
627 * Scripts/check-for-global-initializers:
629 2008-01-18 Adam Roben <aroben@apple.com>
633 * Scripts/build-webkit:
635 2008-01-18 Beth Dakin <bdakin@apple.com>
639 Update build-webkit to account for foreign-object being disabled by
642 * Scripts/build-webkit:
644 2008-01-18 Adam Roben <aroben@apple.com>
646 Updated for method renames
650 * DumpRenderTree/mac/FrameLoadDelegate.mm:
651 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
652 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
653 (LayoutTestController::setMainFrameIsFirstResponder):
654 (LayoutTestController::setWindowIsKey):
655 * DumpRenderTree/mac/UIDelegate.mm:
656 (-[UIDelegate webViewFocus:]):
657 * DumpRenderTree/win/FrameLoadDelegate.cpp:
658 (FrameLoadDelegate::didCommitLoadForFrame):
660 2008-01-18 Alexey Proskuryakov <ap@webkit.org>
662 Reviewed by Adam Roben.
664 Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
665 between DRT and TestNetscapePlugin.
667 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
668 * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
670 2008-01-18 Simon Hausmann <hausmann@webkit.org>
674 Fix fast/dom/Window/window-resize.html
676 In DRT connect the page's geometryChangeRequest signal to a slot that
677 sets the geometry of the view widget.
680 * DumpRenderTree/qt/DumpRenderTree.cpp:
681 (WebCore::WebPage::setViewGeometry):
682 (WebCore::WebPage::WebPage):
684 2008-01-17 Steve Falkenburg <sfalken@apple.com>
688 * Drosera/DroseraWin.make:
690 2008-01-17 Darin Adler <darin@apple.com>
692 * Scripts/run-webkit-tests: Fixed a bug number.
694 2008-01-17 Alexey Proskuryakov <ap@webkit.org>
696 Reviewed by Adam Roben.
698 http://bugs.webkit.org/show_bug.cgi?id=16908
699 run-webkit-tests complains about missing FindSafari.exe
701 * Scripts/webkitdirs.pm: Append _debug as appropriate.
703 2008-01-17 Steve Falkenburg <sfalken@apple.com>
705 Re-add DEBUG_WEBKIT_HAS_SUFFIX.
707 Rubber-stamped by Jon Honeycutt.
709 * DumpRenderTree/win/DumpRenderTree.vcproj:
711 2008-01-16 Alp Toker <alp@atoker.com>
713 Reviewed by Mark Rowe.
715 http://bugs.webkit.org/show_bug.cgi?id=16218
716 [GTK] API: Should this entry point be called go_back rather than go_backward?
718 Track back/forward API changes in the tools.
720 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
721 (BackForwardItem::invoke):
722 * GtkLauncher/main.c:
725 2008-01-16 Adam Roben <aroben@apple.com>
727 Windows build fix after r29488
729 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
730 Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
731 expects to find the plugin.
733 2008-01-11 Geoffrey Garen <ggaren@apple.com>
735 Reviewed by Sam Weinig.
737 Fixed the waitUntilDone watchdog timer -- the old code never added the
738 timer to the run loop, so it didn't do anything.
740 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
741 (LayoutTestController::setWaitToDump):
742 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
743 (LayoutTestController::setWaitToDump):
745 2008-01-14 Steve Falkenburg <sfalken@apple.com>
747 Use shared vsprops for most vcproj properties.
751 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
752 * DumpRenderTree/win/DumpRenderTree.vcproj:
753 * DumpRenderTree/win/ImageDiff.vcproj:
754 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
755 * FindSafari/FindSafari.vcproj:
757 2008-01-14 Stephanie <slewis@apple.com>
761 revert accidental character.
763 * Scripts/run-webkit-tests:
765 2008-01-14 Stephanie <slewis@apple.com>
769 add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
771 * Scripts/run-webkit-tests:
773 2008-01-14 Darin Adler <darin@apple.com>
775 * Scripts/do-webcore-rename: Queue up another rename.
777 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
781 * Allow to run the tests in reverse order to spot test cases where the result depends on the order
783 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
785 * Scripts/run-webkit-tests:
787 2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
791 * Randomize tests array to spot test cases where the results depends on the order
793 * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
795 * Scripts/run-webkit-tests:
797 2008-01-14 Darin Adler <darin@apple.com>
799 * Scripts/run-webkit-tests: More ignore list tweaking.
801 2008-01-14 Darin Adler <darin@apple.com>
803 * Scripts/run-webkit-tests: Add another leak to the ignore list.
805 2008-01-14 Dan Bernstein <mitz@apple.com>
807 Reviewed by Adam Roben.
809 - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
812 * DumpRenderTree/win/DumpRenderTree.cpp:
813 (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
815 2008-01-13 Steve Falkenburg <sfalken@apple.com>
817 Share common files across projects.
820 Debug: common.vsprops, debug.vsprops
821 Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
822 Release: common.vsprops, release.vsprops
824 Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
825 debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
827 Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
829 Reviewed by Adam Roben.
831 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
832 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
833 * Drosera/win/Drosera.vcproj/VERSION: Removed.
834 * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
835 * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
836 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
837 * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
838 * DumpRenderTree/win/DumpRenderTree.vcproj:
839 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
840 * DumpRenderTree/win/debug.vsprops: Removed.
841 * DumpRenderTree/win/debug_internal.vsprops: Removed.
842 * DumpRenderTree/win/release.vsprops: Removed.
844 2008-01-13 Brent Fulgham <bfulgham@gmail.com>
848 - http://bugs.webkit.org/show_bug.cgi?id=16314
849 Script to launch Drosera
851 * Scripts/gdb-drosera: Added.
852 * Scripts/run-drosera: Added.
853 * Scripts/run-drosera-nightly.cmd: Added.
854 * Scripts/webkitdirs.pm: Added runDrosera function.
856 2008-01-13 Dan Bernstein <mitz@apple.com>
858 - fix breakage due to last-minute change
860 * DumpRenderTree/win/DumpRenderTree.cpp:
861 (runTest): Declare the loop variable.
863 2008-01-13 Dan Bernstein <mitz@apple.com>
865 Reviewed by Adam Roben.
867 - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
869 * DumpRenderTree/win/DumpRenderTree.cpp:
870 (DumpRenderTreeWndProc):
872 (dumpBackForwardList):
873 (dumpBackForwardListForAllWindows):
875 (resetWebViewToConsistentStateBeforeTesting): Factored out of
878 (allWindows): Added. Returns a vector of all open windows.
879 (windowToWebViewMap): Added. Returns a map from open windows to their
881 (createWebViewAndOffscreenWindow): Factored out of main() to be
882 reusable for creating extra windows.
884 * DumpRenderTree/win/DumpRenderTreeWin.h:
885 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
886 (LayoutTestController::windowCount): Implemented.
887 * DumpRenderTree/win/UIDelegate.cpp:
888 (UIDelegate::createWebViewWithRequest): Implemented.
889 (UIDelegate::webViewClose): Implemented.
890 * DumpRenderTree/win/UIDelegate.h:
892 2008-01-12 Alp Toker <alp@atoker.com>
894 Reviewed by Mark Rowe.
896 Hide non-public symbols in GTK+/autotools release builds.
900 2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
904 * Make launching of the WebKit httpd work on GNU/Debian/Linux
906 The configuration of Apache2 and installation does not depend on
907 the kernel but on the distribution policy. Make launching of httpd
908 work for Debian derived distributions.
910 * Scripts/run-webkit-httpd:
911 * Scripts/run-webkit-tests:
912 * Scripts/webkitdirs.pm:
914 2008-01-12 Mark Rowe <mrowe@apple.com>
916 Reviewed by Maciej Stachowiak.
918 Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
920 * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
921 match the callers expectations that it can take ownership of the string.
923 2008-01-11 Alexey Proskuryakov <ap@webkit.org>
925 Reviewed by Adam Roben.
927 <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
929 * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
930 as these are only posted because the test window is not a normal visible one, and
931 they confuse drag&drop machinery.
933 2008-01-11 Adam Roben <aroben@apple.com>
935 Fix a crash when pathToLocalResource fails and a leak
939 * DumpRenderTree/LayoutTestController.cpp:
940 (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
941 sure not to pass null to JSValueMakeString.
942 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
943 (LayoutTestController::pathToLocalResource): Print an error message if
944 the conversion fails so it's clear what happened.
946 2008-01-11 Geoffrey Garen <ggaren@apple.com>
948 Reviewed by John Sullivan.
950 * DumpRenderTree/mac/GCControllerMac.mm:
951 (GCController::collectOnAlternateThread): Updated for name change.
953 2008-01-10 Kevin Ollivier <kevino@theolliviers.com>
955 wx build fix. Don't build dftables any longer since it's now a Perl
960 2008-01-10 Sam Weinig <sam@webkit.org>
962 Reviewed by Anders Carlsson.
964 Make DRT track open windows instead of allocated windows so that
965 we can avoid ASSERTION due to late deallocs out of our control.
967 * DumpRenderTree/mac/DumpRenderTree.mm:
968 (dumpBackForwardListForAllWindows):
970 * DumpRenderTree/mac/DumpRenderTreeMac.h:
971 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
972 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
973 (+[DumpRenderTreeWindow openWindows]):
974 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
975 (-[DumpRenderTreeWindow close]):
976 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
977 (LayoutTestController::windowCount):
979 2008-01-10 Ada Chan <adachan@apple.com>
981 Meta key is not the same as Alt key on windows.
985 * DumpRenderTree/win/EventSender.cpp:
988 2008-01-09 Kevin McCullough <kmccullough@apple.com>
990 Reviewed by Darin, Sam and Adam.
992 -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
993 link in gmail message displays JavaScript alert falsely complaining
994 about pop-up blocking.
995 - Added the ability to enable the pop-up blocker via the
996 LayoutTestController.
998 * DumpRenderTree/LayoutTestController.cpp:
999 (setPopupBlockingEnabledCallback):
1000 (LayoutTestController::staticFunctions):
1001 * DumpRenderTree/LayoutTestController.h:
1002 * DumpRenderTree/mac/DumpRenderTree.mm:
1003 (setDefaultsToConsistentValuesForTesting):
1004 (resetWebViewToConsistentStateBeforeTesting):
1005 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1006 (LayoutTestController::setPopupBlockingEnabled):
1008 2008-01-10 Lars Knoll <lars@trolltech.com>
1012 rename QWebPageHistory to QWebHistory.
1015 * DumpRenderTree/qt/jsobjects.cpp:
1017 2008-01-09 Maciej Stachowiak <mjs@apple.com>
1021 - add some more renames, adjust some
1023 * Scripts/do-webcore-rename:
1025 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
1029 Enable SVG Fonts support by default.
1031 * Scripts/build-webkit:
1033 2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
1037 Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
1038 DRT doesn't handle platform specific pixel test results correctly.
1040 <test>-expected.txt files and <test>-expected.png files may now live
1041 in different directories (ie. a cross-platform <test>-expected.txt file
1042 and a platform-specific <test>-expected.png file).
1044 * Scripts/run-webkit-tests:
1046 2008-01-04 Kevin McCullough <kmccullough@apple.com>
1050 - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
1051 DRT did not correctly handle printing the '\0' char. Now it does.
1053 * DumpRenderTree/win/DumpRenderTree.cpp:
1057 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1061 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
1064 * DumpRenderTree/qt/main.cpp:
1065 * DumpRenderTree/qt/testplugin.cpp:
1066 * DumpRenderTree/qt/testplugin.h:
1068 2008-01-05 Mark Rowe <mrowe@apple.com>
1070 Reviewed by Alp Toker.
1072 Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
1074 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1075 (processWork): Process pending work.
1076 (webViewLoadFinished): Schedule processing of pending work.
1077 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
1079 2008-01-05 Darin Adler <darin@apple.com>
1081 * Scripts/do-webcore-rename: Some more renaming plans.
1083 2008-01-04 Alice Liu <alice.liu@apple.com>
1085 Reviewed by Alexey and Darin.
1087 Adding "home" and "end" to DRT's keydown since
1088 DOM key events can't handle keyIdentifiers at this point.
1090 * DumpRenderTree/mac/EventSendingController.mm:
1091 (-[EventSendingController keyDown:withModifiers:]):
1092 * DumpRenderTree/win/EventSender.cpp:
1095 2008-01-04 Lars Knoll <lars@trolltech.com>
1099 fix DRT after the changes to QWebPage.
1101 The great thing is that we actually don't have
1102 any regressions from the QWebPage change :)
1105 * DumpRenderTree/qt/DumpRenderTree.cpp:
1106 (WebCore::DumpRenderTree::DumpRenderTree):
1108 2008-01-04 Lars Knoll <lars@trolltech.com>
1112 make QWebPage a QObject and get things to compile.
1114 Nothing works currently though.
1117 * DumpRenderTree/qt/DumpRenderTree.cpp:
1118 (WebCore::DumpRenderTree::DumpRenderTree):
1120 2008-01-04 Lars Knoll <lars@trolltech.com>
1124 take a QString as identifier in QWebFrame::addToJSWindowObject.
1126 * DumpRenderTree/qt/DumpRenderTree.cpp:
1127 (WebCore::DumpRenderTree::initJSObjects):
1129 2008-01-04 Alp Toker <alp@atoker.com>
1131 GTK+ DRT build fix for breakage introduced in r29149.
1133 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1134 (LayoutTestController::execCommand):
1136 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
1140 <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
1142 Added layoutTestController.execCommand to access editor commands that are not available
1143 via document.execCommand.
1145 * DumpRenderTree/LayoutTestController.cpp:
1146 (execCommandCallback):
1147 (LayoutTestController::staticFunctions):
1148 * DumpRenderTree/LayoutTestController.h:
1149 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1150 (LayoutTestController::execCommand):
1151 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1152 (LayoutTestController::queueLoad):
1153 (LayoutTestController::execCommand):
1155 2008-01-03 Alice Liu <alice.liu@apple.com>
1157 Reviewed by Darin, Mitz.
1159 fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
1161 the clickcount should not increase if the last click was at a different location. it's a new click.
1163 * DumpRenderTree/mac/DumpRenderTree.mm:
1165 * DumpRenderTree/mac/EventSendingController.h:
1166 * DumpRenderTree/mac/EventSendingController.mm:
1167 (-[EventSendingController mouseDown]):
1168 (-[EventSendingController mouseUp]):
1170 2008-01-03 Darin Adler <darin@apple.com>
1174 * Scripts/update-webkit: Make this work a little better for the people at Apple
1175 who have a directory named Internal.
1177 2008-01-03 Adam Roben <aroben@apple.com>
1179 Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
1181 Rubberstamped by Mark.
1183 * Scripts/update-webkit-auxiliary-libs:
1185 2008-01-03 Adam Roben <aroben@apple.com>
1187 Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
1189 http://bugs.webkit.org/show_bug.cgi?id=15663
1191 Added a fuzz factor into the Last-Modified comparison for downloading
1192 WebKitAuxiliaryLibrary.zip.
1194 The zip file is served from a set of mirrors who give Last-Modified
1195 times that are off by 1-3 seconds from each other. This was causing
1196 the build bots to redownload WebKitAuxiliaryLibrary for every build,
1197 which would then cause all of WebCore to rebuild each time.
1201 * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
1202 at least 30 seconds newer than the old one -- otherwise we assume that
1203 the difference in time is due to the mirrors being slightly offset
1205 (sub lastModifiedToUnixTime): Added.
1207 2008-01-03 Alexey Proskuryakov <ap@webkit.org>
1211 * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
1213 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1217 Moved QWebPage::open to QWebFrame::load and added setHtml.
1220 * DumpRenderTree/qt/DumpRenderTree.cpp:
1221 (WebCore::DumpRenderTree::open):
1223 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1227 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
1230 * DumpRenderTree/qt/DumpRenderTree.cpp:
1231 (WebCore::DumpRenderTree::DumpRenderTree):
1233 2008-01-02 Sam Weinig <sam@webkit.org>
1235 * Scripts/do-webcore-rename: Yet more renaming ideas.
1237 2008-01-02 Darin Adler <darin@apple.com>
1239 * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
1241 2008-01-02 Alice Liu <alice.liu@apple.com>
1243 Reviewed by Sam Weinig.
1245 fixing assertion hit with editing/selection/move-begin-end.html
1247 * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
1248 * DumpRenderTree/win/DumpRenderTree.vcproj:
1249 * DumpRenderTree/win/EventSender.cpp:
1251 using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
1253 2008-01-02 Darin Adler <darin@apple.com>
1255 * Scripts/do-webcore-rename: Some more name change plans.
1257 2008-01-02 Alice Liu <alice.liu@apple.com>
1261 Added handling for page up and page down in EventSender
1263 * DumpRenderTree/mac/EventSendingController.mm:
1264 (-[EventSendingController keyDown:withModifiers:]):
1265 * DumpRenderTree/win/EventSender.cpp:
1268 2008-01-02 Alexey Proskuryakov <ap@webkit.org>
1272 Fix fast/events/arrow-keys-on-body.html for real.
1274 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
1276 2008-01-02 Luca Bruno <lethalman88@gmail.com>
1280 http://bugs.webkit.org/show_bug.cgi?id=16674
1281 [GTK] run-launcher sets wrong LD_LIBRARY_PATH
1283 * Scripts/run-launcher:
1285 2007-12-31 Darin Adler <darin@apple.com>
1289 * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
1290 we get it installed on the build bots.
1292 2007-12-30 Eric Seidel <eric@webkit.org>
1296 * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
1298 2007-12-29 Darin Adler <darin@apple.com>
1302 - fix http://bugs.webkit.org/show_bug.cgi?id=16663
1303 leak bot shows createCStringFromNPVariant result leaking
1305 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1306 (pluginInvoke): Added a missing free.
1308 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1310 Reviewed by Alp Toker.
1312 http://bugs.webkit.org/show_bug.cgi?id=16390
1313 Use autotools or GNU make as the build system for the GTK port
1315 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
1316 * GNUmakefile.am: Added.
1318 2007-12-24 Alexey Proskuryakov <ap@webkit.org>
1322 Fix fast/events/arrow-keys-on-body.html, failing on Windows.
1324 * DumpRenderTree/win/EventSender.cpp:
1325 (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
1326 of 1, even though WebKit currently ignores it.
1328 2007-12-23 Kevin Ollivier <kevino@theolliviers.com>
1330 wx buildbot fix. Update libpng dl script to the latest version.
1332 * wx/install-unix-extras:
1334 2007-12-22 Antti Koivisto <antti@apple.com>
1338 * Scripts/webkitdirs.pm:
1340 2007-12-21 Sam Weinig <sam@webkit.org>
1342 Reviewed by Mark Rowe.
1344 - Disable the back/forward cache using the new WebPreferences API
1345 instead of through the BackForwardList. This makes us match what
1348 * DumpRenderTree/mac/DumpRenderTree.mm:
1349 (createWebViewAndOffscreenWindow):
1350 (setDefaultsToConsistentValuesForTesting):
1352 2007-12-21 Dan Bernstein <mitz@apple.com>
1354 Reviewed by Mark Rowe.
1356 - disable the back/forward cache in Windows DumpRenderTree. It is
1357 already disabled in Mac DumpRenderTree.
1359 * DumpRenderTree/win/DumpRenderTree.cpp:
1360 (initializePreferences):
1362 2007-12-13 Antti Koivisto <antti@apple.com>
1364 Reviewed by Darin and Steve.
1366 - check for QuickTime SDK on Windows.
1367 - build media support on Windows by default
1369 * Scripts/build-webkit:
1370 * Scripts/webkitdirs.pm:
1372 2007-12-21 Kevin Ollivier <kevino@theolliviers.com>
1374 Build script fix for buildbot.
1376 * wx/build-wxwebkit:
1378 2007-12-20 Eric Seidel <eric@webkit.org>
1382 * Scripts/run-sunspider: change --runs default to 10 for better accuracy
1384 2007-12-20 Kevin McCullough <kmccullough@apple.com>
1388 - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
1391 - Drosera and Safari need to use the same ProgIDs in order for
1392 CoCreateInstance to work properly. The most robust way to do this is
1393 for WebKit to dynamically publish those ProgIDs.
1395 * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
1396 (DebuggerClient::createWebViewWithRequest):
1397 * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
1401 (Drosera::attemptToCreateServerConnection):
1402 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
1403 * Drosera/win/ServerConnection.cpp: Reformat the connection function and
1404 make use of the published ProgIDs.
1405 (ServerConnection::attemptToCreateServerConnection):
1407 2007-12-20 Kevin McCullough <kmccullough@apple.com>
1409 - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
1410 - Build bot and leak fix.
1412 * DumpRenderTree/LayoutTestController.cpp:
1413 (pathToLocalResourceCallback):
1415 2007-12-19 David Kilzer <ddkilzer@apple.com>
1417 Make svn-apply/svn-unapply work with patches from git-format-patch.
1421 * Scripts/svn-apply:
1422 (patch): If 'Index:' can't be found in the text passed in, print it
1423 out with a warning and return early.
1424 * Scripts/svn-unapply:
1427 2007-12-18 Kevin Ollivier <kevino@theolliviers.com>
1429 Reviewed by Alp Toker.
1431 Build related fixes.
1433 * wx/build-wxwebkit:
1434 - Check to make sure the user is running a supported wx port
1435 - More robust checks for Cygwin
1436 - Only run install-unix-extras on Mac, it's not the right solution
1438 - Remove outdated Linux instructions after successful build
1439 - Clean Bakefile-generated files during a clean operation
1441 2007-12-18 Darin Adler <darin@apple.com>
1443 * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
1445 2007-12-18 Steve Falkenburg <sfalken@apple.com>
1447 Add script to run Drosera as part of the nightly.
1449 Reviewed by Kevin M.
1451 * Scripts/run-drosera.cmd: Added.
1453 2007-12-18 Darin Adler <darin@apple.com>
1455 * Scripts/do-webcore-rename: Remove a stray K.
1457 2007-12-18 Darin Adler <darin@apple.com>
1459 * Scripts/do-webcore-rename: Plan more renaming.
1461 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
1463 Reviewed by Alp Toker.
1465 http://bugs.webkit.org/show_bug.cgi?id=16042
1466 [GTK] Eliminate webkit_init()
1468 Moving webkit initialization to WebView class init.
1470 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1472 * GtkLauncher/main.c:
1475 2007-12-17 Luca Bruno <lethalman88@gmail.com>
1477 Reviewed by Alp Toker.
1479 http://bugs.webkit.org/show_bug.cgi?id=13542
1480 gdklauncher doesnt change URL in adress GTKEntry.
1482 * GtkLauncher/main.c:
1483 (load_commit_cb): added
1487 2007-12-16 Dimitri Glazkov <dimitri@glazkov.com>
1489 Reviewed by Adam Roben.
1491 Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
1493 * FindSafari/FindSafari.cpp:
1496 2007-12-16 Brent Fulgham <bfulgham@gmail.com>
1498 Reviewed by Adam Roben.
1500 http://bugs.webkit.org/show_bug.cgi?id=16315
1501 FindSafari needs a path-only option.
1503 * FindSafari/FindSafari.cpp:
1506 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
1510 http://bugs.webkit.org/show_bug.cgi?id=16462
1511 REGRESSION: access keys broken on Windows
1513 * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
1516 2007-12-15 Sam Weinig <sam@webkit.org>
1518 Reviewed by Mark Rowe.
1520 Fix urlSuitableForTestResult to correctly identify wstring::npos as
1521 the case when wstring.find doesn't find anything.
1523 * DumpRenderTree/win/DumpRenderTree.cpp:
1524 (urlSuitableForTestResult):
1526 2007-12-15 Alp Toker <alp@atoker.com>
1528 GTK+ DRT build fix for GLib < 2.14.
1530 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1531 (LayoutTestController::setWaitToDump):
1533 2007-12-05 Mark Rowe <mrowe@apple.com>
1535 Reviewed by Alp Toker.
1537 Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents
1538 many layout tests from hanging while waiting on user responses to dialogs.
1540 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1541 (invalidateAnyPreviousWaitToDumpWatchdog):
1542 (webViewScriptAlert):
1543 (webViewScriptPrompt):
1544 (webViewScriptConfirm):
1546 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1547 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1548 (waitToDumpWatchdogFired):
1549 (LayoutTestController::setWaitToDump):
1551 2007-12-05 Mark Rowe <mrowe@apple.com>
1553 Reviewed by Alp Toker.
1555 Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass.
1557 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1558 (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
1561 (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
1562 (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
1563 work queue is empty.
1564 (webViewWindowObjectCleared): Set up window.layoutTestController.
1565 (webViewConsoleMessage): Match the console message format expected by the layout test results.
1566 (main): Hook up the new signals.
1567 * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1568 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
1569 dumping multiple times.
1570 * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
1571 * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results.
1573 2007-12-14 Anders Carlsson <andersca@apple.com>
1577 Assert that a web frame that's loading a resource always has either a data source or
1578 a provisional data source.
1580 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
1581 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
1583 2007-12-14 Darin Adler <darin@apple.com>
1585 - fix mistake causing nearly all tests to fail on Windows
1587 * DumpRenderTree/win/UIDelegate.cpp:
1588 (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
1589 npos, not 0. Also pass URL in to URL function rather than passing the entire message.
1591 * DumpRenderTree/mac/UIDelegate.mm:
1592 (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
1593 than passing the entire message.
1595 2007-12-14 Darin Adler <darin@apple.com>
1599 * DumpRenderTree/mac/UIDelegate.mm:
1600 (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
1601 new-to-Leopard methods.
1603 2007-12-14 Darin Adler <darin@apple.com>
1605 * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
1606 since it now triggers unwanted icon loading. We only had it because we implemented "all"
1607 delegate methods here.
1609 2007-12-14 Anders Carlsson <andersca@apple.com>
1611 Reviewed by Darin and Geoff.
1613 <rdar://problem/5619295>
1614 REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
1616 Add property getting methods to the plug-in.
1618 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1621 2007-12-14 Kevin McCullough <kmccullough@apple.com>
1625 - Layout test fix for mac. When dumped to the console local file paths
1626 now only show the name of the resource not the whole path. This is to
1627 make the results machine and OS independent.
1629 * DumpRenderTree/mac/UIDelegate.mm:
1630 (-[UIDelegate webView:addMessageToConsole:]):
1632 2007-12-13 Kevin McCullough <kmccullough@apple.com>
1636 - Layout tests fix. We need a way to remove machine-dependent
1637 information from paths in layout test results. The UIDelegate now does
1640 * DumpRenderTree/DumpRenderTree.h:
1641 * DumpRenderTree/win/DumpRenderTree.cpp:
1642 (urlSuitableForTestResult):
1643 * DumpRenderTree/win/DumpRenderTreeWin.h:
1644 * DumpRenderTree/win/ResourceLoadDelegate.cpp:
1645 * DumpRenderTree/win/UIDelegate.cpp:
1646 (UIDelegate::webViewAddMessageToConsole):
1648 2007-12-13 Alp Toker <alp@atoker.com>
1650 Build fix for DRT breakage introduced in r28690.
1652 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1653 (LayoutTestController::pathToLocalResource):
1655 2007-12-12 Kevin McCullough <kmccullough@apple.com>
1657 Reviewed by Alice and Sam.
1659 - <rdar://5621435> Need a way to specify local resources (being loaded
1660 from HTTP tests) on Windows.
1661 - Implemented pathToLocalResource which exposes the functionality of
1662 converting a given unix path to the correct location on Windows.
1664 * DumpRenderTree/LayoutTestController.cpp:
1665 (pathToLocalResourceCallback):
1666 (LayoutTestController::staticFunctions):
1667 * DumpRenderTree/LayoutTestController.h:
1668 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1669 (LayoutTestController::pathToLocalResource):
1670 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1671 (LayoutTestController::pathToLocalResource):
1673 2007-12-12 Anders Carlsson <andersca@apple.com>
1677 <rdar://problem/5132003>
1678 dumpResourceLoadCallbacks is not implemented in DRT on Windows.
1680 * DumpRenderTree/win/DumpRenderTree.cpp:
1682 Set the resource load delegate.
1684 * DumpRenderTree/win/DumpRenderTree.vcproj:
1686 * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
1687 * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
1689 2007-12-12 Alexey Proskuryakov <ap@webkit.org>
1691 Reviewed by Adam Roben.
1693 Fix conversion from double to LPARAM in dispatchMessage().
1695 * DumpRenderTree/win/EventSender.cpp:
1696 (dispatchMessageCallback):
1698 2007-12-11 Dan Bernstein <mitz@apple.com>
1700 Reviewed by Mark Rowe and Sam Weinig too!
1702 - added Helvetica Oblique and Helvetica Bold Oblique to the list of
1703 fonts DumpRenderTree registers.
1705 * DumpRenderTree/win/DumpRenderTree.cpp:
1708 2007-12-11 Brady Eidson <beidson@apple.com>
1712 Make DumpRenderTree on mac use its own path for Databases testing
1714 * DumpRenderTree/mac/DumpRenderTree.mm:
1715 (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
1716 for future DRT-only use, then use it to construct the Databases path and set that default
1718 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1722 <rdar://problem/5535636>
1723 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1725 http://bugs.webkit.org/show_bug.cgi?id=13916
1726 JavaScript detects Tab as a character input on a textfield validation
1728 * DumpRenderTree/mac/EventSendingController.mm:
1729 (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
1730 Dispatch a keyup to better match what happens when a key is physically pressed.
1732 * DumpRenderTree/win/EventSender.cpp:
1733 (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
1734 returning from keyDown().
1735 (getConstantCallback): Fixed a couple copy/paste mistakes.
1737 2007-12-07 Kevin McCullough <kmccullough@apple.com>
1741 - <rdar://5599845> Drosera: Does not show loal files in the file list
1744 * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
1745 * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
1746 so the open source community can build.
1748 2007-12-10 Brady Eidson <beidson@apple.com>
1750 Rubberstamped by Sam Weinig
1752 Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
1754 * DumpRenderTree/mac/UIDelegate.mm:
1755 (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
1756 (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
1758 2007-12-08 Oliver Hunt <oliver@apple.com>
1762 Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
1764 Fixes <rdar://problem/5620249> Must disable SVG animation
1765 <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
1767 In order to allow finer grained control over the set of SVG features
1768 this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
1770 ENABLE_SVG_ANIMATION
1776 by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
1778 Script handles all the new build flags, and allows --svg-experimental
1779 to automatically enable all features.
1781 * Scripts/build-webkit:
1783 2007-12-07 Steve Falkenburg <sfalken@apple.com>
1785 Fix version parsing.
1787 Rubber-stamped by Oliver.
1789 * Drosera/win/Drosera.vcproj/auto-version.sh:
1791 2007-12-07 Steve Falkenburg <sfalken@apple.com>
1793 Build modifications for Drosera.
1797 * Drosera/DroseraWin.make: Added.
1798 * Drosera/win/Drosera.vcproj/Drosera.rc:
1799 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1800 * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
1801 * Drosera/win/Drosera.vcproj/VERSION: Added.
1802 * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
1804 2007-12-06 Adam Roben <aroben@apple.com>
1806 Explicitly turn on the Mac font ascent hack on Windows
1808 This keeps our font metrics matching those from Mac.
1812 * DumpRenderTree/win/DumpRenderTree.cpp:
1815 2007-12-06 Anders Carlsson <andersca@apple.com>
1817 Rename main.c to main.cpp here too.
1819 * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
1821 2007-12-06 Sam Weinig <sam@webkit.org>
1823 Rubber stamped by Geoff.
1825 * Scripts/do-webcore-rename: Don't rename kjs_css twice.
1827 2007-12-06 Darin Adler <darin@apple.com>
1829 * Scripts/do-webcore-rename: Some more renaming plans.
1831 2007-12-06 Anders Carlsson <andersca@apple.com>
1833 Restore implementation of testGetIntIdentifier that was accidentally
1834 removed somehow (possibly when I made PluginObject be a cpp file).
1836 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1839 2007-12-05 Anders Carlsson <andersca@apple.com>
1841 Make the entry points extern "C".
1842 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1844 2007-12-05 Anders Carlsson <andersca@apple.com>
1848 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1857 2007-12-05 Anders Carlsson <andersca@apple.com>
1859 Add the .cpp files to the TestNetscapePlugIn target.
1861 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1863 2007-12-05 Anders Carlsson <andersca@apple.com>
1867 Rename the TestNetscapePlugIn .c files to be .cpp.
1869 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1870 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
1871 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
1872 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
1873 * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
1874 * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
1875 * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
1876 * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1878 2007-12-05 Adam Roben <aroben@apple.com>
1880 Fix case of keypresses from the Windows implementation of eventSender.keyDown
1882 This fixes several regression tests.
1886 * DumpRenderTree/win/EventSender.cpp:
1887 (keyDownCallback): Virtual keycodes for ASCII characters are always
1888 uppercase, so we need to check the case of the original character
1889 passed in to eventSender.keyDown.
1891 2007-12-05 Adam Roben <aroben@apple.com>
1893 Learn from Tim's mistakes
1895 * DumpRenderTree/win/DumpRenderTree.cpp:
1896 (runTest): Reset the authorAndUserStylesEnabled preference for each
1899 2007-12-05 Alp Toker <alp@atoker.com>
1901 Reviewed by Mark Rowe.
1903 Initialize GTK+ and WebKit so the tests can run.
1905 Reorganize the headers a little.
1907 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1910 2007-12-04 Anders Carlsson <andersca@apple.com>
1912 Remove IWebScriptScope include.
1914 * Drosera/win/DebuggerDocumentPlatform.cpp:
1916 2007-12-04 Sam Weinig <sam@webkit.org>
1918 Rubber stamped by Mark Rowe.
1920 Define CF as platform for mac and revert r28409
1922 * DumpRenderTree/DumpRenderTree.h:
1923 * DumpRenderTree/mac/DumpRenderTreeMac.h:
1925 2007-12-04 Sam Weinig <sam@webkit.org>
1927 Define CF as platform for windows.
1929 Reviewed by Adam Roben.
1931 * DumpRenderTree/win/DumpRenderTreeWin.h:
1933 2007-12-04 Kevin McCullough <kmccullough@apple.com>
1935 Reviewed by Adam and Darin.
1937 - Removed a needless BSTR cleanup.
1939 * Drosera/win/DebuggerDocumentPlatform.cpp:
1940 (DebuggerDocument::getPlatformCurrentFunctionStack):
1942 2007-11-27 Adam Roben <aroben@apple.com>
1944 Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
1948 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1949 (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
1951 2007-12-04 Alp Toker <alp@atoker.com>
1953 Prospective Win DRT build fix.
1955 * DumpRenderTree/DumpRenderTree.h:
1957 2007-12-04 Alp Toker <alp@atoker.com>
1959 Fix a clobbered copyright header.
1961 * DumpRenderTree/gtk/DumpRenderTree.cpp:
1963 2007-12-04 Xan Lopez <xan@gnome.org>
1965 Reviewed by Alp Toker.
1967 http://bugs.webkit.org/show_bug.cgi?id=15561
1968 GTK port needs DumpRenderTree implementation
1970 Start work on the GTK+ DRT.
1972 This does not work yet, and there are a few lingering style issues
1973 (nothing major) but this patch has been stuck in the bug tracker for
1976 * DumpRenderTree/DumpRenderTree.h:
1977 * DumpRenderTree/gtk: Added.
1978 * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
1980 (shouldLogFrameLoadDelegates):
1981 (dumpFrameScrollPosition):
1985 (dumpRenderTreeAsText):
1989 * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
1990 * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
1991 * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
1992 (GCController::collect):
1993 (GCController::collectOnAlternateThread):
1994 (GCController::getJSObjectCount):
1995 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
1996 (LayoutTestController::~LayoutTestController):
1997 (LayoutTestController::addDisallowedURL):
1998 (LayoutTestController::clearBackForwardList):
1999 (LayoutTestController::copyDecodedHostName):
2000 (LayoutTestController::copyEncodedHostName):
2001 (LayoutTestController::display):
2002 (LayoutTestController::keepWebHistory):
2003 (LayoutTestController::notifyDone):
2004 (LayoutTestController::queueBackNavigation):
2005 (LayoutTestController::queueForwardNavigation):
2006 (LayoutTestController::queueLoad):
2007 (LayoutTestController::queueReload):
2008 (LayoutTestController::queueScript):
2009 (LayoutTestController::setAcceptsEditing):
2010 (LayoutTestController::setCustomPolicyDelegate):
2011 (LayoutTestController::setMainFrameIsFirstResponder):
2012 (LayoutTestController::setTabKeyCyclesThroughElements):
2013 (LayoutTestController::setUseDashboardCompatibilityMode):
2014 (LayoutTestController::setUserStyleSheetEnabled):
2015 (LayoutTestController::setUserStyleSheetLocation):
2016 (LayoutTestController::setWindowIsKey):
2017 (LayoutTestController::setWaitToDump):
2018 (LayoutTestController::windowCount):
2019 (LayoutTestController::setPrivateBrowsingEnabled):
2020 (LayoutTestController::setAuthorAndUserStylesEnabled):
2021 * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
2022 (JSStringCopyUTF8CString):
2024 (ReloadItem::invoke):
2025 (ScriptItem::invoke):
2026 (BackForwardItem::invoke):
2028 2007-12-03 Sam Weinig <sam@webkit.org>
2030 Move JavaScriptCore thread testing code to pthread specific directory
2031 and remove the dependance on CoreFoundation by using WTF::HashSet.
2033 Reviewed by Geoff and Oliver.
2035 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2036 * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
2037 * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
2038 * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
2039 * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
2040 * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
2041 * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
2042 * DumpRenderTree/pthreads: Added.
2043 * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
2044 (javaScriptThreads):
2045 (runJavaScriptThread):
2046 (startJavaScriptThreads):
2047 (stopJavaScriptThreads):
2049 2007-12-03 Andrew Bonventre <andybons@google.com>
2051 Reviewed by Darin Adler.
2053 - fix http://bugs.webkit.org/show_bug.cgi?id=16267
2054 Symbol lookup menu broken in debugger view
2056 * Drosera/debugger.js: Fixed javascript error where document property
2057 should have been used instead of contentDocument in switchFunction that
2058 was breaking the select symbol dropdown menu. This is because
2059 window.frames will return a Window object and not a frame object like
2060 the author was originally expecting.
2062 2007-12-03 Kevin McCullough <kmccullough@apple.com>
2066 - <rdar://5618942> Drosera: Console window does not process everything
2068 - <rdar://5619005> Drosera: could be sped up by moving the
2069 WebScriptScope stuff into the WebScriptCallFrame.
2070 - Now the console can correctly process objects and does not receive
2071 notifications from JavaScriptCore about the JavaScript in Drosera's
2074 * Drosera/win/DebuggerDocumentPlatform.cpp:
2075 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2076 (DebuggerDocument::platformValueForScopeVariableNamed):
2078 2007-12-03 Stephanie <slewis@apple.com>
2082 Check to see if we are building a debug root
2084 * Scripts/check-for-global-initializers:
2086 2007-12-03 Dan Bernstein <mitz@apple.com>
2088 Reviewed by Darin Adler.
2090 - added a testGetIntIdentifier() method to TestNetscapePlugIn
2092 * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
2095 2007-12-03 Alexey Proskuryakov <ap@webkit.org>
2099 Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
2100 in a more fine-grained manner than eventSender.keyDown().
2102 * DumpRenderTree/win/EventSender.cpp:
2103 (getConstantCallback):
2104 (dispatchMessageCallback):
2106 2007-12-02 Darin Adler <darin@apple.com>
2108 * Scripts/do-webcore-rename: More planned renaming.
2110 2007-12-02 Sam Weinig <sam@webkit.org>
2112 Rubber stamped by Anders.
2114 Use [NSURL absoluteString] instead of [NSURL description] in order to get
2115 more uniform results cross platform.
2117 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2118 (-[NSURL _drt_descriptionSuitableForTestResult]):
2120 2007-12-02 Sam Weinig <sam@webkit.org>
2122 Rubber stamped by Niko.
2124 Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
2126 * DumpRenderTree/win/DumpRenderTree.cpp:
2127 * DumpRenderTree/win/DumpRenderTree.vcproj:
2128 * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
2129 * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
2130 * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
2131 * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
2133 2007-12-01 Alp Toker <alp@atoker.com>
2135 Reviewed by Adam Roben.
2137 Make use of the newly introduced webkit.h convenience header.
2139 * GtkLauncher/main.c:
2141 2007-12-01 Adam Treat <treat@kde.org>
2145 * Check to see if the directory exists and exit if not.
2147 * DumpRenderTree/qt/main.cpp:
2150 2007-12-01 Adam Treat <treat@kde.org>
2154 * Don't hide symbols when in Debug mode
2155 * On Linux (glibc) provide a backtrace in the test output for debugging purposes
2158 * DumpRenderTree/qt/main.cpp:
2161 2007-11-30 Alp Toker <alp@atoker.com>
2163 Reviewed by Adam Roben.
2165 http://bugs.webkit.org/show_bug.cgi?id=15691
2166 [GTK] Public API does not follow GTK+ conventions
2168 Refactor the WebKit/GTK+ public API. Changes:
2169 WebKitPage -> WebKitWebView
2170 WebKitFrame -> WebKitWebFrame
2172 Public API source and header names have been updated to mirror the API
2175 The API is now kept in WebKit/gtk/WebView to match other ports in the
2176 same class such as Mac and Win.
2178 * GtkLauncher/main.c:
2179 (activate_uri_entry_cb):
2182 (progress_change_cb):
2188 2007-11-30 Adam Roben <aroben@apple.com>
2190 Hopefully the final build fix
2192 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
2193 pull in WTF's assertion/logging functions.
2195 2007-11-30 Adam Roben <aroben@apple.com>
2199 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
2202 2007-11-30 Adam Roben <aroben@apple.com>
2206 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
2208 * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
2210 * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
2211 * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
2212 WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
2214 2007-11-30 Sam Weinig <sam@webkit.org>
2216 Reviewed by Adam Roben.
2218 Fix drawSelectionRect to actually draw the selection rect.
2220 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2221 (drawSelectionRect):
2223 2007-11-30 Darin Adler <darin@apple.com>
2225 * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
2227 2007-11-30 Darin Adler <darin@apple.com>
2229 * Scripts/do-webcore-rename: Get ready for some future renaming.
2231 2007-11-29 Kevin McCullough <kmccullough@apple.com>
2235 - Removed some unnecessary functions and changed an unused return type.
2237 * Drosera/win/DebuggerClient.cpp:
2238 (registerConsoleClass):
2239 * Drosera/win/DebuggerClient.h:
2240 * Drosera/win/Drosera.cpp:
2241 (registerDroseraClass):
2243 2007-11-28 Alp Toker <alp@atoker.com>
2245 Reviewed by Timothy Hatcher.
2247 http://bugs.webkit.org/show_bug.cgi?id=16174
2248 [GTK] Use "URI" not "URL" in public API
2250 Replace use of the term "URL" with "URI" in public headers,
2251 documentation and some internal code to match GLib/GTK+ convention.
2253 This is now mentioned in the API guidelines:
2254 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
2256 * GtkLauncher/main.c:
2257 (activate_uri_entry_cb):
2262 2007-11-29 Anders Carlsson <andersca@apple.com>
2266 <rdar://problem/5230478>
2267 FrameLoadDelegate callbacks are not dumped in DRT.
2269 * DumpRenderTree/win/DumpRenderTree.cpp:
2270 (shouldLogFrameLoadDelegates):
2273 * DumpRenderTree/win/FrameLoaderDelegate.cpp:
2275 (descriptionSuitableForTestResult):
2276 (FrameLoadDelegate::QueryInterface):
2277 (FrameLoadDelegate::didStartProvisionalLoadForFrame):
2278 (FrameLoadDelegate::didFailProvisionalLoadWithError):
2279 (FrameLoadDelegate::didCommitLoadForFrame):
2280 (FrameLoadDelegate::didFinishLoadForFrame):
2281 (FrameLoadDelegate::willCloseFrame):
2282 (FrameLoadDelegate::didClearWindowObject):
2283 (FrameLoadDelegate::didFinishDocumentLoadForFrame):
2284 (FrameLoadDelegate::didHandleOnloadEventsForFrame):
2285 * DumpRenderTree/win/FrameLoaderDelegate.h:
2286 (FrameLoadDelegate::windowScriptObjectAvailable):
2287 (FrameLoadDelegate::didFirstLayoutInFrame):
2289 2007-11-29 Sam Weinig <sam@webkit.org>
2293 Add database quota UIDelegates methods to DRT UIDelegate.
2295 * DumpRenderTree/mac/UIDelegate.mm:
2296 (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
2297 (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
2299 2007-11-29 Kevin McCullough <kmccullough@apple.com>
2303 - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
2304 dying and vice versa.
2305 - This fix will allow Drosera and Safari to reconnect if either of them
2306 closes correctly, but does not fix the case where one of them dies
2309 * Drosera/win/ServerConnection.cpp:
2310 (ServerConnection::attemptToCreateServerConnection): Added a safety
2311 check, because it's possilbe to try to connect to a server that's dying.
2312 (ServerConnection::serverDidDie): Implemented. This resets Drosera when
2313 the server has died.
2314 * Drosera/win/ServerConnection.h: Added the new function and removed
2315 an unnecessary member.
2317 2007-11-29 Anders Carlsson <andersca@apple.com>
2319 * DumpRenderTree/win/DumpRenderTree.vcproj:
2320 Add shlwapi.lib to all configurations.
2322 2007-11-29 Kevin McCullough <kmccullough@apple.com>
2324 - Build fix. Added additional includes for VS Express to the Release
2327 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2329 2007-11-29 Anders Carlsson <andersca@apple.com>
2333 <rdar://problem/5132005>
2334 setUserStyleSheetEnabled is not fully implemented in Windows DRT.
2336 * DumpRenderTree/win/DumpRenderTree.vcproj:
2339 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2340 (LayoutTestController::setUserStyleSheetEnabled):
2343 (appendComponentToPath):
2344 New method which wraps the Win32 API PathAppend.
2347 New method which checks if a file points to a shortcut and
2348 follows the shortcut.
2350 (resolveCygwinPath):
2351 New method that takes a cygwin unix-style path and returns the Win32 path.
2353 (cfStringRefToWString):
2355 (LayoutTestController::setUserStyleSheetLocation):
2358 2007-11-29 Alice Liu <alice.liu@apple.com>
2362 Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
2364 * DumpRenderTree/win/EventSender.cpp:
2366 uppercase letters were being sent as lowercase letters without the shift key down.
2368 2007-11-29 Kevin McCullough <kmccullough@apple.com>
2370 - Windows build fix. VS express needs some love.
2372 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2374 2007-11-28 Darin Adler <darin@apple.com>
2376 Reviewed by Adam Roben.
2378 * DumpRenderTree/mac/EventSendingController.mm:
2379 (-[EventSendingController keyDown:withModifiers:]):
2380 Send capital letters through as lowercase letters with the shift key down
2381 rather than sending them as if they were highly unusual "capital letter keys".
2383 * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
2384 where you need to update results and more tests are failing than before.
2386 2007-11-28 Anders Carlsson <andersca@apple.com>
2390 <rdar://problem/5132001>
2391 contextClick is not implemented in DRT on Windows.
2393 * DumpRenderTree/win/EventSender.cpp:
2394 (contextClickCallback):
2395 Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
2396 by a WM_RBUTTONUP message.
2398 * DumpRenderTree/win/UIDelegate.cpp:
2399 (UIDelegate::hasCustomMenuImplementation):
2400 (UIDelegate::trackCustomPopupMenu):
2401 * DumpRenderTree/win/UIDelegate.h:
2402 Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
2403 menu from being shown (and causing the DRT to hang).
2405 2007-11-27 Maciej Stachowiak <mjs@apple.com>
2409 Fix DumpRenderTree ObjC bug comparing strings.
2411 * DumpRenderTree/mac/ObjCController.m:
2412 (-[ObjCController identityIsEqual::]): Compare strings with string
2413 equality instead of identiy equality.
2415 2007-11-27 Timothy Hatcher <timothy@apple.com>
2419 Reset the authorAndUserStylesEnabled preference
2420 back to YES for each test. Fixes the broken tests.
2422 * DumpRenderTree/mac/DumpRenderTree.mm:
2423 (resetWebViewToConsistentStateBeforeTesting):
2425 2007-11-27 Kevin McCullough <kmccullough@apple.com>
2429 - Drosera now displays the console window, although it cannot currently
2432 * Drosera/win/DebuggerClient.cpp: Shows the console window.
2433 (registerConsoleClass): Implemented.
2434 (consoleWndProc): Implemented.
2435 (DebuggerClient::onSize): Implemented.
2436 (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
2438 * Drosera/win/DebuggerClient.h: Added needed method and members for
2439 creating and maintaining a new window.
2440 * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
2441 lines of code to more appropriate places.
2442 (Drosera::handleCommand):
2447 2007-11-27 Timothy Hatcher <timothy@apple.com>
2449 Reviewed by Dave Hyatt.
2451 <rdar://problem/5569233> Add the ability to disable author and user CSS styles
2453 Add support for disabling author and user styles for testing.
2455 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2456 * DumpRenderTree/LayoutTestController.cpp:
2457 (setAuthorAndUserStylesEnabledCallback):
2458 (LayoutTestController::staticFunctions):
2459 * DumpRenderTree/LayoutTestController.h:
2460 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2461 (LayoutTestController::setAuthorAndUserStylesEnabled):
2462 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2463 (LayoutTestController::setAuthorAndUserStylesEnabled):
2465 2007-11-26 Dan Bernstein <mitz@apple.com>
2469 * DumpRenderTree/mac/Configurations/Base.xcconfig:
2471 2007-11-26 Kevin McCullough <kmccullough@apple.com>
2475 - Implemented displaying variables for Drosera on Win.
2477 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
2478 that retrieve variables to not hold onto the return value since it's
2479 not returned. Also changed to use the new signatures of the retrieval
2481 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2482 (DebuggerDocument::platformValueForScopeVariableNamed):
2483 * Drosera/win/Drosera.cpp: Removed a needless TODO.
2486 2007-11-26 Sam Weinig <sam@webkit.org>
2488 Cleanup names of painting and repainting functions.
2490 Reviewed by Adam Roben.
2492 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2493 (drawSelectionRect): was drawSelectionRectIntoContext.
2494 (dumpWebViewAsPixelsAndCompareWithExpected):
2495 * DumpRenderTree/cg/PixelDumpSupportCG.h:
2496 * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2497 (paintWebView): was drawWebViewIntoContext.
2498 (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
2500 2007-11-26 Sam Weinig <sam@webkit.org>
2502 Reviewed by Dan Bernstein.
2506 * DumpRenderTree/mac/Configurations/Base.xcconfig:
2508 2007-11-26 Sam Weinig <sam@webkit.org>
2510 Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
2511 Use shared PixelDumpSupport for Mac DRT
2513 Reviewed by Adam Roben.
2515 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2516 * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
2517 * DumpRenderTree/cg/ImageDiffCG.cpp:
2518 * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2519 (drawSelectionRectIntoContext):
2520 (dumpWebViewAsPixelsAndCompareWithExpected):
2521 * DumpRenderTree/cg/PixelDumpSupportCG.h:
2522 * DumpRenderTree/mac/Configurations/Base.xcconfig:
2523 * DumpRenderTree/mac/DumpRenderTree.mm:
2525 * DumpRenderTree/mac/ImageDiff.m: Removed.
2526 * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
2527 * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
2528 * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
2529 (setDefaultColorProfileToRGB):
2530 (getBitmapContextFromWebView):
2531 (drawWebViewIntoContext):
2532 (repaintWithVerticalSweep):
2533 (repaintWithHorizontalSweep):
2535 * DumpRenderTree/win/PixelDumpSupport.h: Removed.
2537 2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
2539 Bug 16052: prepare-ChangeLog doesn't report deleted files
2540 <http://bugs.webkit.org/show_bug.cgi?id=16052>
2544 * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
2546 2007-11-25 David Kilzer <ddkilzer@webkit.org>
2548 Bug 15864: Replace merge-changelog with resolve-ChangeLogs
2549 <http://bugs.webkit.org/show_bug.cgi?id=15864>
2553 Roll functionality of merge-changelog into resolve-ChangeLogs
2554 script. The script now checks for ChangeLog.rej and
2555 ChangeLog.orig files first. If it finds them, it uses the
2556 ChangeLog.rej file as a patch (in old contextual diff format) to
2557 apply with --fuzz=3.
2559 * Scripts/merge-changelog: Removed.
2560 * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
2562 2007-11-25 Sam Weinig <sam@webkit.org>
2564 Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
2566 Reviewed by Mark Rowe.
2568 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2569 * DumpRenderTree/mac/Configurations/Base.xcconfig:
2570 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2571 * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
2572 * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
2574 2007-11-25 Sam Weinig <sam@webkit.org>
2576 Convert DumpRenderTree to ues .xcconfig files.
2578 Reviewed by Mark Rowe.
2580 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2581 * DumpRenderTree/mac/Configurations: Added.
2582 * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
2583 * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
2584 * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
2586 2007-11-25 Sam Weinig <sam@webkit.org>
2588 Add ForwardingHeaders to wtf for DumpRenderTree.
2590 Reviewed by Mark Rowe.
2592 * DumpRenderTree/DumpRenderTree.h:
2593 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2594 * DumpRenderTree/ForwardingHeaders: Added.
2595 * DumpRenderTree/ForwardingHeaders/wtf: Added.
2596 * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
2597 * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
2598 * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
2599 * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
2600 * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
2601 * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
2602 * DumpRenderTree/LayoutTestController.cpp:
2603 * DumpRenderTree/WorkQueue.cpp:
2604 * DumpRenderTree/mac/DumpRenderTree.mm:
2605 * DumpRenderTree/mac/FrameLoadDelegate.mm:
2606 * DumpRenderTree/mac/JavaScriptThreading.cpp:
2607 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2608 * DumpRenderTree/mac/ObjCController.m:
2609 * DumpRenderTree/mac/UIDelegate.mm:
2610 * DumpRenderTree/mac/WorkQueueItemMac.mm:
2612 2007-11-25 Adam Roben <aroben@apple.com>
2614 Fix some test failures caused by r28019
2616 Now that stdout is in binary mode, we need to always use printf
2617 instead of wprintf. Otherwise we'll end up with UTF-16 characters in
2622 * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
2624 (UIDelegate::runJavaScriptAlertPanelWithMessage):
2625 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
2626 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
2627 (UIDelegate::webViewAddMessageToConsole):
2629 2007-11-25 Adam Roben <aroben@apple.com>
2631 Set the font smoothing preference in DRT
2633 This makes the pixel results on Windows closer to the Mac results.
2637 * DumpRenderTree/win/DumpRenderTree.cpp:
2638 (initializePreferences):
2640 2007-11-25 Adam Roben <aroben@apple.com>
2642 Port ImageDiff to CG and C++
2644 Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
2649 * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
2650 * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
2652 (createImageFromStdin):
2654 (getDifferenceBitmap):
2655 (computePercentageDifferent):
2656 * DumpRenderTree/win/ImageDiff.vcproj: Added.
2658 2007-11-25 Adam Roben <aroben@apple.com>
2660 Fix image diff link generation on Windows
2664 * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
2667 2007-11-25 Adam Roben <aroben@apple.com>
2669 Implement pixel dumping in Windows DRT
2671 Part of http://bugs.webkit.org/show_bug.cgi?id=16133
2676 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
2677 (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
2678 Content-Length header.
2679 (getMD5HashStringForBitmap):
2680 (dumpWebViewAsPixelsAndCompareWithExpected):
2681 * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
2682 * DumpRenderTree/win/DumpRenderTree.cpp:
2683 (dump): Do a pixel dump if requested.
2684 (main): Parse pixel test options.
2685 * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
2686 the cg/ subdirectory to the include path.
2687 * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
2688 available in a header or import library, so we have to go through this
2689 LoadLibrary/GetProcAddress dance to use them.
2697 * DumpRenderTree/win/MD5.h: Added.
2698 * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
2699 moved up to the top level to share it with Mac eventually.
2700 * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
2701 (getBitmapContextFromWebView): Forces the WebView to paint using a
2702 WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
2704 2007-11-25 Adam Roben <aroben@apple.com>
2706 Clean up Windows DRT's option parsing a little bit
2710 * DumpRenderTree/win/DumpRenderTree.cpp:
2711 (main): Put non-option arguments into a Vector.
2713 2007-11-25 Adam Roben <aroben@apple.com>
2715 Make Windows DRT stop changing LF into CRLF
2719 * DumpRenderTree/win/DumpRenderTree.cpp:
2720 (main): Put stdout in binary mode.
2721 * Scripts/run-webkit-tests: Remove the CRLF hack.
2723 2007-11-24 David Kilzer <ddkilzer@webkit.org>
2725 Removed empty directory.
2727 * Scripts/resources: Removed.
2729 2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
2731 Fix bisect-builds to work with recent WebKit nightly builds.
2735 * Scripts/bisect-builds: Check for the
2736 WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
2737 it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
2738 to WebKit.app/Contents/Resources.
2740 2007-11-23 Alexey Proskuryakov <ap@webkit.org>
2744 <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
2745 not closed (affects digg.com)
2747 * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
2748 one after finishing with a test to avoid having its delayed onload handler firing when
2749 replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
2750 but it helps somewhat.
2752 2007-11-22 Mark Rowe <mrowe@apple.com>
2754 Reviewed by Alp Toker.
2756 Fix build-webkit to propagate make's exit status if it fails.
2758 * Scripts/webkitdirs.pm:
2760 2007-11-22 Dan Bernstein <mitz@apple.com>
2762 Reviewed by Mark Rowe.
2764 - fix crash when running pixel tests
2766 * DumpRenderTree/mac/DumpRenderTree.mm:
2767 (dumpRenderTree): Parse the command line options before setting up the
2768 environment so that we know if we need to set up the pixel dump
2771 2007-11-21 Eric Seidel <eric@webkit.org>
2773 Speculative build fix for Tiger.
2775 * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
2777 2007-11-21 Eric Seidel <eric@webkit.org>
2779 Reviewed by Tim Hatcher.
2781 Break out more of DumpRenderTree.mm into individual files
2783 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2784 * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
2787 (makeLargeMallocFailSilently):
2788 * DumpRenderTree/mac/CheckedMalloc.h: Added.
2789 * DumpRenderTree/mac/DumpRenderTree.mm:
2792 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2793 * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
2794 * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2795 * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2796 * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2797 * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
2798 (javaScriptThreads):
2799 (runJavaScriptThread):
2800 (startJavaScriptThreads):
2801 (stopJavaScriptThreads):
2802 * DumpRenderTree/mac/JavaScriptThreading.h: Added.
2803 * DumpRenderTree/mac/PixelDumpSupport.h: Added.
2804 * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
2805 (restoreColorSpace):
2806 (setDefaultColorProfileToRGB):
2807 (initializeColorSpaceAndScreeBufferForPixelTests):
2808 (md5HashStringForBitmap):
2809 (dumpWebViewAsPixelsAndCompareWithExpected):
2811 2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
2813 Move install-unix-extras to wx directory as it seems only to be used by that
2814 port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
2815 Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
2816 have install-unix-extras install into WebKitLibraries as per
2819 Reviewed by Mark Rowe.
2821 * Scripts/install-unix-extras: Removed.
2822 * wx/build-wxwebkit:
2823 * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
2825 2007-11-21 Eric Seidel <eric@webkit.org>
2829 More refactoring for greater code readability
2831 * DumpRenderTree/mac/DumpRenderTree.mm:
2832 (initializeGlobalsFromCommandLineOptions):
2833 (initializeColorSpaceAndScreeBufferForPixelTests):
2834 (addTestPluginsToPluginSearchPath):
2835 (useLongRunningServerMode):
2836 (runTestingServerLoop):
2837 (prepareConsistentTestingEnvironment):
2841 (dumpBackForwardListForWebView):
2842 (sizeWebViewForCurrentTest):
2843 (methodNameStringForFailedTest):
2844 (dumpBackForwardListForAllWindows):
2845 (dumpWebViewAsPixelsAndCompareWithExpected):
2846 (invalidateAnyPreviousWaitToDumpWatchdog):
2848 * DumpRenderTree/mac/DumpRenderTreeMac.h:
2849 * DumpRenderTree/mac/UIDelegate.mm:
2850 (-[UIDelegate webView:createWebViewWithRequest:]):
2852 2007-11-21 Eric Seidel <eric@webkit.org>
2854 Reviewed by Tim Hatcher.
2856 Abstract more of DRT into static methods
2858 * DumpRenderTree/mac/DumpRenderTree.mm:
2859 (setDefaultsToConsistentValuesForTesting):
2860 (setupSignalHandlers):
2861 (allocateGlobalControllers):
2863 (releaseGlobalControllers):
2865 (shouldLogFrameLoadDelegates):
2866 (createCFURLFromPathOrURL):
2867 (resetWebViewToConsistentStateBeforeTesting):
2870 2007-11-21 Eric Seidel <eric@webkit.org>
2872 Reviewed by Tim Hatcher.
2874 Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
2876 * DumpRenderTree/DumpRenderTree.h:
2877 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2878 * DumpRenderTree/mac/DumpRenderTree.mm:
2882 * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
2883 * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
2884 (+[DumpRenderTreePasteboard _pasteboardWithName:]):
2885 (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
2886 (-[DumpRenderTreePasteboard declareType:owner:]):
2887 (+[LocalPasteboard alloc]):
2888 (-[LocalPasteboard init]):
2889 (-[LocalPasteboard dealloc]):
2890 (-[LocalPasteboard name]):
2891 (-[LocalPasteboard releaseGlobally]):
2892 (-[LocalPasteboard declareTypes:owner:]):
2893 (-[LocalPasteboard addTypes:owner:]):
2894 (-[LocalPasteboard changeCount]):
2895 (-[LocalPasteboard types]):
2896 (-[LocalPasteboard availableTypeFromArray:]):
2897 (-[LocalPasteboard setData:forType:]):
2898 (-[LocalPasteboard dataForType:]):
2899 (-[LocalPasteboard setPropertyList:forType:]):
2900 (-[LocalPasteboard setString:forType:]):
2901 * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
2902 * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
2903 (+[DumpRenderTreeWindow allWindows]):
2904 (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
2905 (-[DumpRenderTreeWindow dealloc]):
2906 (-[DumpRenderTreeWindow isKeyWindow]):
2907 (-[DumpRenderTreeWindow keyDown:]):
2909 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
2911 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
2912 it indiscriminately copies any headers inside JavaScriptCore,
2913 which includes Tiger ICU headers.
2915 * wx/build-wxwebkit:
2916 Don't run WebCore/move-js-headers.sh any longer.
2918 2007-11-20 Adam Treat <treat@kde.org>
2920 Reviewed by David Kilzer.
2922 * Prepend git branch name to $baseProductDir
2924 * Scripts/VCSUtils.pm:
2925 * Scripts/webkitdirs.pm:
2927 2007-11-20 Mark Rowe <mrowe@apple.com>
2929 Reviewed by Simon Hausmann.
2931 * Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
2932 * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
2933 Have it trigger a "make distclean" rather than "make clean" to ensure that the
2934 built product and generated Makefile's are removed.
2936 2007-11-19 Alp Toker <alp@atoker.com>
2938 Reviewed by Mark Rowe.
2940 http://bugs.webkit.org/show_bug.cgi?id=16040
2941 [GTK] GtkLauncher should be written in C
2943 Port GtkLauncher to plain C.
2945 Use a more conventional GTK+ coding style.
2947 Use a toolbar instead of menus.
2949 Various signature fixes and cleanups.
2951 Add a license header. Assume all previous modifications were copyright
2952 assigned to Apple Inc. by default.
2954 * GtkLauncher/GtkLauncher.pro:
2955 * GtkLauncher/main.c: Added.
2956 (activate_url_entry_cb):
2960 (progress_change_cb):
2969 * GtkLauncher/main.cpp: Removed.
2971 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
2973 Build script fixes to ensure they do the right thing for the
2974 wx port, and update build-wxwebkit to reflect the way the
2975 build scripts now work.
2979 * Scripts/build-testkjs:
2980 * Scripts/build-webkit:
2981 * Scripts/run-javascriptcore-tests:
2982 * Scripts/webkitdirs.pm:
2983 * wx/build-wxwebkit:
2985 2007-11-18 Eric Seidel <eric@webkit.org>
2989 Make run-javascriptcore-tests report failures on exit (to support git bisect)
2991 * Scripts/run-javascriptcore-tests:
2993 2007-11-18 Alexey Proskuryakov <ap@webkit.org>
2995 Reviewed by Adam Roben.
2997 Make run-webkit-tests work with Windows debug build.
2999 * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
3000 * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
3001 as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
3002 symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
3003 and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
3005 2007-11-18 Kevin Ollivier <kevino@theolliviers.com>
3007 Add wxWebKit sample and build script, and integrate it with
3008 build-webkit. Also make build-webkit --clean work for all
3011 Reviewed by Darin Adler.
3013 * Scripts/build-webkit:
3014 * Scripts/webkitdirs.pm:
3016 * wx/browser: Added.
3017 * wx/browser/browser.bkl: Added.
3018 * wx/browser/browser.cpp: Added.
3019 * wx/build-wxwebkit: Added.
3021 2007-11-17 Adam Roben <aroben@apple.com>
3023 Make it easy to run Safari in the debugger on Windows
3025 I've added a new script, debug-safari, which launches Safari in the
3026 debugger. On OS X it just calls gdb-safari.
3028 Reviewed by Mark Rowe.
3030 * FindSafari/FindSafari.cpp:
3031 (_tmain): Added a /debugger flag, which in combination with
3032 /printSafariLauncher will print a script that launches Safari in the
3034 * Scripts/debug-safari: Added.
3035 * Scripts/run-safari: Changed to call runSafari().
3036 * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
3037 vsvars32.bat, which will let us find VS/VC++ Express, and passes the
3038 first argument along to FindSafari.
3039 * Scripts/webkitdirs.pm:
3040 (sub runSafari): Added.
3042 2007-11-16 Alexey Proskuryakov <ap@webkit.org>
3044 Reviewed by Adam Roben.
3046 * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
3048 2007-11-16 Ryan Leavengood <leavengood@gmail.com>
3050 Reviewed by David Kilzer.
3052 The git config command was renamed to repo-config at some point. This
3053 change tries git config and then git repo-config if the first fails.
3055 * Scripts/prepare-ChangeLog:
3058 2007-11-16 Dan Bernstein <mitz@apple.com>
3060 Reviewed by Darin Adler and Sam Weinig.
3062 - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
3064 * DumpRenderTree/win/EventSender.cpp:
3065 (keyDownCallback): For characters that cannot be entered on the active
3066 keyboard layout, send a WM_CHAR message with the character along with
3067 a WM_KEYDOWN message with a virtual key code of 255.
3069 2007-11-16 Mark Rowe <mrowe@apple.com>
3071 Reviewed by Tim Hatcher.
3073 Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
3075 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3076 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3078 2007-11-15 Adam Roben <aroben@apple.com>
3080 Make run-safari actually work on Windows
3082 * Scripts/run-safari: Fixed the order of arguments to cp, and added a
3085 2007-11-14 Adam Roben <aroben@apple.com>
3087 Updates to Safari launching now that 3.0.4 is released
3091 * FindSafari/FindSafari.cpp:
3092 (getWebViewCLSID): Use version-independent ProgID.
3093 * Scripts/run-safari: Use run-webkit-nightly.cmd.
3095 2007-11-14 Anders Carlsson <andersca@apple.com>
3099 <rdar://problem/5309081>
3100 In DRT, "plugin.logDestroy = true" not working on Windows.
3102 * DumpRenderTree/win/TestNetscapePlugin/main.c:
3105 2007-11-14 Eric Seidel <eric@webkit.org>
3109 * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
3111 2007-11-14 Anders Carlsson <andersca@apple.com>
3115 <rdar://problem/5141186>
3116 window.layoutTestController.setWindowIsKey is not implemented in DRT.
3118 Implement setWindowIsKey.
3120 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3121 (LayoutTestController::setWindowIsKey):
3123 2007-11-13 Sam Weinig <sam@webkit.org>
3125 Reviewed by Adam Roben.
3127 Fix for <rdar://problem/5382579>
3128 http/tests/security/cross-frame-access-put.html reports large
3129 negative numbers for screenLeft and screenTop (Mac reports "0")
3131 * DumpRenderTree/win/UIDelegate.cpp:
3132 (UIDelegate::UIDelegate): Initialize the RECT.
3133 (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
3134 (UIDelegate::webViewFrame): ditto.
3135 * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
3137 2007-11-13 Kevin McCullough <kmccullough@apple.com>
3141 - Make Drosera show source, source URLs, and function stack on Windows,
3142 and some minor fixes.
3144 * Drosera/DebuggerDocument.cpp: Force source to always update display.
3145 (DebuggerDocument::updateFileSource):
3146 * Drosera/debugger.js: Force source to always update display.
3147 * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
3149 (DebuggerClient::resume):
3150 (DebuggerClient::pause):
3151 (DebuggerClient::stepInto):
3152 (DebuggerClient::stepOver):
3153 (DebuggerClient::stepOut):
3154 (DebuggerClient::showConsole):
3155 (DebuggerClient::closeCurrentFile):
3156 * Drosera/win/DebuggerClient.h: Ditto.
3157 * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
3158 getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
3159 removed two bugs. 1) caller could be in a bad state when asked to
3160 assign into it. 2) BSTRs were not created correctly.
3161 (DebuggerDocument::getPlatformCurrentFunctionStack):
3162 * Drosera/win/Drosera.cpp: Hook up the menu controls.
3167 (Drosera::stepInto):
3168 (Drosera::stepOver):
3170 (Drosera::showConsole):
3171 (Drosera::closeCurrentFile):
3172 * Drosera/win/Drosera.h: Hook up the menu controls.
3173 * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
3174 functions, added a null check, and fixed another bug where caller could
3175 be in a bad state when asked to assign into it.
3176 (ServerConnection::didLoadMainResourceForDataSource):
3177 (ServerConnection::getCallerFrame):
3178 * Drosera/win/ServerConnection.h: Safety first.
3180 2007-11-13 Dan Bernstein <mitz@apple.com>
3182 Reviewed by Darin Adler.
3184 - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
3185 DumpRenderTree --pixel-tests renders each test twice
3187 * DumpRenderTree/mac/DumpRenderTree.mm:
3188 (dumpRenderTree): Removed the --paint option because the painting code
3189 is always exercised as a result of
3190 -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
3191 calling -displayIfNeeded.
3192 (dump): Changed to always grab the image from the window since the view
3193 is always displayed.
3196 * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
3197 because it always paints.
3199 2007-11-12 Antti Koivisto <antti@apple.com>
3203 Add support for http media tests
3205 * Scripts/run-webkit-tests:
3207 2007-11-12 Sam Weinig <sam@webkit.org>
3209 Reviewed by Adam Roben.
3211 Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
3213 * DumpRenderTree/win/DumpRenderTree.cpp:
3215 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3216 (LayoutTestController::setPrivateBrowsingEnabled):
3218 2007-11-12 Adam Roben <aroben@apple.com>
3220 * Scripts/update-webkit-localizable-strings: Changed to only scan the
3221 mac and win subdirectories.
3223 2007-11-11 Adam Roben <aroben@apple.com>
3225 Fix <rdar://5133816> keepWebHistory is not implemented
3227 Fixes fast/history/clicked-link-is-visited.html.
3231 * DumpRenderTree/win/DumpRenderTree.cpp:
3232 (runTest): Clear the optionalSharedHistory.
3233 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3234 (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
3236 2007-11-10 Sam Weinig <sam@webkit.org>
3238 Reviewed by Tim Hatcher.
3240 Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
3241 attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
3244 - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
3246 Added test: http/tests/security/cross-frame-access-private-browsing.html
3248 * DumpRenderTree/LayoutTestController.cpp:
3249 (setPrivateBrowsingEnabledCallback):
3250 (LayoutTestController::staticFunctions):
3251 * DumpRenderTree/LayoutTestController.h:
3252 * DumpRenderTree/mac/DumpRenderTree.mm:
3253 (runTest): Default to private browsing disabled.
3254 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3255 (LayoutTestController::setPrivateBrowsingEnabled):
3256 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3257 (LayoutTestController::setPrivateBrowsingEnabled):
3259 2007-11-08 Kevin McCullough <kmccullough@apple.com>
3263 - Changed the vcproj file to use Drosera's ForwardingHeaders and not
3266 * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
3267 * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
3268 * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
3269 * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
3270 * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
3271 * Drosera/win/Drosera.cpp:
3272 * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3274 2007-11-08 Kevin McCullough <kmccullough@apple.com>
3278 - Use the new IWebFrame [local] function signature and get the shared
3281 * Drosera/win/DebuggerClient.cpp:
3282 (DebuggerClient::didFinishLoadForFrame):
3283 * Drosera/win/ServerConnection.cpp:
3284 (ServerConnection::attemptToCreateServerConnection):
3286 2007-11-07 Dan Bernstein <mitz@apple.com>
3288 Reviewed by Darin Adler.
3290 - add an option to run-webkit-tests to ignore pixel test failures where
3291 all pixels differ by no more than a specified threshold
3293 * DumpRenderTree/mac/ImageDiff.m:
3296 (computePercentageDifferent):
3297 * Scripts/run-webkit-tests:
3299 2007-11-07 Simon Hausmann <hausmann@kde.org>
3303 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
3305 * DumpRenderTree/qt/DumpRenderTree.cpp:
3307 2007-11-07 Simon Hausmann <hausmann@kde.org>
3311 Reworked the QWebSettings API.
3312 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
3314 * DumpRenderTree/qt/DumpRenderTree.cpp:
3316 2007-11-07 Simon Hausmann <hausmann@kde.org>
3320 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
3322 * DumpRenderTree/qt/jsobjects.cpp:
3324 2007-11-07 Simon Hausmann <hausmann@kde.org>
3326 Reviewed by Lars Knoll <lars@trolltech.com>.
3328 Add a QWebPage::frameCreated() signal and fix DRT
3330 The removal of createFrame in QWebPage broke the re-implementation
3331 in DumpRenderTree. Instead emit a frameCreated() signal and
3332 connect to it in DumpRenderTree.
3335 * DumpRenderTree/qt/DumpRenderTree.cpp:
3336 (WebCore::WebPage::WebPage):
3337 (WebCore::DumpRenderTree::dump):
3338 (WebCore::DumpRenderTree::connectFrame):
3339 * DumpRenderTree/qt/DumpRenderTree.h:
3341 2007-11-07 Simon Hausmann <hausmann@kde.org>
3343 Reviewed by Lars Knoll <lars@trolltech.com>.
3345 Moved all the event handlers from QWebFrame into QWebPage.
3347 This cleans up the public API and allows us to remove the
3348 HackWebFrame hack in DumpRenderTree.
3351 * DumpRenderTree/qt/jsobjects.cpp:
3352 (EventSender::mouseDown):
3353 (EventSender::mouseUp):
3354 (EventSender::mouseMoveTo):
3356 2007-11-07 Simon Hausmann <hausmann@kde.org>
3360 Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
3361 to prevent the default implementation from popping up messageboxes.
3363 * DumpRenderTree/qt/DumpRenderTree.cpp:
3364 (WebCore::WebPage::javaScriptConfirm):
3365 (WebCore::WebPage::javaScriptPrompt):
3367 2007-11-06 Eric Seidel <eric@webkit.org>
3369 * Scripts/build-testkjs: build fix... too many $$
3371 2007-11-06 Eric Seidel <eric@webkit.org>
3373 Reviewed by Mark Rowe.
3375 * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
3377 2007-11-05 Adam Roben <aroben@apple.com>
3379 Add support on Windows for WEBKIT_TESTFONTS
3381 This environment variable lets you specify where the fonts to be used
3382 by DumpRenderTree reside. The Qt port is already using this, so I'm
3383 just following their lead.
3387 * DumpRenderTree/win/DumpRenderTree.cpp:
3388 (exePath): Refactored code out of initialize().
3389 (fontsPath): Returns either $WEBKIT_TESTFONTS or
3390 DumpRenderTree.resources.
3391 (initialize): Use the new fontsPath function.
3392 (main): Use the new exePath function.
3393 * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
3394 variable to DRT, like Qt does.
3396 2007-11-05 Mark Rowe <mrowe@apple.com>
3398 Rubber-stamped by Alp Toker.
3400 Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
3402 * GtkLauncher/main.cpp:
3406 2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
3408 bisect-builds doesn't work with nightly build r19992 or newer on Leopard
3409 <http://bugs.webkit.org/show_bug.cgi?id=15830>
3411 Reviewed by Timothy.
3413 Restrict the range of nightly builds used by the bisect-builds script
3414 based on the version of Safari and the version of Mac OS X being used.
3416 Mac OS X 10.4: Safari 2.0: r11976 or newer
3417 Mac OS X 10.4: Safari 3.0: r19992 or newer
3419 Mac OS X 10.5: Safari 2.0: r19594 or newer
3420 Mac OS X 10.5: Safari 3.0: r25124 or newer
3422 * Scripts/bisect-builds:
3423 (findMacOSXVersion): Added.
3424 (makeNightlyList): Added argument to provide version of Mac OS X.
3425 Restrict range of nightly builds based on Safari and Mac OS X versions.
3427 2007-11-04 Kevin McCullough <kmccullough@apple.com>
3431 - This patch involves several changes, all of them were noticed that
3432 they were needed by the work being done in WebKit to get Drosera and
3433 WebKit working together on Windows.
3435 1) Added a debugger console for output messages.
3436 2) Drosera now listens for the WebKit server (before, the server would
3437 have to be running before Drosera was started.)
3438 3) Fixed a bug where the WebView started out as 0x0 pixels.
3439 4) Fixed a bug when there is no scope.
3440 5) Added the HTML, JS, and CSS to the project file to make them easy to
3442 6) Made the ServerConnection functions virtual.
3444 * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
3445 for the WebKit server.
3446 (DebuggerClient::DebuggerClient):
3447 (DebuggerClient::~DebuggerClient):
3448 (DebuggerClient::didFinishLoadForFrame):
3449 (DebuggerClient::serverConnected):
3450 (DebuggerClient::attemptToCreateServerConnection):
3451 * Drosera/win/DebuggerClient.h: Ditto.
3452 * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
3454 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3455 (DebuggerDocument::platformValueForScopeVariableNamed):
3456 * Drosera/win/Drosera.cpp:
3457 (_tWinMain): Added a console in debug for output messages.
3458 (Drosera::Drosera): Listen for server.
3459 (Drosera::initUI): The server now Initializes COM.
3460 (Drosera::serverConnected): Part of the listening for the server.
3461 (Drosera::attemptToCreateServerConnection): Ditto.
3462 * Drosera/win/Drosera.h: New interface for listening for the server.
3463 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
3464 files to the VS project.
3465 * Drosera/win/ServerConnection.cpp: Part of listening for the server
3467 (ServerConnection::ServerConnection):
3468 (ServerConnection::attemptToCreateServerConnection):
3469 * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
3471 (ServerConnection::serverConnected):
3473 2007-11-04 Alexey Proskuryakov <ap@webkit.org>
3477 http://bugs.webkit.org/show_bug.cgi?id=15832
3478 fast/dom/gc-10.html crashes when run alone
3480 Check for !done before using objects that can be already deallocated.
3482 * DumpRenderTree/mac/EditingDelegate.mm:
3483 (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3484 (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
3485 (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3486 (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3487 (-[EditingDelegate webView:shouldDeleteDOMRange:]):
3488 (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3489 (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3490 (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3491 (-[EditingDelegate webViewDidBeginEditing:]):
3492 (-[EditingDelegate webViewDidChange:]):
3493 (-[EditingDelegate webViewDidEndEditing:]):
3494 (-[EditingDelegate webViewDidChangeTypingStyle:]):
3495 (-[EditingDelegate webViewDidChangeSelection:]):
3496 * DumpRenderTree/mac/FrameLoadDelegate.mm:
3497 (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
3498 (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
3499 (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
3500 (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
3501 (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
3502 (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
3503 (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3504 (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
3505 (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
3506 (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
3507 (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
3508 (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
3509 (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
3510 (-[FrameLoadDelegate webView:willCloseFrame:]):
3511 (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
3512 (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
3513 * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3514 (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3515 (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3516 (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
3517 (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
3518 (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
3519 (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
3521 2007-11-04 Mark Rowe <mrowe@apple.com>
3523 Build fix. Don't use Carbon.h as the prefix header as it triggers
3524 warnings that would otherwise be suppressed due to it being a system header.
3526 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3528 2007-11-03 Maciej Stachowiak <mjs@apple.com>
3530 Rubber stamped by Adam.
3532 - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
3534 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3536 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
3538 Sort files(...); sections of Xcode project files.
3540 Rubber-stamped by Darin.
3542 * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3543 * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3544 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3545 * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
3547 2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
3549 Script to sort "files(...);" sections in Xcode project.pbxproj files.
3553 * Scripts/sort-Xcode-project-file: Added.
3555 2007-11-02 Darin Adler <darin@apple.com>
3557 * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
3559 2007-11-02 Darin Adler <darin@apple.com>
3563 * Scripts/run-sunspider: Pass the "--base" option through.
3565 * Scripts/sunspider-compare-results: Don't check the number of parameters; let
3566 the real script do that. Default configuration to Release to match run-sunspider
3567 so we don't end up building Debug just to compare results.
3569 2007-11-01 Adam Roben <aroben@apple.com>
3571 Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
3575 * Scripts/commit-log-editor: Show all the directories beneath the
3576 source root, instead of just the last one.
3578 2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
3580 Reviewed by Adam Roben.
3582 Print out an error message when the Windows build fails
3583 and provide guidance on how to find out what went wrong.
3585 * Scripts/build-webkit:
3586 * Scripts/webkitdirs.pm:
3588 2007-11-01 Alexey Proskuryakov <ap@webkit.org>
3590 Rubber-stamped by Adam Roben.
3592 Rolled out r27326 - debug CRT seems to cause no problems after all.
3594 * DumpRenderTree/win/DumpRenderTree.vcproj:
3596 2007-10-31 Adam Roben <aroben@apple.com>
3598 Switch the Debug configuration to using the non-debug CRT
3600 This matches WebKit.
3604 * DumpRenderTree/win/DumpRenderTree.vcproj:
3606 2007-10-31 Antti Koivisto <antti@apple.com>
3610 Disable media tests when doing leak checking on Tiger.
3611 They crash in QuickTime (rdar://problem/5537157).
3613 * Scripts/run-webkit-tests:
3615 2007-10-29 Antti Koivisto <antti@apple.com>
3619 Build media support by default on OSX only.
3621 * Scripts/build-webkit:
3623 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3625 - Made Adam the reviewer for a previous checkin. Not sure how it didn't
3626 get caught by the pre-commit hooks.
3628 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3632 - This is a collection of relatively unrelated changes and cleanups
3633 to Drosera to prepare it for interacting with WebKit. A lot of these
3634 changes are just correcting mistakes, for example removing included
3635 headers that are no longer needed.
3637 * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
3638 this will be needed by the DebuggerClient.
3639 (DebuggerDocument::server):
3640 * Drosera/win/BaseDelegate.h: Removed unnecessary include.
3641 * Drosera/win/DebuggerClient.cpp:
3642 (DebuggerClient::didFinishLoadForFrame): Finished implementing.
3643 (DebuggerClient::didReceiveTitle): Added comment about its purpose.
3644 (DebuggerClient::createWebViewWithRequest): Added comment about its
3646 * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
3648 (DebuggerClient::webViewLoaded): Moved.
3649 * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
3650 file, since this was the only place it was used.
3652 * Drosera/win/Drosera.h: Cleaned up the includes.
3653 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
3654 * Drosera/win/HelperFunctions.h: Removed.
3656 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3660 - Small cleanup in the ServerConnection class.
3662 * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
3663 and added an include.
3664 (ServerConnection::currentFrame):
3665 (ServerConnection::getCallerFrame):
3666 * Drosera/win/ServerConnection.h: Added comments, moved some functions,
3667 made a pointer into a COMPtr, and cleaned up the includes.
3669 2007-10-29 Timothy Hatcher <timothy@apple.com>
3671 Reviewed by John Sullivan.
3673 - Place the Localizable.strings file in mac or win directories
3674 if that location exists.
3675 - Also look for UI_STRING in .c files.
3677 * Scripts/extract-localizable-strings:
3679 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3683 - Set the eol-style to native and made all the line endings the same
3684 so that I avoid messy diffs that show eol changes.
3686 * Drosera/win/ServerConnection.cpp:
3687 (ServerConnection::didParseSource):
3688 (ServerConnection::didEnterCallFrame):
3689 (ServerConnection::willExecuteStatement):
3690 (ServerConnection::willLeaveCallFrame):
3691 (ServerConnection::exceptionWasRaised):
3693 2007-10-30 Kevin McCullough <kmccullough@apple.com>
3697 * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
3698 functionality that could not have existed previously without the new
3700 (JSValueRefCreateWithBSTR): Added a helper function to easily convert
3701 from a BSTR to a JSValueRef.
3702 (DebuggerDocument::platformEvaluateScript): Implemented.
3703 (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
3704 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3706 (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
3707 * Drosera/win/HelperFunctions.h: Cleaned up some comments.
3708 * Drosera/win/ServerConnection.cpp: Added a helper function.
3709 (ServerConnection::getCallerFrame):
3710 * Drosera/win/ServerConnection.h: Added a helper function.
3712 2007-10-29 Kevin McCullough <kmccullough@apple.com>
3714 updated reviewers for my previous changelog.
3716 2007-10-29 Kevin McCullough <kmccullough@apple.com>
3717 Reviewed by Maciej and Adam and Geoff.
3719 - Minor mac-side improvements including moving a function to a more
3720 appropriate location, fixing a warning, and correctly checking
3723 * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
3724 (DebuggerDocument::willExecuteStatement):
3725 (DebuggerDocument::didEnterCallFrame):
3726 (DebuggerDocument::willLeaveCallFrame):
3727 (DebuggerDocument::windowScriptObjectAvailable):
3728 (DebuggerDocument::callFunctionOnObject):
3729 * Drosera/mac/DebuggerClient.mm: Fixes a warning.
3730 * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
3731 webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
3732 because it doesn't require the ServerConnection at all.
3733 (NSStringCreateWithJSStringRef): Made an argument const.
3734 (JSValueRefCreateWithNSString): Made an argument const.
3735 (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
3736 (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3737 * Drosera/mac/ServerConnection.h: Moved aforementioned function.
3738 * Drosera/mac/ServerConnection.mm: Ditto.
3739 (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
3741 2007-10-29 Sam Weinig <sam@webkit.org>
3743 Reviewed by Adam Roben.
3745 Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
3747 * DumpRenderTree/LayoutTestController.cpp:
3748 (LayoutTestController::LayoutTestController):
3749 (getGlobalFlagCallback):
3750 (setGlobalFlagCallback):
3751 (LayoutTestController::getJSClass):
3752 (LayoutTestController::staticValues):
3753 * DumpRenderTree/LayoutTestController.h:
3754 (LayoutTestController::globalFlag):
3755 (LayoutTestController::setGlobalFlag):
3757 2007-10-29 Darin Adler <darin@apple.com>
3761 * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
3762 resolution instead of its default.
3764 2007-10-29 David Kilzer <ddkilzer@webkit.org>
3766 Fixed showStatus() to print status for successfully resolved conflicts when using git.
3768 Reviewed by Mark Rowe.
3770 Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
3771 was successfully resolved, but this would not show any status because the change had
3772 already been cached in the index using "git add". The solution is to add an optional
3773 second argument to showStatus() which adds the "--cached" switch to the command.
3775 * Scripts/resolve-ChangeLogs:
3778 2007-10-28 Eric Seidel <eric@webkit.org>
3780 Reviewed by Maciej and Geoff, in unison.
3782 * Scripts/run-webkit-tests: remove broken --svg option
3784 2007-10-28 Darin Adler <darin@apple.com>
3788 * Scripts/run-sunspider: Default to "Release" configuration rather than
3789 defaulting to the last configuration used as other scripts do. This can
3790 still be overriden on the command line with "--debug" if there's some
3791 reason to do so. Also fix a typo.
3793 * Scripts/sunspider-compare-results: Fix a typo.
3795 2007-10-26 Kevin McCullough <kmccullough@apple.com>
3799 - Implemented the WebScriptDebugListener functions now that the
3800 WebScriptDebugServer exists
3802 * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
3804 (ServerConnection::currentFrame):
3805 (ServerConnection::didLoadMainResourceForDataSource):
3806 (ServerConnection::didParseSource):
3807 (ServerConnection::failedToParseSource):
3808 (ServerConnection::didEnterCallFrame):
3809 (ServerConnection::willExecuteStatement):
3810 (ServerConnection::willLeaveCallFrame):
3811 (ServerConnection::exceptionWasRaised):
3812 * Drosera/win/ServerConnection.h: Removed unused arguments from the
3813 members arguments list.
3815 2007-10-26 David Kilzer <ddkilzer@webkit.org>
3817 prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
3818 <http://bugs.webkit.org/show_bug.cgi?id=15600>
3822 The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
3823 a patch of the local changes and applying it with a fuzz level of 3 to the new file.
3824 If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
3825 file. Note that it may also be used as a stand-alone script.
3827 * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
3828 * Scripts/resolve-ChangeLogs: Added.
3829 * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
3831 2007-10-26 Mark Rowe <mrowe@apple.com>
3833 Qt build fix. r27084 added a destructor implementation for LayoutTestController
3834 to the Qt port on the assumption that it was an implementation of the cross-platform
3835 LayoutTestController class. It is not, so it did not need to be changed.
3837 * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
3839 2007-10-25 Mark Rowe <mrowe@apple.com>
3843 Fix builds with code coverage enabled.
3845 * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
3847 2007-10-25 Darin Adler <darin@apple.com>
3849 Reviewed by Mark Rowe.
3851 * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
3852 * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
3854 2007-10-25 Stephanie <slewis@apple.com>
3858 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3860 2007-10-25 Stephanie <slewis@apple.com>
3862 Reviewed by Mark Rowe, Adam Roben.
3864 Weak link against WebCore so DumpRenderTree can be bundled with production roots.
3866 * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3868 2007-10-25 Alice Liu <alice.liu@apple.com>
3872 Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
3874 Moving destructor into platform-specific files
3875 * DumpRenderTree/LayoutTestController.cpp:
3876 * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3877 (LayoutTestController::~LayoutTestController):
3878 * DumpRenderTree/qt/jsobjects.cpp:
3879 (LayoutTestController::~LayoutTestController):
3881 LayoutTestController wasn't being destroyed
3882 * DumpRenderTree/win/DumpRenderTree.cpp:
3886 * DumpRenderTree/win/EditingDelegate.h:
3888 Reset certain values on the webview (or related delegate) that might
3889 have changed while running a test
3890 * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3891 (LayoutTestController::~LayoutTestController):
3893 2007-10-25 Adam Roben <aroben@apple.com>
3895 Make sunspider-compare-results work with relative paths
3899 * Scripts/sunspider-compare-results: Convert arguments to absolute
3900 paths before we chdir.
3902 2007-10-25 Kevin McCullough <kmccullough@apple.com>
3906 - Implemented server calls now the WebScriptDebugServer exists.
3907 - Also removed no longer needed call to initialize CG.
3909 * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
3912 * Drosera/win/ServerConnection.cpp: Now uses the COM class.
3913 (ServerConnection::ServerConnection):
3914 (ServerConnection::~ServerConnection):
3915 (ServerConnection::pause):
3916 (ServerConnection::resume):
3917 (ServerConnection::stepInto):
3918 (ServerConnection::applicationTerminating):
3919 (ServerConnection::serverConnectionDidDie):
3920 * Drosera/win/ServerConnection.h: Now uses the COM class.
3922 2007-10-24 George Staikos <staikos@kde.org>
3926 * Scripts/build-webkit:
3928 2007-10-24 Adam Roben <aroben@apple.com>
3930 Remove now-unnecessary call to InitializeCoreGraphics
3932 WebKit takes care of this now.
3936 * DumpRenderTree/win/DumpRenderTree.cpp:
3939 2007-10-24 Adam Roben <aroben@apple.com>
3941 Use WebTextRenderer in DRT
3945 * DumpRenderTree/win/DumpRenderTree.cpp:
3946 (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
3948 2007-10-24 Sven Herzberg <sven@imendio.com>
3950 Reviewed by Mark Rowe.
3952 Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
3953 Bug 15614: [GTK] qmake based backends don't build on OS X
3955 * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
3956 GTK backend on a Mac
3957 * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
3958 isDarwin() to make it reusable in other places (like the workaround-
3959 for-prebuilt-qmake in build-webkit)
3961 2007-10-24 David Kilzer <ddkilzer@webkit.org>
3963 Refurbish update-webkit script.
3967 * Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
3968 GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
3969 multi-argument version of system() for flexibility and security. Check for existence
3970 of Internal directory using -d test instead of -x.
3972 2007-10-24 David Kilzer <ddkilzer@webkit.org>
3974 Minor clean-up of prepare-ChangeLog script.
3978 * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
3979 of a string. Use multi-argument versions of open() and system() for flexibility and
3982 2007-10-24 Alice Liu <alice.liu@apple.com>
3986 Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
3988 Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
3989 replay the saved events when we're still processing the mousedown that starts the drag
3990 * DumpRenderTree/win/EventSender.cpp:
3992 * DumpRenderTree/win/UIDelegate.cpp:
3993 (UIDelegate::doDragDrop):
3995 2007-10-24 Kevin McCullough <kmccullough@apple.com>
3997 Reviewed by Sam, Steve and Darin.
3999 - Stubbed out the WebScriptDebugListener functionality in the Server
4000 Connection class to prepare it for receiving those callbacks.
4001 - Also I changed the instantiation of DebuggerClient, DebuggerDocument
4002 and the ServerConnection to not need to be initialized with a server
4003 name, since that is not the way we connect to the WebKit server.
4005 * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
4006 no exception. Now it only loggs when there is an exception
4007 (DebuggerDocument::willExecuteStatement):
4008 (DebuggerDocument::didEnterCallFrame):
4009 (DebuggerDocument::willLeaveCallFrame):
4010 (DebuggerDocument::windowScriptObjectAvailable):
4011 (DebuggerDocument::callFunctionOnObject):
4012 * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
4013 to be instantiated with a server's name.
4014 (DebuggerClient::DebuggerClient):
4015 (DebuggerClient::didFinishLoadForFrame):
4016 * Drosera/win/DebuggerClient.h: Removed unsued variable.
4017 * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
4020 (Drosera::initServer):
4021 * Drosera/win/Drosera.h: No longer need the ServerConnection to be
4022 instantiated with a server's name.
4023 * Drosera/win/ServerConnection.cpp:
4024 (ServerConnection::ServerConnection): No longer needs a server name
4025 (ServerConnection::~ServerConnection): Only release the global context
4027 (ServerConnection::serverConnectionDidDie): Stub for
4028 IWebScriptDebugListener
4029 (ServerConnection::QueryInterface): ditto
4030 (ServerConnection::AddRef): ditto
4031 (ServerConnection::Release): ditto
4032 (ServerConnection::didLoadMainResourceForDataSource): ditto
4033 (ServerConnection::didParseSource): ditto
4034 (ServerConnection::failedToParseSource): ditto
4035 (ServerConnection::didEnterCallFrame): ditto
4036 (ServerConnection::willExecuteStatement): ditto
4037 (ServerConnection::willLeaveCallFrame): ditto
4038 (ServerConnection::exceptionWasRaised): ditto
4039 * Drosera/win/ServerConnection.h: Stubbed out the
4040 IWebScriptDebugListener functions, and this class no longer needs to be
4041 instantiated with a server name.
4043 2007-10-24 Lars Knoll <lars@trolltech.com>
4047 add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
4049 * DumpRenderTree/qt/jsobjects.h:
4051 2007-10-24 Lars Knoll <lars@trolltech.com>
4055 add another command.
4057 * DumpRenderTree/qt/jsobjects.cpp:
4058 (TextInputController::doCommand):
4060 2007-10-24 Lars Knoll <lars@trolltech.com>
4064 add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
4066 * DumpRenderTree/qt/jsobjects.cpp:
4067 (EventSender::keyDown):
4068 * DumpRenderTree/qt/jsobjects.h:
4070 2007-10-24 Lars Knoll <lars@trolltech.com>
4074 implement eventSender.keyDown().
4076 * DumpRenderTree/qt/jsobjects.cpp:
4077 (EventSender::keyDown):
4079 2007-10-24 Lars Knoll <lars@trolltech.com>
4083 some smaller fixes to the editing support in DRT. Makes another few tests pass.
4085 * DumpRenderTree/qt/DumpRenderTree.cpp:
4086 (WebCore::DumpRenderTree::DumpRenderTree):
4087 (WebCore::DumpRenderTree::initJSObjects):
4088 * DumpRenderTree/qt/jsobjects.cpp:
4089 (TextInputController::doCommand):
4091 2007-10-24 Lars Knoll <lars@trolltech.com>
4095 first bit of implementation for the textinputcontroller.
4097 * DumpRenderTree/qt/DumpRenderTree.cpp:
4098 (WebCore::DumpRenderTree::DumpRenderTree):
4099 * DumpRenderTree/qt/DumpRenderTree.h:
4100 * DumpRenderTree/qt/jsobjects.cpp:
4101 (TextInputController::TextInputController):
4102 (TextInputController::doCommand):
4103 * DumpRenderTree/qt/jsobjects.h:
4105 2007-10-24 Lars Knoll <lars@trolltech.com>
4109 make the man webpage believe it has focus, so the editing tests work correctly.
4111 * DumpRenderTree/qt/DumpRenderTree.cpp:
4112 (WebCore::DumpRenderTree::DumpRenderTree):
4114 2007-10-24 Lars Knoll <lars@trolltech.com>
4118 implement layoutTestController.dumpEditingCallbacks() correctly.
4120 * DumpRenderTree/qt/DumpRenderTree.cpp:
4121 (WebCore::DumpRenderTree::DumpRenderTree):
4122 * DumpRenderTree/qt/jsobjects.cpp:
4123 (LayoutTestController::reset):
4124 (LayoutTestController::dumpEditingCallbacks):
4126 2007-10-24 Lars Knoll <lars@trolltech.com>
4130 Implement support for testing editing.
4132 * DumpRenderTree/qt/DumpRenderTree.cpp:
4133 (WebCore::DumpRenderTree::DumpRenderTree):
4135 2007-10-23 Sam Weinig <sam@webkit.org>
4137 Check for null BSTR that can be passed to the UIDelegate methods
4138 from javascript null and undefined. Fixes a failing test case on
4139 Windows (fast/dom/Window/alert-undefined.html)
4141 Reviewed by Eric Seidel.
4143 * DumpRenderTree/win/UIDelegate.cpp:
4144 (UIDelegate::runJavaScriptAlertPanelWithMessage):
4145 (UIDelegate::runJavaScriptConfirmPanelWithMessage):
4146 (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
4147 (UIDelegate::webViewAddMessageToConsole):
4149 2007-10-23 Maciej Stachowiak <mjs@apple.com>
4153 Don't print a massive pile of setenvs from tools that automatically build testkjs.
4155 * Scripts/build-testkjs:
4157 2007-10-23 Maciej Stachowiak <mjs@apple.com>
4161 - add wrapper that finds the right copy of testkjs
4163 * Scripts/sunspider-compare-results: Added.
4165 2007-10-23 Kevin McCullough <kmccullough@apple.com>
4169 - After talking with Steve I now see that the WebKit server must be
4170 running for DCOM to create the distributed objects, which makes sense
4171 and currently WebKit only allows one instance to be running at a time
4172 which avoids accidentally connecting to the wrong server
4173 - In light of this I have removed the code for the attach box and
4174 NotificationServer and known server names, since they are all extranious
4177 * Drosera/win/Drosera.cpp: Removed notification classes and known server
4179 (_tWinMain): Uses init instead of initUI.
4180 (droseraWndProc): No longer creats an attach dialog box.
4181 (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
4182 it's not manditory to call init before doing COM stuff.
4183 (Drosera::init): calls initUI and will call attach when the
4184 functionality exists.
4185 (Drosera::initUI): Has changed very little.
4186 (Drosera::attach): Changed the signature to reflect that we no longer
4187 need the dictionary of known server names.
4188 * Drosera/win/Drosera.h: Removed notification classes and known server
4189 names. Also renamed and moved some functions.
4190 * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
4191 * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
4192 headers to the resources folder.
4193 * Drosera/win/resource.h: Removed the Attach box.
4195 2007-10-22 Adam Roben <aroben@apple.com>
4199 * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
4201 2007-10-22 Kevin McCullough <kmccullough@apple.com>
4203 - Removed a leak that was fixed.
4205 * Scripts/run-webkit-tests:
4207 2007-10-19 Kevin McCullough <kmccullough@apple.com>
4211 - Changed the Client so that the DebuggerDocument now own the
4212 ServerConnection. This simplifies ownership and cleanup.
4214 * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
4216 (DebuggerClient::initWithServerName):
4217 (DebuggerClient::didFinishLoadForFrame):
4218 * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
4220 * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
4221 until after we have a server which we are attached to.
4224 * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
4227 2007-10-22 Simon Hausmann <hausmann@kde.org>
4229 Reviewed by Nikolas.
4231 When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
4233 * Scripts/run-javascriptcore-tests:
4235 2007-10-22 Simon Hausmann <hausmann@kde.org>
4237 Reviewed by Nikolas.
4239 Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS.
4241 * Scripts/build-drosera:
4242 * Scripts/build-dumprendertree:
4243 * Scripts/build-testkjs:
4244 * Scripts/build-webkit:
4245 * Scripts/run-javascriptcore-tests:
4246 * Scripts/run-sunspider:
4247 * Scripts/run-webkit-tests:
4248 * Scripts/webkitdirs.pm:
4250 2007-10-22 Andrew Wellington <proton@wiretapped.net>
4252 Reviewed by Mark Rowe.
4254 Fix for local database support after r26879
4255 Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
4257 * Scripts/build-webkit:
4259 2007-10-22 Holger Freyther <zecke@selfish.org>
4261 Reviewed by Simon Hausmann <hausmann@kde.org>.
4263 - Do not build testkjs as an application bundle. This is
4264 needed for run-javascriptcore-tests on OSX.
4265 - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
4266 - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
4267 as we do not have -rpath on OSX.
4269 * DumpRenderTree/qt/DumpRenderTree.pro:
4270 * Scripts/run-webkit-tests:
4272 2007-10-22 Simon Hausmann <hausmann@kde.org>
4276 Fix support for Signed-off-by detection in prepare-ChangeLog
4277 --git-commit. The Signed-off-by tag does not appear in the header
4278 but usually at the end.
4280 * Scripts/prepare-ChangeLog:
4282 2007-10-21 Mark Rowe <mrowe@apple.com>
4286 Fix run-javascriptcore-tests for Gtk.
4288 * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
4290 2007-10-20 Eric Seidel <eric@webkit.org>
4294 * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
4296 2007-10-20 Eric Seidel <eric@webkit.org>
4300 Add improved argument handling to run-sunspider, including
4301 --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
4302 Also re-factor code into subroutines
4304 * Scripts/build-dumprendertree: removed bogus comments
4305 * Scripts/build-testkjs: Added.
4306 * Scripts/run-javascriptcore-tests: use build-testkjs
4307 * Scripts/run-sunspider: improved argument handling, abstraction
4308 * Scripts/run-webkit-tests: improved abstraction
4310 2007-10-20 Matt Lilek <webkit@mattlilek.com>
4312 Not reviewed, Windows build fix.
4314 * DumpRenderTree/win/EventSender.cpp:
4317 2007-10-20 Darin Adler <darin@apple.com>
4319 Reviewed by Tim Hatcher.
4321 - http://bugs.webkit.org/show_bug.cgi?id=15544
4322 <rdar://problem/5076426> fast/events/arrow-navigation.html needs&nbs