blob: 0d9b281324b33554d778de3f849b56abdd4b260a [file] [log] [blame]
2006-10-21 Darin Adler <darin@apple.com>
* Makefile: Build DumpRenderTree too.
* Scripts/do-webcore-rename: Removed bogus comment.
2006-10-20 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Bug 11367: Inline Breakpoint Editor Improvements: Act III
http://bugs.webkit.org/show_bug.cgi?id=11367
Major breakpoint editor changes:
* Breakpoints can now either pause or log to console
* Code cleanup through use of XPath and converting breakpoints to objects
* Breakpoints now track how many times they've been reached
* UI tweaks
* The breakpoint editor now saves changes as they're entered
* Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
* If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
* Drosera/DebuggerDocument.m:
(-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/Images/close.tif: Added.
* Drosera/Images/close_active.tif: Added.
* Drosera/Images/close_hover.tif: Added.
* Drosera/breakpointEditor.html: Added.
* Drosera/console.js: Added a way to append messages from outside the console window.
* Drosera/debugger.js:
* Drosera/viewer.css:
* Drosera/viewer.html:
2006-10-18 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Improve the doubleclick behavior of breakpoints, and make breakpoints with no custom condition set appear blank instead of return [-1, 1] depending on enabled state.
* Drosera/DebuggerDocument.m:
(-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
* Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
* Drosera/debugger.js:
2006-10-18 Timothy Hatcher <timothy@apple.com>
Reviewed by Anders.
Bug 10851: Crash with Drosera
http://bugs.webkit.org/show_bug.cgi?id=10851
This crash results in an assert in debug builds.
assert(implementsCall());
The __drosera_introspection propery was not callable. Now we just assign
this.__drosera_introspection in the evaluateWebScript call.
This change also removes one DO message.
* Drosera/DebuggerDocument.m:
(-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
2006-10-18 Mark Rowe <bdash@webkit.org>
Reviewed by Tim H.
http://bugs.webkit.org/show_bug.cgi?id=11304
Bug 11304: Drosera fails to link as universal binary on PowerPC machine
* Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
when they are not part of the WebKit umbrella framework.
2006-10-18 Adam Roben <aroben@apple.com>
fixo el buildo II: Release's Pride.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2006-10-18 Geoffrey Garen <ggaren@apple.com>
fixo el buildo.
Work around #import of <PDFKit/PDFView.h>.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2006-10-18 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/Images/breakpointeditor.png: Added.
* Drosera/breakpointEditor.css: Removed.
* Drosera/breakpointEditor.html: Removed.
* Drosera/breakpointEditor.js: Removed.
* Drosera/debugger.js:
* Drosera/viewer.css:
2006-10-18 David Harrison <harrison@apple.com>
Reviewed by Tim H.
Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
http://bugs.webkit.org/show_bug.cgi?id=11341
Link editing behavior became a preference. DumpRenderTree needs to specify the
non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
* DumpRenderTree/DumpRenderTree.m:
(main):
2006-10-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Anders.
Make compiler not complain about unused gk. SpinneretWebHost was not setting
initial refcount upon creation, so it is completely bogus.
* GdkLauncher/main.cpp:
(main):
* Spinneret/Spinneret/Spinneret.h:
(SpinneretWebHost::SpinneretWebHost):
2006-10-15 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Oliver.
Add another hanging test, to the "to be skipped" list.
* DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
2006-10-14 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Anders.
Some fixes to get the Qt BuildSlave to run the LayoutTests.
* Scripts/build-dumprendertree: No need to call cmake again.
* Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
2006-10-13 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric.
Force --no-http on Qt/Linux.
* Scripts/run-webkit-tests:
2006-10-13 Kevin McCullough <KMcCullough@apple.com>
Reviewed by Adam.
Gets JavaScripCore tests running on windows.
* Scripts/run-javascriptcore-tests:
* Scripts/webkitdirs.pm:
2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Maciej.
Exclude some tests which crash or hang from Qt/Linux DRT.
These are known to fail, and will be fixed at some point :-)
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::readStdin):
(WebCore::DumpRenderTree::readSkipFile):
(WebCore::DumpRenderTree::checkLoaded):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Maciej.
Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
(WebCore::DumpRenderTreeClient::runJavaScriptAlert):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
2006-10-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Maciej.
Also regenerate GdkLauncher makefiles, since not doing that might
lead to mismatch between WebCore and GdkLauncher compiler settings.
* Scripts/regenerate-makefiles:
2006-10-10 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Bug 11246: Minor Drosera code cleanup
http://bugs.webkit.org/show_bug.cgi?id=11246
* Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
Reviewed by Tim H.
Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
* Drosera/Drosera.xcodeproj/project.pbxproj: Added files
* Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
* Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
* Drosera/Images/SourceArrowOpen.png: Added.
* Drosera/Images/fileIcon.jpg: Added.
* Drosera/Images/siteCollapsed.tif: Added.
* Drosera/Images/siteExpanded.tif: Added.
* Drosera/Images/siteIcon.tif: Added.
* Drosera/debugger.css: Added File Browser styles
* Drosera/debugger.html: Added File Browser UI
* Drosera/debugger.js: Added File Browser functionality
2006-10-10 Darin Adler <darin@apple.com>
* Scripts/do-file-rename: Added.
2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Geoff.
Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
a page. This allows automatic testing via e.g. valgrind.
* GdkLauncher/gdklauncher.bkl:
* GdkLauncher/main.cpp:
(LauncherFrameGdk::LauncherFrameGdk):
(LauncherFrameGdk::setExitAfterLoading):
(LauncherFrameGdk::handledOnloadEvents):
(handle_event):
(main):
2006-10-06 David Smith <catfish.man@gmail.com>
Reviewed by Timothy.
Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
* Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
* Drosera/breakpointEditor.css: Added.
* Drosera/breakpointEditor.html: Added.
* Drosera/breakpointEditor.js: Added.
* Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Tim H.
Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
2006-10-05 Oliver Hunt <ohunt@apple.com>
Reviewed by Anders.
* Scripts/run-webkit-tests:
Fix pixel tests.
2006-10-04 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin.
* Scripts/run-webkit-tests:
Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
results should be.
2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed and landed by ap.
Cmake: make it possible to install the libraries after having built using 'build-webkit'.
Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
* Scripts/webkitdirs.pm:
2006-10-04 Mark Rowe <bdash@webkit.org>
Reviewed by Stephanie.
Switch the Qt buildbot to the standard set of build steps.
Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
see if any regressions were spotted, and fail the test if so.
* BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
* BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
2006-10-04 Timothy Hatcher <timothy@apple.com>
Reviewed by Mitz Pettel!
Bug 10708: [Drosera] Make the console input plaintext-only
http://bugs.webkit.org/show_bug.cgi?id=10708
Change the console input -webkit-user-modify property to
read-write-plaintext-only.
* Drosera/console.css:
2006-10-04 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Bug 10473: [Drosera] Overlapping text in JavaScript Console
http://bugs.webkit.org/show_bug.cgi?id=10473
Using min-height instead of height to avoid overlapping text.
* Drosera/console.css:
2006-10-04 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Added a bash-style command history.
* Drosera/console.js:
2006-10-03 Anders Carlsson <acarlsson@apple.com>
Reviewed by Adam and Brady.
* DumpRenderTree/DumpRenderTree.m:
(main):
Update URL to Ahem.ttf
2006-10-03 Darin Adler <darin@apple.com>
* Scripts/commit-log-editor: Added missing "close" call. Oops!
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Offer a way for BuildBot to not colorize the cmake output, when building
with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
Default is colorize output, though only Qt platform handles this for now.
* Scripts/build-dumprendertree:
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Make all important scripts work with Qt/Linux.
You can safely use this now:
set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
* Scripts/build-dumprendertree:
* Scripts/run-javascriptcore-tests:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric.
build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
* Scripts/webkitdirs.pm:
2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed/landed by Adam.
Proper build-webkit support for Qt/Linux.
Compilation process is similar to OSX now, aka.
the build directory is RootCheckoutDir/WebKitBuild now.
* Scripts/build-webkit: Recognize Qt.
* Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Maciej.
Add QT build slave to Buildbot.
* BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
* BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
* BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Disable forcing of builds via web interface to prevent spamming. Use the IRC bot in #webkit-build instead.
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
2006-09-28 David Harrison <harrison@apple.com>
Suggested by Darin.
Moved an extern declaration from inside a method to the top of the file.
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController clearKillRing]):
2006-09-28 David Harrison <harrison@apple.com>
Reviewed by Justin.
Add clearKillRing so we can test emacs support with empty kill ring.
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(-[EventSendingController clearKillRing]):
2006-09-27 MorganL <morganl.webkit@yahoo.com>
Reviewed by Maciej, landed by Brady
Fix URL bar updating.
* Spinneret/Spinneret/Spinneret.h:
(SpinneretWebHost::didStartProvisionalLoadForFrame):
(SpinneretWebHost::didCommitLoadForFrame):
(SpinneretWebHost::didFinishLoadForFrame):
2006-09-23 Sam Weinig <sam.weinig@gmail.com>
Reviewed by Eric.
Build Fix.
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController enableDOMUIEventLogging:]):
2006-09-22 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
* Scripts/do-webcore-rename:
2006-09-21 Timothy Hatcher <timothy@apple.com>
Reviewed by Adam.
Bug 10923: Frame scroll layout test failures on the buildbot
http://bugs.webkit.org/show_bug.cgi?id=10923
Added a new method that will toggle on the recursive dump of
child frame scroll positions.
* DumpRenderTree/DumpRenderTree.m:
(dumpFrameScrollPosition):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController dumpChildFrameScrollPositions]):
2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by eseidel. Landed by eseidel.
Detect that close button was pressed and exit cleanly.
* GdkLauncher/main.cpp:
(handle_event):
(main):
2006-09-17 Adam Roben <aroben@apple.com>
Reviewed by hyatt, sfalken.
Get DumpRenderTree compiling and limping along on Windows.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
(main): Add NULL argument to Page constructor.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
* Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Brady.
http://bugs.webkit.org/show_bug.cgi?id=10635
Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
* BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
* BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
2006-09-09 Sam Weinig <sam.weinig@gmail.com>
Reviewed by Eric.
Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
Even More Objective-C DOM auto-generation cleanup
- Change to use new, more Objectice-C'ish version of
DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
regression test for fast/events/dblclick-addEventListener.html.
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController fireKeyboardEventsToElement:]):
2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Tim H.
Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
Move QtLauncher down to WebKitQt.
* QtLauncher/CMakeLists.txt: Removed.
* QtLauncher/main.cpp: Removed.
2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Darin.
Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
Adjust DumpRenderTree to the FrameQtClient changes.
* DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::~DumpRenderTree):
(WebCore::DumpRenderTree::frame):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
(WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
(WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
2006-09-03 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: More renaming plans.
2006-09-03 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Tim H.
http://bugs.webkit.org/show_bug.cgi?id=10693
Convert JavaScript arrays to AppleScript lists
* DumpRenderTree/AppleScriptController.m:
(convertAEDescToObject):
(-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
2006-08-31 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Prepare for another round of renaming.
2006-08-29 Dan Waylonis <waylonis@google.com>
Reviewed by ggaren.
- Verification of exceptions thrown in a plugin. Test for bug 10114.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/ObjCPlugin.m:
(+[ObjCPlugin isSelectorExcludedFromWebScript:]):
(+[ObjCPlugin webScriptNameForSelector:]):
(-[ObjCPlugin throwIfArgumentIsNotHello:]):
2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Tim H.
Commit KDE related tweaks, to be able to
differentiate between a Qt-only or a KDE build.
* DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
* QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
2006-08-29 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
* Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
to work around what seems to be a bug in some versions of gdb.
2006-08-16 Tim Omernick <timo@apple.com>
Reviewed by John Sullivan.
Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
<http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
in Firefox
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
(NPP_GetValue):
WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
are expected to be retained by the plug-in, and released by the caller.
2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Tim Hatcher.
Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
Qt's DumpRenderTree.
* Scripts/run-webkit-tests:
Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
2006-08-28 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
* Scripts/build-drosera: Fix behavior when there are multiple options.
2006-08-27 Timothy Hatcher <timothy@apple.com>
Reviewed by Anders.
Drosera will be built when you type make.
* Drosera/Makefile: Added.
* Makefile: Added.
* Makefile.shared: Added.
2006-08-27 Anders Carlsson <acarlsson@apple.com>
Forgot to add these.
* DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::~DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::readStdin):
(WebCore::DumpRenderTree::checkLoaded):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
(main):
2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric, landed by Anders.
Add DumpRenderTree support for Qt/Linux.
* DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::~DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::readStdin):
(WebCore::DumpRenderTree::checkLoaded):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
(main):
* Scripts/build-dumprendertree:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric. Landed by rwlbuis.
Add QtLauncher (was testunity before), which provides a
standalone "browser" to test the Qt platform stuff.
* QtLauncher/CMakeLists.txt: Added.
* QtLauncher/main.cpp: Added.
(main):
2006-08-22 Trey Matteson <trey@usa.net>
Reviewed by ggaren.
Added support for a new set of browser navigation tests. The main feature
is the ability for a test to queue up a set of future actions that will
happen after that first page is loaded. This is used to simulate a sequence
of user actions such as filling out forms, loading additional pages or
going back. In addition we can now dump out the state of the back/forward
list, and the scroll position is dumped if not at 0,0.
* DumpRenderTree/DumpRenderTree.m:
(main): Init new state
(compareHistoryItems): New utility to support sorting.
(dumpHistoryItem): Write out a WebHistoryItem and kids.
(dumpFrameScrollPosition): Write out the scroll position.
(dump): Optionally write b/f list or scroll position.
(-[WaitUntilDoneDelegate processWork:]): Perform queued work.
(-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
Kick off any queued actions. Fixed for the case of loads started in
a subframe instead of the root frame.
(-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
Grab the topmost frame that is being loaded. Do this as early as possible,
instead of in didCommitLoadForFrame.
(-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
Noting a load has started now happens in previous method.
(+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
(+[LayoutTestController webScriptNameForSelector:]): Boilerplate
(-[LayoutTestController notifyDone]): readyToDump var is subsumed by
topFrameLoading
(-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
(-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
Add new work to the queue.
(-[LayoutTestController _doLoad:target:]): Do a queued load.
(-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
(-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
(-[LayoutTestController scheduleForwardNav:]):
(-[LayoutTestController scheduleReload]):
(-[LayoutTestController scheduleScript:]):
(-[LayoutTestController scheduleLoad:target:]):
(runTest): Clear new state for each test. Renamed from "dumpRenderTree"
since it's not one of the functions that does any dumping.
2006-08-15 Jonas Witt <jonas.witt@gmail.com>
Reviewed by Darin.
- added a function to create a few DOMKeyboardEvents and dispatch
them to a specified HTML element
http://bugs.webkit.org/show_bug.cgi?id=9736
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(-[EventSendingController fireKeyboardEventsToElement:]):
2006-08-15 Duncan Wilcox <duncan@mclink.it>
Reviewed and tweaked by Darin.
- added DumpRenderTree support so editing delegate can be made to refuse edits
to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
to the list of methods.
(+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
without the colon, for the JavaScript name.
(-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
delegate.
(dumpRenderTree): Set the acceptsEditing flag to YES before each test.
* DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
setter methods to the class.
* DumpRenderTree/EditingDelegate.m:
(-[EditingDelegate init]): Initialize acceptsEditing to YES.
(-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
return the value of acceptsEditing.
(-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
(-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
(-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
(-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
(-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
Ditto.
(-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
(-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
(-[EditingDelegate setAcceptsEditing:]): Added.
2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin.
Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
http://bugs.webkit.org/show_bug.cgi?id=10224
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/LauncherInfo.plist:
2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
- fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
when a test performs an unsuccessful drag and drop operation.
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
drag operation for the mouse release is NSDragOperationNone.
2006-08-02 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin.
Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
http://bugs.webkit.org/show_bug.cgi?id=9632
Do not change the file source when normalizing the line endings.
We use this file source to compare against new versions of the source
as it comes in, so we can skip re-syntax highlighting if they are the same.
The problem is apparent on yahoo.com since they have mixed line endings and
once we normalize them the source will always be different. This was
compounded by the fact that yahoo has around 40 inline scripts. Each
inline script causes us to check if the main document has more loaded,
that is when we compare the source strings. Since they are always different
we would syntax highlight yahoo.com 40 times! We do check source length before
doing a more expensive string comparison, but the lengths were the same.
* Drosera/debugger.js:
2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
Reviewed by Timothy.
Bug 9931: [Drosera] Needs a cool icon
http://bugs.webkit.org/show_bug.cgi?id=9931
* Drosera/Drosera.icns: Added.
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/Info.plist:
2006-08-01 Darin Adler <darin@apple.com>
- fix a bug in my recent change where the mouse position at the end of
the last test would affect the results of the next test
* DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Maciej.
http://bugs.webkit.org/show_bug.cgi?id=10182
Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
* Drosera/console.js: String.indexOf returns -1 when the string is not found.
Correct the logic to not reload local variable list unless an '=' character is in the expression.
2006-07-31 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- fix http://bugs.webkit.org/show_bug.cgi?id=10171
REGRESSION: failing layout test: fast/events/objc-event-api.html
* DumpRenderTree/DumpRenderTree.m:
(main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
location in flipped coordinates, since those are the coordinates that we use.
(+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
inside WebHTMLView.
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
(-[EventSendingController init]): Removed, since the whole thing was a no-op.
(-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
probably worked OK, but this is needed to be correct.
(-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
dump the screenY as-is.
2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=10178
Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
* Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=10175
Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
* Drosera/DebuggerDocument.m:
(-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=10167
Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
* DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
in keyDown handler.
2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Maciej.
Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
http://bugs.webkit.org/show_bug.cgi?id=9686
* Drosera/DebuggerDocument.m:
(-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
ensure that the server does not try and notify us of events related to the resumption.
(-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
call through to JavaScript.
* Drosera/debugger.js: Pause debugger when exception is raised.
2006-07-29 Mike Emmel <mike.emmel@gmail.com>
Reviewed by Darin.
- fixes for Linux build
* GdkLauncher/mk: Added call to bakefile_gen before calling make.
* GdkLauncher/gdklauncher.bkl: Tweak comment.
2006-07-24 Dan Waylonis <waylonis@google.com>
Reviewed and tweaked a bit by Darin.
* DumpRenderTree/ObjCPlugin.m:
(+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
(+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
"echo:" so it's nice to call from JavaScript.
(-[ObjCPlugin echo:]): Just returns the same object -- can be used
to test a round trip through Objective-C types.
2006-07-24 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
Fix http://bugs.webkit.org/show_bug.cgi?id=10060
Improve iExploder results parsing
* Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
in random mode, too.
2006-07-18 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Timothy.
- fix http://bugs.webkit.org/show_bug.cgi?id=9964
Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
* Scripts/prepare-ChangeLog: Added --[no-]update switch.
2006-07-16 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin.
* BuildSlaveSupport/build.webkit.org-config/buildbot.css:
Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
* GdkLauncher/mk:
Removed "Property changes" that snuck in as part of the "apply patch" process.
2006-07-16 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin.
- fix http://bugs.webkit.org/show_bug.cgi?id=9875
Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
* Scripts/svn-apply:
(addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
(checksum): Added.
(patch): Use patch(1) for non-binary additions and deletions.
* Scripts/svn-unapply:
(checksum): Added.
(patch): Use patch(1) for reverting non-binary additions and deletions.
(revertDirectories): Don't try to revert a directory that hasn't changed in svn.
2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Timothy.
Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
http://bugs.webkit.org/show_bug.cgi?id=9889
* Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
so, have stepOut pause on the next call to willExecuteStatement rather than second.
2006-07-12 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin.
- fix http://bugs.webkit.org/show_bug.cgi?id=9848
Teach svn-create-patch and friends to fix ChangeLog patches
* Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
* Scripts/svn-create-patch: Ditto.
* Scripts/svn-unapply: Ditto.
2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by ggaren.
Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
http://bugs.webkit.org/show_bug.cgi?id=9869
* Drosera/DebuggerDocument.m:
(-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by ggaren.
Bug 9863: Drosera needs to show something at launch
http://bugs.webkit.org/show_bug.cgi?id=9863
* Drosera/DebuggerApplication.m:
(-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Timothy.
Lets Drosera build universal for the nightlies. Right now it is not
possible to build a universal binary on a PPC machine because of a
conflict with the universal SDK.
* BuildSlaveSupport/build-launcher-app:
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2006-07-11 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Tim O.
- test for http://bugs.webkit.org/show_bug.cgi?id=7808
Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
should open a new stream and deliver the data to the current instance.
2006-07-11 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin.
Bug 9598: [Drosera] add a JavaScript evaluator console
http://bugs.webkit.org/show_bug.cgi?id=9598
* Drosera/DebuggerApplication.h:
* Drosera/DebuggerApplication.m:
(-[DebuggerApplication knownServers]):
* Drosera/DebuggerDocument.h:
* Drosera/DebuggerDocument.m:
(-[WebScriptObject evaluateScript:inCallFrame:]):
(-[WebScriptObject showConsole:]):
(-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
(-[WebScriptObject toolbarDefaultItemIdentifiers:]):
(-[WebScriptObject toolbarAllowedItemIdentifiers:]):
(-[WebScriptObject webView:createWebViewWithRequest:]):
(-[WebScriptObject webViewShow:]):
(-[WebScriptObject webViewAreToolbarsVisible:]):
(-[WebScriptObject webView:setToolbarsVisible:]):
(-[WebScriptObject webView:setResizable:]):
(-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
(-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
(-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
(-[WebScriptObject webView:windowScriptObjectAvailable:]):
(-[WebScriptObject webView:didFinishLoadForFrame:]):
(-[WebScriptObject webView:didReceiveTitle:forFrame:]):
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/Images/console.png: Added.
* Drosera/console.css: Added.
* Drosera/console.html: Added.
* Drosera/console.js: Added.
2006-07-11 Timothy Hatcher <timothy@apple.com>
Reviewed by a tired Geoff.
Bug 9597: [Drosera] hook up the variables table to show stack variables
http://bugs.webkit.org/show_bug.cgi?id=9597
* Drosera/DebuggerDocument.m:
(-[WebScriptObject isSelectorExcludedFromWebScript:]):
(-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
(-[WebScriptObject localScopeVariableNamesForCallFrame:]):
(-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
(-[WebScriptObject webView:didReceiveTitle:forFrame:]):
(-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
(-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
(-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
(-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
(-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
* Drosera/debugger.css:
* Drosera/debugger.html:
* Drosera/debugger.js:
2006-07-10 Tim Omernick <timo@apple.com>
Reviewed by Beth Dakin.
<http://bugs.webkit.org/show_bug.cgi?id=9844>:
Add DOM access test to DumpRenderTree's Netscape plug-in
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(testDOMAccess):
(pluginInvoke):
2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=9839
Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
Now track three states: initializing, running, and closed. If we are launched and the previous
state was initializing then we likely just experienced a crash on launch.
* WebKitLauncher/WebKitNightlyEnabler.m:
(myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
(myApplicationWillTerminate): Update to use new states.
(cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
initializing as early as practical.
(symbol_lookup): Bring code up to speed with formatting guidelines.
(GDSymbolLookup): Ditto.
2006-07-10 Darin Adler <darin@apple.com>
- try to fix Windows build
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
2006-07-09 David Kilzer <ddkilzer@kilzer.net>
Build fix. Reviewed by NOBODY.
- Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
devenv.com not available in VC++ Express installations
* Scripts/webkitdirs.pm: Backed out previous change.
2006-07-09 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=9693
svn-apply should set ChangeLog date correctly when applying patches
* Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
before applying the patch.
* Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
2006-07-09 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
2006-07-09 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
2006-07-09 David Kilzer <ddkilzer@kilzer.net>
Reviewed by NOBODY (build fix).
- http://bugs.webkit.org/show_bug.cgi?id=7802
devenv.com not available in VC++ Express installations
* Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
work again. Add VC++ Express check as the fallback.
2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
Reviewed by Timothy Hatcher.
- http://bugs.webkit.org/show_bug.cgi?id=7802
devenv.com not available in VC++ Express installations
* Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
Reviewed by Eric.
Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
Patch by coldwinter@katamail.com.
In the congratulations message, "capatibilies" should be "capabilities".
* Scripts/build-webkit:
2006-07-09 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Timothy Hatcher.
- http://bugs.webkit.org/show_bug.cgi?id=9794
Teach run-webkit-tests how to ignore tests with performance improvements
* Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
feature, and minor clean up.
2006-07-08 Darin Adler <darin@apple.com>
Reviewed by Geoff (well, half of it at least).
- http://bugs.webkit.org/show_bug.cgi?id=9788
storage leaks in Objective-C tests
* DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
* DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
Add a release to fix a storage leak.
2006-07-08 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: A few more.
2006-07-08 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
2006-07-04 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=9734
- add support for dumping non-HTML as text - in this case use textContent
instead of innerText
* DumpRenderTree/DumpRenderTree.m:
(dump):
2006-07-02 Timothy Hatcher <timothy@apple.com>
Reviewed by Eric.
Bug 9631: [Drosera] Add "Step Over" and "Step Out"
http://bugs.webkit.org/show_bug.cgi?id=9631
Adds step over and step out. Along with a little code cleanup
that was minor enough to piggyback on this fix.
* Drosera/DebuggerDocument.h:
* Drosera/DebuggerDocument.m:
(-[DebuggerDocument stepOver:]):
(-[DebuggerDocument stepOut:]):
(-[DebuggerDocument windowDidLoad]):
(-[DebuggerDocument windowWillClose:]):
(-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
(-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
(-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
(-[DebuggerDocument validateUserInterfaceItem:]):
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/debugger.html:
* Drosera/debugger.js:
* Drosera/viewer.css:
2006-07-02 Timothy Hatcher <timothy@apple.com>
Reviewed by Eric.
Bug 9628: [Drosera] Split Views acting oddly
http://bugs.webkit.org/show_bug.cgi?id=9628
Only update the last X or Y coordinate if the new
size was not constrained. Also adds the resize cursor to
the body during the drag incase there is a constrained
over drag off of the resizer element.
* Drosera/debugger.js:
2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Alexy Proskuryakov.
Bug 9692: Warning about Safari extensions on every launch is obnoxious
http://bugs.webkit.org/show_bug.cgi?id=9692
* WebKitLauncher/WebKitNightlyEnabler.m:
(myApplicationWillTerminate): Note that we are exiting cleanly.
(cleanUpAfterOurselves): Install bundle load tracking only if we failed
to exit cleanly on our last invocation. This doesn't play nicely with
multiple concurrent instances of WebKit.app so it can be disabled via
defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Alexy Proskuryakov.
Bug 9654: Refresh Loop when accessing feed URLs
http://bugs.webkit.org/show_bug.cgi?id=9654
* WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Timothy Hatcher.
Bug 9689: Nightly builds should warn a user about potential problems when using
"Safari extensions"
http://bugs.webkit.org/show_bug.cgi?id=9689
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
* WebKitLauncher/WebKitNightlyEnabler.m:
(myBundleDidLoad): Keep track of if any bundles that are loaded.
(myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
(cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
NSApplicationWillFinishLaunchingNotification notifications so that we can
track bundle loads and notify the user at launch completion.
2006-06-30 Mike Emmel <mike.emmel@gmail.com>
Reviewed by Darin.
- first check-in of a Gdk shell for testing WebKit
* GdkLauncher: Added.
2006-06-29 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin.
Need to call window close so WebView tears-down completly.
* DumpRenderTree/DumpRenderTree.m:
(main): call [window close]
2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin.
Bug 9615: Buildbot configuration should be in SVN repository
http://bugs.webkit.org/show_bug.cgi?id=9615
Import BuildBot configuration files as used by build.webkit.org.
auth.py has been stubbed out so that slave passwords are not disclosed.
* BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
* BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
* BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
* BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin.
Bug 9614: Nightly builds should notify user if a newer build is available
http://bugs.webkit.org/show_bug.cgi?id=9614
* BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
* BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
script so it can keep track of the latest revision.
* Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
* WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
* WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
the nightly start page.
2006-06-26 Jonas Witt <jonas.witt@gmail.com>
Reviewed by Darin.
Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
http://bugs.webkit.org/show_bug.cgi?id=9579
Report screenY values as (height of zero screen - screenY)
* DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
2006-06-25 Timothy Hatcher <timothy@apple.com>
Reviewed by Geoff.
Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
http://bugs.webkit.org/show_bug.cgi?id=9591
Makes breakpoints dragable. If dragged off the gutter they are deleted.
* Drosera/debugger.js:
* Drosera/viewer.css:
2006-06-25 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin.
Bug 9568: assertion failure in Safari after quitting Drosera
http://bugs.webkit.org/show_bug.cgi?id=9568
Call switchToServerNamed:nil and not removeLister to make sure
the server object is set to nil to prevent further removeListener calls.
* Drosera/DebuggerDocument.m:
(-[DebuggerDocument applicationTerminating:]):
2006-06-25 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin.
* Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
that the directory is not empty instead of reading in every single file and directory first,
then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
defined.
2006-06-25 Darin Adler <darin@apple.com>
* Scripts/svn-apply: Tweak comments.
* Scripts/svn-create-patch: Ditto.
* Scripts/svn-unapply: Ditto.
2006-06-25 David Kilzer <ddkilzer@kilzer.net>
Formatting fix per Bug 9571 Comment #2. Reviewed by NOBODY.
http://bugs.webkit.org/show_bug.cgi?id=9571#c2
* Scripts/svn-apply: Formatting fix.
2006-06-25 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=9571
Teach svn-apply and svn-unapply to handle directory adds and removes better
* Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
* Scripts/svn-unapply: Handle undoing both directory adds and removes.
2006-06-25 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin.
Bug 9574: Drosera should show inline scripts within the original HTML
http://bugs.webkit.org/show_bug.cgi?id=9574
Refactor the JavaScript code to have a distinction between files
and scripts. Show the script in the context of the HTML file if
it's URL is the same as the frame's main resource. At the time of
the disParseScript callback the main resource might not be completely
loaded, but Drosera needs to show whatever we have at the time. Once
the main resource is finished, update the file source and reload the file.
* Drosera/DebuggerDocument.m:
(-[DebuggerDocument pause]):
(-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
(-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
(-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
* Drosera/debugger.css:
* Drosera/debugger.js:
2006-06-24 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=9570
Teach prepare-ChangeLog to operate on a list of files or directories
* Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
* Scripts/svn-create-patch: Code refactoring.
2006-06-24 James G. Speth <speth@end.com>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=8843
add a way to build Objective-C test cases in HTML
Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
objects, etc... )
* DumpRenderTree/ObjCPlugin.h:
* DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
(+[ObjCPlugin isSelectorExcludedFromWebScript:]):
(+[ObjCPlugin webScriptNameForSelector:]):
(-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
(+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
(+[NSObject allowsScriptsFullAccess]):
(+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
(+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
(-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
(+[JSObjC webScriptNameForSelector:]):
(-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
(-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
(-[JSObjC log:]): access to NSLog function
(-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
(-[JSObjC classOfObject:]):
(-[JSObjC classNameOfObject:]):
2006-06-24 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Timothy.
* DrawTest/Info.plist: Added copyright statement.
* Drosera/Info.plist: Ditto.
* DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
* WebKitLauncher/Info.plist: Ditto.
2006-06-24 David Kilzer <ddkilzer@kilzer.net>
Build fix. Reviewed by NOBODY.
- Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
devenv.com not available in VC++ Express installations
* Scripts/webkitdirs.pm: Backed out previous change.
2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
Reviewed by Maciej.
- http://bugs.webkit.org/show_bug.cgi?id=7802
devenv.com not available in VC++ Express installations
* Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
2006-06-24 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=9564
A bunch of fixes to run-webkit-httpd
- Add an -all-interfaces (-a) flag to bind to all interfaces, not just
127.0.0.1. Useful for testing with WinIE running on another machine;
- don't call checkFrameworks() - we do not need a built WebKit here;
- changed tabs to spaces;
- disable HTTP keepalive (since Apache doesn't spawn sub-processes in
interactive mode, they were a hassle when testing with several browsers, as one
had to wait for connection to expire);
- remove httpd.pid when done, so that Apache doesn't complain next time.
* Scripts/run-webkit-httpd:
2006-06-24 Jonas Witt <jonas.witt@gmail.com>
Reviewed by ggaren, landed by ap.
- http://bugs.webkit.org/show_bug.cgi?id=9181
Complete DOMUIEvent Obj-C API to reflect UIEvent
Add function to enable logging of all events of one DOM node to stdout.
* DumpRenderTree/EventSendingController.h:
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController initialize]):
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(-[EventSendingController enableDOMUIEventLogging:]):
(-[EventSendingController handleEvent:]):
2006-06-23 Kevin Decker <kdecker@apple.com>
Reviewed by Tim Hatcher.
- Made column headers in Drosera resizable.
2006-06-22 Alexey Proskuryakov <ap@nypop.com>
Reviewed by ggaren.
- see http://bugs.webkit.org/show_bug.cgi?id=9539
Another case error preventing build
* Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
2006-06-22 Timothy Hatcher <timothy@apple.com>
Reviewed by Eric.
Adds a native toolbar to Drosera to be a good citizen.
Adds a Debug menu with key-commands for Continue, Pause and Step Into.
Fixes a dragging bug from an earlier fix to the divider code.
Fixes some poor indenting in debugger.js.
* Drosera/DebuggerDocument.h:
* Drosera/DebuggerDocument.m:
(-[DebuggerDocument stepInto]):
(-[DebuggerDocument pause:]):
(-[DebuggerDocument resume:]):
(-[DebuggerDocument stepInto:]):
(-[DebuggerDocument windowDidLoad]):
(-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
(-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
(-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
(-[DebuggerDocument validateUserInterfaceItem:]):
* Drosera/English.lproj/MainMenu.nib/classes.nib:
* Drosera/English.lproj/MainMenu.nib/info.nib:
* Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
* Drosera/debugger.css:
* Drosera/debugger.html:
* Drosera/debugger.js:
* Drosera/viewer.html:
2006-06-22 Kevin Decker <kdecker@apple.com>
Reviewed by Anders.
- Added pressed column header image.
- Made column headers behave more like Xcode.
2006-06-22 Timothy Hatcher <timothy@apple.com>
Reviewed by Kevin Decker.
Code clean up. Adds the stackframe and makes only the body
of the tables scrollable keeping the header visible.
Shows the current function stack when paused or stepping.
* Drosera/DebuggerApplication.m:
(-[DebuggerApplication awakeFromNib]):
(-[DebuggerApplication numberOfRowsInTableView:]):
(-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
* Drosera/DebuggerDocument.h:
* Drosera/DebuggerDocument.m:
(-[DebuggerDocument dealloc]):
(-[DebuggerDocument currentFrame]):
(-[DebuggerDocument currentFrameFunctionName]):
(-[DebuggerDocument currentFunctionStack]):
(-[DebuggerDocument log:]):
(-[DebuggerDocument windowWillClose:]):
(-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
(-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/debugger.css:
* Drosera/debugger.html:
* Drosera/debugger.js:
2006-06-22 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Anders.
Teach run-webkit-httpd to properly look for webkitdirs.pm.
* Scripts/run-webkit-httpd:
2006-06-22 Kevin Decker <kdecker@apple.com>
Reviewed by Tim Hatcher.
- More progress toward Javascript Debugger.
- Added some new images to the project.
2006-06-21 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Anders.
- http://bugs.webkit.org/show_bug.cgi?id=9516
Would like a script to run a httpd server with the same configuration as run-webkit-tests http
* Scripts/run-webkit-httpd: Added.
2006-06-20 Timothy Hatcher <timothy@apple.com>
Reviewed by Eric.
Builds Drosera and a launcher to include with the nightly.
* BuildSlaveSupport/build-launcher-app:
* BuildSlaveSupport/build-launcher-dmg:
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/Info.plist:
* Drosera/LauncherInfo.plist: Added.
* Drosera/launcher.m: Added.
(displayErrorAndQuit):
(checkMacOSXVersion):
(myExecve):
(main):
* Scripts/build-drosera
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
* WebKitLauncher/main.m:
(main):
2006-06-20 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin.
Adds a JavaScript debugger, called Drosera. Named after
a genus of bug eating plants.
* Drosera/DebuggerApplication.h: Added.
* Drosera/DebuggerApplication.m: Added.
(-[DebuggerApplication applicationDidFinishLaunching:]):
(-[DebuggerApplication serverLoaded:]):
(-[DebuggerApplication serverUnloaded:]):
(-[DebuggerApplication awakeFromNib]):
(-[DebuggerApplication showAttachPanel:]):
(-[DebuggerApplication attach:]):
(-[DebuggerApplication numberOfRowsInTableView:]):
(-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
(-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
(-[DebuggerApplication tableViewSelectionDidChange:]):
* Drosera/DebuggerDocument.h: Added.
* Drosera/DebuggerDocument.m: Added.
(+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
(+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
(+[DebuggerDocument isSelectorExcludedFromWebScript:]):
(+[DebuggerDocument isKeyExcludedFromWebScript:]):
(-[DebuggerDocument initWithServerName:]):
(-[DebuggerDocument windowWillClose:]):
(-[DebuggerDocument dealloc]):
(-[DebuggerDocument isPaused]):
(-[DebuggerDocument pause]):
(-[DebuggerDocument resume]):
(-[DebuggerDocument step]):
(-[DebuggerDocument windowNibName]):
(-[DebuggerDocument windowDidLoad]):
(-[DebuggerDocument switchToServerNamed:]):
(-[DebuggerDocument applicationTerminating:]):
(-[DebuggerDocument serverConnectionDidDie:]):
(-[DebuggerDocument webView:windowScriptObjectAvailable:]):
(-[DebuggerDocument webView:didFinishLoadForFrame:]):
(-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
(-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
(-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
(-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
* Drosera/Drosera.pch: Added.
* Drosera/Drosera.xcodeproj/project.pbxproj: Added.
* Drosera/English.lproj/Debugger.nib/classes.nib: Added.
* Drosera/English.lproj/Debugger.nib/info.nib: Added.
* Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
* Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
* Drosera/English.lproj/MainMenu.nib/info.nib: Added.
* Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
* Drosera/Images/breakPoint.tif: Added.
* Drosera/Images/breakPointDisabled.tif: Added.
* Drosera/Images/continue.tif: Added.
* Drosera/Images/finishFunction.tif: Added.
* Drosera/Images/glossyFooterFill.tif: Added.
* Drosera/Images/glossyHeader.png: Added.
* Drosera/Images/gradientBackground.png: Added.
* Drosera/Images/gutter.png: Added.
* Drosera/Images/navLeftDisabled.png: Added.
* Drosera/Images/navLeftNormal.png: Added.
* Drosera/Images/navLeftPressed.png: Added.
* Drosera/Images/navRightDisabled.png: Added.
* Drosera/Images/navRightNormal.png: Added.
* Drosera/Images/navRightPressed.png: Added.
* Drosera/Images/pause.tif: Added.
* Drosera/Images/popUpArrows.png: Added.
* Drosera/Images/programCounter.tif: Added.
* Drosera/Images/programCounterBreakPoint.tif: Added.
* Drosera/Images/programCounterBreakPointDisabled.tif: Added.
* Drosera/Images/run.tif: Added.
* Drosera/Images/splitterBar.tif: Added.
* Drosera/Images/splitterDimple.tif: Added.
* Drosera/Images/step.tif: Added.
* Drosera/Images/stepOver.tif: Added.
* Drosera/Images/stop.tif: Added.
* Drosera/Images/toolbarBackground.png: Added.
* Drosera/Info.plist: Added.
* Drosera/debugger.css: Added.
* Drosera/debugger.html: Added.
* Drosera/debugger.js: Added.
* Drosera/main.m: Added.
(main):
* Drosera/viewer.css: Added.
* Drosera/viewer.html: Added.
2006-06-18 David Kilzer <ddkilzer@kilzer.net>
Reviewed by darin.
http://bugs.webkit.org/show_bug.cgi?id=9485
Teach svn-apply and svn-unapply to use full path names
* Scripts/svn-apply: Changed to use full path names. Cleaned up code.
* Scripts/svn-unapply: Ditto.
2006-06-18 David Kilzer <ddkilzer@kilzer.net>
Reviewed by ggaren.
- http://bugs.webkit.org/show_bug.cgi?id=9150
DumpRenderTree should be able to keep URL history during runs
Test: LayoutTests/fast/history/clicked-link-is-visited.html
* DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
(+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
(-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
it is currently nil since keepWebHistory() might be called more than once incidentally
for the same test.
(dumpRenderTree): Set optional shared history in WebHistory to nil by default.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
2006-06-11 David Kilzer <ddkilzer@kilzer.net>
Reviewed by darin.
http://bugs.webkit.org/show_bug.cgi?id=9395
Make prepare-ChangeLog faster
* Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
then save the diff output for reuse. Keep a status variable if changes are made to
LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
WebCore is updated. Added -h|--help command-line switch and help message. Move test
for no changed files closer to the beginning of the program.
2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed and landed by ap.
- make DumpRenderTree build
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
(-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
(-[LayoutTestController setWindowIsKey:]): Ditto.
(-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
2006-06-09 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin, landed by Geoff.
http://bugs.webkit.org/show_bug.cgi?id=9350
Use pathcmp() when sorting paths in svn-create-patch
* Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
* Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
switch and printUsage() subroutine.
2006-06-06 David Kilzer <ddkilzer@kilzer.net>
Reviewed by darin.
http://bugs.webkit.org/show_bug.cgi?id=9322
Teach svn-create-patch to sort its output
* Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
by text files first, then by binary files.
2006-06-04 David Kilzer <ddkilzer@kilzer.net>
Reviewed by darin.
http://bugs.webkit.org/show_bug.cgi?id=9299
Teach svn-create-patch and friends to work with binary files
* Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
* Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
* Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
2006-06-03 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Maciej.
http://bugs.webkit.org/show_bug.cgi?id=9296
Performance improvement for svn-create-patch
* Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
2006-06-03 David Kilzer <ddkilzer@kilzer.net>
Reviewed by darin.
http://bugs.webkit.org/show_bug.cgi?id=9290
Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
* Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
* Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
2006-06-03 Steve Falkenburg <sfalken@apple.com>
Reviewed by hyatt.
Switch Spinneret to new hosting mechanism
* Spinneret/Spinneret.sln:
* Spinneret/Spinneret/Spinneret.cpp:
(SpinneretWebHost::updateAddressBar):
(SpinneretWebHost::QueryInterface):
(SpinneretWebHost::AddRef):
(SpinneretWebHost::Release):
(resizeSubViews):
(_tWinMain):
(WndProc):
(MyEditProc):
(About):
(loadURL):
* Spinneret/Spinneret/Spinneret.h:
(SpinneretWebHost::didStartProvisionalLoadForFrame):
(SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
(SpinneretWebHost::didFailProvisionalLoadWithError):
(SpinneretWebHost::didCommitLoadForFrame):
(SpinneretWebHost::didReceiveTitle):
(SpinneretWebHost::didReceiveIcon):
(SpinneretWebHost::didFinishLoadForFrame):
(SpinneretWebHost::didFailLoadWithError):
(SpinneretWebHost::didChangeLocationWithinPageForFrame):
(SpinneretWebHost::willPerformClientRedirectToURL):
(SpinneretWebHost::didCancelClientRedirectForFrame):
(SpinneretWebHost::willCloseFrame):
(SpinneretWebHost::windowScriptObjectAvailable):
* Spinneret/Spinneret/Spinneret.vcproj:
2006-06-02 Steve Falkenburg <sfalken@apple.com>
Reviewed by darin.
Updated build script
* Scripts/build-webkit:
2006-06-01 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin.
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController clearBackForwardList]):
Add clearBackForwardList function to layoutTestController
2006-06-01 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=8996
slow-utf8-text layout test case failing (no longer deterministic?)
* DumpRenderTree/DumpRenderTree.m:
(dump):
Dump as text when the response MIME type is text/plain
2006-05-26 Steve Falkenburg <sfalken@apple.com>
Build fixes/tweaks
* Spinneret/Spinneret.sln:
* Spinneret/Spinneret/Spinneret.vcproj:
2006-05-24 Geoffrey Garen <ggaren@apple.com>
Reviewed by mjs.
Added 'GCController' to DRT to support garbage collection layout tests.
GCController.collect() and GCController.collectOnAlternateThread() do
what you would expect. The latter takes a boolean argument sepcifying
whether to wait for garbage collection to finish before continuing to
execute script.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/GCController.h: Added.
* DumpRenderTree/GCController.mm: Added.
(+[GCController isSelectorExcludedFromWebScript:]):
(+[GCController webScriptNameForSelector:]):
(-[GCController collect]):
(-[GCController collectOnAlternateThread:]):
2006-05-23 John Sullivan <sullivan@apple.com>
Reviewed by Maciej.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
Newer Xcode removed some obsolete cruft
* DumpRenderTree/TextInputController.m:
(-[TextInputController textInput]):
added (id) cast to make newer compiler happy
2006-05-22 Steve Falkenburg <sfalken@apple.com>
Reviewed by adele.
Fix build.
* Spinneret/Spinneret.sln:
2006-05-18 Darin Adler <darin@apple.com>
- try to fix no-SVG, no-XPATH build, again
* Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
2006-05-18 Darin Adler <darin@apple.com>
- try to fix no-SVG, no-XPATH build
* Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
since the former is what's used in the WebCore project now.
2006-05-17 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Some more future renames.
2006-05-16 Adele Peterson <adele@apple.com>
Reviewed by Hyatt.
* Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
2006-05-15 Alexey Proskuryakov <ap@nypop.com>
* Scripts/install-unix-extras: Changed to be executable and removed
text in the file generated by "svn diff".
* Scripts/regenerate-makefiles: Ditto.
2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
Reviewed by Darin, landed by ap.
- http://bugs.webkit.org/show_bug.cgi?id=8528
Bakefiles (and generated Makefiles) for wx and gdk ports
* Scripts/install-unix-extras: Added.
* Scripts/regenerate-makefiles: Added.
2006-05-10 Steve Falkenburg <sfalken@apple.com>
Reviewed by Maciej.
Fix registry usage from perl script. Turns out libwin32's
SetRegValueEx, even for REG_DWORD, always takes its value as a string!
* Scripts/install-win-extras:
2006-05-09 Steve Falkenburg <sfalken@apple.com>
Fix Windows build.
Add load ended callback.
Reviewed by kevin.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
* Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
* Spinneret/Spinneret/Spinneret.cpp:
(SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
(_tWinMain): Load built-in test content here instead of in lower-level code.
* Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
2006-05-08 Maciej Stachowiak <mjs@apple.com>
Reviewed by Anders.
* Scripts/extract-localizable-strings: Update for correct names of log macros.
2006-05-09 Anders Carlsson <acarlsson@apple.com>
Reviewed by Maciej.
* Scripts/check-dom-results:
Add XPath to the list of results.
2006-05-08 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Add another rename.
2006-05-01 Steve Falkenburg <sfalken@apple.com>
Reviewed by eric.
Spinneret now links against the new separate lib.
* Spinneret/Spinneret.sln:
* Spinneret/Spinneret/Spinneret.cpp:
(SpinneretWebHost::updateLocationBar):
(_tWinMain):
* Spinneret/Spinneret/Spinneret.h:
* Spinneret/Spinneret/Spinneret.vcproj:
* Spinneret/Spinneret/WebFrame.cpp: Removed.
* Spinneret/Spinneret/WebFrame.h: Removed.
* Spinneret/Spinneret/WebView.cpp: Removed.
* Spinneret/Spinneret/WebView.h: Removed.
2006-04-28 Steve Falkenburg <sfalken@apple.com>
Reviewed by kdecker
Modify error reporting registry keys to disable Dr. Watson.
This allows Javascript test cases to complete without blocking UI.
* Scripts/install-win-extras:
- Use Perl Win32 registry functions to disable blocking UI
2006-04-28 Steve Falkenburg <sfalken@apple.com>
Reviewed by eric.
Turned off C++ exceptions, fixed memory leaks
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
* Spinneret/Spinneret.sln:
* Spinneret/Spinneret/Spinneret.cpp:
(_tWinMain):
* Spinneret/Spinneret/Spinneret.vcproj:
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
(WebKit::WebFrame::WebFrame):
(WebKit::WebFrame::~WebFrame):
(WebKit::WebFrame::impl):
* Spinneret/Spinneret/WebFrame.h:
* Spinneret/Spinneret/WebView.cpp:
* Spinneret/Spinneret/stdafx.h:
2006-04-28 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=8633
DumpRenderTree should reset the URL cache
* DumpRenderTree/DumpRenderTree.m:
(main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
2006-04-28 Eric Seidel <eseidel@apple.com>
Reviewed by andersca.
* Scripts/do-webcore-rename: rename KCanvasContainer too
* Scripts/run-webkit-tests: output total time
2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by hyatt. Landed by eseidel.
- http://bugs.webkit.org/show_bug.cgi?id=8549
Enable detection of excessive repainting with DumpRenderTree
* DumpRenderTree/DumpRenderTree.m:
(-[LayoutTestController display]):
2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=6905
DumpRenderTree needs a way to force painting (to allow invalidation tests)
* DumpRenderTree/DumpRenderTree.m:
(dump): If display() has been called during the test, grab the pixels from
the view, after letting it repaint invalidated rects.
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController display]): Added. Calls -display on the view
and changes the subsequent behavior of dump().
(dumpRenderTree):
2006-04-22 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Maciej.
- http://bugs.webkit.org/show_bug.cgi?id=8532
Update iExploder to 1.3.2
Test case numbers are not compatible with iExploder 1.2.
* Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
* iExploder/CHANGELOG.txt: Added.
* iExploder/LICENSE.txt: Changed to a standard zlib/png license.
* iExploder/README.txt: Added some performance hints.
* iExploder/htdocs/config.rb: Added.
* iExploder/htdocs/cssproperties.in:
* iExploder/htdocs/cssvalues.in:
* iExploder/htdocs/htmlattrs.in:
* iExploder/htdocs/htmltags.in:
* iExploder/htdocs/iexploder.cgi:
- Updated to support the latest HTML & CSS tags, properties, and values from both
the WebKit and Mozilla CVS tree
- cssproperties.in cleanup
- Modularized the code a little bit.
- Fix subtest bug that was causing last 5 tags to be missed
- new subtest algorithm to deal better with larger tag counts
- default HTML_MAX_TAGS increased from 32 to 96
* iExploder/htdocs/index.html: Updated version to 1.3.2.
* iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
alternative to our run-iexploder-tests.
* iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
* iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
* iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
2006-04-22 Alexey Proskuryakov <ap@nypop.com>
- commit Scripts/run-mangleme-tests (missed it the previous time).
2006-04-18 Darin Adler <darin@apple.com>
- attempt to fix Windows buildbot
* Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
We need a better long-term solution for this.
2006-04-17 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=8444
Integrate mangleme test script.
Works in a similar way to run-iexploder-tests.
* Scripts/run-mangleme-tests: Added.
* mangleme: Added.
* mangleme/Makefile: Added.
* mangleme/README: Added.
* mangleme/mangle.cgi.c: Added.
* mangleme/remangle.cgi.c: Added.
* mangleme/tags.h: Added.
2006-04-17 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=8443
An easier way to save iExploder tests.
* Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
2006-04-17 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=8421
Integrate iExploder test script.
This script generates artificially mangled HTML documents, to test that the browser
doesn't crash when handling ill-formed code.
How to use:
run-iexploder-tests Open an interactive test page in Safari+ToT.
run-iexploder-tests nnnnn Open test #nnnnn.
Command line options:
--guard-malloc (-g) Use Guard Malloc.
--port=nnnn Run Apache on port nnnn (default is 8000).
To save a crashing test, you can use curl while the crash reporter dialog is on the screen
(thus, Apache is still running), e.g.:
curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
* Scripts/run-iexploder-tests: Added.
* iExploder: Added.
* iExploder/LICENSE.txt: Added.
* iExploder/README.txt: Added.
* iExploder/htdocs: Added.
* iExploder/htdocs/cssproperties.in: Added.
* iExploder/htdocs/cssvalues.in: Added.
* iExploder/htdocs/htmlattrs.in: Added.
* iExploder/htdocs/htmltags.in: Added.
* iExploder/htdocs/htmlvalues.in: Added.
* iExploder/htdocs/iexploder.cgi: Added.
* iExploder/htdocs/index.html: Added.
* iExploder/tools: Added.
* iExploder/tools/lasthit.rb: Added.
* iExploder/tools/osx_last_crash.rb: Added.
2006-04-16 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
- fix http://bugs.webkit.org/show_bug.cgi?id=8412
Restore color profile after a crash
* DumpRenderTree/DumpRenderTree.m:
(crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
and this code may change significantly.
(main): Install crashHandler.
(setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
(CFStringGetCStringPtr should NEVER EVER be used!).
2006-04-15 Darin Adler <darin@apple.com>
Reviewed by Eric.
* Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
Seems xmlsoft.org's HTTP no longer has what we need.
2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
Rubber-stamped by Darin.
- fix http://bugs.webkit.org/show_bug.cgi?id=8348
upload-disk-image stage on buildslaves fail with "No space left on device"
* BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
'hdiutil create'. This creates the initial disk image based on the size of
the source folder, and copies the contents to the new disk image. The file
extension on the temporary uncompressed disk image has also been altered from
".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
the extension is not ".dmg".
2006-04-12 Eric Seidel <eseidel@apple.com>
Reviewed by Tim H.
* Scripts/update-webkit: Make this return non-zero when svn fails.
2006-04-10 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
- fix http://bugs.webkit.org/show_bug.cgi?id=8157
Make HTTP tests using Perl use .pl extension
* Scripts/run-webkit-tests: Added support for running .pl and .php tests,
removed support for .text. Reduced the number of places that explicitly list supported
extensions. Some of the changes come from bug 8121, the patch for which got landed only
partially.
2006-04-06 Darin Adler <darin@apple.com>
Changes requested by Mark Rowe.
* BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
trash at the end of the file.
* BuildSlaveSupport/build-launcher-dmg: Ditto.
* WebKitLauncher/main.m: Removed trash at end of file.
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
to make name match.
2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin, landed by Maciej.
* BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
and bundles the WebKit frameworks inside it.
* BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
containing WebKit.app.
* BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
* Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
number of the SVN working copy.
* WebKitLauncher: Added.
* WebKitLauncher/Info.plist: Added.
* WebKitLauncher/WebKitLauncher.xcodeproj: Added.
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
* WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
the nightly launcher.
* WebKitLauncher/main.m: Added. The WebKit.app launcher.
It sets up the environment to have Safari use the bundled frameworks
and load the WebKitNightlyEnabler dylib before exec'ing Safari
* WebKitLauncher/start.html: Added.
* WebKitLauncher/webkit.icns: Added.
2006-04-05 Darin Adler <darin@apple.com>
Reviewed by Maciej.
* Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
are allowed to have global initializers.
2006-04-05 Geoffrey Garen <ggaren@apple.com>
Reviewed by OMG BETH
* Scripts/run-testkjs:
- pipe STDERR to /dev/null by default; new --verbose option overrides
this behavior
- set DYLD_FRAMEWORK_PATH to the webkit-configured path
- output run command in a format that can be copied and pasted into the
terminal to run manually
2006-04-03 Justin Garcia <justin.garcia@apple.com>
Reviewed by harrison
<http://bugs.webkit.org/show_bug.cgi?id=7567>
A drag and drop in DumpRenderTree copies the source, instead of cutting it
Tell the source that the drag is over after the drag is performed, not before.
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController mouseUp]):
2006-04-01 Darin Adler <darin@apple.com>
Reviewed by Justin.
* DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
elements in that array are not strings.
2006-03-31 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
- added a "--reset-results" option to run-webkit-tests so you can reset
the results without first deleting expected results
- <rdar://problem/4185878> add scroll position to dumpRenderTree
* Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
more logical. Moved all the subroutines to the end of the file. Added a
"--force" option.
* DumpRenderTree/DumpRenderTree.m:
(main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
to generate new output for all tests it runs.
(dump): Dump the scroll position if it's non-zero. Always dump the image when
the --dump-all-pixels option is passed. Also tightened up the image dumping
code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
with code to save and restore the context.
* DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
* DumpRenderTree/EventSendingController.m: Added now-needed include.
2006-03-30 Tim Omernick <timo@apple.com>
Reviewed by NOBODY (just fixing copyrights)
* DumpRenderTree/ObjCPlugin.h:
Fixed copyright.
* DumpRenderTree/ObjCPlugin.m: ditto
* DumpRenderTree/ObjCPluginFunction.h: ditto
* DumpRenderTree/ObjCPluginFunction.m: ditto
2006-03-30 Tim Omernick <timo@apple.com>
Reviewed by Geoff.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
exposed to JS as a callable object.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
* DumpRenderTree/ObjCPlugin.h: Added.
* DumpRenderTree/ObjCPlugin.m: Added.
* DumpRenderTree/ObjCPluginFunction.h: Added.
* DumpRenderTree/ObjCPluginFunction.m: Added.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
Added a new method, "removeDefaultMethod", which removes the default method from the
plugin object's class. The effect is that the plugin object is mutated from a callable
function to a simple object.
(pluginInvoke):
Handle "removeDefaultMethod".
(pluginInvokeDefault):
Made the default method actually do something (return 1).
2006-03-30 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
Remove WebFrame::viewImpl(), setMainFrame on page.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::WebFrame):
* Spinneret/Spinneret/WebFrame.h:
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::mouseMoved):
(WebKit::WebView::mouseDown):
(WebKit::WebView::mouseUp):
(WebKit::WebView::mouseDoubleClick):
(WebKit::WebViewWndProc):
2006-03-30 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Fix html editing input & basic form submission.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::submitForm):
(WebKit::WebFrame::loadURL):
* Spinneret/Spinneret/WebFrame.h:
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::keyPress):
(WebKit::WebViewWndProc):
2006-03-28 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
<rdar://problem/4402375>
REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
Added an option to draw the selectionRect.
* DumpRenderTree/DumpRenderTree.m:
(dump):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController dumpSelectionRect]):
(dumpRenderTree):
2006-03-29 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
- make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
* Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
2006-03-28 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/check-for-global-initializers: remove svg exceptions.
2006-03-28 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin.
Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
* Scripts/check-for-global-initializers:
2006-03-28 Timothy Hatcher <timothy@apple.com>
Build fix. Turn off uninitialized warnings for the first block of code.
* Scripts/check-for-global-initializers:
2006-03-28 Darin Adler <darin@apple.com>
Reviewed by Geoff.
* Scripts/check-for-global-initializers: Added.
2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by darin. Landed by eseidel.
- http://bugs.webkit.org/show_bug.cgi?id=7947
Add repaint testing support to run-webkit-tests
* DumpRenderTree/DumpRenderTree.m:
(main): Added --repaint and --horizontal-sweep options.
(dump): Repaint line-by-line or column-by-column when the appropriate option
is selected.
(+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
and repaintSweepHorizontally() methods to layoutTestController.
(-[LayoutTestController testRepaint]):
(-[LayoutTestController repaintSweepHorizontally]):
(dumpRenderTree):
* Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
to force these settings on tests that do not ask for them.
2006-03-24 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Build fix.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::openURL): replace QString with DeprecatedString
2006-03-21 Beth Dakin <bdakin@apple.com>
Reviewed by Maciej
Add support for keyDown() to DumpRenderTree.
* DumpRenderTree/DumpRenderTree.m:
(main): Set the preference for tabbing to links.
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(-[EventSendingController keyDown:withModifiers:]):
2006-03-20 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Fix win32 build.
* Spinneret/Spinneret/Spinneret.vcproj:
* Spinneret/Spinneret/WebFrame.h:
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::mouseMoved):
(WebKit::WebView::mouseDown):
(WebKit::WebView::mouseUp):
(WebKit::WebView::mouseDoubleClick):
(WebKit::WebView::keyPress):
(WebKit::WebViewWndProc):
2006-03-19 Darin Adler <darin@apple.com>
Reviewed by Anders.
* DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
we can test it in layout tests. We don't really need tests that run with
pop-up blocking off at the moment. If we do some day, we can add some
API for turning it off in the layout test controller.
* Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
don't ignore the leak; it should no longer show up.
2006-03-17 Anders Carlsson <andersca@mac.com>
Reviewed by Eric.
* Scripts/install-win-extras:
Fetch "Program Files" location from the environment.
2006-03-17 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
Fix Spinneret to pass Events as const & not as pointers.
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::mouseMoved):
(WebKit::WebView::mouseDown):
(WebKit::WebView::mouseUp):
(WebKit::WebView::mouseDoubleClick):
(WebKit::WebView::keyPress):
2006-03-17 Eric Seidel <eseidel@apple.com>
Reviewed by justing.
Add support for basic HTML editing.
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::WebView):
(WebKit::WebView::keyPress):
2006-03-17 Eric Seidel <eseidel@apple.com>
Rubber-stamped by ggaren.
Break DumpRenderTree.m up into several files to make the code more readable.
* DumpRenderTree/DumpRenderTree.h: Added.
* DumpRenderTree/DumpRenderTree.m:
(doneLoading): new accessor function for "done" global.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
* DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
* DumpRenderTree/EditingDelegate.h: Added.
* DumpRenderTree/EditingDelegate.m: Added.
(-[EditingDelegate webViewDidChangeSelection:]):
* DumpRenderTree/EventSendingController.h: Added.
* DumpRenderTree/EventSendingController.m: Added.
2006-03-16 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
Add resize, scroll event support.
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::mouseMoved):
(WebKit::WebView::mouseDown):
(WebKit::WebView::mouseUp):
(WebKit::WebView::mouseDoubleClick):
(WebKit::WebView::keyPress):
(WebKit::WebViewWndProc):
* Spinneret/Spinneret/WebView.h:
2006-03-16 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
Make build-webkit print correctly to stdout on windows.
* Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2006-03-15 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Fix eventSender.mouseClick() to update lastClick timestamp.
* DumpRenderTree/DumpRenderTree.m:
(-[EventSendingController mouseClick]):
2006-03-15 Darin Adler <darin@apple.com>
Reviewed by Maciej.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
that had a lowercase "i" in it so this builds on case-sensitive
file systems.
2006-03-15 Geoffrey Garen <ggaren@apple.com>
Reviewed by Eric.
Added run-testkjs and compare-timing-files scripts, to support super
accurate JS iBench.
* Scripts/compare-timing-files: Added.
* Scripts/run-testkjs: Added.
2006-03-14 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Make the URL bar relinquish focus on page load.
* Spinneret/Spinneret/Spinneret.cpp:
(MyEditProc):
2006-03-14 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Fix WebView to allow KeyFocus.
Add handling of space and shift-space for scrolling.
* Spinneret/Spinneret/WebView.cpp:
(WebKit::scrollMessageForKey):
(WebKit::WebViewWndProc):
2006-03-10 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Add scrolling support into Spinneret.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::paint):
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::createWebView):
(WebKit::calculateScrollDelta):
(WebKit::scrollMessageForKey):
(WebKit::WebViewWndProc):
2006-03-13 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Fix checksum generation on Intel machines.
Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
give a small speed boost now that it uses a shared buffer.
* DumpRenderTree/DumpRenderTree.m:
(main):
(dump):
(md5HashStringForBitmap):
* DumpRenderTree/ImageDiff.m:
(computePercentageDifferent):
2006-03-13 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
* Scripts/run-webkit-tests: Fix httpd handling to work on systems that
have it named httpd-1.3 instead.
2006-03-13 Alexey Proskuryakov <ap@nypop.com>
Fix proposed by Mitz Pettel, reviewed by Darin.
- fix http://bugs.webkit.org/show_bug.cgi?id=7718
run-webkit-tests fast/dom/HTMLObjectElement/ hangs
* Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
(sequences of slashes are equivalent to a single slash in POSIX paths, but not
in URLs).
2006-03-09 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
- fix http://bugs.webkit.org/show_bug.cgi?id=7681
memory leak in the plug-in tests
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
(NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
(NPP_SetWindow): Remove unneeded code to store the window pointer.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
Moved the browser global in here since it's declared in this file's header.
Changed the code to set up the pluginClass structure to not use function
pointer casts. Those are dangerous because they can hide many types of mismatch.
And indeed when I did this I discovered that many functions were missing their
boolean return values or had parameter declarations with the wrong types.
(pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
clarity. Added boolean return value: return true when successful and false when not.
(pluginSetProperty): Added boolean return value, return false since we have no
properties we can set.
(pluginInvoke): Added boolean return value. Return true when successful and false
when not. Use NPVARIANT macros where appropriate. Added a missing release for the
return value from calling the browser. Changed code to put the strings in malloc
buffers instead of relying on GCC's extension that allows variable-sized arrays
on the stack.
(pluginInvokeDefault): Added boolean return value, return false since we have no
default function to call.
(pluginInvalidate): Added missing parameter. Removed comment.
(pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
to cast the result of malloc.
(pluginDeallocate): Removed uneeded cast.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
includes. Changed our PluginObject to use NPObject instead of re-declaring fields
that match NPObject's fields. Removed unused NPWindow pointer.
2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
Test: fast/events/event-sender-mouse-click.html
Reviewed by Darin.
- fix http://bugs.webkit.org/show_bug.cgi?id=7583
DRT hangs when doing eventSender.mouseDown on native widgets
* DumpRenderTree/DumpRenderTree.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(-[EventSendingController mouseClick]): Simulates a click in a native
widget by queueing a mouseUp before sending the mouseDown, so that
the widget's mouse tracking event loop doesn't hang indefinitely.
2006-03-09 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
- make link clicks work by handling link click requests
from WebCore
* Spinneret/Spinneret/Spinneret.cpp:
(updateLocationBar):
* Spinneret/Spinneret/Spinneret.h:
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::WebFrame):
(WebKit::WebFrame::openURL):
(WebKit::WebFrame::loadURL):
* Spinneret/Spinneret/WebFrame.h:
2006-03-08 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Focus URL bar on Spinneret launch, remove border from WebView.
Stop WebFrame from deleting the job (prevent crash).
* Spinneret/Spinneret/Spinneret.cpp:
(_tWinMain):
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::receivedAllData):
(WebKit::WebFrame::paint):
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::createWebView):
2006-03-09 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginInvoke): Added a method to test getURL.
2006-03-08 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
- load URLs, not file paths, in Spinneret
* Spinneret/Spinneret/Spinneret.cpp:
(MyEditProc):
* Spinneret/Spinneret/Spinneret.vcproj:
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::loadURL):
(WebKit::WebFrame::receivedData):
(WebKit::WebFrame::receivedAllData):
* Spinneret/Spinneret/WebFrame.h:
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::WebView):
2006-03-08 Darin Adler <darin@apple.com>
Reviewed by Eric.
- fixed AppleScript layout test results to not be endian-dependent
(Hyatt complained to me about this one)
* DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
Added specific code for dumping LongDateTime, instead of dumping the raw bytes
(which are endian-dependent).
2006-03-07 Darin Adler <darin@apple.com>
Reviewed by Anders.
- fix http://bugs.webkit.org/show_bug.cgi?id=7655
unwanted output while running layout tests
* DumpRenderTree/DumpRenderTree.m:
(checkedMalloc): Added.
(checkedRealloc): Added.
(makeLargeMallocFailSilently): Added.
(main): Call makeLargeMallocFailSilently.
2006-03-06 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Add some more planned renaming.
2006-03-06 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::paint): force layout before painting
2006-03-06 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
Sent the windowNumber when sending events.
Added leapForward so that we don't have to spend time waiting
in layout tests that do mouse operations that require delays.
* DumpRenderTree/DumpRenderTree.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(-[EventSendingController currentEventTime]):
(-[EventSendingController leapForward:]):
(-[EventSendingController mouseDown]):
(-[EventSendingController mouseUp]):
(-[EventSendingController mouseMoveToX:Y:]):
2006-03-05 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Fix a couple of things found while testing.
Script now works (after landing my two pending patches).
2006-03-05 Darin Adler <darin@apple.com>
- check in a script to do a "big" rename in WebCore
(can be run whenever we're ready to do it)
* Scripts/do-webcore-rename: Added.
2006-03-05 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::loadFilePath): Close file when done.
2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by Darin, landed by ap.
- fix http://bugs.webkit.org/show_bug.cgi?id=7589
Mouse moved events do not work in DumpRenderTree
Test: fast/events/event-sender-mouse-moved.html
* DumpRenderTree/DumpRenderTree.m:
(-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2006-03-04 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
Disable background erase to avoid tearing.
Fix potential memory smasher from extra long urls.
* Spinneret/Spinneret/Spinneret.cpp:
(MyRegisterClass):
* Spinneret/Spinneret/Spinneret.vcproj:
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::loadFilePath):
(WebKit::WebFrame::paint):
* Spinneret/Spinneret/WebView.cpp:
(WebKit::registerWebViewWithInstance):
2006-03-04 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
Hang WebView pointer off of HWND (gets rid of global hack).
Remove MessageBox displayed on url change.
* Spinneret/Spinneret/Spinneret.cpp:
(WndProc):
(MyEditProc):
* Spinneret/Spinneret/WebView.cpp:
(WebKit::registerWebViewWithInstance):
(WebKit::WebView::createWebView):
(WebKit::WebViewWndProc):
2006-03-04 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Eric.
Automatically kill httpd if it appears to be already running.
* Scripts/run-webkit-tests:
2006-03-04 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::loadFilePath): Improved local file loading.
2006-03-03 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
A few more fixes to make run-webkit-tests really work on win32.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(localFileTest):
* Scripts/run-webkit-tests:
2006-03-03 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
Make run-webkit-tests work on win32.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(localFileTest):
(dumpRenderTreeMain):
(dumpRenderTreeToStdOut):
(serializeToStdOut):
(main):
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::WebView):
2006-03-03 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Add WebFrame class (to hold Frame and FrameView).
Add Location bar support to Spinneret.
* Spinneret/Spinneret/Spinneret.cpp:
(resizeSubViews):
(_tWinMain):
(WndProc):
(MyEditProc):
* Spinneret/Spinneret/Spinneret.vcproj:
* Spinneret/Spinneret/WebFrame.cpp: Added.
(WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
(WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
(WebKit::WebFrame::WebFrame):
(WebKit::WebFrame::loadFilePath):
(WebKit::WebFrame::loadHTMLString):
(WebKit::WebFrame::paint):
(WebKit::WebFrame::impl):
(WebKit::WebFrame::viewImpl):
* Spinneret/Spinneret/WebFrame.h: Added.
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::WebViewPrivate::~WebViewPrivate):
(WebKit::WebView::WebView):
(WebKit::WebView::windowHandle):
(WebKit::WebView::mainFrame):
(WebKit::WebView::mouseMoved):
(WebKit::WebView::mouseDown):
(WebKit::WebView::mouseUp):
(WebKit::WebView::mouseDoubleClick):
(WebKit::WebViewWndProc):
* Spinneret/Spinneret/WebView.h:
2006-03-02 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
* Spinneret/Spinneret/WebView.cpp:
(WebKit::registerWebViewWithInstance):
(WebKit::WebView::WebView):
(WebKit::WebView::mouseMoved):
(WebKit::WebView::mouseDown):
(WebKit::WebView::mouseUp):
(WebKit::WebView::mouseDoubleClick):
(WebKit::WebViewWndProc):
* Spinneret/Spinneret/WebView.h:
2006-03-01 Eric Seidel <eseidel@apple.com>
Reviewed by andersca.
Make spinneret take advantage of the new GraphicsContextCairo.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(main): updated to match style guidelines.
* Spinneret/Spinneret/Spinneret.cpp:
(_tWinMain):
* Spinneret/Spinneret/WebView.cpp:
(WebKit::registerWebViewWithInstance):
(WebKit::WebView::WebView):
(WebKit::WebView::~WebView):
(WebKit::WebView::drawRect):
(WebKit::WndProc):
* Spinneret/Spinneret/WebView.h:
2006-03-01 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
Give the events that eventSender sends a unique eventNumber
* DumpRenderTree/DumpRenderTree.m:
(-[EventSendingController mouseDown]):
(-[EventSendingController mouseUp]):
(-[EventSendingController mouseMoveToX:Y:]):
2006-03-01 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Add a stub win32 application to test WebCore drawing on windows.
* Spinneret: Added.
* Spinneret/Spinneret: Added.
* Spinneret/Spinneret.sln: Added.
* Spinneret/Spinneret/Resource.h: Added.
* Spinneret/Spinneret/Spinneret.cpp: Added.
(_tWinMain):
(MyRegisterClass):
(InitInstance):
(WndProc):
(About):
* Spinneret/Spinneret/Spinneret.h: Added.
* Spinneret/Spinneret/Spinneret.ico: Added.
* Spinneret/Spinneret/Spinneret.rc: Added.
* Spinneret/Spinneret/Spinneret.vcproj: Added.
* Spinneret/Spinneret/WebView.cpp: Added.
(WebKit::WebView::WebViewPrivate::WebViewPrivate):
(WebKit::WebView::WebViewPrivate::~WebViewPrivate):
(WebKit::registerWebViewWithInstance):
(WebKit::WebView::createWebView):
(WebKit::WebView::WebView):
(WebKit::WebView::~WebView):
(WebKit::WebView::drawRect):
(WebKit::WebView::windowHandle):
(WebKit::WndProc):
* Spinneret/Spinneret/WebView.h: Added.
* Spinneret/Spinneret/small.ico: Added.
* Spinneret/Spinneret/stdafx.cpp: Added.
* Spinneret/Spinneret/stdafx.h: Added.
2006-02-28 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(main): add ability to dump render tree and read from a local file.
2006-02-27 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/install-win-extras: fix dll permissions & download zlib too.
2006-02-27 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
Test new KConfig -> PlugInInfoStore change.
http://bugs.webkit.org/show_bug.cgi?id=7498
* DumpRenderTree/DumpRenderTree.m:
(main): load test netscape plugin
* Scripts/run-webkit-tests: style update
2006-02-24 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Make DumpRenderTree link against icu.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2006-02-24 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Make DumpRenderTree link against libxml, etc.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed and landed by Anders.
Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
getting called from the run loop, making the view render each test and thus slowing
down the tests.
* DumpRenderTree/DumpRenderTree.m:
(main): Set the offscreen window to not autodisplay.
2006-02-23 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
- Turn http tests back on by default.
- Wait for Apache to actually start serving requests.
- Get user id from a built-in variable rather than an external command;
don't pass the group.
* Scripts/run-webkit-tests:
2006-02-23 Alexey Proskuryakov <ap@nypop.com>
Suggested by Mitz Pettel, reviewed by Darin.
* Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
can run CGIs even if the permissions are 700 or 600.
2006-02-23 Darin Adler <darin@apple.com>
Collaborating with Alexey.
- turn off http tests by default until we figure out how to get them
to run even when permissions on CGI files are 700 instead of 755
* Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2006-02-23 Eric Seidel <eseidel@apple.com>
Add *.user to ignore list.
2006-02-23 Eric Seidel <eseidel@apple.com>
Remove binary file which shouldn't have been commited (and add to ignore list).
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2006-02-22 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Eric.
* Scripts/run-webkit-tests: Put Apache log files in the right directory.
2006-02-22 Eric Seidel <eseidel@apple.com>
Reviewed by Tim Hatcher.
Fix install-win-extras to not try to re-install setx if installed.
* Scripts/install-win-extras:
2006-02-22 Eric Seidel <eseidel@apple.com>
One more file possibly missing from previous commit?
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2006-02-22 Eric Seidel <eseidel@apple.com>
Reviewed by justing.
Files missing from previous commit.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2006-02-22 Eric Seidel <eseidel@apple.com>
Rubber-stamped by justing.
Corrected path for DumpRenderTree.intermediate files
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2006-02-22 Eric Seidel <eseidel@apple.com>
Reviewed by justing.
Fixed build-dumprendertree to exit with correct error codes.
* Scripts/build-dumprendertree:
2006-02-22 Eric Seidel <eseidel@apple.com>
Reviewed by justing.
Update build scripts to generalize building on Win32, and allow
building of DumpRenderTree on Win32 from build-dumprendertree.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(main):
* Scripts/build-dumprendertree:
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2006-02-22 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
* DumpRenderTree/DumpRenderTree.vcproj: Added.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
(_tmain):
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
* Scripts/build-webkit: make build-webkit cleanup after itself
2006-02-22 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=7409
Some minor fixes to http tests.
* Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2006-02-21 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=6197
Would like to use locally installed Apache for testing.
Added two run-webkit-tests options:
--http (--nohttp) - whether to launch Apache (defaults to yes);
--port - which port to listen on (defaults to 8000).
Tests in LayoutTests/http are not run directly, and Apache is used instead.
For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
Also added support for .shtml and .text files. Text files give an empty
*-expected.txt, but a correct image.
Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
* Scripts/run-webkit-tests:
2006-02-21 Darin Adler <darin@apple.com>
Suggested by Mark Rowe.
* Scripts/run-webkit-tests: Don't include the number of excluded leaks when
reporting leak counts.
2006-02-18 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- Added install-win-extras script which installs some extra
programs and libraries, and does Windows first-time setup.
* Scripts/build-webkit: Add a newline between build results.
* Scripts/install-win-extras: Added.
2006-02-19 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=7308
DumpRenderTree should be able to load files via HTTP
* DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
Handle tests starting with "http://" as real URLs, not file system paths.
2006-02-19 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Maciej.
- fix http://bugs.webkit.org/show_bug.cgi?id=7357
REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
* Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2006-02-18 Darin Adler <darin@apple.com>
* Scripts/commit-log-editor: Added.
2006-02-17 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Make Win32 have the same default "WebKitBuild" directory behavior.
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2006-02-17 Eric Seidel <eseidel@apple.com>
Reviewed by Beth.
* Scripts/build-webkit: make win32 actually report errors
2006-02-17 Eric Seidel <eseidel@apple.com>
Reviewed by adele.
* Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2006-02-17 Eric Seidel <eseidel@apple.com>
Reviewed by adele.
* Scripts/run-webkit-tests: Ignore flash leaks
2006-02-15 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
<http://bugs.webkit.org/show_bug.cgi?id=7148>
Add drag and drop support to DumpRenderTree
Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
* DumpRenderTree/DumpRenderTree.m:
(main):
(-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
(-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
(-[WaitUntilDoneDelegate webViewFocus:]):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController setWindowIsKey:]):
(-[LayoutTestController setMainFrameIsFirstResponder:]):
(-[EventSendingController init]):
(-[EventSendingController mouseDown]):
(-[EventSendingController mouseUp]):
(-[EventSendingController mouseMoveToX:Y:]):
(dumpRenderTree):
(-[DumpRenderTreeWindow isKeyWindow]):
(-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
(-[DumpRenderTreeDraggingInfo dealloc]):
(-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
(-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
(-[DumpRenderTreeDraggingInfo draggingLocation]):
(-[DumpRenderTreeDraggingInfo draggedImageLocation]):
(-[DumpRenderTreeDraggingInfo draggedImage]):
(-[DumpRenderTreeDraggingInfo draggingPasteboard]):
(-[DumpRenderTreeDraggingInfo draggingSource]):
(-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
(-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
(-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
* DumpRenderTree/TextInputController.m:
(-[TextInputController firstRectForCharactersFrom:length:]):
(-[TextInputController characterIndexForPointX:Y:]):
2006-02-15 Geoffrey Garen <ggaren@apple.com>
Reviewed by Eric.
* DumpRenderTree/DumpRenderTree.m:
(-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
Added a dummy method for the sake of LayoutTests/plugins/
undefined-property-crash.html. (It tests a crash due to fallback
object use. WebCore won't create a fallback object if the method is
not defined.)
2006-02-14 Eric Seidel <eseidel@apple.com>
Reviewed by adele.
* Scripts/run-webkit-tests: added --results-directory (-o) option
2006-02-09 Eric Seidel <eseidel@apple.com>
Rubber-stamped by mjs.
Renamed split-class to split-file-by-class.
* Scripts/build-webkit: Updated copyright.
* Scripts/split-class: Removed.
* Scripts/split-file-by-class: Added.
2006-02-08 Eric Seidel <eseidel@apple.com>
Rubber-stamped by mjs.
Adding new script for splitting multi-class files.
Also adding supporting perl module with space removing heuristics.
* Scripts/SpacingHeuristics.pm: Added.
* Scripts/build-drawtest: updated copyright header
* Scripts/split-class: Added.
2006-02-08 Justin Garcia <justin.garcia@apple.com>
Reviewed by thatcher
Changes to test fix for:
<http://bugs.webkit.org/show_bug.cgi?id=3982>
webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController setWindowHasFocus:]):
(-[LayoutTestController setDisplaysWithFocusAttributes:]):
2006-02-07 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Timothy.
Support automated testing of AppleScript "do JavaScript" command
http://bugs.webkit.org/show_bug.cgi?id=7012
* DumpRenderTree/AppleScriptController.h: Added.
* DumpRenderTree/AppleScriptController.m: Added.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2006-02-06 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Fix build-webkit for use on win32 (unblocks buildbot usage).
http://bugs.webkit.org/show_bug.cgi?id=7122
* Scripts/build-webkit: use ifCygwin() to conditionalize builds
* Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2006-02-06 Eric Seidel <eseidel@apple.com>
Rubber-stamped by darin & mjs.
Added new support directory for build slave scripts.
Committing the first script, for use by the PLT's build slave.
This script is used to kick of the PLT (Page Load Test) slave.
* BuildSlaveSupport: Added.
* BuildSlaveSupport/run-performance-tests: Added.
2006-02-06 Eric Seidel <eseidel@apple.com>
Rubber-stamped by darin.
Adding setSourceDir for scripts stored in non-standard locations.
* Scripts/webkitdirs.pm:
2006-02-04 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
Configuration files that say Development or Deployment in them.
2006-02-04 Darin Adler <darin@apple.com>
* Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
wrapper already in the directory.
* Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
these haven't been working at all.
* Scripts/svn-unapply: Ditto.
2006-02-03 Timothy Hatcher <timothy@apple.com>
Reviewed by Justin.
Renamed configuration names to Debug, Release and Production.
* DrawTest/DrawTest.xcodeproj/project.pbxproj:
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* Scripts/set-webkit-configuration:
* Scripts/webkitdirs.pm:
2006-02-02 Justin Garcia <justin.garcia@apple.com>
Reviewed by thatcher
Enabled spell checking for layout tests.
* DumpRenderTree/DumpRenderTree.m:
(main):
2006-01-29 Darin Adler <darin@apple.com>
* Scripts/svn-apply: Added comments about things we should do to improve.
* Scripts/svn-create-patch: Ditto.
* Scripts/svn-unapply: Ditto.
2006-01-28 Darin Adler <darin@apple.com>
* DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
already there, even if the checksum is correct.
2006-01-27 Eric Seidel <eseidel@apple.com>
Reviewed by adele.
* Scripts/run-webkit-tests: make new tests use absolute urls
2006-01-27 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
make run-webkit-tests output total leaks count
* Scripts/run-webkit-tests:
2006-01-27 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
run-webkit-test --leaks crashes (malloc logging runs out of memory)
http://bugs.webkit.org/show_bug.cgi?id=6869
* Scripts/run-webkit-tests: fix --leaks to not crash
2006-01-26 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
run-webkit-tests should produce a self-contained results directory
http://bugs.webkit.org/show_bug.cgi?id=6864
* Scripts/run-webkit-tests: copy failing items to results dir.
2006-01-23 Darin Adler <darin@apple.com>
- fix http://bugs.webkit.org/show_bug.cgi?id=3608
need script to update localizable strings file in WebKit
* Scripts/update-webkit-localizable-strings: Added.
2006-01-23 Darin Adler <darin@apple.com>
- added a couple of scripts -- more about these two soon
* Scripts/extract-localizable-strings: Added.
* Scripts/merge-changelog: Added.
2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Anders.
Build fix. build-webkit dies with "invalid build action: (empty string)"
* Scripts/build-webkit:
Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
2006-01-22 Eric Seidel <eseidel@apple.com>
Reviewed by anders.
Fix --no-svg option to use XCode flags instead of gcc flags.
* Scripts/build-webkit:
2006-01-22 Eric Seidel <eseidel@apple.com>
Reviewed by anders.
Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
* Scripts/build-webkit:
2006-01-20 David Kilzer <ddkilzer@kilzer.net>
Reviewed by eseidel.
- fix for http://bugs.webkit.org/show_bug.cgi?id=6682
Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
* Scripts/build-drawtest: Changed bareword 'true' to 1.
* Scripts/run-drawtest: Changed bareword 'true' to 1.
2006-01-19 Darin Adler <darin@apple.com>
* Scripts/report-include-statistics: Added a new script.
2006-01-19 Timothy Hatcher <timothy@apple.com>
* Scripts/build-webkit: include JavaScriptGlue in the build
2006-01-19 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
spaces in it by using the form of open that treats each argument as a string
rather than backtick syntax for reading the output of the nm tool.
2006-01-12 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- make prepare-ChangeLog way faster by using svn diff instead of svn status to
detect if there are any new tests
* Scripts/prepare-ChangeLog:
2006-01-12 Darin Adler <darin@apple.com>
- removed some of the cvs-specific scripts -- not needed for this project any more
* Scripts/cvs-abandon: Removed.
* Scripts/cvs-apply: Removed.
* Scripts/cvs-create-patch: Removed.
* Scripts/cvs-unapply: Removed.
2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by eseidel. Committed by eseidel.
- run-webkit-tests always launches Safari when tests fail
http://bugs.webkit.org/show_bug.cgi?id=6456
* Scripts/run-webkit-tests:
Add a command-line flag to prevent Safari being launched to display failed
tests. Always exit with non-zero status when tests have failed.
2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by eseidel. Committed by eseidel.
- build-webkit should exit with non-zero status when build fails
http://bugs.webkit.org/show_bug.cgi?id=6459
* Scripts/build-webkit:
Use correct bits of subprocess exit code when passing back through
as build-webkit's exit code.
2006-01-10 Eric Seidel <eseidel@apple.com>
Restored corrupted nibs from TOT CVS.
* DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
* DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
* DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
* DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
* DrawTest/English.lproj/Inspector.nib: Replaced.
* DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
* DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
* DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
* DrawTest/English.lproj/MainMenu.nib: Replaced.
* DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
* DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
* DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
* DrawTest/English.lproj/TestViewer.nib: Replaced.
* DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
* DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
* DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
Reviewed by eseidel. Committed by eseidel.
DrawTestView now subclasses WebView instead of DrawView.
* DrawTest/DrawTest.xcodeproj/project.pbxproj:
* DrawTest/DrawTestDocument.h:
* DrawTest/DrawTestDocument.m:
(-[DrawTestDocument dealloc]):
(-[DrawTestDocument readFromFile:ofType:]):
(-[DrawTestDocument windowControllerDidLoadNib:]):
(-[DrawTestDocument dumpSVGToConsole:]):
(-[DrawTestDocument openSourceForSelection:]):
(-[DrawTestDocument dataRepresentationOfType:]):
* DrawTest/DrawTestToolbarController.h:
* DrawTest/DrawTestToolbarController.m:
(-[DrawTestToolbarController initWithDrawView:]):
(-[DrawTestToolbarController clickedToolbarItem:]):
(-[DrawTestToolbarController validateToolbarItem:]):
* DrawTest/DrawTestView.h:
* DrawTest/DrawTestView.m:
(-[DrawTestView initWithFrame:]):
(-[DrawTestView setDocument:]):
* DrawTest/SVGTest.h:
* DrawTest/SVGTest.m:
(+[SVGTest sharedDrawView]):
(-[SVGTest generateCompositeIfNecessary]):
* DrawTest/TestController.h:
* DrawTest/TestController.m:
(-[TestController awakeFromNib]):
(-[TestController setSelectedTest:]):
(-[TestController openTestViewerForSelection:]):
(-[TestController toggleViewersScaleRule:]):
* DrawTest/TestViewerSplitView.m:
(-[TestViewerSplitView drawRect:]):
2006-01-10 Anders Carlsson <andersca@mac.com>
Reviewed by Timothy.
* DumpRenderTree/DumpRenderTree.m:
(main): Set the default language to "en", so language tests will work.
2006-01-08 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
- script to generate HTML wrappers for JS tests
http://bugs.webkit.org/show_bug.cgi?id=6441
* Scripts/make-js-test-wrappers: Added.
2006-01-08 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
* Scripts/svn-create-patch: Fix to work when passed directory names.
2006-01-08 Geoffrey Garen <ggaren@apple.com>
Reviewed by Eric.
- Added back/forward navigation support to DumpRenderTree. Hopefully we
can start writing automated loader tests now. I have one in the works.
* DumpRenderTree/DumpRenderTree.m:
(main): Construct global navigationController on entry, destroy on exit.
Set frame to nil on exit too, to match all the other global objects.
(Probably academic, since the process is exiting, anyway.)
(-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
navigationController, in case it wants to kick off a load.
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
the navigationController to scripting.
New class, should be straightforward:
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/NavigationController.h: Added.
* DumpRenderTree/NavigationController.m: Added.
(+[NavigationController isSelectorExcludedFromWebScript:]):
(+[NavigationController webScriptNameForSelector:]):
(-[NavigationController setPendingScript:]):
(-[NavigationController setPendingRequest:]):
(-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
(-[NavigationController webView:didFinishLoadForFrame:]):
(-[NavigationController dealloc]):
2006-01-08 Timothy Hatcher <timothy@apple.com>
Removed this script, no longer needs with the Subversion switch.
* checkout: Removed.
2006-01-08 Timothy Hatcher <timothy@apple.com>
Removes some stray tabs.
* Scripts/update-webkit:
2005-01-07 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
build-webkit should pass on build arguments from command line
http://bugs.webkit.org/show_bug.cgi?id=5854
* Scripts/build-webkit:
2006-01-07 Eric Seidel <eseidel@apple.com>
Reviewed by mjs & xenon.
* Scripts/update-webkit: support Internal updates as well
2006-01-06 Geoffrey Garen <ggaren@apple.com>
Temporarily rolling out plugin support from DumpRenderTree because it
caused lots of layout test regressions.
* DumpRenderTree/DumpRenderTree.m:
(main): Remove invisible window added to support plugins.
2006-01-06 Geoffrey Garen <ggaren@apple.com>
Reviewed by darin.
- Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
Add plugin support to DumpRenderTree
Also wrote first test plugin.
* DumpRenderTree/DumpRenderTree.m:
(main):
(1) Put the WebView in an invisible window, because PlugIns are
optimized not to load if there's no parent window.
(2) Tell WebKit to load any PlugIns in the directory from which we
loaded. This means we can build nasty PlugIns alongside DumpRenderTree
and they'll load automagically during layout testing, but they won't be
added to the user's system, hosing apps like Safari.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
test PlugIn to project.
PlugIn added to project:
* DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
(getPluginClass):
(initializeIdentifiers):
(pluginHasProperty):
(pluginHasMethod):
(pluginGetProperty):
(pluginSetProperty):
(pluginInvoke):
(pluginInvokeDefault):
(pluginInvalidate):
(pluginAllocate):
(pluginDeallocate):
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
(NP_Initialize):
(NP_GetEntryPoints):
(NP_Shutdown):
(NPP_New):
(NPP_Destroy):
(NPP_SetWindow):
(NPP_NewStream):
(NPP_DestroyStream):
(NPP_WriteReady):
(NPP_Write):
(NPP_StreamAsFile):
(NPP_Print):
(NPP_HandleEvent):
(NPP_URLNotify):
(NPP_GetValue):
(NPP_SetValue):
2006-01-04 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin.
Created by Eric.
Tweaked and tested by me.
New scripts to work with Subversion when the switch happens.
These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
* Scripts/svn-apply: Added.
* Scripts/svn-create-patch: Added.
* Scripts/svn-unapply: Added.
2005-12-30 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Move WebView width/height logic into DumpRenderTree to support
running the W3C SVG 1.1 tests along side other tests. The W3C
SVG 1.1 tests require a 480x360 view.
* DumpRenderTree/DumpRenderTree.m:
(main): don't accept width/height
(dump): override width/height for SVG/W3C
* Scripts/run-webkit-tests: don't pass width/height
2005-12-30 Eric Seidel <eseidel@apple.com>
No review, only removing dead code.
* DumpKCanvasTree/DumpKCanvasTree.m: Removed.
* DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2005-12-30 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
DumpRenderTree should set a consistent color profile while running
http://bugs.webkit.org/show_bug.cgi?id=6155
Creates consistent colormatched renderings on every test machine
using the only way possible with Tiger APIs: by setting the
system color profile on the test machine for the duration of the
tests. This will (unfortunately) cause colors to change while
running DumpRenderTree. This can also cause "permanent" color
changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
This is far from ideal, but it's be best way we've found to deal
with the issue for now.
* DumpRenderTree/DumpRenderTree.m:
(restoreColorSpace):
(setDefaultColorProfileToRGB):
(main):
2005-12-20 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=5846
cvs-create-patch --include produces incorrect paths
* Scripts/cvs-create-patch: Handle newly-added directories using chdir.
2005-12-19 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests: stop /etc/catalog warnings
2005-12-19 Darin Adler <darin@apple.com>
Reviewed by Eric Seidel.
- fix http://bugs.webkit.org/show_bug.cgi?id=4990
WebKit needs to use a local pasteboard during testing
* DumpRenderTree/DumpRenderTree.m:
(main): Call poseAs to substitute our NSPasteboard class for the default one.
Create a local pasteboard (really a global one with a unique name) and release
it when exiting from the function so we don't leave it in the pasteboard server.
(dumpRenderTree): Added an autorelease pool around one small bit of code that
ddn't have one. Fixed a leak in an unlikely error case.
(+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
of this method to return our local pasteboard.
2005-12-15 Eric Seidel <eseidel@apple.com>
Reviewed by Tim Hatcher.
* Scripts/build-webkit: --svg is now default!
2005-12-15 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Don't run svg test automatically if +SVG is built (yet).
* Scripts/run-webkit-tests:
2005-12-15 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
support is not compiled in. Report the 10 slowest tests if "--slowest" is
passed on the command line.
2005-12-06 John Sullivan <sullivan@apple.com>
Reviewed by Darin Adler.
* Scripts/prepare-ChangeLog:
Remove special-case handling for nib files. This avoided trouble with cvs diff
when we were using wrappers for nib files. Now that we aren't using wrappers,
there's no reason to avoid adding the modified nib files to the file list that
gets diffed.
2005-12-05 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Script updates for SVG files move (remove references to SVGSupport)
* Scripts/build-webkit: remove SVGSupport
* Scripts/run-webkit-tests: Resources -> resources for --svg
* Scripts/update-webkit: remove SVGSupport
2005-12-05 Eric Seidel <eseidel@apple.com>
Reviewed mjs.
* checkout: remove --svg support, SVG is now checked out by default
2005-11-29 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
Update scripts to run SVG tests automatically (w/o --svg) if
WebCore is built with SVG support.
* Scripts/build-drawtest: SVG support required
* Scripts/build-dumpkcanvastree: Removed.
* Scripts/run-drawtest: SVG support required to run
* Scripts/run-webkit-tests: pass *.svg files if WebCore has support
* Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
2005-11-28 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin. Committed by Maciej.
- fixed "DumpRenderTree should test for Ahem before doing anything else"
(http://bugs.webkit.org/show_bug.cgi?id=5838)
* DumpRenderTree/DumpRenderTree.m:
(main):
2005-11-28 Eric Seidel <eseidel@apple.com>
Reviewed by sullivan and GGAREN.
Minor additions to make error messages more clear from cvs-apply.
* Scripts/cvs-apply: make errors more clear
2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
Reviewed and committed by Maciej.
- fixed cvs-create-patch --include produces incorrect paths
(http://bugs.webkit.org/show_bug.cgi?id=5846)
* Scripts/cvs-create-patch: produce proper paths for new files.
2005-11-21 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Some simple fixes to the build/test scripts now that SVG uses the
WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
or symlinks for KDOM.
* Scripts/build-webkit: No longer builds JavaScriptCore+SVG
* Scripts/prepare-ChangeLog: handles missing LayoutTests directory
* Scripts/run-webkit-tests: now runs SVG tests using DRT
* Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
* checkout: no longer symlink kdom
2005-11-10 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
* Scripts/build-webkit: Pass through options to xcodebuild
2005-11-07 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Fix case where the patch has files at the top level.
2005-11-03 John Sullivan <sullivan@apple.com>
Reviewed by Darin.
* Scripts/run-safari:
changed message to say "Starting Safari" instead of odd "Start Safari"
* Scripts/run-webkit-tests:
changed the way we pass the file parameter to use -NSOpen rather than relying on
unlabeled arguments being treated as files. This was failing on some machines that
(mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
2005-10-27 Geoffrey Garen <ggaren@apple.com>
Patch by Alexey Proskuryakov.
Reviewed by Maciej.
Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
TextInputController should support attributed strings
* DumpRenderTree/TextInputController.m:
(+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
(+[NSMutableAttributedString webScriptNameForSelector:]):
(-[NSMutableAttributedString getLength]):
(-[NSMutableAttributedString attributeNamesAtIndex:]):
(-[NSMutableAttributedString valueOfAttribute:atIndex:]):
(-[NSMutableAttributedString addAttribute:value:]):
(-[NSMutableAttributedString addAttribute:value:from:length:]):
(-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
(-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
(-[NSMutableAttributedString addFontAttribute:fontName:size:]):
(-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
(+[TextInputController isSelectorExcludedFromWebScript:]):
(+[TextInputController webScriptNameForSelector:]):
(-[TextInputController insertText:]):
(-[TextInputController attributedSubstringFrom:length:]):
(-[TextInputController attributedStringWithString:]):
2005-10-11 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Checks for leaks in ImageDiff too.
* Scripts/run-webkit-tests:
2005-10-09 Darin Adler <darin@apple.com>
* Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
* Scripts/cvs-apply: Handle added/deleted files in the current directory.
* Scripts/cvs-unapply: Ditto.
* Scripts/run-webkit-tests: Add a few more false-positive leaks.
2005-10-08 Alexey Proskuryakov <ap@nypop.com>
Reviewed, rearranged and landed by Darin.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4707
Need a way to automatically test for regressions in NSTextInput implementation
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
Create a text input controller and put it in a property of the window object.
* DumpRenderTree/TextInputController.h: Added.
* DumpRenderTree/TextInputController.m: Added.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
2005-10-06 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Fixed merge option to work better when not all directories
are controlled by cvs, or when changes cross multiple repositories.
* Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2005-10-03 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Make mouseDown and mouseUp force layout before acting.
This is used by a new test case for 4233558.
* DumpRenderTree/DumpRenderTree.m:
(-[EventSendingController mouseDown]): force layout
(-[EventSendingController mouseUp]): force layout
2005-09-30 Eric Seidel <eseidel@apple.com>
Reviewed by xenon.
Updated all the scripts for the move:
WebCore/layout-tests -> LayoutTests
* Scripts/check-dom-results:
* Scripts/prepare-ChangeLog:
* Scripts/run-webkit-tests:
* Scripts/update-webkit: added --no-tests
* checkout: added --no-tests
2005-09-28 Darin Adler <darin@apple.com>
- fixed http://bugs.webkit.org/show_bug.cgi?id=5144
pixel test should run even if render trees differ
* Scripts/run-webkit-tests: Don't check if the text dump matches.
2005-09-27 Eric Seidel <eseidel@apple.com>
No review needed, SVG build fix only.
* DumpKCanvasTree/DumpKCanvasTree.m:
Missed one in my previous checkin.
http://bugs.webkit.org/show_bug.cgi?id=5141
2005-09-26 Eric Seidel <eseidel@apple.com>
No review needed, SVG build fix only.
* DrawTest/DrawTestDocument.m:
* DrawTest/DrawTestToolbarController.m:
* DrawTest/DrawTestView.h:
* DrawTest/DrawTestView.m:
* DrawTest/SVGTest.m:
* DrawTest/TestController.m:
Updated for WebCore+SVG -> WebCore rename.
http://bugs.webkit.org/show_bug.cgi?id=5141
2005-09-26 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
* DumpRenderTree/DumpRenderTree.m:
(dump): updated error message
* Scripts/check-dom-results: now includes xhtml
Tool updates for xhtml.
http://bugs.webkit.org/show_bug.cgi?id=4907
2005-09-22 Duncan Wilcox <duncan@mclink.it>
Reviewed by Maciej.
Landed by Darin.
- patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
"Would like to simulate human interaction with webview"
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(-[EventSendingController init]):
(-[EventSendingController mouseDown]):
(-[EventSendingController mouseUp]):
(-[EventSendingController mouseMoveToX:Y:]):
Add eventSender javascript object, that sends fake mouse events to the webview.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
link with Carbon.framework
2005-09-22 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Update tools for WebCore+SVG -> WebCore rename.
Also fold several SVG specific tools into their original
WebCore counterparts.
http://bugs.webkit.org/show_bug.cgi?id=5003
* DrawTest/DrawTest.xcodeproj/project.pbxproj:
* DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
* Scripts/build-drawtest:
* Scripts/build-dumpkcanvastree:
* Scripts/build-webcore-svg: Removed.
* Scripts/build-webkit: added --svg option
* Scripts/run-drawtest:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm: various additions.
* checkout: added --svg option
* checkout-svg: Removed.
2005-09-19 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests: added --guard-malloc option
http://bugs.webkit.org/show_bug.cgi?id=4613
2005-09-16 Justin Garcia <justin.garcia@apple.com>
Reviewed by geoff
Removed a script that is only used by apple internal developers
* Scripts/update-webkitsysteminterface: Removed.
2005-09-16 Adele Peterson <adele@apple.com>
Reviewed by Maciej.
* Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
2005-09-14 Darin Adler <darin@apple.com>
- fixed http://bugs.webkit.org/show_bug.cgi?id=4291
dumpAsText doesn't work with XHTML documents
* DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
rather than of the body element. This works with typical XHTML documents. We can probably
do something even better in the long run, but this fixes the immediate issue.
- separate tweak
* Scripts/run-webkit-tests: Show the results in the current built Safari by using
run-safari instead of just using "open", which often runs another copy of Safari instead.
2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed, tweaked, and landed by Darin.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4286
.Mac prefpane crashes when Safari using CVS WebKit is running
* Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
* Scripts/run-webkit-app: Ditto.
2005-09-11 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
2005-09-11 Darin Adler <darin@apple.com>
Reviewed by Eric.
* Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
two ways: 1) puts all files in a directory before any files in a subdirectory, and
2) sort file names with numeric digits in them in a logical way, so test-33 will come
before test-3.
2005-09-08 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
* Scripts/update-webkitsysteminterface: Added.
Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
2005-09-01 John Sullivan <sullivan@apple.com>
* Scripts/run-webkit-tests:
Excluded a known system leak to reduce noise; added comments about which leaks
are being excluded.
2005-09-01 Tim Omernick <tomernick@apple.com>
Change made by Darin, reviewed by John and myself.
- Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
* Scripts/prepare-ChangeLog:
2005-08-31 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- set color variant and font settings to a consistent value.
(http://bugs.webkit.org/show_bug.cgi?id=4769)
* DumpRenderTree/DumpRenderTree.m:
(main):
2005-08-30 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* Scripts/build-svg2png: Removed.
* svg2png/ImageDiff.h: Removed.
* svg2png/ImageDiff.m: Removed.
* svg2png/svg2png.m: Removed.
* svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
* svg2png/svg2png_Prefix.pch: Removed.
svg2png is no longer needed.
2005-08-30 Darin Adler <darin@apple.com>
* Scripts/check-dom-results: Special case 100% to say something nice.
* Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
applying the patch (need a better name).
* Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
2005-08-30 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Small formatting fix for leaks mode.
2005-08-29 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4723
(some pixel tests fail when AA settings are changed)
* DumpRenderTree/DumpRenderTree.m:
(main): set AA settings to the default values
2005-08-29 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
* Scripts/run-webkit-tests: Added a mode where each test is run with a separate
executable -- much slower but can help pinpoint leaks. Changed formatting of some
messages too.
2005-08-28 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4720
(webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
* DumpRenderTree/DumpRenderTree.m:
(main): set scrollbar arrow setting to a consistent value
2005-08-27 Jussi Hagman <juhagman@abo.fi>
Reviewed and landed by Darin.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4676
output of update-webkit is too verbose
* Scripts/update-webkit:
Added option --quiet (-q) to decrease the amount of output.
2005-08-27 Darin Adler <darin@apple.com>
- fixed http://bugs.webkit.org/show_bug.cgi?id=4596
cvs-create-patch --include-unknowns should ignore hidden files
* Scripts/cvs-create-patch: Add code to check for files starting with ".".
2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
Reviewed, tweaked, and landed by Darin.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4585
update-webkit doesn't notice when you have SVGSupport and update properly
* Scripts/update-webkit: Build SVGSupport directory if it's present.
2005-08-25 Anders Carlsson <andersca@mac.com>
Reviewed and landed by Darin.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4572
layout test machinery can't handle tests with applets that have code attributes
* DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
2005-08-24 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4625
DumpRenderTree --pixel-tests crash
- landed some other small changes I had sitting in my tree
* DumpRenderTree/DumpRenderTree.m:
(main): Don't bother saving and restoring the preferences. Not sure
why this was ever done since the preferences are specific to DumpRenderTree.
Clear delegates before releasing the WebView, because you can't count on the
order of object deallocation.
(dumpRenderTree): Fix code that releases a string before storing it in a
global variable.
* Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
2005-08-23 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* Scripts/run-webkit-tests:
Made --leaks option more readable by printing to a file.
http://bugs.webkit.org/show_bug.cgi?id=4590
2005-08-22 Eric Seidel <eseidel@apple.com>
Fix by Tobias Lidskog <tobiaslidskog@mac.com>
Reviewed by darin.
* Scripts/run-webkit-tests: hides "expected actual diffs" links
when they are not needed (for pixel-only failures)
http://bugs.webkit.org/show_bug.cgi?id=4584
2005-08-22 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests: Added the ability to display more than
just two images as part of the image-diff "slideshow".
Added display of "-w3c.png" baseline images for SVG.
http://bugs.webkit.org/show_bug.cgi?id=4581
2005-08-20 Eric Seidel <eseidel@apple.com>
* Scripts/run-webkit-tests:
"build" fix after committing incorrect version.
2005-08-20 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* DumpRenderTree/DumpRenderTree.m:
(main): cleans up delegates
(dumpRenderTree): closes CFString/CFURL leak
* Scripts/run-webkit-tests:
Adds --leaks option to run-webkit-tests
http://bugs.webkit.org/show_bug.cgi?id=4542
2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
Reviewed by Darin.
* Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
new files to be included in the patch even without "cvs add".
2005-08-19 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
non-cvs-generated patches. Anders has been creating these, so it's bad that
the script can't handle them.
* Scripts/cvs-unapply: Ditto.
2005-08-18 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
"." in them -- based on complaint by someone here at Apple.
2005-08-18 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* Scripts/run-webkit-tests:
Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
2005-08-17 Maciej Stachowiak <mjs@apple.com>
- add file that I forgot in the last checkin
* DumpRenderTree/ImageDiff.m: Added.
(main):
(getImageFromStdin):
(compareImages):
(getDifferenceBitmap):
(computePercentageDifferent):
2005-08-17 Maciej Stachowiak <mjs@apple.com>
Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
somewhat by me, and also tweaked by me a little bit.
- better support for pixel-dumping
- use checksums of the images so the tests are fast
- change output format to make the tests run faster
- don't dump pixel results for tests that dump as text
* DumpKCanvasTree/DumpKCanvasTree.m:
(main):
(dumpRenderTree):
(md5HashStringForBitmap):
(dumpPixelTests):
(constrainSizeToMaximum):
(getBitmapImageRepForSVGDocument):
* DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
* DumpRenderTree/DumpRenderTree.m:
(main):
(dump):
(dumpRenderTree):
(md5HashStringForBitmap):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* Scripts/run-webkit-tests:
2005-08-17 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- hacked DumpRenderTree to make the scrollbars appear and disappear properly.
* DumpRenderTree/DumpRenderTree.m:
(main):
2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
Reviewed and landed by Darin.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4251
Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
* Scripts/run-safari: Pass arguments through to Safari on command line.
* Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
2005-08-11 Eric Seidel <eseidel@apple.com>
Fix by Tobias Lidskog <tobiaslidskog@mac.com>
Reviewed by eseidel.
* DrawTest/TestController.m:
(-[TestController imagePathForSVGPath:]):
Fixed support for using TextViewer with the layout-tests.
http://bugs.webkit.org/show_bug.cgi?id=4385
2005-08-11 Maciej Stachowiak <mjs@apple.com>
At Least Roughly Glanced At by Anders.
- fix change with totally breaks the layout tests.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
load, to avoid dumping twice accidentally.
2005-08-10 Eric Seidel <eseidel@apple.com>
Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by darin.
* DumpRenderTree/DumpRenderTree.m:
Added support for rendering to a PNG file.
http://bugs.webkit.org/show_bug.cgi?id=3840
2005-08-07 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests: added --svg option
* Scripts/run-webkit-tests-svg: Removed.
http://bugs.webkit.org/show_bug.cgi?id=4300
2005-08-07 Eric Seidel <eseidel@apple.com>
Changes by Ben La Monica <ben.lamonica@gmail.com>
Reviewed by darin.
* svg2png/ImageDiff.h: Added.
* svg2png/ImageDiff.m: Added.
(getDifferenceBitmap):
(computePercentageDifferent):
(saveAnimatedGIFToFile):
* svg2png/svg2png.m:
(usage): added several new options
(getBitmapForSVG): added NSBitmapImageRep generation
(main): various argument changes.
* svg2png/svg2png.xcodeproj/project.pbxproj:
Several additions to provide image differencing functionality.
http://bugs.webkit.org/show_bug.cgi?id=4193
2005-08-07 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
* checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
Adding the first SVG layout tests:
http://bugs.webkit.org/show_bug.cgi?id=4303
2005-08-07 Darin Adler <darin@apple.com>
* Scripts/cvs-create-patch: Do all the directories at once, for speed.
2005-08-06 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* DumpKCanvasTree/DumpKCanvasTree.m: Added.
* DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
* Scripts/build-dumpkcanvastree: Added.
* Scripts/run-webkit-tests-svg: Added.
Adds a DumpRenderTree-like tool for SVG which allows us to do
text-based layout regression testing. This (like most of the
SVG specific stuff) is temporary and will be replaced by
DumpRenderTree once the DOMs and RenderTrees merge.
http://bugs.webkit.org/show_bug.cgi?id=3917
2005-08-06 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* DrawTest/DrawTestView.m:
(-[DrawTestView toggleFilterSupport:]): missing negation.
One half of fix for toggling filter support.
http://bugs.webkit.org/show_bug.cgi?id=4252
2005-08-04 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/build-drawtest:
* Scripts/build-dumprendertree:
* Scripts/build-svg2png:
* Scripts/build-webcore-svg:
* Scripts/build-webkit:
* Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
Added checkRequiredSystemConfig and made all the build-* scripts
use it to print a pretty warning when trying to compile on an
unsupported system (less than 10.4, Xcode 2.1).
http://bugs.webkit.org/show_bug.cgi?id=4280
2005-08-04 Darin Adler <darin@apple.com>
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
the dead. It was removed by accident when someone was trying to work on the branch.
2005-07-31 Darin Adler <darin@apple.com>
- a little tools cleanup
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
project as a whole. Removed unused Default configuration.
* Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
2005-07-31 Duncan Wilcox <duncan@mclink.it>
Reviewed and landed by Darin Adler.
Add logging of editing delegate calls for regression checking.
* DumpRenderTree/DumpRenderTree.m:
(main):
setup editing delegate
(-[DOMNode dumpPath]):
(-[DOMRange dump]):
utility for editing delegate logging
(-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
(-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
(-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldDeleteDOMRange:]):
(-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
(-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
(-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
(-[EditingDelegate webViewDidBeginEditing:]):
(-[EditingDelegate webViewDidChange:]):
(-[EditingDelegate webViewDidEndEditing:]):
(-[EditingDelegate webViewDidChangeTypingStyle:]):
log corresponding editing delegate methods
(-[EditingDelegate webViewDidChangeSelection:]):
log selection except when clearing selection after end of test (uses existing "done" flag)
(dumpRenderTree):
added clearing of selection after test
2005-07-31 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
* Scripts/build-drawtest: Added.
* Scripts/build-svg2png: Added.
* Scripts/build-webcore-svg: Added.
* Scripts/run-drawtest: Added.
* Scripts/webkitdirs.pm: added checkSVGFrameworks
Made it much easier to build WebCore+SVG.
http://bugs.webkit.org/show_bug.cgi?id=4208
2005-07-29 Eric Seidel <eseidel@apple.com>
Reviewed by vicki.
* DrawTest/DrawTest.xcodeproj/project.pbxproj:
Build fix. Removed bad path.
2005-07-29 Eric Seidel <eseidel@apple.com>
Reviewed by sullivan.
* DrawTest/AppDelegate.h: Added.
* DrawTest/AppDelegate.m: Added.
* DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
* DrawTest/DrawTestDocument.h: Added.
* DrawTest/DrawTestDocument.m: Added.
* DrawTest/DrawTestInspectorController.h: Added.
* DrawTest/DrawTestInspectorController.m: Added.
* DrawTest/DrawTestToolbarController.h: Added.
* DrawTest/DrawTestToolbarController.m: Added.
* DrawTest/DrawTestView.h: Added.
* DrawTest/DrawTestView.m: Added.
* DrawTest/DrawTest_Prefix.pch: Added.
* DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
* DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
* DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
* DrawTest/English.lproj/InfoPlist.strings: Added.
* DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
* DrawTest/English.lproj/Inspector.nib/info.nib: Added.
* DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
* DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
* DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
* DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
* DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
* DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
* DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
* DrawTest/Info.plist: Added.
* DrawTest/SVGTest.h: Added.
* DrawTest/SVGTest.m: Added.
* DrawTest/ScalingImageView.h: Added.
* DrawTest/ScalingImageView.m: Added.
* DrawTest/TestController.h: Added.
* DrawTest/TestController.m: Added.
* DrawTest/TestViewerSplitView.h: Added.
* DrawTest/TestViewerSplitView.m: Added.
* DrawTest/main.m: Added.
Adding simple cocoa app for testing SVG rendering, interaction.
http://bugs.webkit.org/show_bug.cgi?id=4157
2005-07-28 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
* svg2png/svg2png.m: Added.
* svg2png/svg2png.xcodeproj/project.pbxproj: Added.
* svg2png/svg2png_Prefix.pch: Added.
Added a simple test tool which dumps a PNG from an SVG using
WebCore+SVG's SVG rendering support.
http://bugs.webkit.org/show_bug.cgi?id=4156
2005-07-26 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- new script to review the DOM layout test results and see where we stand
on actual success and failure
* Scripts/check-dom-results: Added.
2005-07-25 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Check in missing line of code.
2005-07-25 Darin Adler <darin@apple.com>
- fixed problem that was causing JavaScriptCore test to fail
(except for people who had set DYLD_FRAMEWORK_PATH)
* Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
Add code to parse configuration parameter so you can pass --deployment if you like.
* Scripts/run-webkit-tests: Add code to parse configuration parameter.
* Scripts/update-javascriptcore-test-results: Add license header.
* Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
from @ARGV. This lets us use this option in commands that take other options and
pass them along to a subsequent tool.
2005-07-25 Darin Adler <darin@apple.com>
Reviewed by Geoff Garen.
- Fixed run-safari and gdb-safari to use the Safari application in the build results
directory, if any, falling back to the one in the Applications directory otherwise.
Does no harm for open source contributors who don't build Safari, and helps out the
Safari team, since we do build Safari.
* Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
variable, and if that's not present, looks in either the build results directory or
/Applications; factors code that was in both scripts before into a shared function.
Also removed some Xcode 2.0 support which is no longer relevant since our projects are
now in Xcode 2.1 format and incompatible with older versions of Xcode.
* Scripts/gdb-safari: Use safariPath.
* Scripts/run-safari: Use safariPath.
2005-07-22 Geoffrey Garen <ggaren@apple.com>
Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
Moved Tools/Scripts/update-mozilla-js-test-results to
WebKitTools/Scripts/update-javascriptcore-test-results.
Reviewed by darin.
* Scripts/run-javascriptcore-tests: Added.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin.
* Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* Scripts/build-webkit:
2005-07-12 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* checkout-svg: Fixed error with symlink creation.
2005-07-12 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* checkout-svg: Added.
Script to check out WebCore+SVG
2005-06-30 Darin Adler <darin@apple.com>
Changes based on input from Michael Kahl.
* Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
specify different style of "diff".
* Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
determineConfigurationProductDir works in all cases.
2005-06-29 Darin Adler <darin@apple.com>
- fixed bug which would result in multiple unwanted dumps in a single layout test
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
"readyToDump" flag.
(-[LayoutTestController waitUntilDone]): Update for name change.
(-[LayoutTestController notifyDone]): Dump only if ready.
(dumpRenderTree): Set up new boolean and update for name change.
2005-06-29 Darin Adler <darin@apple.com>
Changes by Timothy Hatcher.
Reviewed by me.
* Scripts/run-webkit-app: Added script to open an arbritrary application with
a CVS built WebKit. Example: ./run-webkit-app Colloquy
* Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
* Scripts/run-safari: Ditto.
2005-06-26 Darin Adler <darin@apple.com>
* Scripts/build-dumprendertree: Pass -project option so that having a second
copy of the project (like the one Xcode 2.1 offers to make for you) that's
out of date won't screw you up.
* Scripts/build-webkit: Ditto.
2005-06-23 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
2005-06-23 Darin Adler <darin@apple.com>
Changes based on input from Michael Kahl.
* Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
directory passed in.
* Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
getcwd() in the code to find the base product dir. Added code to handle unusual
base product directory values that use SRCROOT.
2005-06-22 Darin Adler <darin@apple.com>
Change by Anders Carlsson.
- added support for dumping title changes
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
if requested by JavaScript.
(+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
(-[LayoutTestController dumpTitleChanges]): Added, sets flag.
(dumpRenderTree): Start flag as NO.
2005-06-20 Darin Adler <darin@apple.com>
Reviewed by Justin Garcia.
* Scripts/run-webkit-tests: Report number of tests when they succeed.
2005-06-18 Darin Adler <darin@apple.com>
* DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
in the hope of making the tool use less memory and run faster.
2005-06-18 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Improve handling of patches with CR characters in them.
* Scripts/cvs-unapply: Ditto.
2005-06-17 Maciej Stachowiak <mjs@apple.com>
- added prepare-ChangeLog script which we use internally to make ChangeLogs, for
benefit of all WebKit hackerdom
* Scripts/prepare-ChangeLog: Added.
2005-06-16 Darin Adler <darin@apple.com>
- recent changes to XcodeOptions made it depend on the current directory
The intent was to have the WebKitBuild directory be next to WebKitTools,
not inside the various build directories. Workaround for now is to call
XcodeOptions when the directory is set to the WebKit directory.
* Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
at the start of the script.
* Scripts/build-webkit: Ditto.
2005-06-15 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
2005-06-14 Darin Adler <darin@apple.com>
Changes by Anders Carlsson.
Reviewed by me.
- fixed <http://bugs.webkit.org/show_bug.cgi?id=3496>
Add gdb-safari script to launch Safari under gdb
* Scripts/gdb-safari: Added.
2005-06-12 Darin Adler <darin@apple.com>
Changes by Stuart Morgan.
Reviewed by me.
* Scripts/cvs-abandon: Use cwd instead of `pwd`.
* Scripts/cvs-apply: Ditto.
* Scripts/cvs-create-patch: Ditto.
* Scripts/cvs-unapply: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
2005-06-12 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Handle case of an empty patch better.
* Scripts/cvs-unapply: Ditto.
2005-06-12 Darin Adler <darin@apple.com>
Changes by Michael Gaiman.
Reviewed by me.
- fixed <http://bugs.webkit.org/show_bug.cgi?id=3487>
WebKit no longer builds after configuration supporting build changes
* Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
2005-06-12 Darin Adler <darin@apple.com>
* Scripts/update-webkit: Make this script work when called from any directory.
2005-06-12 Darin Adler <darin@apple.com>
Reviewed by Maciej.
Includes changes by Stuart Morgan as well as my own.
* Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
symrootXcodeOptions to set the -buildstyle option.
* Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
The new --development option does the same thing.
* Scripts/run-safari: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/update-webkit: Ditto.
* Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
* Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
directory is when invoking a script. Add code to determine the Xcode version so we can do the right
thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
product directory. Read the default configuration from a file, overridable by a passed-in command-line
option.
2005-06-11 Darin Adler <darin@apple.com>
* Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
to execute the cvs diff commands.
2005-06-11 Darin Adler <darin@apple.com>
- added first cuts at some cvs scripts
cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
cvs-apply is for applying patches; runs patch and cvs add and cvs rm
cvs-unapply is for unapplying patches; does the opposite of cvs-apply
An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
* Scripts/cvs-abandon: Added.
* Scripts/cvs-apply: Added.
* Scripts/cvs-create-patch: Added.
* Scripts/cvs-unapply: Added.
2005-06-09 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- fixed http://bugs.webkit.org/show_bug.cgi?id=3397
Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
for Foundation.framework. How was it ever wrong?
- finally, I tested making the default build directory work; it works now
* Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
* Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
* Scripts/build-dumprendertree: Ditto.
2005-06-09 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
work. Someone should try building without setting the Xcode build product directory now,
and let me know if it works.
2005-06-08 Darin Adler <darin@apple.com>
- quick fix to try to get build scripts working again
* Scripts/build-dumprendertree: Add FindBin.
* Scripts/build-webkit: Ditto.
* Scripts/run-safari: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/update-webkit: Ditto.
2005-06-08 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- some build script enhancements
* Scripts/build-dumprendertree: Changed to use webkitdirs.
* Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
they are newer.
* Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
before Deplyment in that case.
* Scripts/run-webkit-tests: Changed to use webkitdirs.
* Scripts/update-webkit: Changed to use webkitdirs.
* Scripts/webkitdirs.pm: Added.
2005-06-08 Maciej Stachowiak <mjs@apple.com>
Code change by Toby Peterson <toby@opendarwin.org>
Reviewed by me.
* Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
get confused because build-webkit now makes even 2.0 build directories look
like 2.1.
2005-06-07 Darin Adler <darin@apple.com>
Reviewed by Adele Peterson.
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
* Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
so we can run tests with Xcode 2.1.
2005-06-07 Darin Adler <darin@apple.com>
Reviewed by Adele Peterson.
* Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
layout-tests directory to include additional sets of tests.
2005-06-07 Darin Adler <darin@apple.com>
* checkout: Added license.
* Scripts/build-dumprendertree: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/update-webkit: Ditto.
2005-06-07 Darin Adler <darin@apple.com>
Change by Toby Peterson <toby@opendarwin.org>.
Reviewed by me.
* Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
* Scripts/run-safari: Ditto.
2005-06-06 Maciej Stachowiak <mjs@apple.com>
* Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
2005-06-06 Maciej Stachowiak <mjs@apple.com>
* Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
2005-06-06 Maciej Stachowiak <mjs@apple.com>
* Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
2005-06-05 Darin Adler <darin@apple.com>
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
* Scripts/build-dumprendertree: Added.
* Scripts/build-webkit: Build All in the JavaScriptCore directory.
* Scripts/run-webkit-tests: Build DumpRenderTree before running.
2005-06-05 Darin Adler <darin@apple.com>
* Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
2005-06-05 Darin Adler <darin@apple.com>
- add run-webkit-tests script; not working yet but the pieces are there
* Scripts/run-webkit-tests: Added.
* DumpRenderTree/DumpRenderTree.m: Added.
* DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
* DumpRenderTree/DumpRenderTreePrefix.h: Added.
2005-06-05 Darin Adler <darin@apple.com>
- created module, first cut at Web Kit Open Source Project scripts
* ChangeLog: Added.
* Scripts/build-webkit: Added.
* Scripts/run-safari: Added.
* Scripts/update-webkit: Added.
* checkout: Added.
=== creation of WebKitTools module ===