Timeline
Feb 16, 2004:
- 11:18 AM Changeset in webkit [6094] by
-
- 9 edits in trunk/WebCore
WebCore side of pasting image data.
Reviewed by kocienda.
- khtml/editing/htmlediting.cpp: (PasteImageCommand::PasteImageCommand): new (PasteImageCommand::~PasteImageCommand): new (PasteImageCommand::impl): new
- khtml/editing/htmlediting.h: (khtml::):
- khtml/editing/htmlediting_impl.cpp: (EditCommandImpl::name): added support for PasteImageCommandID (CompositeEditCommandImpl::insertNodeAt): new, factored out from PasteHTMLCommandImpl::apply (PasteHTMLCommandImpl::apply): call insertNodeAt (PasteImageCommandImpl::PasteImageCommandImpl): new (PasteImageCommandImpl::~PasteImageCommandImpl): new (PasteImageCommandImpl::apply): new
- khtml/editing/htmlediting_impl.h:
- khtml/khtml_part.cpp: (KHTMLPart::pasteHTMLString): unchanged (KHTMLPart::pasteImage): new
- khtml/khtml_part.h:
- kwq/WebCoreBridge.h:
- kwq/WebCoreBridge.mm: (-[WebCoreBridge pasteImageWithURL:]): new
- 10:18 AM Changeset in webkit [6093] by
-
- 2 edits in trunk/WebCore
Reviewed by Ken.
- Fixed some dynamic casts that Dirk complained about to use virtual functions instead. Since the virtual functions were already there, this is faster and better in most ways anyway.
- khtml/dom/dom2_events.cpp: (UIEvent::keyCode): Use virtual function instead of dynamic_cast. (UIEvent::charCode): Ditto. (UIEvent::pageX): Ditto. (UIEvent::pageY): Ditto. (UIEvent::layerX): Ditto. (UIEvent::layerY): Ditto. (UIEvent::which): Ditto.
- 8:19 AM Changeset in webkit [6092] by
-
- 4 edits2 deletes in trunk/WebKit
Reviewed by John and Don.
- discovered that jaguar.com doesn't need spoofing any more, so removed the spoofing machinery entirely; if we ever have to bring it back we can, but I doubt we will
- WebView.subproj/WebView.m: Removed include of WebUserAgentSpoofTable.c. (-[WebViewPrivate dealloc]): Release the new single userAgent rather than the array and userAgentOverride we used to. (-[WebView _preferencesChangedNotification:]): Release the single user agent, rather than the entire cache. Also only do it when the user agent is not overridden. (-[WebView setApplicationNameForUserAgent:]): Ditto. (-[WebView setCustomUserAgent:]): Set the new userAgentOverridden boolean, and also set userAgent itself. (-[WebView customUserAgent]): Return userAgent, but only if userAgentOverridden is true. (-[WebView userAgentForURL:]): Simplify, now that there's no automatic spoofing to do. Made even simpler by the fact that custom and computed user agents both share the same field now.
- WebView.subproj/WebViewPrivate.h: Got rid of UserAgentStringType, turned the userAgent field into a single item instead of an array, and replaced the userAgentOverride field with a boolean userAgentOverridden field.
- Makefile.am: Removed the rule to build WebUserAgentSpoofTable.c.
- WebView.subproj/WebUserAgentSpoofTable.c: Removed.
- WebView.subproj/WebUserAgentSpoofTable.gperf: Removed.
Feb 15, 2004:
- 11:54 AM Changeset in webkit [6091] by
-
- 2 edits in trunk/WebKit
Reviewed by Dave.
- WebKit.pbproj/project.pbxproj: Tweak build styles a bit, fixing OptimizedWithSymbols, and removing redundant settings of things that match defaults in other build styles.
- 11:51 AM Changeset in webkit [6090] by
-
- 2 edits in trunk/WebCore
Reviewed by Dave.
- WebCore.pbproj/project.pbxproj: Tweak build styles a bit, fixing OptimizedWithSymbols, and removing redundant settings of things that match defaults in other build styles.
- 11:51 AM Changeset in webkit [6089] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Dave.
- JavaScriptCore.pbproj/project.pbxproj: Tweak build styles a bit, fixing OptimizedWithSymbols, and removing redundant settings of things that match defaults in other build styles.
- 10:50 AM Changeset in webkit [6088] by
-
- 2 edits in trunk/WebCore
Reviewed by Dave.
- fixed 3548533: crash in XMLHttpRequest::slotData using Orkut's rating system
- khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequest::~XMLHttpRequest): Delete the QObject side, which has a side effect of disconnecting the signals which seem to be firing after the request is gone. There may be another way of addressing the crash by correcting some other problem with killing the job, but this demonstrably works and fixes a storage leak.
Feb 13, 2004:
- 6:10 PM Changeset in webkit [6087] by
-
- 7 edits in trunk
WebCore:
Reviewed by John.
- redo visited link history checking for a 2% speed improvement
- kwq/KWQKHistoryProvider.mm: (KParts::HistoryProvider::contains): Don't make a KURL or an NSString. Punt on canonicalization and directly pass the internal Latin1 or unicode buffer.
- kwq/KWQString.h:
- kwq/KWQString.mm: (QString::hasFastLatin1): New method to check whether getting the latin1 buffer is fast (doesn't allocate).
- kwq/WebCoreHistory.h: add new methods to look up by raw latin1 or unicode buffer instead of NSString.
WebKit:
Reviewed by John.
- redo visited link history checking for a 2% speed improvement
- History.subproj/WebHistory.m: (-[_WebCoreHistoryProvider containsItemForURLString:]): Removed. (-[_WebCoreHistoryProvider containsItemForURLLatin1:length:]): Implemented. For https and http URLs with empty path, add a slash. Make a CFString using the passed-in latin1 buffer without copying. (-[_WebCoreHistoryProvider containsItemForURLUnicode:length:]): Ditto for unicode. (matchLetter): New static helper function. (matchUnicodeLetter): Ditto.
- 2:39 PM Changeset in webkit [6086] by
-
- 14 edits13 adds in trunk/JavaScriptCore
rk towards the JavaScript ObjC bindings. The bindings now work for
simple scalar types. testbindings.mm is an illustration of how the
bindings work.
Reviewed by Ken.
- JavaScriptCore.pbproj/project.pbxproj:
- Makefile.am:
- bindings/jni/jni_class.cpp: (JavaClass::methodsNamed):
- bindings/jni/jni_class.h:
- bindings/jni/jni_instance.cpp: (JavaInstance::invokeMethod):
- bindings/jni/jni_instance.h:
- bindings/jni/jni_runtime.h: (KJS::Bindings::JavaMethod::returnType):
- bindings/make_testbindings: Added.
- bindings/objc/objc_class.h: Added. (KJS::Bindings::ObjcClass::~ObjcClass): (KJS::Bindings::ObjcClass::ObjcClass): (KJS::Bindings::ObjcClass::operator=): (KJS::Bindings::ObjcClass::constructorAt): (KJS::Bindings::ObjcClass::numConstructors):
- bindings/objc/objc_class.mm: Added. (ObjcClass::_commonDelete): (ObjcClass::_commonCopy): (ObjcClass::_commonInit): (_createClassesByIsAIfNecessary): (ObjcClass::classForIsA): (ObjcClass::ObjcClass): (ObjcClass::name): (ObjcClass::methodsNamed): (ObjcClass::fieldNamed):
- bindings/objc/objc_header.h: Added.
- bindings/objc/objc_instance.h: Added. (KJS::Bindings::ObjcInstance::getObject):
- bindings/objc/objc_instance.mm: Added. (ObjcInstance::ObjcInstance): (ObjcInstance::~ObjcInstance): (ObjcInstance::operator=): (ObjcInstance::begin): (ObjcInstance::end): (ObjcInstance::getClass): (ObjcInstance::invokeMethod): (ObjcInstance::defaultValue): (ObjcInstance::stringValue): (ObjcInstance::numberValue): (ObjcInstance::booleanValue): (ObjcInstance::valueOf):
- bindings/objc/objc_jsobject.h: Added.
- bindings/objc/objc_jsobject.mm: Added.
- bindings/objc/objc_runtime.h: (KJS::Bindings::ObjcField::~ObjcField): (KJS::Bindings::ObjcField::ObjcField): (KJS::Bindings::ObjcField::operator=): (KJS::Bindings::ObjcMethod::ObjcMethod): (KJS::Bindings::ObjcMethod::~ObjcMethod): (KJS::Bindings::ObjcMethod::operator=):
- bindings/objc/objc_runtime.mm: Added. (ObjcMethod::ObjcMethod): (ObjcMethod::name): (ObjcMethod::numParameters): (ObjcMethod::getMethodSignature): (ObjcField::ObjcField): (ObjcField::name): (ObjcField::type): (ObjcField::valueFromInstance): (ObjcField::setValueToInstance):
- bindings/objc/objc_utility.h: Added. (KJS::Bindings::):
- bindings/objc/objc_utility.mm: Added. (KJS::Bindings::JSMethodNameToObjCMethodName): (KJS::Bindings::convertValueToObjcValue): (KJS::Bindings::convertObjcValueToValue): (KJS::Bindings::objcValueTypeForType):
- bindings/runtime.cpp: (MethodList::MethodList): (MethodList::operator=): (Instance::setValueOfField): (Instance::createBindingForLanguageInstance): (Instance::createRuntimeObject):
- bindings/runtime.h:
- bindings/runtime_method.cpp: (RuntimeMethodImp::RuntimeMethodImp): (RuntimeMethodImp::get): (RuntimeMethodImp::call):
- bindings/runtime_method.h:
- bindings/runtime_object.cpp: (RuntimeObjectImp::get): (RuntimeObjectImp::hasProperty):
- bindings/test.js: Added.
- bindings/testbindings.mm: Added. (-[MySecondInterface init]): (-[MyFirstInterface init]): (-[MyFirstInterface dealloc]): (+[MyFirstInterface JavaScriptNameForSelector:]): (-[MyFirstInterface getInt]): (-[MyFirstInterface setInt:]): (-[MyFirstInterface getMySecondInterface]): (-[MyFirstInterface logMessage:]): (GlobalImp::className): (readJavaScriptFromFile): (main):
- 12:08 PM Changeset in webkit [6085] by
-
- 3 edits in trunk
Set version to '129u'. The tree is open!
- 12:04 PM Changeset in webkit [6084]
-
- 3 copies in tags/Safari-128
This commit was manufactured by cvs2svn to create tag 'Safari-128'.
- 12:04 PM Changeset in webkit [6083] by
-
- 6 edits in trunk
Safari-128 stamp
Feb 12, 2004:
- 3:58 PM Changeset in webkit [6082] by
-
- 2 edits in trunk/WebCore
Fix for 3557850 and 3557607. Make sure to setParent(0) on the body's link declaration, so that TreeShared
will delete it.
- khtml/html/html_baseimpl.cpp: (HTMLBodyElementImpl::~HTMLBodyElementImpl):
- 2:40 PM Changeset in webkit [6081] by
-
- 9 edits2 adds in trunk/WebCore
Reviewed by Hyatt
Refactored object design for edit commands into something that's
starting to feel more solid. Added some accessors to edit
commands.
- WebCore.pbproj/project.pbxproj:
- khtml/editing/htmlediting_impl.h: Added.
- khtml/editing/htmlediting_impl.m: Added.
- 12:04 AM Changeset in webkit [6080] by
-
- 1 edit in trunk/WebCore/khtml/rendering/render_block.cpp
Adjust shouldCollapseChild as per dirk's suggestion.