- 13 Jun, 2007 23 commits
-
-
lars authored
don't reimplement the global new/delete operators when using the system malloc. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
- fix <rdar://problem/5264923> Safari frequently "stalls" beneath +[NSFont fontWithName:size:] while loading a web page (searching on disk for the font) * platform/mac/WebFontCache.mm: (+[WebFontCache internalFontWithFamily:traits:size:]): Renamed from fontWithFamily. Took out the auto-activation code. (+[WebFontCache fontWithFamily:traits:size:]): Added. Calls internalFontWithFamily, then calls NSFont to trigger activation if that returned nil, then calls internalFontWithFamily again. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
Reviewed by Geoff. Make sure that bindings instances get correct root objects. * JavaScriptCore.exp: * bindings/NP_jsobject.cpp: (listFromVariantArgs): (_NPN_InvokeDefault): (_NPN_Invoke): (_NPN_SetProperty): * bindings/c/c_instance.cpp: (KJS::Bindings::CInstance::invokeMethod): (KJS::Bindings::CInstance::invokeDefaultMethod): * bindings/c/c_runtime.cpp: (KJS::Bindings::CField::valueFromInstance): * bindings/c/c_utility.cpp: (KJS::Bindings::convertNPVariantToValue): * bindings/c/c_utility.h: * bindings/objc/objc_instance.mm: (ObjcInstance::invokeMethod): (ObjcInstance::invokeDefaultMethod): (ObjcInstance::getValueOfUndefinedField): * bindings/objc/objc_runtime.mm: (ObjcField::valueFromInstance): (ObjcArray::valueAt): * bindings/objc/objc_utility.h: * bindings/objc/objc_utility.mm: (KJS::Bindings::convertObjcValueToValue): * bindings/runtime.h: WebCore: Reviewed by Geoff. Pass the root object to methods that end up creating new ObjcInstance objects. * bindings/objc/WebScriptObject.mm: (listFromNSArray): (-[WebScriptObject callWebScriptMethod:withArguments:]): (-[WebScriptObject evaluateWebScript:]): (-[WebScriptObject setValue:forKey:]): (-[WebScriptObject valueForKey:]): (-[WebScriptObject removeWebScriptKey:]): (-[WebScriptObject setWebScriptValueAtIndex:value:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
<rdar://problem/5267992> Make sure an alert doesn't allow loading to continue inside a script. Make sure to defer all loads where it's possible for a second main loop to be running. * page/Chrome.cpp: (WebCore::Chrome::runModal): (WebCore::Chrome::runBeforeUnloadConfirmPanel): (WebCore::Chrome::runJavaScriptAlert): (WebCore::Chrome::runJavaScriptConfirm): (WebCore::Chrome::runJavaScriptPrompt): (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer): (WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer): * platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::ResourceHandle::setDefersLoading): Implement this. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sullivan authored
- fixed <rdar://problem/5267607> Clicking the "Save to Downloads" button in PDF overlay too soon results in corrupt file * WebView/WebPDFView.mm: (-[WebPDFView PDFViewSavePDFToDownloadFolder:]): Just beep if the document isn't available yet, since trying to save it as a file really isn't a good idea. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
Reviewed by Rob. http://bugs.webkit.org/show_bug.cgi?id=14060 Cairo SVG support * WebCore.pro: Add new files to the build. * platform/graphics/svg/SVGPaintServerPattern.h: * platform/graphics/svg/SVGPaintServerSolid.h: * platform/graphics/svg/cairo: Added. * platform/graphics/svg/cairo/RenderPathCairo.cpp: Added. (WebCore::RenderPath::strokeContains): (WebCore::RenderPath::strokeBBox): * platform/graphics/svg/cairo/SVGPaintServerCairo.cpp: Added. (WebCore::SVGPaintServer::draw): (WebCore::SVGPaintServer::teardown): (WebCore::SVGPaintServer::renderPath): * platform/graphics/svg/cairo/SVGPaintServerGradientCairo.cpp: Added. (WebCore::SVGPaintServerGradient::setup): * platform/graphics/svg/cairo/SVGPaintServerPatternCairo.cpp: Added. (WebCore::SVGPaintServerPattern::setup): * platform/graphics/svg/cairo/SVGPaintServerSolidCairo.cpp: Added. (WebCore::SVGPaintServerSolid::setup): * platform/graphics/svg/cairo/SVGResourceClipperCairo.cpp: Added. (WebCore::SVGResourceClipper::applyClip): * platform/graphics/svg/cairo/SVGResourceMaskerCairo.cpp: Added. (WebCore::SVGResourceMasker::applyMask): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23504 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
WebKitQt to QtWebKit git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData) overload to take a QWebNetworkRequest instead. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just pick the individual fields if we can use them. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben authored
Rubberstamped by Oliver. * platform/win/DragImageWin.cpp: (WebCore::allocImage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver authored
Reviewed by Darin. Use correct size for BITMAPINFOHEADER -- whoops. * platform/win/CursorWin.cpp: (WebCore::Cursor::Cursor): * platform/win/PasteboardWin.cpp: (WebCore::Pasteboard::writeImage): WebKit: Reviewed by Darin. Use correct size for BITMAPINFOHEADER -- whoops. * win/WebIconDatabase.cpp: (createDIB): (WebIconDatabase::getOrCreateDefaultIconBitmap): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Jun, 2007 17 commits
-
-
andersca authored
* bindings/qt/qt_instance.cpp: (KJS::Bindings::QtInstance::invokeMethod): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
Move the notion of field type to the JNI runtime since that's the only one that was actually using it. * bindings/c/c_runtime.h: (KJS::Bindings::CField::CField): * bindings/jni/jni_runtime.h: * bindings/objc/objc_runtime.h: * bindings/objc/objc_runtime.mm: * bindings/qt/qt_runtime.h: * bindings/runtime.h: * bindings/runtime_method.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
* bindings/qt/qt_class.cpp: (KJS::Bindings::QtClass::methodsNamed): * bindings/qt/qt_instance.cpp: (KJS::Bindings::QtInstance::invokeMethod): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
staikos authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
Get rid of the MethodList class and use a good ol' Vector instead. * bindings/c/c_class.cpp: (KJS::Bindings::CClass::methodsNamed): * bindings/c/c_instance.cpp: (KJS::Bindings::CInstance::invokeMethod): * bindings/jni/jni_class.cpp: (JavaClass::JavaClass): (JavaClass::~JavaClass): * bindings/jni/jni_instance.cpp: (JavaInstance::invokeMethod): * bindings/objc/objc_class.mm: (KJS::Bindings::ObjcClass::methodsNamed): * bindings/objc/objc_instance.mm: (ObjcInstance::invokeMethod): * bindings/objc/objc_runtime.mm: (ObjcFallbackObjectImp::callAsFunction): * bindings/runtime.cpp: * bindings/runtime.h: * bindings/runtime_method.cpp: (RuntimeMethod::lengthGetter): (RuntimeMethod::callAsFunction): * bindings/runtime_object.cpp: (RuntimeObjectImp::getOwnPropertySlot): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
Make RuntimeMethod's method list a pointer so that the object size doesn't grow beyond 32 bytes when we later will replace MethodList with a Vector. * bindings/runtime_method.cpp: (RuntimeMethod::RuntimeMethod): (RuntimeMethod::lengthGetter): (RuntimeMethod::callAsFunction): * bindings/runtime_method.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
Get rid of the Parameter class. * bindings/jni/jni_instance.cpp: (JavaInstance::invokeMethod): * bindings/jni/jni_runtime.cpp: (JavaMethod::signature): * bindings/jni/jni_runtime.h: (KJS::Bindings::JavaParameter::JavaParameter): (KJS::Bindings::JavaParameter::~JavaParameter): (KJS::Bindings::JavaParameter::type): (KJS::Bindings::JavaMethod::parameterAt): (KJS::Bindings::JavaMethod::numParameters): * bindings/runtime.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
* bindings/qt/qt_class.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
Build fix. * bindings/objc/objc_runtime.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
Get rid of Constructor and its only subclass JavaConstructor. * bindings/c/c_class.h: * bindings/jni/jni_class.cpp: (JavaClass::JavaClass): (JavaClass::~JavaClass): * bindings/jni/jni_class.h: * bindings/jni/jni_runtime.cpp: * bindings/jni/jni_runtime.h: * bindings/objc/objc_class.h: * bindings/runtime.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
Use RetainPtr throughout the bindings code. * bindings/objc/objc_class.h: * bindings/objc/objc_class.mm: (KJS::Bindings::ObjcClass::ObjcClass): (KJS::Bindings::ObjcClass::methodsNamed): (KJS::Bindings::ObjcClass::fieldNamed): * bindings/objc/objc_instance.h: (KJS::Bindings::ObjcInstance::getObject): * bindings/objc/objc_instance.mm: (ObjcInstance::ObjcInstance): (ObjcInstance::~ObjcInstance): (ObjcInstance::implementsCall): (ObjcInstance::invokeMethod): (ObjcInstance::invokeDefaultMethod): (ObjcInstance::defaultValue): * bindings/objc/objc_runtime.h: (KJS::Bindings::ObjcMethod::setJavaScriptName): (KJS::Bindings::ObjcMethod::javaScriptName): (KJS::Bindings::ObjcArray::getObjcArray): * bindings/objc/objc_runtime.mm: (ObjcField::name): (ObjcArray::ObjcArray): (ObjcArray::setValueAt): (ObjcArray::valueAt): (ObjcArray::getLength): * wtf/RetainPtr.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig authored
Patch for http://bugs.webkit.org/show_bug.cgi?id=14109 Cleanup JSEvent and JSClipboard in preperation for autogeneration * bindings/js/kjs_events.cpp: (KJS::DOMEvent::DOMEvent): (KJS::DOMEvent::getValueProperty): (KJS::DOMEvent::put): (KJS::DOMEvent::putValueProperty): (KJS::DOMEventPrototypeFunction::callAsFunction): (KJS::toJS): (KJS::toEvent): (KJS::): (KJS::JSClipboard::JSClipboard): (KJS::JSClipboard::~JSClipboard): (KJS::JSClipboard::getOwnPropertySlot): (KJS::JSClipboard::getValueProperty): (KJS::JSClipboard::put): (KJS::JSClipboard::putValueProperty): (KJS::JSClipboardPrototypeFunction::callAsFunction): (KJS::toClipboard): * bindings/js/kjs_events.h: (KJS::DOMEvent::): (KJS::DOMEvent::impl): (KJS::JSClipboard::impl): * dom/ClipboardEvent.h: * dom/Event.h: (WebCore::Event::srcElement): (WebCore::Event::returnValue): (WebCore::Event::clipboardData): (WebCore::Event::dataTransfer): (WebCore::Event::clipboard): * dom/MouseEvent.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
Have JSCell inherit from Noncopyable. * bindings/objc/objc_runtime.h: * bindings/runtime_object.h: * kjs/value.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lars authored
private header. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lars authored
Fix up some parts in the implementation of QWebNetworkInterface so it can be used by plugins. Change the plugin API so we can actually get all the information required by the JS bridge from them as well. Implement the parts required for the JS bridge to know about the plugins. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
More cleanup. Use our Noncopyable WTF class, add a root object member to the Array class. * bindings/c/c_class.h: * bindings/jni/jni_class.h: * bindings/jni/jni_instance.h: * bindings/jni/jni_runtime.cpp: (JavaArray::JavaArray): * bindings/jni/jni_runtime.h: * bindings/objc/objc_class.h: * bindings/objc/objc_runtime.h: * bindings/objc/objc_runtime.mm: (ObjcArray::ObjcArray): * bindings/objc/objc_utility.mm: (KJS::Bindings::convertObjcValueToValue): * bindings/runtime.cpp: (KJS::Bindings::Array::Array): (KJS::Bindings::Array::~Array): * bindings/runtime.h: * bindings/runtime_object.h: * bindings/runtime_root.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-