Reviewed by John.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Feb 2005 21:09:29 +0000 (21:09 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Feb 2005 21:09:29 +0000 (21:09 +0000)
commit2647b56b3b480bd51b1c7a9209b7799d1f9c6acb
tree7a1f4ee976a04b5e0adaf559150edc09c5d48f42
parentdc43f2e25f548f7f36d366fce1e958c6633b0595
    Reviewed by John.

        - fixed <rdar://problem/3686434> Safari uses too much RAM on file upload, leading to malloc errors and crashes (HP printers)

        * khtml/html/html_formimpl.cpp:
        (DOM::FormDataList::begin): Updated to use a list of FormDataListItem instead of QCString.
        (DOM::FormDataList::end): Ditto.
        (DOM::HTMLFormElementImpl::formData): Same here, and also use appendFile rather than appendData
        when we encounter a path name rather than data.
        (DOM::HTMLInputElementImpl::appendFormData): Use appendFile here rather than reading the file
        in; the reading now happens inside WebKit.
        (DOM::FormDataList::appendString): Updated for FormDataListItem.
        (DOM::FormDataList::appendFile): Added.

        * ForwardingHeaders/kfileitem.h: Emptied out the file; no longer includes KWQKFileItem.h.
        * ForwardingHeaders/netaccess.h: Emptied out the file; no longer includes KWQKIONetAccess.h.
        * kwq/KWQKFileItem.h: Removed.
        * kwq/KWQKFileItem.mm: Removed.
        * kwq/KWQKIONetAccess.h: Removed.
        * kwq/KWQKIONetAccess.mm: Removed.
        * WebCore.pbproj/project.pbxproj: Removed the 4 files above.

        - small unrelated fix (not reviewed by John)

        * khtml/ecma/kjs_window.cpp: (Window::isSafeScript): Put some logging code outside if statements so it works all the time.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/ForwardingHeaders/kfileitem.h
WebCore/ForwardingHeaders/netaccess.h
WebCore/WebCore.pbproj/project.pbxproj
WebCore/khtml/ecma/kjs_window.cpp
WebCore/khtml/html/html_formimpl.cpp
WebCore/kwq/KWQKFileItem.h [deleted file]
WebCore/kwq/KWQKFileItem.mm [deleted file]
WebCore/kwq/KWQKIONetAccess.h [deleted file]
WebCore/kwq/KWQKIONetAccess.mm [deleted file]