- 10 May, 2008 2 commits
-
-
jchaffraix@webkit.org authored
Qt & wx build fix. * JavaScriptCore.pri: Add profiler/Profile.cpp. * JavaScriptCoreSources.bkl: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis@webkit.org authored
Gtk+ build fix git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 09 May, 2008 21 commits
-
-
weinig@apple.com authored
2008-05-09 Sam Weinig <sam@webkit.org> Reviewed by Mark Rowe. Fix for https://bugs.webkit.org/show_bug.cgi?id=18958 NULL pointer dereference in NamedAttrMap::setNamedItem Test: fast/dom/NamedNodeMap-setNamedItem-crash.html * dom/NamedAttrMap.cpp: (WebCore::NamedAttrMap::setNamedItem): Null check the argument. LayoutTests: 2008-05-09 Sam Weinig <sam@webkit.org> Reviewed by Mark Rowe. Test for https://bugs.webkit.org/show_bug.cgi?id=18958 NULL pointer dereference in NamedAttrMap::setNamedItem * fast/dom/NamedNodeMap-setNamedItem-crash-expected.txt: Added. * fast/dom/NamedNodeMap-setNamedItem-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Mark. Add x86_64 rule. * Makefile: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
It currently does not attempt to print events which means that plugins/mouse-events.html will fail when run 64-bit. All other tests that use this plugin pass. Reviewed by Anders Carlsson. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: (testGetIntIdentifier): * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: (NPP_New): (NPP_HandleEvent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
2008-05-09 Anders Carlsson <andersca@apple.com> Reviewed by Oliver. <rdar://problem/5774495> Make Unicode text input possible in Netscape-style plug-ins Add nptextinput.h as a public header. * WebKit.xcodeproj/project.pbxproj: WebKit/mac: 2008-05-09 Anders Carlsson <andersca@apple.com> Reviewed by Oliver. <rdar://problem/5774495> Make Unicode text input possible in Netscape-style plug-ins * Plugins/WebBaseNetscapePluginView.h: * Plugins/WebBaseNetscapePluginView.mm: (-[WebBaseNetscapePluginView start]): Get the plug-in text input vtable pointer. (-[WebBaseNetscapePluginView stop]): Set the plug-in text input vtable pointer to 0. (-[WebBaseNetscapePluginView inputContext]): Return 0 for Carbon plug-ins since we don't want Cocoa to handle text input for them. (-[WebBaseNetscapePluginView hasMarkedText]): (-[WebBaseNetscapePluginView insertText:]): (-[WebBaseNetscapePluginView markedRange]): (-[WebBaseNetscapePluginView selectedRange]): (-[WebBaseNetscapePluginView setMarkedText:selectedRange:]): (-[WebBaseNetscapePluginView unmarkText]): (-[WebBaseNetscapePluginView validAttributesForMarkedText]): (-[WebBaseNetscapePluginView attributedSubstringFromRange:]): (-[WebBaseNetscapePluginView characterIndexForPoint:]): (-[WebBaseNetscapePluginView doCommandBySelector:]): (-[WebBaseNetscapePluginView firstRectForCharacterRange:]): (-[WebBaseNetscapePluginView conversationIdentifier]): Implement NSTextInput and call into the plug-in text input vtable. (browserTextInputFuncs): New method which returns the browser input vtable. (-[WebBaseNetscapePluginView getVariable:value:]): Support getting the browser input vtable pointer. * Plugins/WebNetscapePluginEventHandlerCocoa.h: * Plugins/WebNetscapePluginEventHandlerCocoa.mm: (WebNetscapePluginEventHandlerCocoa::keyDown): (WebNetscapePluginEventHandlerCocoa::sendKeyEvent): If the plug-in returns 0 when a NPCocoaEventKeyDown is passed to NPP_HandleEvent, it means that the event should be passed on to the input manager. * Plugins/npapi.mm: (NPN_MarkedTextAbandoned): (NPN_MarkedTextSelectionChanged): Add implementations of browser input method methods. * Plugins/nptextinput.h: Added. Add file with new text input API. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson@apple.com authored
Reviewed by Adam Roben Fix a hang-on-quit bug where in the DLL_PROCESS_DETACH DllMain callback, we assummed that we could cleanly shutdown WebKit but we couldn't because any background threads have already been uncleanly aborted at that point. * ForEachCoClass.cpp: (shutDownWebKit): Moved from WebKitDLL to here, to be exposed via WebKit.def * ForEachCoClass.h: * WebKit.vcproj/WebKit.def: * WebKit.vcproj/WebKit_debug.def: * WebKitDLL.cpp: (DllMain): Don't call shutDownWebKit here WebKitTools: Reviewed by Adam Roben Explicitly call shutDownWebKit() before quitting. * Drosera/win/Drosera.cpp: (_tWinMain): * DumpRenderTree/win/DumpRenderTree.cpp: (main): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
* Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kmccullough@apple.com authored
Build fix. * page/Console.cpp: (WebCore::Console::profile): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
2008-05-09 Sam Weinig <sam@webkit.org> Rubber-stamped by Mark Rowe. Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs. * Configurations/WebCore.xcconfig: * WebCore.vcproj/WebCore.vcproj: * WebCore.vcproj/build-generated-files.sh: * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::customGetOwnPropertySlot): (WebCore::JSDOMWindow::postMessage): * bindings/js/JSEventCustom.cpp: (WebCore::toJS): * bindings/objc/DOMEvents.mm: (+[DOMEvent _wrapEvent:WebCore::]): * dom/Document.cpp: (WebCore::Document::createEvent): * dom/Event.cpp: (WebCore::Event::isMessageEvent): * dom/Event.h: * dom/MessageEvent.cpp: * dom/MessageEvent.h: * dom/MessageEvent.idl: * page/DOMWindow.cpp: (WebCore::DOMWindow::postMessageTimerFired): * page/DOMWindow.h: * page/DOMWindow.idl: WebKit/win: 2008-05-09 Sam Weinig <sam@webkit.org> Rubber-stamped by Mark Rowe. Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs. * WebKit.vcproj/WebKit.vcproj: WebKitTools: 2008-05-09 Sam Weinig <sam@webkit.org> Rubber-stamped by Mark Rowe. Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs. * Scripts/build-webkit: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
* Interfaces/WebKit.idl: Touched. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kmccullough@apple.com authored
Reviewed by Tim. -<rdar://problem/5770054> JavaScript profiler (10928) -Add Profile class so that all profiles can be stored and retrieved by the WebInspector when that time comes. * JavaScriptCore.exp: Export the new function signatures. * JavaScriptCore.xcodeproj/project.pbxproj: Add the new files to the project * profiler/Profile.cpp: Added. This class represents a single run of the profiler. (KJS::Profile::Profile): (KJS::Profile::willExecute): (KJS::Profile::didExecute): (KJS::Profile::printDataInspectorStyle): (KJS::functionNameCountPairComparator): (KJS::Profile::printDataSampleStyle): * profiler/Profile.h: Added. Ditto (KJS::Profile::stopProfiling): * profiler/Profiler.cpp: Now the profiler keeps track of many profiles but only runs one at a time. (KJS::Profiler::startProfiling): (KJS::Profiler::stopProfiling): (KJS::Profiler::willExecute): (KJS::Profiler::didExecute): (KJS::Profiler::printDataInspectorStyle): (KJS::Profiler::printDataSampleStyle): * profiler/Profiler.h: Ditto. (KJS::Profiler::~Profiler): (KJS::Profiler::allProfiles): (KJS::Profiler::clearProfiles): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33007 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
2008-05-09 Adam Barth <abarth-webkit@adambarth.com> Reviewed by Sam Weinig. https://bugs.webkit.org/show_bug.cgi?id=18771 Make postMessage generate an event on the window instead of the document. Test: http/tests/messaging/cross-domain-message-event-dispatch.html * dom/EventTargetNode.cpp: (WebCore::EventTargetNode::dispatchWindowEvent): * dom/EventTargetNode.h: * page/DOMWindow.cpp: (WebCore::DOMWindow::postMessageTimerFired): LayoutTests: 2008-05-09 Adam Barth <abarth-webkit@adambarth.com> Reviewed by Sam Weinig. Update tests to listen for message events on the window instead of the document. Also, added a test that the event is sent to the window and not to the document. * http/tests/messaging/cross-domain-message-event-dispatch-expected.txt: Added. * http/tests/messaging/cross-domain-message-event-dispatch.html: Added. * http/tests/messaging/cross-domain-message-send.html: * http/tests/messaging/resources/cross-domain-message-receive.html: * http/tests/security/cross-frame-access-delete.html: * http/tests/security/cross-frame-access-history-put.html: * http/tests/security/cross-frame-access-location-put.html: * http/tests/security/postMessage/delivery-order.html: * http/tests/security/postMessage/invalid-origin-throws-exception.html: * http/tests/security/postMessage/javascript-page-still-sends-origin.html: * http/tests/security/postMessage/origin-unaffected-by-base-tag.html: * http/tests/security/postMessage/origin-unaffected-by-document-domain.html: * http/tests/security/postMessage/resources/post-message-listener.html: * http/tests/security/postMessage/target-origin.html: * http/tests/security/resources/cross-frame-iframe-for-delete-test.html: * http/tests/security/resources/cross-frame-iframe-for-history-put-test.html: * http/tests/security/resources/cross-frame-iframe-for-location-put-test.html: * http/tests/security/xss-eval.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Removed explicit linkage against libxml and libxslt on Qt/Mac builds. This dependency is completely unnecessary here and creates only problems by propagating through WebCore.pro over libQtWebKit.prl right now customer applications. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Fix bad includes in QtWebKit public headers. Make sure to include qglobal.h using the QtCore prefix so that an explicit include/QtCore is not needed in the application's build system. Also make sure that qwebsettings.h includes the local qwebkitglobal.h. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Simon. Replaced all instances of qDebug() with LOG(Media, ...) in MediaPlayerPrivatePhonon. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Simon Fix the Qt/Mac build. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Simon. https://bugs.webkit.org/show_bug.cgi?id=18935 Based on work by Sriram Neelakandan for the Gtk port. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file. * DumpRenderTree/mac/DumpRenderTreePasteboard.m: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 May, 2008 17 commits
-
-
mrowe@apple.com authored
The three major changes here are: 1) Use NSInteger in the appropriate places. 2) Use ColorSync API that is available in 64-bit to switch display profiles. 3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime. The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also needs updated to successfully build. Reviewed by Oliver Hunt and Dan Bernstein. * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit. * DumpRenderTree/mac/DumpRenderTree.mm: (swizzleAllMethods): (poseAsClass): (prepareConsistentTestingEnvironment): * DumpRenderTree/mac/DumpRenderTreeMac.h: * DumpRenderTree/mac/DumpRenderTreePasteboard.h: * DumpRenderTree/mac/DumpRenderTreePasteboard.m: * DumpRenderTree/mac/DumpRenderTreeWindow.mm: * DumpRenderTree/mac/PixelDumpSupportMac.mm: (restoreColorSpace): (failedGettingCurrentProfile): (setDefaultColorProfileToRGB): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Reviewed by Darin Adler. * Drosera/mac/DebuggerApplication.mm: (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int. (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto. * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Reviewed by Anders Carlsson. Rename the XMLHttpRequestState enum values to match the spec. * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::responseXML): (WebCore::XMLHttpRequest::XMLHttpRequest): (WebCore::XMLHttpRequest::callReadyStateChangeListener): (WebCore::XMLHttpRequest::open): (WebCore::XMLHttpRequest::send): (WebCore::XMLHttpRequest::abort): (WebCore::XMLHttpRequest::setRequestHeader): (WebCore::XMLHttpRequest::getAllResponseHeaders): (WebCore::XMLHttpRequest::getResponseHeader): (WebCore::XMLHttpRequest::status): (WebCore::XMLHttpRequest::statusText): (WebCore::XMLHttpRequest::processSyncLoadResults): (WebCore::XMLHttpRequest::didFinishLoading): (WebCore::XMLHttpRequest::didReceiveData): * xml/XMLHttpRequest.h: (WebCore::): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Reviewed by Mark Rowe. - fix https://bugs.webkit.org/show_bug.cgi?id=18818 <rdar://problem/5901544> REGRESSION (3.1.1-TOT): Character order (float:left ordered after the first letter) Test: fast/css/first-letter-float-after-float.html * rendering/RenderBlock.cpp: (WebCore::RenderBlock::updateFirstLetter): Changed to add the first letter container right before the rest of the text it is taken from, instead of at the beginning of the block. LayoutTests: Reviewed by Mark Rowe. - test and updated results for https://bugs.webkit.org/show_bug.cgi?id=18818 <rdar://problem/5901544> REGRESSION (3.1.1-TOT): Character order (float:left ordered after the first letter) * ChangeLog: * fast/css/first-letter-float-after-float.html: Added. * platform/mac-leopard/fast/css/first-letter-skip-out-of-flow-expected.checksum: * platform/mac-leopard/fast/css/first-letter-skip-out-of-flow-expected.png: * platform/mac/fast/css/first-letter-float-after-float-expected.checksum: Added. * platform/mac/fast/css/first-letter-float-after-float-expected.png: Added. * platform/mac/fast/css/first-letter-float-after-float-expected.txt: Added. * platform/mac/fast/css/first-letter-skip-out-of-flow-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/5921046cfleizach@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jchaffraix@webkit.org authored
Reviewed by Eric. Bug 18916: make_names.pl --factory needs to support custom c++ guard Add --guardFactoryWith to handle the cpp guard around generated factories. * DerivedSources.make: Set the guardFactoryWith variable for SVG factory. * GNUmakefile.am: Ditto. * WebCore.pro: Ditto. * dom/make_names.pl: Add guardFactoryWith option. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Mark. Enable NPAPI plug-ins on 64-bit. * wtf/Platform.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32988 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jchaffraix@webkit.org authored
Reviewed by Adam Roben. wx & Gtk build fix. Should also fix the cURL backend for the Windows port. * WebCore.vcproj/WebCore.vcproj: Add FormDataStreamCurl information. * platform/network/curl/FormDataStreamCurl.h: Include stdio.h which fixes the build on some machine. * webcore-wx.bkl: Add FormDataStreamCurl.cpp. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
Fixes the bug where the Web Inspector could not find any localization strings. Reviewed by Mark Rowe. * WebCore.xcodeproj/project.pbxproj: Add the localizedStrings.js file to the WebCore Copy Resources phase. Also removes an idl from the Copy Resources phase. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
- fix <rdar://problem/5697957> "No recent searches" label in a narrow search field's history popup is truncated * platform/win/PopupMenuWin.cpp: (WebCore::PopupMenu::calculatePositionAndSize): Changed to use a bold font for measuring labels. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
- cross-platform fix for http://bugs.webkit.org/show_bug.cgi?id=17590 ASSERTION FAILED: subject in jsRegExpExecute() * page/Frame.cpp: (WebCore::Frame::matchLabelsAgainstElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Reviewed by Sam Weinig. Add a link to the Mac OS Forge terms of use. * nav.inc: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Simon. Simple ImageBuffer::image implementation. In contrast to cg and cairo we do not use a special BitmapImage because the ownership of the FrameData inside the BitmapImage is a bit backward (actually owned by the ImageDecoderQt...). Further work is needed for image and pixmap handling in the qt port... git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Simon. Update the WebKit.qrc of the inspector to be functional again git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Simon Fix the Qt/Mac build. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Fixes: WebKit expects initial input method state to be *disabled*. At least QWS does not need the initial input method state to be forced to enabled, but other platforms (esp. X11) do. Until fixed/tested on those platforms, this is specific to QWS. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Simon. Use native Windows library handling (instead of QLibrary) for Qt/Win32's PlatformModule. * platform/FileSystem.h: (WebCore::PlatformModuleVersion::PlatformModuleVersion): * platform/qt/FileSystemQt.cpp: (WebCore::unloadModule): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-