1. 21 May, 2010 1 commit
    • tony@chromium.org's avatar
      2010-05-20 Tony Chang <tony@chromium.org> · 638815b8
      tony@chromium.org authored
              Reviewed by Kent Tamura.
      
              escape link text when copying or dragging links on win or chromium
              https://bugs.webkit.org/show_bug.cgi?id=39413
      
              * editing/pasteboard/drop-link-expected.txt: Added.
              * editing/pasteboard/drop-link.html:
              * platform/chromium-linux/editing/pasteboard/drop-link-expected.checksum: Removed.
              * platform/chromium-linux/editing/pasteboard/drop-link-expected.png: Removed.
              * platform/chromium-linux/editing/pasteboard/drop-link-expected.txt: Removed.
              * platform/chromium-win/editing/pasteboard/drop-link-expected.checksum: Removed.
              * platform/chromium-win/editing/pasteboard/drop-link-expected.png: Removed.
              * platform/chromium-win/editing/pasteboard/drop-link-expected.txt: Removed.
              * platform/mac/editing/pasteboard/drop-link-expected.checksum: Removed.
              * platform/mac/editing/pasteboard/drop-link-expected.png: Removed.
              * platform/mac/editing/pasteboard/drop-link-expected.txt: Removed.
      2010-05-20  Tony Chang  <tony@chromium.org>
      
              Reviewed by Kent Tamura.
      
              escape link text when copying or dragging links on win or chromium
              https://bugs.webkit.org/show_bug.cgi?id=39413
      
              * editing/markup.cpp:
              (WebCore::urlToMarkup):
              * editing/markup.h:
              * platform/chromium/ClipboardUtilitiesChromium.cpp:
              * platform/chromium/ClipboardUtilitiesChromium.h:
              * platform/win/ClipboardUtilitiesWin.cpp:
              * platform/win/ClipboardUtilitiesWin.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      638815b8
  2. 28 Jan, 2010 1 commit
    • enrica@apple.com's avatar
      Huge plain text pastes are slow · b6dd43c0
      enrica@apple.com authored
      <rdar://problem/5195056>
      https://bugs.webkit.org/show_bug.cgi?id=34237
      
      Reviewed by Maciej Stachowiak.
      
      WebCore: 
      
      No new tests. It is a performance improvement.
      
      The performance of the plain text paste is now linear.
      We treat as a special case, a fragment that has been
      created from plain text. Finding VisiblePositions and
      applying style is greatly simplified, given the nature of
      the fragment.
      
      * editing/ReplaceSelectionCommand.cpp:
      (WebCore::ReplaceSelectionCommand::doApply):
      * editing/markup.cpp:
      (WebCore::isPlainTextMarkup):
      * editing/markup.h:
      
      WebKit/mac: 
      
      Mail is ignoring the fragment created from plain text or HTML that is
      passed to the delegate function, that creates a new one.
      This fix avoids creating the fragment twice.
      
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView _pasteWithPasteboard:allowPlainText:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6dd43c0
  3. 18 Jan, 2010 1 commit
    • enrica@apple.com's avatar
      Script attributes are copied and pasted, making cross-domain attacks possible (30019) · a0a06312
      enrica@apple.com authored
      <rdar://problem/6008809>
      https://bugs.webkit.org/show_bug.cgi?id=30019
      
      Reviewed by Darin Adler.
      
      WebCore: 
      
      When we create the document fragment from a markup string,
      either to perform a paste operation or a drag and drop, we
      want to remove all the event handlers and any attribute that contain
      a value that leads to code execution.
      The HTMLParser class is now aware of the needs of stripping these attributes.
      I've modified the call to createMarkupString for every platform.
      
      Test: editing/pasteboard/paste-noscript.html
      
      * WebCore.base.exp:
      * dom/Element.cpp:
      (WebCore::isEventHandlerAttribute):
      (WebCore::Element::setAttributeMap):
      * dom/Element.h:
      * dom/MappedAttributeEntry.h:
      (WebCore::):
      * editing/markup.cpp:
      (WebCore::createFragmentFromMarkup):
      * editing/markup.h:
      * html/HTMLElement.cpp:
      (WebCore::HTMLElement::createContextualFragment):
      * html/HTMLElement.h:
      * html/HTMLParser.cpp:
      (WebCore::HTMLParser::HTMLParser):
      (WebCore::HTMLParser::parseToken):
      * html/HTMLParser.h:
      * html/HTMLTokenizer.cpp:
      (WebCore::HTMLTokenizer::HTMLTokenizer):
      (WebCore::parseHTMLDocumentFragment):
      * html/HTMLTokenizer.h:
      * platform/chromium/DragDataChromium.cpp:
      (WebCore::DragData::asFragment):
      * platform/chromium/PasteboardChromium.cpp:
      (WebCore::Pasteboard::documentFragment):
      * platform/gtk/PasteboardGtk.cpp:
      (WebCore::Pasteboard::documentFragment):
      * platform/mac/PasteboardMac.mm:
      (WebCore::Pasteboard::documentFragment):
      * platform/qt/DragDataQt.cpp:
      (WebCore::DragData::asFragment):
      * platform/qt/PasteboardQt.cpp:
      (WebCore::Pasteboard::documentFragment):
      * platform/win/ClipboardUtilitiesWin.cpp:
      (WebCore::fragmentFromCF_HTML):
      (WebCore::fragmentFromHTML):
      
      WebKit/mac: 
      
      * WebView/WebFrame.mm:
      (-[WebFrame _documentFragmentWithMarkupString:baseURLString:]): Modified the call to createMarkupString.
      
      LayoutTests: 
      
      * editing/pasteboard/paste-noscript-expected.txt: Added.
      * editing/pasteboard/paste-noscript.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53442 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0a06312
  4. 28 Mar, 2008 2 commits
    • beidson@apple.com's avatar
      WebCore: · fe921ca2
      beidson@apple.com authored
      2008-03-28  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Sam Weinig
      
              WebArchive saga continues - Can now make archives from ranges in WebCore
      
              Again, previous layout test coverage exercised this code
      
              * WebCore.base.exp:
      
              * editing/markup.cpp:
              (WebCore::createFullMarkup): Added a "markup from range" variant that copies the previous WebKit implementation
              * editing/markup.h:
      
              * loader/archive/cf/LegacyWebArchive.cpp:
              (WebCore::LegacyWebArchive::create):
              * loader/archive/cf/LegacyWebArchive.h:
      
      WebKit/mac:
      
      2008-03-28  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Sam Weinig
      
              WebArchive saga continues - Can now make archives from ranges in WebCore
      
              * DOM/WebDOMOperations.mm:
              (-[DOMRange webArchive]):
              (-[DOMRange markupString]):
      
              * WebView/WebArchiver.h: Remove newly obsolete [WebArchiver archiveRange:]
              * WebView/WebArchiver.mm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fe921ca2
    • beidson@apple.com's avatar
      WebCore: · c170591d
      beidson@apple.com authored
      2008-03-28  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Sam Weinig
      
              More Kit->Core webarchive code movement
      
              * WebCore.base.exp:
              * editing/markup.cpp:
              (WebCore::createFullMarkup): Replacement for [DOMNode markupString], creating full markup at this node including 
                the document type string, which the WebKit implementation did indirectly
              * editing/markup.h:
      
      WebKit/mac:
      
      2008-03-28  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Sam Weinig
      
              More Kit->Core webarchive code movement
      
              * DOM/WebDOMOperations.mm:
              (-[DOMNode markupString]): Call createFullMarkup() instead
      
              * WebView/WebFrame.mm: Remove obsolete _markupStringFromNode
              * WebView/WebFrameInternal.h: Ditto
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31409 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c170591d
  5. 12 Oct, 2007 1 commit
    • oliver's avatar
      WebCore: · 3411ea05
      oliver authored
              Reviewed by Oliver.
      
              - Use Vector<UChar> instead of DeprecatedString for innerHTML, for 35% speedup on CK DOM test
              http://bugs.webkit.org/show_bug.cgi?id=15339
      
              Rewrote both versions of createMarkup to build based on
              Vector<UChar> instead of String. Also other miscellaneous
              speedups (mainly content strings are now encoded in a way that
              doesn't take a function call per character, and switch is avoided).
      
              This also causes a functional change - we no longer escape '>' since this was unnecessary and it's faster
              to avoid testing for it. See updated test results.
      
              * editing/markup.cpp:
              (WebCore::appendString):
              (WebCore::appendAttributeValue):
              (WebCore::escapeContentText):
              (WebCore::appendEscapedContent):
              (WebCore::appendDeprecatedString):
              (WebCore::appendQuotedURLAttributeValue):
              (WebCore::stringValueForRange):
              (WebCore::ucharRange):
              (WebCore::appendUCharRange):
              (WebCore::appendNamespace):
              (WebCore::appendStartMarkup):
              (WebCore::getStartMarkup):
              (WebCore::appendEndMarkup):
              (WebCore::getEndMarkup):
              (WebCore::appendMarkup):
              (WebCore::joinMarkups):
              (WebCore::createMarkup):
              * editing/markup.h:
              * page/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge markupStringFromNode:nodes:]):
              (-[WebCoreFrameBridge markupStringFromRange:nodes:]):
      
      LayoutTests:
      
              Reviewed by Oliver.
      
              - test updates for "file:///Volumes/Data/mjs/Work/src/Safari/OpenSource/LayoutTests/fast/dom/serialize-attribute.xhtml"
              http://bugs.webkit.org/show_bug.cgi?id=15339
      
              We no longer entity-escape the '>' character in content or attribute values since this is unnecessary.
      
              * fast/dom/dom-parse-serialize-expected.txt:
              * fast/dom/serialize-attribute.xhtml:
              * fast/xsl/xslt-processor-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3411ea05
  6. 27 Mar, 2007 1 commit
    • justing's avatar
      LayoutTests: · 7d3dbfed
      justing authored
              Reviewed by darin
              
              <rdar://problem/5091898> REGRESSION: GMail Editor: A line of underlined text copied with Select All pastes with wrong font family
      
              Demonstrates the bug fixed:
              * editing/style/5091898-expected.checksum: Added.
              * editing/style/5091898-expected.png: Added.
              * editing/style/5091898-expected.txt: Added.
              * editing/style/5091898.html: Added.
              Demonstrates a related bug fixed (deleting
              the line break before a paragraph could remove
              its underlining):
              * editing/deleting/5091898-expected.checksum: Added.
              * editing/deleting/5091898-expected.png: Added.
              * editing/deleting/5091898-expected.txt: Added.
              * editing/deleting/5091898.html: Added.
              Demonstrates that a link now (correctly) exists, 
              instead of just underlined text:
              * editing/pasteboard/4840662-expected.txt:
      
      WebCore:
      
              Reviewed by darin
              
              <rdar://problem/5091898> REGRESSION: GMail Editor: A line of underlined text copied with Select All pastes with wrong font family
              
              createMarkup skipped elements if they were blocks
              when called from moveParagraphs (because that function 
              must receive only inline content).  This patch adds 
              code to inline these blocks instead of skipping them 
              so that we don't lose any of the style that they 
              contribute to the copied markup.
      
              * editing/markup.cpp:
              (WebCore::startMarkup): Add an inlineBlocks option.
              Make sure to overwrite display:block coming from
              a style sheet or the inline style declaration.
              (WebCore::createMarkup): Don't refuse to include a 
              specialCommonAncestor that's a block if we were asked 
              to include only inline content, since we can now inline 
              block elements in startMarkup.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d3dbfed
  7. 20 Mar, 2007 1 commit
    • justing's avatar
      LayoutTests: · ca190cf6
      justing authored
              Reviewed by darin
              
              <rdar://problem/5071074> 
              REGRESSION: Links are pasted as plain text at certain positions
      
              * editing/pasteboard/5071074-2-expected.checksum: Added.
              * editing/pasteboard/5071074-2-expected.png: Added.
              * editing/pasteboard/5071074-2-expected.txt: Added.
              * editing/pasteboard/5071074-2.html: Added.
      
      WebCore:
      
              Reviewed by darin
      
              <rdar://problem/5071074> 
              REGRESSION: Links are pasted as plain text at certain positions
              
              moveParagraphs calls createMarkup without annotation, which leaves
              out anchor elements that aren't fully selected.
      
              * editing/CompositeEditCommand.cpp:
              (WebCore::CompositeEditCommand::moveParagraphs): We don't want 
              createMarkup to do full annotation here.  Doing so could include 
              special ancestor blocks, which would prevent the copied content 
              from appearing in the destination paragraph when it's re-inserted.  
              Annotation would also inline styles from style sheets,  which is 
              unnecessary because the content is being moved to the same 
              document it's being moved from.
              Added a new bool to createMarkup that when true allows markup for 
              special ancestors as long as they are inline when annotation is off.
              * editing/markup.cpp:
              (WebCore::createMarkup): Don't set specialCommonAncestor if annotation
              is off, unless it's inline and we've been told it's ok to include such
              elements.
              * editing/markup.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca190cf6
  8. 24 Jul, 2006 1 commit
    • darin's avatar
      LayoutTests: · 38ae534e
      darin authored
              Reviewed by Adele and Justin.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9630
                REGRESSION: some spaces typed in <textarea> are posted as non-breaking spaces
      
              * fast/forms/textarea-type-spaces-expected.txt: Added.
              * fast/forms/textarea-type-spaces.html: Added.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9939
                REGRESSION: Pasting text into native text area with newline at end does not preserve newline
      
              * fast/forms/textarea-paste-newline-expected.txt: Added.
              * fast/forms/textarea-paste-newline.html: Added.
      
              - updated tests affected by above changes, results are equivalent or better
      
              * editing/pasteboard/4641033-expected.checksum:
              * editing/pasteboard/4641033-expected.png:
              * editing/pasteboard/4641033-expected.txt:
              * editing/pasteboard/paste-table-003-expected.checksum:
              * editing/pasteboard/paste-table-003-expected.png:
              * editing/pasteboard/paste-table-003-expected.txt:
              * editing/pasteboard/paste-text-016-expected.txt:
              * editing/pasteboard/quirks-mode-br-1-expected.txt:
              * editing/pasteboard/quirks-mode-br-2-expected.txt:
              * fast/forms/textarea-scrolled-type-expected.checksum:
              * fast/forms/textarea-scrolled-type-expected.png:
              * fast/forms/textarea-scrolled-type-expected.txt:
      
              - changed a test to be a "dump as text" test
      
              * fast/forms/paste-into-textarea-expected.txt:
              * fast/forms/paste-into-textarea.html:
              * fast/forms/paste-into-textarea-expected.checksum: Removed.
              * fast/forms/paste-into-textarea-expected.png: Removed.
      
              - changed a test to be a "dump as text" test, improved test a bit and also checked in new results
      
              * fast/forms/textarea-scrolled-endline-caret-expected.txt:
              * fast/forms/textarea-scrolled-endline-caret.html:
      
              - fixed a test that was raising an exception every time it ran
      
              * fast/forms/attributed-strings-expected.txt:
              * fast/forms/attributed-strings.html:
      
              - corrected checksums on a bunch of tests (pngs were right, but checksums wrong, apparently)
      
              * editing/deleting/delete-to-select-table-expected.checksum:
              * editing/selection/3690719-expected.checksum:
              * editing/selection/clear-selection-expected.checksum:
              * editing/undo/undo-misspellings-expected.checksum:
      
              - added some missing pixel test results
      
              * editing/pasteboard/nested-blocks-with-text-area-expected.checksum: Added.
              * editing/pasteboard/nested-blocks-with-text-area-expected.png: Added.
              * editing/pasteboard/nested-blocks-with-text-field-expected.checksum: Added.
              * editing/pasteboard/nested-blocks-with-text-field-expected.png: Added.
      
      WebCore:
      
              Reviewed by Adele and Justin.
      
              - fix <rdar://problem/4613616> REGRESSION: some spaces typed in <textarea> are posted as non-breaking spaces (9630)
                http://bugzilla.opendarwin.org/show_bug.cgi?id=9630
              - also fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=9939
                REGRESSION: Pasting text into native text area with newline at end does not preserve newline
              - removed some uses of DeprecatedPtrList in the markup code
      
              Test: fast/forms/textarea-type-spaces.html
              Test: fast/forms/textarea-paste-newline.html
      
              * bindings/objc/DOMHTML.mm: (-[DOMHTMLDocument createDocumentFragmentWithText:]):
              Updated call to pass a range -- in this case it is the range of the entire document,
              so this will not handle the whitespace properly.
      
              * bridge/mac/WebCoreFrameBridge.h: Added range context parameter to the
              documentFragmentWithText: method, so we can handle whitespace properly.
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge nodesFromList:]): Changed from DeprecatedPtrList to Vector.
              (-[WebCoreFrameBridge markupStringFromNode:nodes:]): Ditto.
              (-[WebCoreFrameBridge markupStringFromRange:nodes:]): Ditto.
              (-[WebCoreFrameBridge documentFragmentWithText:inContext:]): Added range context
              parameter -- pass it on to createFragmentFromText.
              (-[WebCoreFrameBridge documentFragmentWithNodesAsParagraphs:]): Changed from
              DeprecatedPtrList to Vector.
              (-[WebCoreFrameBridge replaceSelectionWithText:selectReplacement:smartReplace:]):
              Pass the range of the current selection as context when creating the fragment.
      
              * dom/Position.cpp: (WebCore::Position::inRenderedText): Replace range check with
              a call to the new containsCaretOffset function -- helps make the caret work right when
              it is past the end of the last line in a textarea.
      
              * editing/CompositeEditCommand.cpp:
              (WebCore::CompositeEditCommand::rebalanceWhitespaceAt): Don't do anything if the
              style does not call for collapsing whitespace.
              (WebCore::CompositeEditCommand::rebalanceWhitespace): Call replaceWhitespaceAt
              to share code, including the new logic mentioned above.
      
              * editing/InsertLineBreakCommand.cpp: (WebCore::InsertLineBreakCommand::doApply):
              Use a text node instead of a break element when inserting and the style is preserveNewline.
      
              * editing/JSEditor.cpp: (WebCore::execRemoveFormat): Pass the selection range
              to createFragmentFromText.
      
              * editing/RebalanceWhitespaceCommand.cpp: (WebCore::RebalanceWhitespaceCommand::doApply):
              Assert that we're in a style that collapses whitespace. It's the caller's responsibility
              not to call otherwise.
      
              * editing/ReplaceSelectionCommand.h: Removed unused destructor, type, isSingleTextNode,
              isTreeFragment, m_type, and added a context parameter to inertFragmentForTestRendering.
              Also changed the constructor to take a selection rather than a pointer to the root
              editable element, replaced removeEndBRIfNeeded with shouldRemoveEndBR and removed an
              unused parameter from shouldMergeEnd.
              * editing/ReplaceSelectionCommand.cpp:
              (WebCore::ReplacementFragment::ReplacementFragment): Removed code to set up m_type.
              Compute root editable element from passed-in selection. Used the start of the selection
              as a base node for style purposes for the test rendering. Removed the special case
              "single text node" alternative to createFragmentFromText in the plain text case, since
              createFragmentFromText now handles that correctly.
              (WebCore::ReplacementFragment::insertFragmentForTestRendering): Copy the whitespace
              property from the source location when creating a temporary element for test rendering.
              (WebCore::ReplacementFragment::shouldMergeEnd): Removed unneeded boolean
              parameter fragmentHadInterchangeNewlineAtEnd, which is always false.
              (WebCore::ReplaceSelectionCommand::doApply): Update for ReplacementFragment changes,
              change code to not remove end BR when it can be re-used instead, don't call the
              paragraph separator insertion when the position is at the start of a paragraph already,
              removed redundant computation of identical "next" value, removed unneeded boolean
              parameter to shouldMergeEnd, add case for merging when all we need to do is to delete
              a newline character, removed unneeded code to set insertionPos after all code that uses
              it, and  use spaces instead of non-breaking spaces when doing smart paste if the
              context is one where we do not collapse white space.
              (WebCore::ReplaceSelectionCommand::shouldRemoveEndBR): Renamed and changed to return
              a boolean instead of doing the removal.
      
              * editing/markup.h: Use Vector instead of DeprecatedPtrList. Change the
              createFragmentFromText function to take a range for context instead of a document.
              * editing/markup.cpp:
              (WebCore::markup): Use Vector instead of DeprecatedPtrList.
              (WebCore::createMarkup): Ditto.
              (WebCore::createParagraphContentsFromString): Remove unneeded document parameter
              and changed a couple places to use isEmpty instead of comparing with "".
              (WebCore::createFragmentFromText): Given the new context parameter, if the context
              is one that preserves newlines, then use "\n" instead of <br> elements.
              (WebCore::createFragmentFromNodes): Use Vector instead of DeprecatedPtrList.
      
              * html/HTMLElement.cpp: (WebCore::HTMLElement::setInnerText): Do not use <br>
              elements if the context of this node is one where we preserve newlines.
      
              * rendering/InlineTextBox.h:
              * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::containsCaretOffset):
              Added. Implements the appropriate rule for determining if a caret position is
              in this line or not. Returns true for both one line and the next in cases where
              affinity must be considered to determine which line the caret is on.
      
              * rendering/RenderText.h: Make atLineWrap no longer be a member function.
              * rendering/RenderText.cpp:
              (WebCore::atLineWrap): Remove special rule about preserveNewline and isLineBreak,
              which will no longer apply due to the new containsCaretOffset function logic.
              (WebCore::RenderText::caretRect): Use containsCaretOffset.
              (WebCore::RenderText::inlineBox): Ditto.
      
              * rendering/RenderTextControl.cpp:
              (WebCore::RenderTextControl::updateFromElement): Make a placeholder <br> element
              after calling setInnerText so that the last newline in the string has the effect
              we expect outside the HTML world (an additional line).
              (WebCore::RenderTextControl::setSelectionRange): Set granularity of the selection
              too. The layout tests caught this problem, which needs a better solution long term.
              (WebCore::RenderTextControl::text): Call textContent with the parameter false
              so it will not include newlines for <br> elements. Now the only <br> element
              that will ever be in the shadow DOM tree is the one to prevent collapsing, and
              that one should not show up in the text value.
      
              * rendering/bidi.cpp: (WebCore::RenderBlock::findNextLineBreak): Took a rule
              that specifically called out the pre whitespace mode and made it work for all
              the modes that preserve newlines. This makes sure we get a last line box for
              text after the last "\n" even in cases where there is no <br> afterward.
      
              * editing/DeleteSelectionCommand.cpp:
              (WebCore::DeleteSelectionCommand::fixupWhitespace):
              * editing/InsertParagraphSeparatorCommand.cpp:
              (WebCore::InsertParagraphSeparatorCommand::doApply):
              Added assertions to make sure we don't do anything when we're not collapsing
              whitespace.
      
              * html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::setDefaultValue):
              Changed to use Vector instead of DeprecatedPtrList.
      
              * editing/HTMLInterchange.cpp: Removed obsolete comment.
      
              * loader/Cache.h: Removed a stray include.
      
      WebKit:
      
              Reviewed by Adele and Justin.
      
              - update for change to require context when creating fragments from text
                (needed to handle whitespace properly)
      
              * WebView/WebHTMLView.m:
              (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:chosePlainText:]):
              Added context parameter, pass through to bridge.
              (-[WebHTMLView _pasteWithPasteboard:allowPlainText:]): Pass selection range as context
              when calling above method.
              (-[WebHTMLView concludeDragForDraggingInfo:actionMask:]): Pass drag caret as context when
              calling above method.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38ae534e
  9. 09 Jul, 2006 2 commits
    • darin's avatar
      Reviewed by Tim Hatcher. · f4b05b29
      darin authored
              - put more into the WebCore namespace
              - removed unused code for plain text fields
      
              Put more classes, class templates, enums, functions, and constants into
              the WebCore namespace, including all the headers in the platform directory.
      
              Removed lots of unneeded "WebCore::" qualifiers and "using" directives.
      
              Added some "WebCore::" qualifiers in a few places.
      
              Removed "uses WebCore::" in headers that we said we'd remove "when
              everything is in the WebCore namespace".
      
              * bindings/js/JSDOMParser.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              * bindings/js/JSXSLTProcessor.cpp:
              * bindings/js/kjs_binding.cpp:
              * bindings/js/kjs_css.cpp:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_events.cpp:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOM.mm:
              * bridge/History.h:
              * bridge/JavaAppletWidget.h:
              * bridge/mac/FormDataMac.h:
              * bridge/mac/FormDataMac.mm:
              * bridge/mac/WebCoreAXObject.mm:
              * bridge/mac/WebCoreEncodings.mm:
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreIconDatabaseBridge.mm:
              * bridge/mac/WebCorePageState.h:
              * bridge/mac/WebCoreScriptDebugger.mm:
              * bridge/mac/WebCoreSettings.h:
              * css/CSSGrammar.y:
              * css/CSSPageRule.cpp:
              * css/CSSPageRule.h:
              * css/MediaList.cpp:
              * css/cssstyleselector.h:
              * dom/Clipboard.h:
              * dom/Document.cpp:
              * dom/Document.h:
              * dom/EventTargetNode.h:
              * dom/Node.cpp:
              * dom/Node.h:
              * dom/Position.h:
              * dom/Range.cpp:
              * dom/XMLTokenizer.cpp:
              * editing/AppendNodeCommand.h:
              * editing/ApplyStyleCommand.cpp:
              * editing/BreakBlockquoteCommand.cpp:
              * editing/BreakBlockquoteCommand.h:
              * editing/CompositeEditCommand.cpp:
              * editing/CompositeEditCommand.h:
              * editing/CreateLinkCommand.h:
              * editing/DeleteFromTextNodeCommand.h:
              * editing/DeleteSelectionCommand.h:
              * editing/FormatBlockCommand.h:
              * editing/HTMLInterchange.cpp:
              * editing/HTMLInterchange.h:
              * editing/IndentOutdentCommand.h:
              * editing/InsertIntoTextNodeCommand.h:
              * editing/InsertLineBreakCommand.h:
              * editing/InsertListCommand.h:
              * editing/InsertNodeBeforeCommand.h:
              * editing/InsertTextCommand.cpp:
              * editing/InsertTextCommand.h:
              * editing/JSEditor.cpp:
              * editing/JSEditor.h:
              * editing/JoinTextNodesCommand.h:
              * editing/MergeIdenticalElementsCommand.cpp:
              * editing/MergeIdenticalElementsCommand.h:
              * editing/ModifySelectionListLevel.h:
              * editing/MoveSelectionCommand.h:
              * editing/RebalanceWhitespaceCommand.h:
              * editing/RemoveNodeAttributeCommand.h:
              * editing/RemoveNodeCommand.h:
              * editing/RemoveNodePreservingChildrenCommand.h:
              * editing/ReplaceSelectionCommand.h:
              * editing/SetNodeAttributeCommand.h:
              * editing/SplitElementCommand.cpp:
              * editing/SplitElementCommand.h:
              * editing/SplitTextNodeCommand.cpp:
              * editing/SplitTextNodeCommand.h:
              * editing/SplitTextNodeContainingElementCommand.h:
              * editing/TypingCommand.cpp:
              * editing/TypingCommand.h:
              * editing/UnlinkCommand.h:
              * editing/VisiblePosition.cpp:
              * editing/WrapContentsInDummySpanCommand.cpp:
              * editing/WrapContentsInDummySpanCommand.h:
              * editing/markup.cpp:
              * editing/markup.h:
              * html/HTMLAnchorElement.cpp:
              * html/HTMLBodyElement.cpp:
              * html/HTMLButtonElement.h:
              * html/HTMLCollection.h:
              * html/HTMLDocument.h:
              * html/HTMLEmbedElement.cpp:
              * html/HTMLFormElement.cpp:
              * html/HTMLFormElement.h:
              * html/HTMLFrameElement.cpp:
              * html/HTMLFrameSetElement.cpp:
              * html/HTMLKeygenElement.cpp:
              * html/HTMLLabelElement.cpp:
              * html/HTMLObjectElement.cpp:
              * html/HTMLObjectElement.h:
              * html/HTMLTableElement.cpp:
              * html/HTMLTablePartElement.cpp:
              * icon/IconDatabase.h:
              * kcanvas/KCanvasPath.h:
              * kcanvas/KCanvasResources.cpp:
              * kcanvas/KCanvasResources.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              * kcanvas/KCanvasTreeDebug.h:
              * kcanvas/RenderSVGContainer.cpp:
              * kcanvas/RenderSVGText.h:
              * kcanvas/device/KRenderingPaintServer.h:
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerSolid.cpp:
              * ksvg2/misc/SVGImageLoader.cpp:
              * ksvg2/svg/SVGElement.cpp:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGForeignObjectElement.cpp:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGPoint.h:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGTRefElement.cpp:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.cpp:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/svgpathparser.cpp:
              * ksvg2/svg/svgpathparser.h:
              * loader/Cache.h:
              * loader/DocLoader.h:
              * loader/LoaderFunctions.h:
              * loader/mac/LoaderFunctionsMac.mm:
              * page/Frame.h:
              * page/FrameView.h:
              * page/Page.h:
              * page/Settings.h:
              * platform/AffineTransform.cpp:
              * platform/AffineTransform.h:
              * platform/Arena.cpp:
              * platform/Arena.h:
              * platform/CookieJar.h:
              * platform/DeprecatedCString.cpp:
              * platform/DeprecatedCString.h:
              * platform/DeprecatedPtrList.h:
              * platform/DeprecatedPtrListImpl.cpp:
              * platform/DeprecatedPtrListImpl.h:
              * platform/DeprecatedPtrQueue.h:
              * platform/DeprecatedString.cpp:
              * platform/DeprecatedString.h:
              * platform/DeprecatedStringList.cpp:
              * platform/DeprecatedStringList.h:
              * platform/DeprecatedValueList.h:
              * platform/DeprecatedValueListImpl.cpp:
              * platform/DeprecatedValueListImpl.h:
              * platform/FileButton.h:
              * platform/FloatPoint.h:
              * platform/FloatRect.h:
              * platform/FloatSize.h:
              * platform/FontData.h:
              * platform/FontFallbackList.h:
              * platform/GraphicsContext.h:
              * platform/IntPoint.h:
              * platform/IntRect.h:
              * platform/IntSize.h:
              * platform/KURL.cpp:
              * platform/KURL.h:
              * platform/ListBox.h:
              * platform/Logging.cpp:
              * platform/Logging.h:
              * platform/Pen.h:
              * platform/PopUpButton.h:
              * platform/RegularExpression.cpp:
              * platform/RegularExpression.h:
              * platform/SSLKeyGenerator.h:
              * platform/ScrollBar.h:
              * platform/SegmentedString.h:
              * platform/Shared.h:
              * platform/Slider.h:
              * platform/StringImpl.h:
              * platform/TextBox.h:
              * platform/TextField.h:
              * platform/TextStream.cpp:
              * platform/TextStream.h:
              * platform/TransferJob.h:
              * platform/TransferJobClient.h:
              * platform/Widget.h:
              * platform/cg/AffineTransformCG.cpp:
              * platform/mac/ClipboardMac.h:
              * platform/mac/ClipboardMac.mm:
              * platform/mac/DeprecatedStringListMac.mm:
              * platform/mac/FontCacheMac.mm:
              * platform/mac/KURLMac.mm:
              * platform/mac/ListBoxMac.mm:
              * platform/mac/PopUpButtonMac.mm:
              * platform/mac/SSLKeyGeneratorMac.mm:
              * platform/mac/TextBoxMac.mm:
              * platform/mac/TextFieldMac.mm:
              * platform/mac/WebCoreTextArea.h:
              * platform/mac/WebCoreTextArea.mm:
              * platform/mac/WebCoreTextField.h:
              * platform/mac/WebCoreTextField.mm:
              * rendering/DeprecatedRenderSelect.h:
              * rendering/RenderArena.cpp:
              * rendering/RenderArena.h:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBox.cpp:
              * rendering/RenderContainer.cpp:
              * rendering/RenderFlexibleBox.cpp:
              * rendering/RenderFlow.cpp:
              * rendering/RenderLayer.cpp:
              * rendering/RenderLineEdit.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderStyle.cpp:
              * rendering/RenderStyle.h:
              * rendering/RenderText.cpp:
              * rendering/RenderTextFragment.cpp:
              * rendering/RenderTheme.h:
              * rendering/RenderTreeAsText.cpp:
              * rendering/RenderTreeAsText.h:
              * rendering/RenderView.h:
              * rendering/bidi.h:
              * xml/XSLStyleSheet.cpp:
              * xml/XSLTProcessor.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4b05b29
    • darin's avatar
      Rubber stamped by Maciej (kinda). · b53ebdcb
      darin authored
              - did the next pass of renaming (used do-webcore-rename script)
                this takes care of most of the remaining KWQ names (almost all)
      
              * WebCore+SVG/DOMList.h:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_window.cpp:
              * bindings/objc/DOMHTML.mm:
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * bridge/mac/WebCoreSettings.h:
              * bridge/mac/WebCoreSettings.mm:
              * bridge/win/FrameWin.cpp:
              * css/CSSPrimitiveValue.cpp:
              * css/CSSValueKeywords.in:
              * css/MediaQueryEvaluator.cpp:
              * css/cssparser.cpp:
              * css/cssstyleselector.cpp:
              * css/cssstyleselector.h:
              * dom/CharacterData.cpp:
              * dom/CharacterData.h:
              * dom/Document.cpp:
              * dom/Element.cpp:
              * dom/Element.h:
              * dom/EventTargetNode.cpp:
              * dom/EventTargetNode.h:
              * dom/Node.cpp:
              * dom/Node.h:
              * dom/Position.cpp:
              * dom/ProcessingInstruction.cpp:
              * dom/QualifiedName.cpp:
              * dom/QualifiedName.h:
              * dom/XMLTokenizer.cpp: Added.
              * dom/xml_tokenizer.cpp: Removed.
              * dom/xml_tokenizer.h: Removed.
              * editing/EditAction.h:
              * editing/HTMLInterchange.cpp:
              * editing/HTMLInterchange.h:
              * editing/Selection.h:
              * editing/SelectionController.h:
              * editing/TextAffinity.h:
              * editing/TextIterator.cpp:
              * editing/TextIterator.h:
              * editing/VisiblePosition.h:
              * editing/htmlediting.cpp:
              * editing/markup.cpp:
              * editing/markup.h:
              * editing/visible_units.cpp:
              * editing/visible_units.h:
              * html/HTMLDocument.cpp:
              * html/HTMLFontElement.cpp:
              * html/HTMLInputElement.cpp:
              * html/HTMLKeygenElement.cpp:
              * html/HTMLSelectElement.h:
              * html/HTMLTextAreaElement.cpp:
              * html/HTMLTextFieldInnerElement.cpp:
              * html/HTMLTokenizer.cpp:
              * html/HTMLTokenizer.h:
              * kcanvas/KCanvasContainer.cpp: Removed.
              * kcanvas/KCanvasContainer.h: Removed.
              * kcanvas/KCanvasCreator.cpp:
              * kcanvas/KCanvasFilters.cpp:
              * kcanvas/KCanvasFilters.h:
              * kcanvas/KCanvasMatrix.cpp:
              * kcanvas/KCanvasMatrix.h:
              * kcanvas/KCanvasPath.cpp:
              * kcanvas/KCanvasPath.h:
              * kcanvas/KCanvasResources.cpp:
              * kcanvas/KCanvasResources.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              * kcanvas/KCanvasTreeDebug.h:
              * kcanvas/RenderForeignObject.cpp:
              * kcanvas/RenderForeignObject.h:
              * kcanvas/RenderPath.cpp:
              * kcanvas/RenderPath.h:
              * kcanvas/RenderSVGContainer.cpp: Added.
              * kcanvas/RenderSVGContainer.h: Added.
              * kcanvas/RenderSVGImage.cpp:
              * kcanvas/RenderSVGImage.h:
              * kcanvas/RenderSVGText.cpp:
              * kcanvas/RenderSVGText.h:
              * kcanvas/device/KRenderingPaintServer.h:
              * kcanvas/device/KRenderingPaintServerGradient.cpp:
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerPattern.cpp:
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * kcanvas/device/KRenderingPaintServerSolid.cpp:
              * kcanvas/device/KRenderingPaintServerSolid.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              * kcanvas/device/quartz/KCanvasItemQuartz.h:
              * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
              * ksvg2/css/CSSValueKeywords.in:
              * ksvg2/css/SVGRenderStyleDefs.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              * ksvg2/misc/KSVGTimeScheduler.cpp:
              * ksvg2/svg/SVGAElement.cpp:
              * ksvg2/svg/SVGAnimateTransformElement.cpp:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGGElement.cpp:
              * ksvg2/svg/SVGHelper.cpp:
              * ksvg2/svg/SVGHelper.h:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGLinearGradientElement.cpp:
              * ksvg2/svg/SVGMarkerElement.cpp:
              * ksvg2/svg/SVGMaskElement.cpp:
              * ksvg2/svg/SVGMatrix.cpp:
              * ksvg2/svg/SVGMatrix.h:
              * ksvg2/svg/SVGPatternElement.cpp:
              * ksvg2/svg/SVGRadialGradientElement.cpp:
              * ksvg2/svg/SVGSVGElement.cpp:
              * ksvg2/svg/SVGStyledElement.h:
              * ksvg2/svg/SVGStyledTransformableElement.cpp:
              * ksvg2/svg/SVGStyledTransformableElement.h:
              * ksvg2/svg/SVGSwitchElement.cpp:
              * ksvg2/svg/SVGTextElement.cpp:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGUseElement.cpp:
              * kwq/AffineTransform.cpp: Added.
              * kwq/AffineTransform.h: Added.
              * kwq/DeprecatedCString.cpp: Added.
              * kwq/DeprecatedCString.h: Added.
              * kwq/DeprecatedPtrQueue.h: Added.
              * kwq/FileButton.h: Added.
              * kwq/FileButton.mm: Added.
              * kwq/FormDataMac.mm: Added.
              * kwq/KWQCString.cpp: Removed.
              * kwq/KWQCString.h: Removed.
              * kwq/KWQComboBox.h: Removed.
              * kwq/KWQComboBox.mm: Removed.
              * kwq/KWQEditCommand.h: Removed.
              * kwq/KWQEditCommand.mm: Removed.
              * kwq/KWQFileButton.h: Removed.
              * kwq/KWQFileButton.mm: Removed.
              * kwq/KWQFormData.h: Removed.
              * kwq/KWQFormData.mm: Removed.
              * kwq/KWQKHTMLSettings.h: Removed.
              * kwq/KWQKIOGlobal.h: Removed.
              * kwq/KWQKSSLKeyGen.h: Removed.
              * kwq/KWQKSSLKeyGen.mm: Removed.
              * kwq/KWQLineEdit.h: Removed.
              * kwq/KWQLineEdit.mm: Removed.
              * kwq/KWQListBox.h: Removed.
              * kwq/KWQListBox.mm: Removed.
              * kwq/KWQLoader.h: Removed.
              * kwq/KWQLoader.mm: Removed.
              * kwq/KWQPageState.h: Removed.
              * kwq/KWQPageState.mm: Removed.
              * kwq/KWQPtrQueue.h: Removed.
              * kwq/KWQResourceLoader.h: Removed.
              * kwq/KWQResourceLoader.mm: Removed.
              * kwq/KWQScrollBar.h: Removed.
              * kwq/KWQScrollBar.mm: Removed.
              * kwq/KWQSlider.h: Removed.
              * kwq/KWQSlider.mm: Removed.
              * kwq/KWQTextEdit.h: Removed.
              * kwq/KWQTextEdit.mm: Removed.
              * kwq/KWQTextStream.cpp: Removed.
              * kwq/KWQTextStream.h: Removed.
              * kwq/KWQWMatrix.cpp: Removed.
              * kwq/KWQWMatrix.h: Removed.
              * kwq/ListBox.h: Added.
              * kwq/ListBox.mm: Added.
              * kwq/LoaderFunctions.h: Added.
              * kwq/LoaderFunctions.mm: Added.
              * kwq/PopUpButton.h: Added.
              * kwq/PopUpButton.mm: Added.
              * kwq/SSLKeyGenerator.h: Added.
              * kwq/SSLKeyGenerator.mm: Added.
              * kwq/Settings.h: Added.
              * kwq/TextBox.h: Added.
              * kwq/TextBox.mm: Added.
              * kwq/TextField.h: Added.
              * kwq/TextField.mm: Added.
              * kwq/TextStream.cpp: Added.
              * kwq/TextStream.h: Added.
              * kwq/WebCoreEditCommand.h: Added.
              * kwq/WebCoreEditCommand.mm: Added.
              * kwq/WebCorePageState.h: Added.
              * kwq/WebCorePageState.mm: Added.
              * kwq/WebCoreResourceLoaderImp.h: Added.
              * kwq/WebCoreResourceLoaderImp.mm: Added.
              * kwq/WebCoreScrollBar.h: Added.
              * kwq/WebCoreScrollBar.mm: Added.
              * kwq/WebCoreSlider.h: Added.
              * kwq/WebCoreSlider.mm: Added.
              * loader/Cache.h:
              * loader/CachedCSSStyleSheet.cpp:
              * loader/CachedImage.cpp:
              * loader/CachedObject.h:
              * loader/CachedObjectClientWalker.h:
              * loader/CachedResource.h:
              * loader/CachedResourceClientWalker.h:
              * loader/CachedScript.h:
              * loader/CachedXBLDocument.h:
              * loader/Decoder.h:
              * loader/DocLoader.cpp:
              * loader/DocLoader.h:
              * loader/FormData.h:
              * loader/ImageDocument.cpp:
              * loader/PluginDocument.cpp:
              * loader/TextDocument.cpp:
              * loader/loader.cpp:
              * loader/loader.h:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/Page.cpp:
              * page/Page.h:
              * platform/DeprecatedPtrList.h:
              * platform/DeprecatedPtrListImpl.cpp:
              * platform/DeprecatedPtrListImpl.h:
              * platform/DeprecatedString.cpp:
              * platform/DeprecatedString.h:
              * platform/DeprecatedStringList.cpp:
              * platform/DeprecatedStringList.h:
              * platform/DeprecatedValueList.h:
              * platform/DeprecatedValueListImpl.cpp:
              * platform/DeprecatedValueListImpl.h:
              * platform/FloatSize.h:
              * platform/Font.cpp:
              * platform/KURL.cpp:
              * platform/RegularExpression.cpp:
              * platform/RegularExpression.h:
              * platform/SegmentedString.h:
              * platform/StreamingTextDecoder.cpp:
              * platform/String.cpp:
              * platform/StringImpl.cpp:
              * platform/TextEncoding.cpp:
              * platform/TransferJob.cpp:
              * platform/TransferJob.h:
              * platform/TransferJobInternal.h:
              * platform/gdk/FrameGdk.cpp:
              * platform/gdk/TemporaryLinkStubs.cpp:
              * platform/mac/ClipboardMac.h:
              * platform/mac/ClipboardMac.mm:
              * platform/mac/CursorMac.mm:
              * platform/mac/DeprecatedStringMac.mm: Added.
              * platform/mac/FontCacheMac.mm:
              * platform/mac/FontMac.mm:
              * platform/mac/FoundationExtras.h:
              * platform/mac/ImageMac.mm:
              * platform/mac/KURLMac.mm:
              * platform/mac/MouseEventMac.mm: Removed.
              * platform/mac/QStringListMac.mm: Removed.
              * platform/mac/QStringMac.mm: Removed.
              * platform/mac/TransferJobMac.mm:
              * platform/mac/WebCoreTextArea.h:
              * platform/mac/WebCoreTextArea.mm:
              * platform/mac/WebCoreTextField.h:
              * platform/mac/WebCoreTextField.mm:
              * platform/mac/WidgetMac.mm:
              * platform/win/TemporaryLinkStubs.cpp:
              * rendering/DataRef.h:
              * rendering/DeprecatedRenderSelect.cpp:
              * rendering/DeprecatedRenderSelect.h:
              * rendering/DeprecatedSlider.cpp:
              * rendering/InlineFlowBox.cpp:
              * rendering/RenderApplet.cpp:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBlock.h:
              * rendering/RenderContainer.cpp:
              * rendering/RenderFileButton.cpp:
              * rendering/RenderFlexibleBox.cpp:
              * rendering/RenderFlow.cpp:
              * rendering/RenderFormElement.cpp:
              * rendering/RenderFrameSet.cpp:
              * rendering/RenderFrameSet.h:
              * rendering/RenderImage.cpp:
              * rendering/RenderInline.cpp:
              * rendering/RenderLayer.cpp:
              * rendering/RenderLayer.h:
              * rendering/RenderLineEdit.cpp:
              * rendering/RenderListItem.cpp:
              * rendering/RenderListMarker.cpp:
              * rendering/RenderObject.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderPartObject.cpp:
              * rendering/RenderReplaced.cpp:
              * rendering/RenderStyle.cpp: Added.
              * rendering/RenderStyle.h: Added.
              * rendering/RenderTable.cpp:
              * rendering/RenderTable.h:
              * rendering/RenderTableCell.cpp:
              * rendering/RenderTableCell.h:
              * rendering/RenderTableCol.cpp:
              * rendering/RenderTableCol.h:
              * rendering/RenderTableRow.cpp:
              * rendering/RenderTableSection.cpp:
              * rendering/RenderTableSection.h:
              * rendering/RenderText.cpp:
              * rendering/RenderText.h:
              * rendering/RenderTextArea.cpp:
              * rendering/RenderTextControl.cpp: Added.
              * rendering/RenderTextControl.h: Added.
              * rendering/RenderTextField.cpp: Removed.
              * rendering/RenderTextField.h: Removed.
              * rendering/RenderTheme.cpp:
              * rendering/RenderThemeMac.mm:
              * rendering/RenderTreeAsText.cpp:
              * rendering/RenderTreeAsText.h:
              * rendering/RenderView.cpp:
              * rendering/RenderWidget.cpp:
              * rendering/bidi.cpp:
              * rendering/render_style.cpp: Removed.
              * rendering/render_style.h: Removed.
              * xml/XSLStyleSheet.cpp:
              * xml/XSLTProcessor.cpp:
              * xml/xmlhttprequest.cpp:
              * xpath/impl/XPathParser.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b53ebdcb
  10. 09 May, 2006 1 commit
    • mjs's avatar
      JavaScriptCore: · bb863518
      mjs authored
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * bindings/c/c_instance.cpp:
              * bindings/objc/WebScriptObject.mm:
              * kjs/JSImmediate.h:
              * kjs/Parser.cpp:
              * kjs/Parser.h:
              * kjs/array_object.cpp:
              * kjs/collector.cpp:
              (KJS::Collector::registerThread):
              * kjs/collector.h:
              * kjs/config.h:
              * kjs/function.cpp:
              (KJS::isStrWhiteSpace):
              * kjs/function.h:
              * kjs/identifier.cpp:
              * kjs/internal.cpp:
              * kjs/internal.h:
              * kjs/lexer.cpp:
              (Lexer::shift):
              (Lexer::isWhiteSpace):
              (Lexer::isIdentStart):
              (Lexer::isIdentPart):
              * kjs/lookup.cpp:
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/number_object.cpp:
              * kjs/object.h:
              * kjs/property_map.cpp:
              * kjs/property_map.h:
              * kjs/string_object.cpp:
              (StringProtoFunc::callAsFunction):
              * kjs/testkjs.cpp:
              (testIsInteger):
              * kjs/ustring.cpp:
              * kjs/ustring.h:
              * kxmlcore: Removed.
              * kxmlcore/AlwaysInline.h: Removed.
              * kxmlcore/Assertions.cpp: Removed.
              * kxmlcore/Assertions.h: Removed.
              * kxmlcore/FastMalloc.cpp: Removed.
              * kxmlcore/FastMalloc.h: Removed.
              * kxmlcore/FastMallocInternal.h: Removed.
              * kxmlcore/Forward.h: Removed.
              * kxmlcore/HashCountedSet.h: Removed.
              * kxmlcore/HashFunctions.h: Removed.
              * kxmlcore/HashMap.h: Removed.
              * kxmlcore/HashSet.h: Removed.
              * kxmlcore/HashTable.cpp: Removed.
              * kxmlcore/HashTable.h: Removed.
              * kxmlcore/HashTraits.h: Removed.
              * kxmlcore/ListRefPtr.h: Removed.
              * kxmlcore/Noncopyable.h: Removed.
              * kxmlcore/OwnArrayPtr.h: Removed.
              * kxmlcore/OwnPtr.h: Removed.
              * kxmlcore/PassRefPtr.h: Removed.
              * kxmlcore/Platform.h: Removed.
              * kxmlcore/RefPtr.h: Removed.
              * kxmlcore/TCPageMap.h: Removed.
              * kxmlcore/TCSpinLock.h: Removed.
              * kxmlcore/TCSystemAlloc.cpp: Removed.
              * kxmlcore/TCSystemAlloc.h: Removed.
              * kxmlcore/UnusedParam.h: Removed.
              * kxmlcore/Vector.h: Removed.
              * kxmlcore/VectorTraits.h: Removed.
              * kxmlcore/unicode: Removed.
              * kxmlcore/unicode/Unicode.h: Removed.
              * kxmlcore/unicode/UnicodeCategory.h: Removed.
              * kxmlcore/unicode/icu: Removed.
              * kxmlcore/unicode/icu/UnicodeIcu.h: Removed.
              * kxmlcore/unicode/posix: Removed.
              * kxmlcore/unicode/qt3: Removed.
              * kxmlcore/unicode/qt4: Removed.
              * kxmlcore/unicode/qt4/UnicodeQt4.h: Removed.
              * pcre/pcre_get.c:
              * wtf: Added.
              * wtf/Assertions.cpp:
              * wtf/Assertions.h:
              * wtf/FastMalloc.cpp:
              (WTF::TCMalloc_ThreadCache::Scavenge):
              (WTF::do_malloc):
              (WTF::do_free):
              (WTF::TCMallocGuard::TCMallocGuard):
              (WTF::malloc):
              (WTF::free):
              (WTF::calloc):
              (WTF::cfree):
              (WTF::realloc):
              * wtf/FastMalloc.h:
              * wtf/FastMallocInternal.h:
              * wtf/Forward.h:
              * wtf/HashCountedSet.h:
              * wtf/HashFunctions.h:
              * wtf/HashMap.h:
              * wtf/HashSet.h:
              * wtf/HashTable.cpp:
              * wtf/HashTable.h:
              * wtf/HashTraits.h:
              * wtf/ListRefPtr.h:
              * wtf/Noncopyable.h:
              * wtf/OwnArrayPtr.h:
              * wtf/OwnPtr.h:
              * wtf/PassRefPtr.h:
              * wtf/RefPtr.h:
              * wtf/TCSystemAlloc.cpp:
              (TCMalloc_SystemAlloc):
              * wtf/Vector.h:
              * wtf/VectorTraits.h:
              * wtf/unicode/UnicodeCategory.h:
              * wtf/unicode/icu/UnicodeIcu.h:
      
      JavaScriptGlue:
      
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * config.h:
              * kxmlcore: Removed.
              * kxmlcore/AlwaysInline.h: Removed.
              * kxmlcore/Assertions.h: Removed.
              * kxmlcore/FastMalloc.h: Removed.
              * kxmlcore/Forward.h: Removed.
              * kxmlcore/HashCountedSet.h: Removed.
              * kxmlcore/HashSet.h: Removed.
              * kxmlcore/Noncopyable.h: Removed.
              * kxmlcore/OwnArrayPtr.h: Removed.
              * kxmlcore/OwnPtr.h: Removed.
              * kxmlcore/PassRefPtr.h: Removed.
              * kxmlcore/Platform.h: Removed.
              * kxmlcore/RefPtr.h: Removed.
              * kxmlcore/Vector.h: Removed.
              * wtf: Added.
      
      WebCore:
      
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * ForwardingHeaders/kxmlcore: Removed.
              * ForwardingHeaders/kxmlcore/AlwaysInline.h: Removed.
              * ForwardingHeaders/kxmlcore/Assertions.h: Removed.
              * ForwardingHeaders/kxmlcore/FastMalloc.h: Removed.
              * ForwardingHeaders/kxmlcore/Forward.h: Removed.
              * ForwardingHeaders/kxmlcore/HashCountedSet.h: Removed.
              * ForwardingHeaders/kxmlcore/HashMap.h: Removed.
              * ForwardingHeaders/kxmlcore/HashSet.h: Removed.
              * ForwardingHeaders/kxmlcore/HashTraits.h: Removed.
              * ForwardingHeaders/kxmlcore/Noncopyable.h: Removed.
              * ForwardingHeaders/kxmlcore/OwnArrayPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/OwnPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/PassRefPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/Platform.h: Removed.
              * ForwardingHeaders/kxmlcore/RefPtr.h: Removed.
              * ForwardingHeaders/kxmlcore/Vector.h: Removed.
              * ForwardingHeaders/wtf: Added.
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/kjs_binding.cpp:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOMImplementationFront.h:
              * bridge/JavaAppletWidget.h:
              * bridge/mac/WebCoreFrameNamespaces.mm:
              * bridge/mac/WebCorePageBridge.mm:
              (initializeLogChannel):
              * bridge/mac/WebCoreStringTruncator.mm:
              * bridge/mac/WebCoreViewFactory.m:
              * config.h:
              * css/css_base.h:
              * css/css_valueimpl.h:
              * css/csshelper.cpp:
              * css/cssparser.h:
              * dom/DOMImplementation.h:
              * dom/Document.h:
              * dom/NamedNodeMap.h:
              * dom/Node.h:
              * dom/NodeList.h:
              * dom/QualifiedName.cpp:
              * dom/Range.h:
              * dom/StyledElement.cpp:
              * dom/dom2_traversalimpl.h:
              * dom/xml_tokenizer.h:
              * editing/RebalanceWhitespaceCommand.cpp:
              * editing/RemoveCSSPropertyCommand.cpp:
              * editing/RemoveNodeAttributeCommand.cpp:
              * editing/RemoveNodeCommand.cpp:
              * editing/RemoveNodePreservingChildrenCommand.cpp:
              * editing/ReplaceSelectionCommand.h:
              * editing/Selection.cpp:
              * editing/SetNodeAttributeCommand.cpp:
              * editing/SplitElementCommand.cpp:
              * editing/SplitTextNodeCommand.cpp:
              * editing/SplitTextNodeContainingElementCommand.cpp:
              * editing/TextIterator.h:
              * editing/htmlediting.h:
              * editing/markup.h:
              * html/CanvasGradient.h:
              * html/CanvasRenderingContext2D.h:
              * html/CanvasStyle.cpp:
              * html/HTMLCollection.h:
              * html/HTMLElementFactory.h:
              * kcanvas/KCanvasFilters.cpp:
              * kcanvas/KCanvasPath.h:
              * kcanvas/RenderPath.cpp:
              * kcanvas/RenderSVGImage.cpp:
              * kcanvas/RenderSVGText.cpp:
              * kcanvas/device/quartz/KCanvasItemQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              * kcanvas/device/quartz/QuartzSupport.mm:
              * ksvg2/misc/KSVGTimeScheduler.h:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/scripts/make_names.pl:
              * ksvg2/svg/SVGDOMImplementation.cpp:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
              * ksvg2/svg/SVGForeignObjectElement.cpp:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGMaskElement.cpp:
              * ksvg2/svg/SVGStyledElement.cpp:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransformable.cpp:
              * kwq/AccessibilityObjectCache.h:
              * kwq/KWQCString.cpp:
              * kwq/KWQFormData.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQResourceLoader.mm:
              * kwq/KWQTextEdit.mm:
              * loader/Cache.h:
              * loader/CachedObject.h:
              * loader/CachedObjectClientWalker.h:
              * loader/Decoder.h:
              * loader/DocLoader.h:
              * loader/loader.cpp:
              * loader/loader.h:
              * page/DOMWindow.h:
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameTree.cpp:
              * page/Page.cpp:
              * page/Page.h:
              * page/Plugin.h:
              * platform/Arena.cpp:
              * platform/ArrayImpl.h:
              * platform/AtomicString.cpp:
              * platform/CharsetNames.cpp:
              * platform/Color.cpp:
              * platform/DeprecatedPtrListImpl.cpp:
              * platform/DeprecatedValueListImpl.h:
              * platform/FontFallbackList.h:
              * platform/GraphicsContext.h:
              * platform/GraphicsTypes.cpp:
              * platform/Image.h:
              * platform/KURL.cpp:
              * platform/Logging.cpp:
              * platform/Logging.h:
              * platform/PlatformString.h:
              * platform/PlugInInfoStore.h:
              * platform/StreamingTextDecoder.cpp:
              * platform/StreamingTextDecoder.h:
              * platform/String.cpp:
              * platform/StringHash.h:
              * platform/StringImpl.cpp:
              * platform/StringImpl.h:
              * platform/TextEncoding.cpp:
              * platform/Timer.cpp:
              * platform/Timer.h:
              * platform/TransferJob.h:
              * platform/TransferJobInternal.h:
              * platform/mac/BlockExceptions.mm:
              * platform/mac/ColorMac.mm:
              * platform/mac/FontData.mm:
              * platform/mac/KURLMac.mm:
              * platform/mac/QStringMac.mm:
              * platform/mac/SharedTimerMac.cpp:
              * platform/mac/TextEncodingMac.cpp:
              * platform/mac/WebCoreImageRendererFactory.m:
              * platform/mac/WebCoreKeyGenerator.m:
              * platform/mac/WebCoreTextArea.mm:
              * platform/mac/WebCoreTextField.mm:
              * platform/mac/WebTextRendererFactory.h:
              * platform/mac/WebTextRendererFactory.mm:
              * platform/win/TemporaryLinkStubs.cpp:
              (JavaAppletWidget::JavaAppletWidget):
              * rendering/InlineTextBox.cpp:
              * rendering/RenderText.cpp:
              * rendering/RenderTreeAsText.cpp:
              * rendering/bidi.cpp:
              * xml/XSLTProcessor.h:
              * xpath/impl/XPathExpressionNode.h:
              * xpath/impl/XPathParser.h:
              * xpath/impl/XPathPath.h:
              * xpath/impl/XPathUtil.h:
      
      WebKit:
      
              Rubber stamped by Anders.
              
              - renamed kxmlcore to wtf
              
              kxmlcore --> wtf
              KXMLCore --> WTF
              WKC --> WTF
      
              * Misc/WebKitLogging.h:
              * Misc/WebKitLogging.m:
              (initializeLogChannel):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb863518
  11. 11 Apr, 2006 1 commit
    • darin's avatar
      JavaScriptCore: · 36d1136a
      darin authored
              Rubber-stamped by John Sullivan.
      
              - switched from a shell script to a makefile for generated files
              - removed lots of unneeded includes
              - added new Forward.h and HashForward.h headers that allow compiling with
                fewer unneeded templates
      
              * DerivedSources.make: Added.
              * generate-derived-sources: Removed.
              * JavaScriptCore.xcodeproj/project.pbxproj: Added new files, changed to use
              DerivedSources.make.
      
              * kxmlcore/Forward.h: Added.
              * kxmlcore/HashForward.h: Added.
      
              * kxmlcore/HashCountedSet.h: Include HashForward for default args.
              * kxmlcore/HashMap.h: Ditto.
              * kxmlcore/HashSet.h: Ditto.
      
              * kjs/object.h:
              * kjs/object.cpp:
              Moved KJS_MAX_STACK into the .cpp file.
      
              * bindings/NP_jsobject.cpp:
              * bindings/c/c_instance.h:
              * bindings/jni/jni_class.h:
              * bindings/jni/jni_runtime.h:
              * bindings/jni/jni_utility.h:
              * bindings/objc/WebScriptObject.mm:
              * bindings/objc/WebScriptObjectPrivate.h:
              * bindings/objc/objc_class.h:
              * bindings/objc/objc_class.mm:
              * bindings/objc/objc_instance.h:
              * bindings/objc/objc_instance.mm:
              * bindings/objc/objc_runtime.mm:
              * bindings/objc/objc_utility.mm:
              * bindings/runtime.h:
              * bindings/runtime_array.cpp:
              * bindings/runtime_array.h:
              * bindings/runtime_method.cpp:
              * bindings/runtime_method.h:
              * bindings/runtime_object.cpp:
              * bindings/runtime_root.h:
              * kjs/JSImmediate.cpp:
              * kjs/Parser.h:
              * kjs/array_object.cpp:
              * kjs/array_object.h:
              * kjs/bool_object.cpp:
              * kjs/bool_object.h:
              * kjs/collector.h:
              * kjs/context.h:
              * kjs/debugger.cpp:
              * kjs/error_object.h:
              * kjs/function_object.h:
              * kjs/internal.h:
              * kjs/lexer.cpp:
              * kjs/math_object.cpp:
              * kjs/math_object.h:
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/number_object.cpp:
              * kjs/number_object.h:
              * kjs/object_object.cpp:
              * kjs/operations.cpp:
              * kjs/protected_reference.h:
              * kjs/reference.h:
              * kjs/reference_list.h:
              * kjs/regexp_object.h:
              * kjs/string_object.cpp:
              * kjs/string_object.h:
              * kjs/testkjs.cpp:
              * kjs/value.cpp:
              * kjs/value.h:
              * kxmlcore/HashTable.h:
              * kxmlcore/ListRefPtr.h:
              * kxmlcore/TCPageMap.h:
              * kxmlcore/Vector.h:
              Removed unneeded header includes.
      
      JavaScriptGlue:
      
              Rubber-stamped by John Sullivan.
      
              - added forwarding headers for the new Forward.h and HashForward.h files
      
              * kxmlcore/Forward.h: Added.
              * kxmlcore/HashForward.h: Added.
      
      WebCore:
      
              Rubber-stamped by John Sullivan (except for pbxproj change).
      
              - updated to use the new Forward.h and HashForward.h headers
              - moved the showTree debugging functions out of the WebCore
                namespace so they are easier to call from gdb, and renamed
                the showTree member functions so they don't get in the way;
                now you can do "call showTree(x)" in gdb and it just works
              - removed a lot of unneeded includes
      
              * WebCore.xcodeproj/project.pbxproj: Fixed a lot of paths that
              were not relative to the enclosing group.
      
              * ForwardingHeaders/kxmlcore/Forward.h: Added.
              * ForwardingHeaders/kxmlcore/HashForward.h: Added.
              * bindings/js/JSCanvasRenderingContext2DBase.cpp:
              * bindings/js/JSXMLHttpRequest.cpp:
              * bindings/js/JSXMLHttpRequest.h:
              * bindings/js/JSXSLTProcessor.h:
              * bindings/js/kjs_binding.h:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_events.cpp:
              * bindings/js/kjs_events.h:
              * bindings/js/kjs_html.cpp:
              * bindings/js/kjs_navigator.cpp:
              * bindings/js/kjs_navigator.h:
              * bindings/js/kjs_proxy.cpp:
              * bindings/js/kjs_traversal.h:
              * bindings/js/kjs_window.cpp:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOM.mm:
              * bindings/objc/DOMCSS.mm:
              * bindings/objc/DOMCore.h:
              * bindings/objc/DOMEvents.mm:
              * bindings/objc/DOMHTML.mm:
              * bindings/objc/DOMImplementationFront.h:
              * bindings/objc/DOMInternal.mm:
              * bindings/objc/DOMUtility.mm:
              * bindings/objc/DOMViews.mm:
              * bridge/BrowserExtension.h:
              * bridge/mac/BrowserExtensionMac.mm:
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * bridge/mac/WebCoreFrameNamespaces.mm:
              * bridge/mac/WebCoreJavaScript.mm:
              * bridge/win/PageWin.cpp:
              * css/CSSComputedStyleDeclaration.cpp:
              * css/css_base.h:
              * css/css_ruleimpl.h:
              * css/css_valueimpl.cpp:
              * css/cssparser.cpp:
              * css/cssparser.h:
              * css/cssstyleselector.cpp:
              * css/cssstyleselector.h:
              * dom/AbstractView.h:
              * dom/AtomicStringList.h:
              * dom/Attribute.cpp:
              * dom/Attribute.h:
              * dom/Comment.cpp:
              * dom/ContainerNode.cpp:
              * dom/DOMImplementation.cpp:
              * dom/DOMImplementation.h:
              * dom/Document.cpp:
              * dom/Document.h:
              * dom/Element.h:
              * dom/EventTargetNode.cpp:
              (WebCore::EventTargetNode::dump):
              (WebCore::forbidEventDispatch):
              (WebCore::allowEventDispatch):
              (WebCore::eventDispatchForbidden):
              * dom/EventTargetNode.h:
              (WebCore::EventTargetNode::postDispatchEventHandler):
              * dom/NamedAttrMap.h:
              * dom/Node.cpp:
              (WebCore::Node::showNode):
              (WebCore::Node::showTree):
              (WebCore::Node::showTreeAndMark):
              (showTree):
              * dom/Node.h:
              * dom/NodeList.cpp:
              * dom/NodeList.h:
              * dom/Position.cpp:
              (showTree):
              * dom/Position.h:
              * dom/Range.cpp:
              * dom/Range.h:
              * dom/StyledElement.cpp:
              * dom/StyledElement.h:
              * dom/dom2_eventsimpl.cpp:
              * dom/dom2_eventsimpl.h:
              * dom/dom2_traversalimpl.h:
              * dom/dom_xmlimpl.cpp:
              * dom/xml_tokenizer.cpp:
              * dom/xml_tokenizer.h:
              * editing/AppendNodeCommand.cpp:
              * editing/ApplyStyleCommand.cpp:
              * editing/ApplyStyleCommand.h:
              * editing/BreakBlockquoteCommand.cpp:
              * editing/CompositeEditCommand.cpp:
              * editing/CreateLinkCommand.cpp:
              * editing/DeleteFromTextNodeCommand.cpp:
              * editing/DeleteFromTextNodeCommand.h:
              * editing/DeleteSelectionCommand.cpp:
              * editing/EditCommand.cpp:
              * editing/EditCommand.h:
              * editing/HTMLInterchange.cpp:
              * editing/InsertIntoTextNodeCommand.cpp:
              * editing/InsertIntoTextNodeCommand.h:
              * editing/InsertLineBreakCommand.cpp:
              * editing/InsertNodeBeforeCommand.cpp:
              * editing/InsertParagraphSeparatorCommand.cpp:
              * editing/InsertTextCommand.cpp:
              * editing/JSEditor.cpp:
              * editing/JoinTextNodesCommand.cpp:
              * editing/MergeIdenticalElementsCommand.cpp:
              * editing/ModifySelectionListLevelCommand.cpp:
              * editing/MoveSelectionCommand.cpp:
              * editing/RebalanceWhitespaceCommand.h:
              * editing/RemoveCSSPropertyCommand.h:
              * editing/ReplaceSelectionCommand.cpp:
              * editing/ReplaceSelectionCommand.h:
              * editing/Selection.cpp:
              (WebCore::Selection::formatForDebugger):
              (WebCore::Selection::showTree):
              (showTree):
              * editing/Selection.h:
              * editing/SelectionController.cpp:
              (WebCore::SelectionController::formatForDebugger):
              (WebCore::SelectionController::showTree):
              (showTree):
              * editing/SelectionController.h:
              * editing/TextIterator.cpp:
              * editing/TextIterator.h:
              * editing/TypingCommand.cpp:
              * editing/TypingCommand.h:
              * editing/UnlinkCommand.cpp:
              * editing/VisiblePosition.cpp:
              (WebCore::isEqualIgnoringAffinity):
              (WebCore::VisiblePosition::formatForDebugger):
              (WebCore::VisiblePosition::showTree):
              (showTree):
              * editing/VisiblePosition.h:
              (WebCore::VisiblePosition::VisiblePosition):
              (WebCore::operator==):
              * editing/WrapContentsInDummySpanCommand.cpp:
              * editing/htmlediting.h:
              * editing/markup.cpp:
              * editing/markup.h:
              (WebCore::):
              * editing/visible_units.cpp:
              * html/CanvasGradient.cpp:
              * html/CanvasRenderingContext2D.h:
              * html/CanvasStyle.cpp:
              * html/CanvasStyle.h:
              * html/FormDataList.cpp:
              * html/FormDataList.h:
              * html/HTMLCollection.cpp:
              * html/HTMLCollection.h:
              * html/HTMLDocument.cpp:
              * html/HTMLDocument.h:
              * html/HTMLElement.cpp:
              * html/HTMLElementFactory.cpp:
              * html/HTMLElementFactory.h:
              * html/HTMLFormCollection.cpp:
              * html/HTMLFormElement.cpp:
              * html/HTMLFormElement.h:
              * html/HTMLInputElement.cpp:
              * html/HTMLParser.cpp:
              * html/HTMLSelectElement.cpp:
              * html/HTMLSelectElement.h:
              * html/HTMLTokenizer.cpp:
              * html/HTMLTokenizer.h:
              * html/html_baseimpl.cpp:
              * html/html_headimpl.h:
              * kcanvas/KCanvasCreator.cpp:
              * kcanvas/KCanvasFilters.h:
              * kcanvas/KCanvasPath.h:
              * kcanvas/KCanvasResources.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              * kcanvas/RenderPath.cpp:
              * kcanvas/RenderPath.h:
              * kcanvas/device/KRenderingDevice.h:
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * kcanvas/device/KRenderingPaintServerSolid.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              * kcanvas/device/quartz/KCanvasMaskerQuartz.h:
              * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
              * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
              * khtml/misc/decoder.cpp:
              * khtml/misc/decoder.h:
              * khtml/xsl/XSLStyleSheet.cpp:
              * khtml/xsl/XSLTProcessor.cpp:
              * khtml/xsl/XSLTProcessor.h:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/ecma/GlobalObject.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimatedColor.h:
              * ksvg2/svg/SVGAnimatedLengthList.h:
              * ksvg2/svg/SVGAnimatedNumberList.h:
              * ksvg2/svg/SVGAnimatedString.h:
              * ksvg2/svg/SVGAnimatedTransformList.h:
              * ksvg2/svg/SVGAnimationElement.h:
              * ksvg2/svg/SVGColor.h:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGHelper.h:
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGList.h:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGPathSeg.h:
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGSVGElement.cpp:
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGStringList.h:
              * ksvg2/svg/SVGTransform.h:
              * kwq/AccessibilityObjectCache.mm:
              * kwq/ClipboardMac.mm:
              * kwq/JavaAppletWidget.mm:
              * kwq/KWQComboBox.mm:
              * kwq/KWQEditCommand.mm:
              * kwq/KWQFileButton.mm:
              * kwq/KWQKHTMLSettings.h:
              * kwq/KWQKSSLKeyGen.mm:
              * kwq/KWQLoader.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQTextEdit.mm:
              * kwq/RegularExpression.h:
              * kwq/RenderTreeAsText.cpp:
              * kwq/RenderTreeAsText.h:
              * kwq/WebCoreAXObject.mm:
              * loader/Cache.cpp:
              * loader/Cache.h:
              * loader/CachedCSSStyleSheet.cpp:
              * loader/CachedObject.h:
              * loader/CachedScript.cpp:
              * loader/CachedXBLDocument.cpp:
              * loader/CachedXBLDocument.h:
              * loader/CachedXSLStyleSheet.cpp:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocLoader.cpp:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameTree.cpp:
              * page/FrameTree.h:
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/Page.cpp:
              * page/Page.h:
              * page/Plugin.h:
              (WebCore::Plugin::Plugin):
              (WebCore::Plugin::view):
              * platform/Color.cpp:
              * platform/FloatRect.h:
              * platform/Font.cpp:
              * platform/Font.h:
              * platform/FontFamily.cpp:
              * platform/GraphicsContext.cpp:
              * platform/Image.cpp:
              * platform/Image.h:
              * platform/IntRect.h:
              * platform/KURL.cpp:
              * platform/KURL.h:
              * platform/SegmentedString.h:
              * platform/Shared.h:
              * platform/StreamingTextDecoder.cpp:
              * platform/StringImpl.cpp:
              * platform/StringImpl.h:
              * platform/TextEncoding.h:
              * platform/Timer.cpp:
              * platform/Timer.h:
              * platform/TransferJob.cpp:
              * platform/TransferJob.h:
              * platform/TransferJobInternal.h:
              * platform/cairo/GraphicsContextCairo.cpp:
              * platform/cairo/ImageCairo.cpp:
              * platform/cairo/ImageSourceCairo.cpp:
              * platform/image-decoders/gif/GIFImageReader.cpp:
              * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
              * platform/mac/FontFamilyMac.mm:
              * platform/mac/FontMac.mm:
              * platform/mac/ImageMac.mm:
              * platform/mac/TextEncodingMac.cpp:
              * platform/mac/TransferJobMac.mm:
              * platform/win/FontPlatformDataWin.cpp:
              * platform/win/TransferJobWin.cpp:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBlock.h:
              * rendering/RenderBox.cpp:
              * rendering/RenderBox.h:
              * rendering/RenderCanvas.cpp:
              * rendering/RenderCanvas.h:
              * rendering/RenderContainer.cpp:
              * rendering/RenderFlexibleBox.h:
              * rendering/RenderFlow.cpp:
              * rendering/RenderFlow.h:
              * rendering/RenderImage.cpp:
              * rendering/RenderImage.h:
              * rendering/RenderLayer.cpp:
              * rendering/RenderLayer.h:
              * rendering/RenderObject.cpp:
              (showTree):
              * rendering/RenderObject.h:
              * rendering/RenderTableCell.h:
              * rendering/RenderTableSection.h:
              * rendering/RenderText.cpp:
              * rendering/RenderText.h:
              * rendering/RenderTextField.cpp:
              * rendering/RenderTextFragment.h:
              * rendering/RenderTheme.h:
              * rendering/RenderThemeMac.mm:
              * rendering/RenderThemeWin.cpp:
              * rendering/bidi.cpp:
              * rendering/render_form.h:
              * rendering/render_line.cpp:
              (showTree):
              * rendering/render_line.h:
              * rendering/render_list.cpp:
              * rendering/render_replaced.cpp:
              * rendering/render_replaced.h:
              * rendering/render_style.cpp:
              * rendering/render_style.h:
              * xml/xmlhttprequest.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      36d1136a
  12. 22 Mar, 2006 1 commit
    • eseidel's avatar
      2006-03-22 Eric Seidel <eseidel@apple.com> · cff0a728
      eseidel authored
              Reviewed by darin.
      
              Replace more DeprecatedString with String.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=7907
      
              * WebCore+SVG/kdom.h:
              * bindings/objc/DOMHTML.mm:
              (-[DOMHTMLDocument _createDocumentFragmentWithMarkupString:baseURLString:]):
              * bridge/BrowserExtension.h:
              * bridge/mac/BrowserExtensionMac.h:
              * bridge/mac/BrowserExtensionMac.mm:
              (WebCore::BrowserExtensionMac::setTypedIconURL):
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::searchForLabelsBeforeElement):
              (WebCore::nsArray):
              (WebCore::FrameMac::createPlugin):
              (WebCore::FrameMac::bindingRootObject):
              (WebCore::FrameMac::windowScriptObject):
              (WebCore::FrameMac::windowScriptNPObject):
              (WebCore::FrameMac::partClearedInBegin):
              (WebCore::FrameMac::openURLFromPageCache):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge openURL:reload:contentType:refresh:lastModified:pageCache:]):
              (-[WebCoreFrameBridge scrollToAnchor:]):
              (-[WebCoreFrameBridge URLWithAttributeString:]):
              (-[WebCoreFrameBridge highlightAllMatchesForString:caseSensitive:]):
              * bridge/mac/WebCoreScriptDebugger.mm:
              (-[WebCoreScriptCallFrame evaluateWebScript:]):
              * bridge/mac/WebCoreSettings.mm:
              (-[WebCoreSettings _updateAllViews]):
              (-[WebCoreSettings setStandardFontFamily:]):
              (-[WebCoreSettings setMinimumFontSize:]):
              (-[WebCoreSettings setMinimumLogicalFontSize:]):
              (-[WebCoreSettings setDefaultFontSize:]):
              (-[WebCoreSettings setDefaultFixedFontSize:]):
              (-[WebCoreSettings setUserStyleSheetLocation:]):
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              * css/CSSGrammar.y:
              * css/css_stylesheetimpl.cpp:
              (WebCore::MediaList::setMediaText):
              * css/css_valueimpl.cpp:
              (WebCore::quoteStringIfNeeded):
              * css/cssparser.cpp:
              (WebCore::CSSParser::parseColor):
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::CSSStyleSelector):
              * css/cssstyleselector.h:
              * dom/Document.cpp:
              (WebCore::Document::resetActiveLinkColor):
              (WebCore::Document::nextState):
              (WebCore::Document::setUserStyleSheet):
              (WebCore::Document::processHttpEquiv):
              (WebCore::Document::recalcStyleSelector):
              * dom/Document.h:
              (WebCore::Document::userStyleSheet):
              (WebCore::Document::setPrintStyleSheet):
              (WebCore::Document::printStyleSheet):
              * editing/markup.cpp:
              (WebCore::createMarkup):
              (WebCore::createFragmentFromMarkup):
              (WebCore::createFragmentFromText):
              * editing/markup.h:
              * html/CanvasRenderingContext2D.cpp:
              (WebCore::CanvasRenderingContext2D::setGlobalCompositeOperation):
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::scriptHandler):
              * html/html_baseimpl.cpp:
              (WebCore::HTMLFrameElement::openURL):
              (WebCore::HTMLFrameElement::attach):
              * html/html_headimpl.cpp:
              (WebCore::HTMLLinkElement::process):
              (WebCore::HTMLLinkElement::setStyleSheet):
              * html/html_headimpl.h:
              * html/html_imageimpl.cpp:
              (WebCore::HTMLImageElement::parseMappedAttribute):
              * html/html_imageimpl.h:
              (WebCore::HTMLImageElement::compositeOperator):
              * html/html_objectimpl.cpp:
              (WebCore::HTMLAppletElement::createRenderer):
              * ksvg2/svg/SVGStringList.cpp:
              (SVGStringList::reset):
              * kwq/AccessibilityObjectCache.h:
              * kwq/AccessibilityObjectCache.mm:
              (AccessibilityObjectCache::textMarkerForVisiblePosition):
              (AccessibilityObjectCache::postNotificationToTopWebArea):
              (AccessibilityObjectCache::postNotification):
              * kwq/ClipboardMac.mm:
              (WebCore::cocoaTypeFromMIMEType):
              * kwq/KWQKHTMLSettings.h:
              (KHTMLSettings::userStyleSheetLocation):
              (KHTMLSettings::setUserStyleSheetLocation):
              * kwq/KWQLineEdit.h:
              * kwq/KWQLineEdit.mm:
              (QLineEdit::selectedText):
              * loader/CachedCSSStyleSheet.cpp:
              (WebCore::CachedCSSStyleSheet::ref):
              * page/Frame.cpp:
              (WebCore::UserStyleSheetLoader::setStyleSheet):
              (WebCore::Frame::jScriptEnabled):
              (WebCore::Frame::javaEnabled):
              (WebCore::Frame::pluginsEnabled):
              (WebCore::Frame::receivedFirstData):
              (WebCore::Frame::begin):
              (WebCore::Frame::setUserStyleSheet):
              (WebCore::Frame::requestObject):
              (WebCore::Frame::loadPlugin):
              (WebCore::Frame::referrer):
              (WebCore::Frame::lastModified):
              (WebCore::Frame::reparseConfiguration):
              (WebCore::Frame::handleMousePressEventSingleClick):
              (WebCore::Frame::appliedEditing):
              (WebCore::Frame::unappliedEditing):
              (WebCore::Frame::reappliedEditing):
              * page/Frame.h:
              * page/FramePrivate.h:
              (WebCore::FramePrivate::FramePrivate):
              * platform/AtomicString.h:
              (WebCore::AtomicString::AtomicString):
              * platform/DeprecatedString.cpp:
              (DeprecatedString::replace):
              * platform/GraphicsContext.h:
              * platform/Image.h:
              * platform/KURL.cpp:
              * platform/KURL.h:
              * platform/PlatformString.h:
              (WebCore::String::String):
              (WebCore::String::replace):
              * platform/String.cpp:
              (WebCore::operator+):
              * platform/StringImpl.cpp:
              (WebCore::StringImpl::remove):
              (WebCore::parseLength):
              (WebCore::StringImpl::replace):
              * platform/StringImpl.h:
              * platform/mac/GraphicsContextMac.mm:
              (WebCore::GraphicsContext::setCompositeOperation):
              * rendering/RenderHTMLCanvas.cpp:
              (WebCore::RenderHTMLCanvas::paint):
              * rendering/render_form.cpp:
              (WebCore::RenderSelect::updateFromElement):
              * rendering/render_frames.cpp:
              (WebCore::isURLAllowed):
              (WebCore::mapClassIdToServiceType):
              (WebCore::RenderPartObject::updateWidget):
              * rendering/render_style.h:
              (WebCore::RenderStyle::setDashboardRegion):
              * xml/xmlhttprequest.cpp:
              (WebCore::getCharset):
              (WebCore::XMLHttpRequest::send):
              (WebCore::XMLHttpRequest::overrideMIMEType):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cff0a728
  13. 19 Mar, 2006 1 commit
  14. 14 Feb, 2006 1 commit
    • darin's avatar
      Rubber-stamped by Eric. · a68e043d
      darin authored
              - moved editing sources from khtml/editing to editing, and renamed files with single classes
      
              * WebCore.xcodeproj/project.pbxproj: Added new, removed old.
              * WebCore.vcproj/WebCore/WebCore.vcproj: Ditto.
      
              * bridge/mac/MacFrame.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * dom/DocumentImpl.cpp:
              * dom/dom2_rangeimpl.cpp:
              * dom/dom_position.cpp:
              * khtml/khtml_events.cpp:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.h:
              * kwq/KWQEditCommand.mm:
              * page/Frame.cpp:
              * page/FramePrivate.h:
              * rendering/RenderBlock.cpp:
              * rendering/RenderContainer.cpp:
              * rendering/RenderText.cpp:
              * rendering/render_br.cpp:
              * rendering/render_inline.cpp:
              * rendering/render_object.cpp:
              * rendering/render_replaced.cpp:
              Fixed up includes.
      
              * editing: Added.
              * editing/AppendNodeCommand.cpp: Added.
              * editing/AppendNodeCommand.h: Added.
              * editing/ApplyStyleCommand.cpp: Added.
              * editing/ApplyStyleCommand.h: Added.
              * editing/BreakBlockquoteCommand.cpp: Added.
              * editing/BreakBlockquoteCommand.h: Added.
              * editing/CompositeEditCommand.cpp: Added.
              * editing/CompositeEditCommand.h: Added.
              * editing/DeleteFromTextNodeCommand.cpp: Added.
              * editing/DeleteFromTextNodeCommand.h: Added.
              * editing/DeleteSelectionCommand.cpp: Added.
              * editing/DeleteSelectionCommand.h: Added.
              * editing/EditCommand.cpp: Added.
              * editing/EditCommand.h: Added.
              * editing/InsertIntoTextNodeCommand.cpp: Added.
              * editing/InsertIntoTextNodeCommand.h: Added.
              * editing/InsertLineBreakCommand.cpp: Added.
              * editing/InsertLineBreakCommand.h: Added.
              * editing/InsertNodeBeforeCommand.cpp: Added.
              * editing/InsertNodeBeforeCommand.h: Added.
              * editing/InsertParagraphSeparatorCommand.cpp: Added.
              * editing/InsertParagraphSeparatorCommand.h: Added.
              * editing/InsertTextCommand.cpp: Added.
              * editing/InsertTextCommand.h: Added.
              * editing/JoinTextNodesCommand.cpp: Added.
              * editing/JoinTextNodesCommand.h: Added.
              * editing/MergeIdenticalElementsCommand.cpp: Added.
              * editing/MergeIdenticalElementsCommand.h: Added.
              * editing/MoveSelectionCommand.cpp: Added.
              * editing/MoveSelectionCommand.h: Added.
              * editing/RebalanceWhitespaceCommand.cpp: Added.
              * editing/RebalanceWhitespaceCommand.h: Added.
              * editing/RemoveCSSPropertyCommand.cpp: Added.
              * editing/RemoveCSSPropertyCommand.h: Added.
              * editing/RemoveNodeAttributeCommand.cpp: Added.
              * editing/RemoveNodeAttributeCommand.h: Added.
              * editing/RemoveNodeCommand.cpp: Added.
              * editing/RemoveNodeCommand.h: Added.
              * editing/RemoveNodePreservingChildrenCommand.cpp: Added.
              * editing/RemoveNodePreservingChildrenCommand.h: Added.
              * editing/ReplaceSelectionCommand.cpp: Added.
              * editing/ReplaceSelectionCommand.h: Added.
              * editing/Selection.cpp:
              * editing/SelectionController.cpp:
              * editing/SetNodeAttributeCommand.cpp: Added.
              * editing/SetNodeAttributeCommand.h: Added.
              * editing/SplitElementCommand.cpp: Added.
              * editing/SplitElementCommand.h: Added.
              * editing/SplitTextNodeCommand.cpp: Added.
              * editing/SplitTextNodeCommand.h: Added.
              * editing/SplitTextNodeContainingElementCommand.cpp: Added.
              * editing/SplitTextNodeContainingElementCommand.h: Added.
              * editing/TypingCommand.cpp: Added.
              * editing/TypingCommand.h: Added.
              * editing/VisiblePosition.cpp: Added.
              * editing/VisiblePosition.h: Added.
              * editing/VisibleRange.cpp: Added.
              * editing/VisibleRange.h: Added.
              * editing/WrapContentsInDummySpanCommand.cpp: Added.
              * editing/WrapContentsInDummySpanCommand.h: Added.
              * editing/append_node_command.cpp: Removed.
              * editing/append_node_command.h: Removed.
              * editing/apply_style_command.cpp: Removed.
              * editing/apply_style_command.h: Removed.
              * editing/break_blockquote_command.cpp: Removed.
              * editing/break_blockquote_command.h: Removed.
              * editing/composite_edit_command.cpp: Removed.
              * editing/composite_edit_command.h: Removed.
              * editing/delete_from_text_node_command.cpp: Removed.
              * editing/delete_from_text_node_command.h: Removed.
              * editing/delete_selection_command.cpp: Removed.
              * editing/delete_selection_command.h: Removed.
              * editing/edit_command.cpp: Removed.
              * editing/edit_command.h: Removed.
              * editing/htmlediting.cpp:
              * editing/insert_into_text_node_command.cpp: Removed.
              * editing/insert_into_text_node_command.h: Removed.
              * editing/insert_line_break_command.cpp: Removed.
              * editing/insert_line_break_command.h: Removed.
              * editing/insert_node_before_command.cpp: Removed.
              * editing/insert_node_before_command.h: Removed.
              * editing/insert_paragraph_separator_command.cpp: Removed.
              * editing/insert_paragraph_separator_command.h: Removed.
              * editing/insert_text_command.cpp: Removed.
              * editing/insert_text_command.h: Removed.
              * editing/join_text_nodes_command.cpp: Removed.
              * editing/join_text_nodes_command.h: Removed.
              * editing/jsediting.cpp:
              * editing/markup.cpp:
              * editing/merge_identical_elements_command.cpp: Removed.
              * editing/merge_identical_elements_command.h: Removed.
              * editing/move_selection_command.cpp: Removed.
              * editing/move_selection_command.h: Removed.
              * editing/rebalance_whitespace_command.cpp: Removed.
              * editing/rebalance_whitespace_command.h: Removed.
              * editing/remove_css_property_command.cpp: Removed.
              * editing/remove_css_property_command.h: Removed.
              * editing/remove_node_attribute_command.cpp: Removed.
              * editing/remove_node_attribute_command.h: Removed.
              * editing/remove_node_command.cpp: Removed.
              * editing/remove_node_command.h: Removed.
              * editing/remove_node_preserving_children_command.cpp: Removed.
              * editing/remove_node_preserving_children_command.h: Removed.
              * editing/replace_selection_command.cpp: Removed.
              * editing/replace_selection_command.h: Removed.
              * editing/set_node_attribute_command.cpp: Removed.
              * editing/set_node_attribute_command.h: Removed.
              * editing/split_element_command.cpp: Removed.
              * editing/split_element_command.h: Removed.
              * editing/split_text_node_command.cpp: Removed.
              * editing/split_text_node_command.h: Removed.
              * editing/split_text_node_containing_element.cpp: Removed.
              * editing/split_text_node_containing_element_command.h: Removed.
              * editing/typing_command.cpp: Removed.
              * editing/typing_command.h: Removed.
              * editing/visible_position.cpp: Removed.
              * editing/visible_position.h: Removed.
              * editing/visible_range.cpp: Removed.
              * editing/visible_range.h: Removed.
              * editing/visible_units.cpp:
              * editing/wrap_contents_in_dummy_span_command.cpp: Removed.
              * editing/wrap_contents_in_dummy_span_command.h: Removed.
      
              * khtml/editing: Removed.
              * khtml/editing/Selection.cpp: Removed.
              * khtml/editing/Selection.h: Removed.
              * khtml/editing/SelectionController.cpp: Removed.
              * khtml/editing/SelectionController.h: Removed.
              * khtml/editing/append_node_command.cpp: Removed.
              * khtml/editing/append_node_command.h: Removed.
              * khtml/editing/apply_style_command.cpp: Removed.
              * khtml/editing/apply_style_command.h: Removed.
              * khtml/editing/break_blockquote_command.cpp: Removed.
              * khtml/editing/break_blockquote_command.h: Removed.
              * khtml/editing/composite_edit_command.cpp: Removed.
              * khtml/editing/composite_edit_command.h: Removed.
              * khtml/editing/delete_from_text_node_command.cpp: Removed.
              * khtml/editing/delete_from_text_node_command.h: Removed.
              * khtml/editing/delete_selection_command.cpp: Removed.
              * khtml/editing/delete_selection_command.h: Removed.
              * khtml/editing/edit_actions.h: Removed.
              * khtml/editing/edit_command.cpp: Removed.
              * khtml/editing/edit_command.h: Removed.
              * khtml/editing/html_interchange.cpp: Removed.
              * khtml/editing/html_interchange.h: Removed.
              * khtml/editing/htmlediting.cpp: Removed.
              * khtml/editing/htmlediting.h: Removed.
              * khtml/editing/insert_into_text_node_command.cpp: Removed.
              * khtml/editing/insert_into_text_node_command.h: Removed.
              * khtml/editing/insert_line_break_command.cpp: Removed.
              * khtml/editing/insert_line_break_command.h: Removed.
              * khtml/editing/insert_node_before_command.cpp: Removed.
              * khtml/editing/insert_node_before_command.h: Removed.
              * khtml/editing/insert_paragraph_separator_command.cpp: Removed.
              * khtml/editing/insert_paragraph_separator_command.h: Removed.
              * khtml/editing/insert_text_command.cpp: Removed.
              * khtml/editing/insert_text_command.h: Removed.
              * khtml/editing/join_text_nodes_command.cpp: Removed.
              * khtml/editing/join_text_nodes_command.h: Removed.
              * khtml/editing/jsediting.cpp: Removed.
              * khtml/editing/jsediting.h: Removed.
              * khtml/editing/markup.cpp: Removed.
              * khtml/editing/markup.h: Removed.
              * khtml/editing/merge_identical_elements_command.cpp: Removed.
              * khtml/editing/merge_identical_elements_command.h: Removed.
              * khtml/editing/move_selection_command.cpp: Removed.
              * khtml/editing/move_selection_command.h: Removed.
              * khtml/editing/rebalance_whitespace_command.cpp: Removed.
              * khtml/editing/rebalance_whitespace_command.h: Removed.
              * khtml/editing/remove_css_property_command.cpp: Removed.
              * khtml/editing/remove_css_property_command.h: Removed.
              * khtml/editing/remove_node_attribute_command.cpp: Removed.
              * khtml/editing/remove_node_attribute_command.h: Removed.
              * khtml/editing/remove_node_command.cpp: Removed.
              * khtml/editing/remove_node_command.h: Removed.
              * khtml/editing/remove_node_preserving_children_command.cpp: Removed.
              * khtml/editing/remove_node_preserving_children_command.h: Removed.
              * khtml/editing/replace_selection_command.cpp: Removed.
              * khtml/editing/replace_selection_command.h: Removed.
              * khtml/editing/set_node_attribute_command.cpp: Removed.
              * khtml/editing/set_node_attribute_command.h: Removed.
              * khtml/editing/split_element_command.cpp: Removed.
              * khtml/editing/split_element_command.h: Removed.
              * khtml/editing/split_text_node_command.cpp: Removed.
              * khtml/editing/split_text_node_command.h: Removed.
              * khtml/editing/split_text_node_containing_element.cpp: Removed.
              * khtml/editing/split_text_node_containing_element_command.h: Removed.
              * khtml/editing/text_affinity.h: Removed.
              * khtml/editing/text_granularity.h: Removed.
              * khtml/editing/typing_command.cpp: Removed.
              * khtml/editing/typing_command.h: Removed.
              * khtml/editing/visible_position.cpp: Removed.
              * khtml/editing/visible_position.h: Removed.
              * khtml/editing/visible_range.cpp: Removed.
              * khtml/editing/visible_range.h: Removed.
              * khtml/editing/visible_text.cpp: Removed.
              * khtml/editing/visible_text.h: Removed.
              * khtml/editing/visible_units.cpp: Removed.
              * khtml/editing/visible_units.h: Removed.
              * khtml/editing/wrap_contents_in_dummy_span_command.cpp: Removed.
              * khtml/editing/wrap_contents_in_dummy_span_command.h: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a68e043d
  15. 12 Jan, 2006 2 commits
    • eseidel's avatar
      2006-01-12 Eric Seidel <eseidel@apple.com> · fec1cc82
      eseidel authored
              Reviewed by anders & mjs.
      
              Split dom_docimpl.* out into separate files (one per class):
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6502
      
              * ForwardingHeaders/kdom/core/DOMImplementationImpl.h: Removed.
              * ForwardingHeaders/kdom/core/DocumentImpl.h: Removed.
              * ForwardingHeaders/kdom/core/DocumentTypeImpl.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/WebCoreBridge.mm:
              * kcanvas/KCanvasResources.cpp:
              * kcanvas/RenderSVGText.h:
              * khtml/css/css_base.cpp:
              * khtml/css/css_computedstyle.cpp:
              * khtml/css/css_ruleimpl.cpp:
              * khtml/css/css_valueimpl.cpp:
              * khtml/css/cssparser.cpp:
              * khtml/css/parser.y:
              * khtml/ecma/XSLTProcessor.cpp:
              * khtml/ecma/domparser.cpp:
              * khtml/ecma/kjs_css.cpp:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_events.cpp:
              * khtml/ecma/kjs_range.cpp:
              * khtml/ecma/kjs_traversal.cpp:
              * khtml/ecma/kjs_views.cpp:
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/xmlhttprequest.cpp:
              * khtml/ecma/xmlserializer.cpp:
              * khtml/editing/SelectionController.cpp:
              * khtml/editing/apply_style_command.cpp:
              * khtml/editing/composite_edit_command.cpp:
              * khtml/editing/delete_selection_command.cpp:
              * khtml/editing/edit_command.cpp:
              * khtml/editing/htmlediting.cpp:
              * khtml/editing/insert_line_break_command.cpp:
              * khtml/editing/insert_paragraph_separator_command.cpp:
              * khtml/editing/insert_text_command.cpp:
              * khtml/editing/join_text_nodes_command.cpp:
              * khtml/editing/jsediting.cpp:
              * khtml/editing/markup.cpp:
              * khtml/editing/markup.h:
              * khtml/editing/merge_identical_elements_command.cpp:
              * khtml/editing/move_selection_command.cpp:
              * khtml/editing/rebalance_whitespace_command.cpp:
              * khtml/editing/replace_selection_command.cpp:
              * khtml/editing/split_text_node_command.cpp:
              * khtml/editing/typing_command.cpp:
              * khtml/editing/visible_position.cpp:
              * khtml/editing/visible_text.cpp:
              * khtml/editing/visible_units.cpp:
              * khtml/html/HTMLGenericFormElementImpl.cpp:
              * khtml/html/HTMLInputElementImpl.cpp:
              * khtml/html/HTMLKeygenElementImpl.cpp:
              * khtml/html/HTMLLabelElementImpl.cpp:
              * khtml/html/HTMLOptionElementImpl.cpp:
              * khtml/html/HTMLSelectElementImpl.cpp:
              * khtml/html/HTMLTextAreaElementImpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_documentimpl.h:
              * khtml/html/html_listimpl.cpp:
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/htmlfactory.cpp:
              * khtml/html/htmlparser.cpp:
              * khtml/html/htmltokenizer.cpp:
              * khtml/misc/Cache.cpp:
              * khtml/misc/DocLoader.cpp:
              * khtml/rendering/InlineTextBox.cpp:
              * khtml/rendering/bidi.cpp:
              * khtml/rendering/render_applet.cpp:
              * khtml/rendering/render_block.cpp:
              * khtml/rendering/render_box.cpp:
              * khtml/rendering/render_br.cpp:
              * khtml/rendering/render_button.cpp:
              * khtml/rendering/render_canvas.cpp:
              * khtml/rendering/render_container.cpp:
              * khtml/rendering/render_flow.cpp:
              * khtml/rendering/render_form.cpp:
              * khtml/rendering/render_frames.cpp:
              * khtml/rendering/render_inline.cpp:
              * khtml/rendering/render_layer.cpp:
              * khtml/rendering/render_line.cpp:
              * khtml/rendering/render_list.cpp:
              * khtml/rendering/render_object.cpp:
              * khtml/rendering/render_replaced.cpp:
              * khtml/rendering/render_table.cpp:
              * khtml/rendering/render_theme.cpp:
              * khtml/rendering/render_theme_mac.mm:
              * khtml/xml/DOMImplementationImpl.cpp: Added.
              * khtml/xml/DOMImplementationImpl.h: Added.
              * khtml/xml/DocumentFragmentImpl.cpp: Added.
              * khtml/xml/DocumentFragmentImpl.h: Added.
              * khtml/xml/DocumentImpl.cpp: Added.
              (DocumentImpl::setDocType):
              (DocumentImpl::getElementsByName):
              * khtml/xml/DocumentImpl.h: Added.
              * khtml/xml/DocumentTypeImpl.cpp: Added.
              * khtml/xml/DocumentTypeImpl.h: Added.
              * khtml/xml/dom2_eventsimpl.cpp:
              * khtml/xml/dom2_rangeimpl.cpp:
              * khtml/xml/dom2_traversalimpl.cpp:
              * khtml/xml/dom2_viewsimpl.cpp:
              * khtml/xml/dom_docimpl.cpp: Removed.
              * khtml/xml/dom_docimpl.h: Removed.
              * khtml/xml/dom_elementimpl.cpp:
              * khtml/xml/dom_nodeimpl.cpp:
              * khtml/xml/dom_textimpl.cpp:
              * khtml/xml/dom_xmlimpl.cpp:
              * khtml/xml/xml_tokenizer.cpp:
              * khtml/xsl/xslt_processorimpl.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              * ksvg2/misc/KSVGTimeScheduler.cpp:
              * ksvg2/misc/SVGImageLoader.cpp:
              * ksvg2/svg/SVGAElementImpl.cpp:
              * ksvg2/svg/SVGAnimationElementImpl.cpp:
              * ksvg2/svg/SVGClipPathElementImpl.cpp:
              * ksvg2/svg/SVGCursorElementImpl.cpp:
              * ksvg2/svg/SVGDOMImplementationImpl.cpp:
              * ksvg2/svg/SVGDOMImplementationImpl.h:
              * ksvg2/svg/SVGDocumentImpl.h:
              * ksvg2/svg/SVGElementImpl.cpp:
              * ksvg2/svg/SVGFEImageElementImpl.cpp:
              * ksvg2/svg/SVGGradientElementImpl.cpp:
              * ksvg2/svg/SVGHelper.cpp:
              * ksvg2/svg/SVGPatternElementImpl.cpp:
              * ksvg2/svg/SVGPolyElementImpl.cpp:
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              * ksvg2/svg/SVGStopElementImpl.cpp:
              * ksvg2/svg/SVGStyleElementImpl.cpp:
              * ksvg2/svg/SVGStyledElementImpl.cpp:
              * ksvg2/svg/SVGUseElementImpl.cpp:
              * kwq/DOM-CSS.mm:
              * kwq/DOM.mm:
              * kwq/DOMEvents.mm:
              * kwq/DOMHTML.mm:
              * kwq/DOMInternal.mm:
              * kwq/DOMViews.mm:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQKJavaAppletWidget.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQRenderTreeDebug.cpp:
              * kwq/KWQSlot.mm:
              * page/Frame.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fec1cc82
    • mjs's avatar
      Reviewed by Eric. · 194bc5a7
      mjs authored
              - remove dom_documentimpl.h include from other headers where possible,
              move down to impl files instead, so less rebuilds when you touch it
      
              * bridge/mac/MacFrame.mm:
              (MacFrame::openURLFromPageCache):
              * kcanvas/KCanvasResources.cpp:
              * khtml/css/css_computedstyle.cpp:
              * khtml/editing/SelectionController.cpp:
              (khtml::SelectionController::frame):
              * khtml/editing/SelectionController.h:
              * khtml/editing/composite_edit_command.cpp:
              * khtml/editing/delete_selection_command.cpp:
              * khtml/editing/jsediting.cpp:
              * khtml/editing/jsediting.h:
              * khtml/editing/markup.h:
              * khtml/editing/visible_position.cpp:
              * khtml/editing/visible_text.cpp:
              * khtml/html/HTMLGenericFormElementImpl.cpp:
              * khtml/html/HTMLInputElementImpl.cpp:
              * khtml/html/HTMLLabelElementImpl.cpp:
              * khtml/html/HTMLOptionElementImpl.cpp:
              * khtml/html/HTMLSelectElementImpl.cpp:
              * khtml/html/HTMLTextAreaElementImpl.cpp:
              * khtml/html/htmltokenizer.h:
              * khtml/rendering/InlineTextBox.cpp:
              * khtml/rendering/bidi.cpp:
              * khtml/rendering/render_br.cpp:
              * khtml/rendering/render_button.cpp:
              * khtml/rendering/render_object.cpp:
              (RenderObject::documentBeingDestroyed):
              * khtml/rendering/render_object.h:
              * khtml/rendering/render_theme.cpp:
              * khtml/rendering/render_theme_mac.mm:
              * khtml/xbl/xbl_docimpl.h:
              * khtml/xml/dom2_rangeimpl.cpp:
              * ksvg2/svg/SVGAElementImpl.cpp:
              * ksvg2/svg/SVGClipPathElementImpl.cpp:
              * ksvg2/svg/SVGFEImageElementImpl.cpp:
              * ksvg2/svg/SVGHelper.cpp:
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              * ksvg2/svg/SVGUseElementImpl.cpp:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQPageState.h:
              * kwq/KWQPageState.mm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      194bc5a7
  16. 03 Jan, 2006 1 commit
    • eseidel's avatar
      Bug #: 6109 · ef508986
      eseidel authored
      Submitted by: eseidel
      Reviewed by: darin
              No functionality changes, no tests possible.
      
              khtml/editing should use RefPtr instead of manual ref/deref
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6109
      
              Results in a slight performance gain < 1% on the PLT.
      
              * khtml/editing/SelectionController.cpp:
              (khtml::SelectionController::toRange):
              * khtml/editing/SelectionController.h:
              * khtml/editing/append_node_command.cpp:
              (khtml::AppendNodeCommand::AppendNodeCommand):
              (khtml::AppendNodeCommand::doApply):
              (khtml::AppendNodeCommand::doUnapply):
              * khtml/editing/append_node_command.h:
              (khtml::AppendNodeCommand::~AppendNodeCommand):
              (khtml::AppendNodeCommand::appendChild):
              (khtml::AppendNodeCommand::parentNode):
              * khtml/editing/apply_style_command.cpp:
              (khtml::StyleChange::init):
              (khtml::ApplyStyleCommand::removeInlineStyle):
              * khtml/editing/apply_style_command.h:
              * khtml/editing/composite_edit_command.cpp:
              (khtml::CompositeEditCommand::deleteInsignificantText):
              * khtml/editing/delete_from_text_node_command.cpp:
              (khtml::DeleteFromTextNodeCommand::DeleteFromTextNodeCommand):
              * khtml/editing/delete_from_text_node_command.h:
              (khtml::DeleteFromTextNodeCommand::~DeleteFromTextNodeCommand):
              (khtml::DeleteFromTextNodeCommand::node):
              * khtml/editing/delete_selection_command.cpp:
              (khtml::DeleteSelectionCommand::initializePositionData):
              (khtml::DeleteSelectionCommand::saveTypingStyleState):
              (khtml::DeleteSelectionCommand::handleGeneralDelete):
              (khtml::DeleteSelectionCommand::calculateEndingPosition):
              (khtml::DeleteSelectionCommand::calculateTypingStyleAfterDelete):
              (khtml::DeleteSelectionCommand::clearTransientState):
              * khtml/editing/delete_selection_command.h:
              * khtml/editing/edit_command.cpp:
              (khtml::EditCommand::EditCommand):
              (khtml::EditCommand::~EditCommand):
              (khtml::EditCommand::setTypingStyle):
              (khtml::EditCommand::styleAtPosition):
              * khtml/editing/edit_command.h:
              (khtml::EditCommand::document):
              (khtml::EditCommand::typingStyle):
              * khtml/editing/insert_into_text_node_command.cpp:
              (khtml::InsertIntoTextNodeCommand::InsertIntoTextNodeCommand):
              * khtml/editing/insert_into_text_node_command.h:
              (khtml::InsertIntoTextNodeCommand::~InsertIntoTextNodeCommand):
              (khtml::InsertIntoTextNodeCommand::node):
              * khtml/editing/insert_node_before_command.cpp:
              (khtml::InsertNodeBeforeCommand::InsertNodeBeforeCommand):
              (khtml::InsertNodeBeforeCommand::doApply):
              (khtml::InsertNodeBeforeCommand::doUnapply):
              * khtml/editing/insert_node_before_command.h:
              (khtml::InsertNodeBeforeCommand::~InsertNodeBeforeCommand):
              (khtml::InsertNodeBeforeCommand::insertChild):
              (khtml::InsertNodeBeforeCommand::refChild):
              * khtml/editing/insert_paragraph_separator_command.cpp:
              (khtml::InsertParagraphSeparatorCommand::InsertParagraphSeparatorCommand):
              (khtml::InsertParagraphSeparatorCommand::~InsertParagraphSeparatorCommand):
              (khtml::InsertParagraphSeparatorCommand::calculateStyleBeforeInsertion):
              (khtml::InsertParagraphSeparatorCommand::applyStyleAfterInsertion):
              * khtml/editing/insert_paragraph_separator_command.h:
              * khtml/editing/join_text_nodes_command.cpp:
              (khtml::JoinTextNodesCommand::JoinTextNodesCommand):
              (khtml::JoinTextNodesCommand::doApply):
              (khtml::JoinTextNodesCommand::doUnapply):
              * khtml/editing/join_text_nodes_command.h:
              (khtml::JoinTextNodesCommand::~JoinTextNodesCommand):
              (khtml::JoinTextNodesCommand::firstNode):
              (khtml::JoinTextNodesCommand::secondNode):
              * khtml/editing/jsediting.cpp:
              * khtml/editing/markup.cpp:
              (khtml::createMarkup):
              (khtml::createFragmentFromMarkup):
              (khtml::createFragmentFromText):
              (khtml::createFragmentFromNodeList):
              * khtml/editing/markup.h:
              * khtml/editing/merge_identical_elements_command.cpp:
              (khtml::MergeIdenticalElementsCommand::MergeIdenticalElementsCommand):
              (khtml::MergeIdenticalElementsCommand::doApply):
              (khtml::MergeIdenticalElementsCommand::doUnapply):
              * khtml/editing/merge_identical_elements_command.h:
              (khtml::MergeIdenticalElementsCommand::~MergeIdenticalElementsCommand):
              * khtml/editing/move_selection_command.cpp:
              (khtml::MoveSelectionCommand::MoveSelectionCommand):
              (khtml::MoveSelectionCommand::~MoveSelectionCommand):
              (khtml::MoveSelectionCommand::doApply):
              * khtml/editing/move_selection_command.h:
              * khtml/editing/rebalance_whitespace_command.cpp:
              * khtml/editing/rebalance_whitespace_command.h:
              (khtml::RebalanceWhitespaceCommand::~RebalanceWhitespaceCommand):
              * khtml/editing/remove_css_property_command.cpp:
              (khtml::RemoveCSSPropertyCommand::RemoveCSSPropertyCommand):
              * khtml/editing/remove_css_property_command.h:
              (khtml::RemoveCSSPropertyCommand::~RemoveCSSPropertyCommand):
              (khtml::RemoveCSSPropertyCommand::styleDeclaration):
              * khtml/editing/remove_node_attribute_command.cpp:
              (khtml::RemoveNodeAttributeCommand::RemoveNodeAttributeCommand):
              * khtml/editing/remove_node_attribute_command.h:
              (khtml::RemoveNodeAttributeCommand::~RemoveNodeAttributeCommand):
              (khtml::RemoveNodeAttributeCommand::element):
              * khtml/editing/remove_node_command.cpp:
              (khtml::RemoveNodeCommand::RemoveNodeCommand):
              (khtml::RemoveNodeCommand::doApply):
              (khtml::RemoveNodeCommand::doUnapply):
              * khtml/editing/remove_node_command.h:
              (khtml::RemoveNodeCommand::~RemoveNodeCommand):
              (khtml::RemoveNodeCommand::node):
              * khtml/editing/remove_node_preserving_children_command.cpp:
              (khtml::RemoveNodePreservingChildrenCommand::RemoveNodePreservingChildrenCommand):
              * khtml/editing/remove_node_preserving_children_command.h:
              (khtml::RemoveNodePreservingChildrenCommand::~RemoveNodePreservingChildrenCommand):
              (khtml::RemoveNodePreservingChildrenCommand::node):
              * khtml/editing/replace_selection_command.cpp:
              (khtml::ReplacementFragment::ReplacementFragment):
              (khtml::ReplacementFragment::~ReplacementFragment):
              (khtml::ReplacementFragment::enclosingBlock):
              (khtml::ReplacementFragment::removeNodePreservingChildren):
              (khtml::ReplacementFragment::removeNode):
              (khtml::ReplacementFragment::insertFragmentForTestRendering):
              (khtml::ReplacementFragment::restoreTestRenderingNodesToFragment):
              (khtml::ReplaceSelectionCommand::fixupNodeStyles):
              (khtml::computeAndStoreNodeDesiredStyle):
              (khtml::NodeDesiredStyle::NodeDesiredStyle):
              (khtml::ReplaceSelectionCommand::ReplaceSelectionCommand):
              (khtml::ReplaceSelectionCommand::~ReplaceSelectionCommand):
              (khtml::ReplaceSelectionCommand::doApply):
              (khtml::ReplaceSelectionCommand::completeHTMLReplacement):
              (khtml::ReplaceSelectionCommand::updateNodesInserted):
              * khtml/editing/replace_selection_command.h:
              (khtml::NodeDesiredStyle::node):
              (khtml::NodeDesiredStyle::style):
              (khtml::ReplacementFragment::root):
              * khtml/editing/set_node_attribute_command.cpp:
              (khtml::SetNodeAttributeCommand::SetNodeAttributeCommand):
              * khtml/editing/set_node_attribute_command.h:
              (khtml::SetNodeAttributeCommand::~SetNodeAttributeCommand):
              (khtml::SetNodeAttributeCommand::element):
              * khtml/editing/split_element_command.cpp:
              (khtml::SplitElementCommand::SplitElementCommand):
              (khtml::SplitElementCommand::doApply):
              (khtml::SplitElementCommand::doUnapply):
              * khtml/editing/split_element_command.h:
              (khtml::SplitElementCommand::~SplitElementCommand):
              * khtml/editing/split_text_node_command.cpp:
              (khtml::SplitTextNodeCommand::SplitTextNodeCommand):
              (khtml::SplitTextNodeCommand::doApply):
              (khtml::SplitTextNodeCommand::doUnapply):
              * khtml/editing/split_text_node_command.h:
              (khtml::SplitTextNodeCommand::~SplitTextNodeCommand):
              (khtml::SplitTextNodeCommand::node):
              * khtml/editing/split_text_node_containing_element.cpp:
              (khtml::SplitTextNodeContainingElementCommand::SplitTextNodeContainingElementCommand):
              (khtml::SplitTextNodeContainingElementCommand::doApply):
              * khtml/editing/split_text_node_containing_element_command.h:
              (khtml::SplitTextNodeContainingElementCommand::~SplitTextNodeContainingElementCommand):
              * khtml/editing/visible_position.cpp:
              (khtml::makeRange):
              * khtml/editing/visible_position.h:
              * khtml/editing/visible_text.cpp:
              (khtml::TextIterator::range):
              (khtml::SimplifiedBackwardsTextIterator::range):
              (khtml::CharacterIterator::range):
              (khtml::findPlainText):
              * khtml/editing/visible_text.h:
              (khtml::WordAwareIterator::range):
              * khtml/editing/wrap_contents_in_dummy_span_command.cpp:
              (khtml::WrapContentsInDummySpanCommand::WrapContentsInDummySpanCommand):
              (khtml::WrapContentsInDummySpanCommand::doApply):
              (khtml::WrapContentsInDummySpanCommand::doUnapply):
              * khtml/editing/wrap_contents_in_dummy_span_command.h:
              (khtml::WrapContentsInDummySpanCommand::~WrapContentsInDummySpanCommand):
              * kwq/DOMHTML.mm:
              (-[DOMHTMLDocument _createDocumentFragmentWithMarkupString:baseURLString:]):
              (-[DOMHTMLDocument _createDocumentFragmentWithText:]):
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge documentFragmentWithMarkupString:baseURLString:]):
              (-[WebCoreBridge documentFragmentWithText:]):
              (-[WebCoreBridge documentFragmentWithNodesAsParagraphs:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef508986
  17. 29 Nov, 2005 1 commit
  18. 13 Dec, 2004 1 commit
    • darin's avatar
      Reviewed by Ken. · ee6da9d3
      darin authored
              - moved markup-related functions into new sources files in the editing directory
              - removed all of the uses of dynamic_cast, preparing to turn off RTTI to make our code smaller and slightly faster
      
              * ForwardingHeaders/editing/markup.h: Added.
              * khtml/editing/markup.h: Added.
              * khtml/editing/markup.cpp: Added.
      
              * WebCore.pbproj/project.pbxproj: Added markup.h/cpp.
      
              * khtml/dom/dom_node.cpp: (Node::toHTML): Call createMarkup since there's no toHTML in NodeImpl any more.
              * khtml/html/html_elementimpl.cpp:
              (HTMLElementImpl::innerHTML): Changed to call createMarkup.
              (HTMLElementImpl::outerHTML): Ditto.
      
              * khtml/ecma/kjs_window.cpp:
              (Window::retrieveWindow): Comment out assert that uses dynamic_cast.
              (Window::retrieveActive): Ditto.
      
              * khtml/editing/htmlediting.h: Added forward class declaration needed now that I removed one elsewhere.
              * khtml/xml/dom_docimpl.h: Ditto.
      
              * khtml/khtml_part.cpp:
              (KHTMLPart::slotDebugDOMTree): Use createMarkup instead of toHTML.
              (KHTMLPart::processObjectRequest): Use inherits instead of dynamic_cast.
      
              * khtml/rendering/render_image.cpp: (RenderImage::paint): Add an explicit QChar conversion so this code
              still works even with the additional replace overloads added to QString.
              * kwq/KWQTextCodec.mm: (QTextCodec::fromUnicode): Ditto.
      
              * khtml/rendering/render_object.h: Removed the version of arenaDelete that does not take an object
              base pointer, because it used dynamic_cast in its implementation. Made the other version public.
              * khtml/rendering/render_object.cpp: Ditto.
              * khtml/rendering/render_replaced.cpp: (RenderWidget::deref): Pass object base pointer to arenaDelete.
      
              * khtml/xml/dom2_rangeimpl.h: Removed extra parameters from toHTML, and unneeded includes and declarations.
              * khtml/xml/dom2_rangeimpl.cpp: (DOM::RangeImpl::toHTML): Changed to call createMarkup, and moved all
              the support code into markup.cpp.
      
              * khtml/xml/dom_nodeimpl.h: Moved toHTML and related functions into markup.cpp.
              * khtml/xml/dom_nodeimpl.cpp: Ditto.
      
              * khtml/xml/dom_position.cpp:
              (DOM::startPosition): Implemented the version of this that takes a RangeImpl. Also added null checks
              so these return null positions rather than raising exceptions.
              (DOM::endPosition): Ditto.
      
              * khtml/khtmlview.h: Added an APPLE_CHANGES function so inherits can detect this class without dynamic_cast.
              * kwq/KWQFrame.h: Ditto.
              * kwq/KWQFrame.mm: (QFrame::isQFrame): Ditto.
              * kwq/KWQKPartsPart.h: Ditto.
              * kwq/KWQKPartsPart.mm: (KParts::ReadOnlyPart::isKPartsReadOnlyPart): Ditto.
              * kwq/KWQScrollView.h: Ditto.
              * kwq/KWQScrollView.mm: (QScrollView::isQScrollView): Ditto.
              * kwq/KWQKHTMLPart.h: Ditto.
              * kwq/KWQKHTMLPart.mm:
              (KHTMLView::isKHTMLView): Ditto.
              (KWQKHTMLPart::setTitle): Added an explicit QChar conversion so this code still works even with the additional
              replace overloads added to QString.
              (KWQKHTMLPart::setStatusBarText): Ditto.
              (KWQKHTMLPart::runJavaScriptAlert): Ditto.
              (KWQKHTMLPart::runJavaScriptConfirm): Ditto.
              (KWQKHTMLPart::runJavaScriptPrompt): Ditto.
              (KWQKHTMLPart::attributedString): Ditto.
              (KWQKHTMLPart::isCharacterSmartReplaceExempt): Ditto.
              (KWQKHTMLPart::isKHTMLPart): That dynamic_cast thing (see above).
      
              * kwq/KWQObject.h: Added virtual methods for the few cases where we need dynamic_cast-like behavior.
              * kwq/KWQObject.mm:
              (QObject::inherits): Changed to not use dynamic cast.
              (QObject::isKHTMLPart): Added. Returns false.
              (QObject::isKHTMLView): Ditto.
              (QObject::isKPartsReadOnlyPart): Ditto.
              (QObject::isQFrame): Ditto.
              (QObject::isQScrollView): Ditto.
      
              * kwq/KWQRenderTreeDebug.cpp:
              (write): Changed to use inherits rather than dynamic_cast.
              (writeSelection): Ditto.
      
              * kwq/KWQSlot.mm: (KWQSlot::call): Call through to the version with just a job pointer parameter rather
              than going straight on to the "no parameters at all" version.
      
              * kwq/KWQString.h:
              * kwq/KWQString.mm: (QString::replace): Added overloads.
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge markupStringFromNode:nodes:]): Changed to call functions in markup.h.
              (-[WebCoreBridge markupStringFromRange:nodes:]): Ditto.
              (-[WebCoreBridge selectedString]): Added an explicit QChar conversion so this code still works even with
              the additional replace overloads added to QString.
              (-[WebCoreBridge stringForRange:]): Ditto.
              (-[WebCoreBridge copyDOMNode:copier:]): Changed to call functions in markup.h.
              (-[WebCoreBridge elementAtPoint:]): QChar conversion.
              (-[WebCoreBridge documentFragmentWithMarkupString:baseURLString:]): Changed to call functions in markup.h.
              (-[WebCoreBridge documentFragmentWithText:]): Changed to call functions in markup.h.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@8198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee6da9d3
  19. 23 Sep, 2004 1 commit
  20. 30 Aug, 2004 1 commit
    • darin's avatar
      WebCore: · 71a0621b
      darin authored
              Reviewed by Chris.
      
              - did work to prepare for uploading files incrementally when submitting forms
      
              * khtml/misc/formdata.h: Added. Class for holding form data inside WebCore.
              * khtml/misc/formdata.cpp: Added.
      
              * khtml/html/html_formimpl.h: Added the FormDataList type, changed the formData function parameters
              and made it private, renamed the encoding method to appendFormData and changed the parameters around.
              * khtml/html/html_formimpl.cpp:
              (DOM::FormDataList): Added. Class that replaces the old use of QValueList<QCString> for form data.
              Later we'll change it to accomodate filenames too.
              (DOM::HTMLFormElementImpl::formData): Changed code to use FormDataList intsead of the old encodingList.
              Also changed to return the "OK" result as the function result and put the form data into something
              passed as an "out" parameter; the old way was the other way around.
              (DOM::HTMLFormElementImpl::submit): Change to use FormData rather than a QByteArray when getting the
              form data to submit.
              (DOM::HTMLButtonElementImpl::appendFormData): Rename from encoding, and use the new appendData function
              instead of the old way of doing += to put data on the list.
              (DOM::HTMLInputElementImpl::appendFormData): Ditto.
              (DOM::HTMLSelectElementImpl::appendFormData): Ditto.
              (DOM::HTMLKeygenElementImpl::appendFormData): Ditto.
              (DOM::HTMLTextAreaElementImpl::appendFormData): Ditto.
              (DOM::FormDataList::FormDataList): Added.
              (DOM::FormDataList::appendString): Added.
              (DOM::FormDataList::begin): Added.
              (DOM::FormDataList::end): Added.
      
              * khtml/khtml_part.h: Changed the type of the submitForm parameter to FormData instead of QByteArray.
              * khtml/khtmlpart_p.h: Changed the type of the submitFormData data member to FormData instead of QByteArray.
              * khtml/khtml_part.cpp: (KHTMLPart::submitForm): Called the new flattenToString function in all the
              code that handles mailto forms. Called the new flatten function in the non-Apple code path.
      
              * kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::submitForm): Pass NSArray for form data instead of NSData.
      
              * kwq/KWQKJob.h: Use FormData instead of QByteArray. A couple other small cleanups.
              * kwq/KWQKJobClasses.h: Ditto.
              * kwq/KWQKJobClasses.mm:
              (KIO::TransferJobPrivate::TransferJobPrivate): Ditto.
              (KIO::TransferJob::TransferJob): Ditto.
              (KIO::TransferJob::postData): Ditto.
              * kwq/KWQKPartsBrowserExtension.h: Ditto.
              * kwq/KWQLoader.mm:
              (KWQServeRequest): Ditto.
              (KWQServeSynchronousRequest): Ditto.
      
              * kwq/KWQFormData.h: Added. A function to convert KHTML form data into an NSArray for communication
              with the WebKit side.
              * kwq/KWQFormData.mm: Added.
      
              * kwq/WebCoreBridge.h: Pass NSArray instead of NSData for form data.
      
              * kwq/KWQArrayImpl.h: Added a detach member function. The old version would do unnecessary work when
              detach was called on an array that had exactly one reference.
              * kwq/KWQArrayImpl.mm: (KWQArrayImpl::detach): Added.
              * kwq/KWQMemArray.h: (QMemArray::detach): Call through to KWQArrayImpl.
      
              * kwq/KWQValueList.h:
              (QValueList::first): Added overload for non-const.
              (QValueList::last): Ditto.
      
              * ForwardingHeaders/misc/formdata.h: Added.
              * WebCore.pbproj/project.pbxproj: Added formdata.h, formdata.cpp, KWQFormData.h, and KWQFormData.cpp.
      
              * WebCore-tests.exp: Updated for changes to QValueList, and re-sorted.
              * WebCore-combined.exp: Regenerated.
      
      WebKit:
      
              Reviewed by Chris.
      
              - did work to prepare for uploading files incrementally when submitting forms
      
              * History.subproj/WebHistoryItem.m:
              (-[WebHistoryItem _setFormInfoFromRequest:]): Use NSArray instead of NSData for form data.
              (-[WebHistoryItem formData]): Ditto.
              * History.subproj/WebHistoryItemPrivate.h: Ditto.
              * WebCoreSupport.subproj/WebBridge.m:
              (-[WebBridge startLoadingResource:withURL:customHeaders:postData:]): Ditto.
              (-[WebBridge syncLoadResourceWithURL:customHeaders:postData:finalURL:responseHeaders:statusCode:]): Ditto.
              (-[WebBridge postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:]): Ditto.
              * WebCoreSupport.subproj/WebSubresourceClient.h: Ditto.
              * WebCoreSupport.subproj/WebSubresourceClient.m:
              (+[WebSubresourceClient startLoadingResource:withURL:customHeaders:postData:referrer:forDataSource:]): Ditto.
              * WebView.subproj/WebFrame.m:
              (-[WebFrame _loadItem:withLoadType:]): Ditto.
              (-[WebFrame _postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:]): Ditto.
              * WebView.subproj/WebFramePrivate.h: Ditto.
      
              * WebView.subproj/WebFormDataStream.h: Added.
              * WebView.subproj/WebFormDataStream.m:
              (-[WebFormDataStream initWithFormDataArray:]): Placeholder; not done yet.
              (-[WebFormDataStream formDataArray]): Ditto.
              * WebKit.pbproj/project.pbxproj: Added WebFormDataStream files.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@7403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71a0621b
  21. 23 May, 2004 1 commit
    • darin's avatar
      Reviewed by Ken. · fb958e8b
      darin authored
              - went through things marked "unimplemented" or "not implemented" and removed
                or implemented as many as possible
      
              * kwq/DOM.mm: (-[DOMNode dispatchEvent:]): Implemented.
              Also moved DOMAbstractView and DOMDocumentView into DOMViews.mm.
              * kwq/DOM-CSS.mm: (-[DOMDocument getComputedStyle::]): Implemented.
      
              * kwq/DOMEventsInternal.h: Added.
              * kwq/DOMEvents.mm:
              (-[DOMEvent type]): Implemented.
              (-[DOMEvent target]): Implemented.
              (-[DOMEvent currentTarget]): Implemented.
              (-[DOMEvent eventPhase]): Implemented.
              (-[DOMEvent bubbles]): Implemented.
              (-[DOMEvent cancelable]): Implemented.
              (-[DOMEvent timeStamp]): Implemented.
              (-[DOMEvent stopPropagation]): Implemented.
              (-[DOMEvent preventDefault]): Implemented.
              (-[DOMEvent initEvent:::]): Implemented.
              (-[DOMEvent _eventImpl]): Added.
              (-[DOMEvent _initWithEventImpl:]): Added.
              (+[DOMEvent _eventWithImpl:]): Added.
              (-[DOMMouseEvent _mouseEventImpl]): Added.
              (-[DOMMouseEvent screenX]): Implemented.
              (-[DOMMouseEvent screenY]): Implemented.
              (-[DOMMouseEvent clientX]): Implemented.
              (-[DOMMouseEvent clientY]): Implemented.
              (-[DOMMouseEvent ctrlKey]): Implemented.
              (-[DOMMouseEvent shiftKey]): Implemented.
              (-[DOMMouseEvent altKey]): Implemented.
              (-[DOMMouseEvent metaKey]): Implemented.
              (-[DOMMouseEvent button]): Implemented.
              (-[DOMMouseEvent relatedTarget]): Implemented.
              (-[DOMMouseEvent initMouseEvent:::::::::::::::]): Implemented.
              (-[DOMMutationEvent _mutationEventImpl]): Added.
              (-[DOMMutationEvent relatedNode]): Implemented.
              (-[DOMMutationEvent prevValue]): Implemented.
              (-[DOMMutationEvent newValue]): Implemented.
              (-[DOMMutationEvent attrName]): Implemented.
              (-[DOMMutationEvent attrChange]): Implemented.
              (-[DOMMutationEvent initMutationEvent::::::::]):
              (-[DOMUIEvent _UIEventImpl]): Added.
              (-[DOMUIEvent view]): Implemented.
              (-[DOMUIEvent detail]): Implemented.
              (-[DOMUIEvent initUIEvent:::::]): Implemented.
              (-[DOMDocument createEvent:]): Implemented.
      
              * kwq/DOMHTMLInternal.h: Added.
              * kwq/DOMHTML.mm:
              (+[DOMHTMLOptionsCollection _optionsCollectionWithImpl:]): Added.
              (-[DOMHTMLOptionsCollection length]): Implemented.
              (-[DOMHTMLOptionsCollection setLength:]): Implemented.
              (-[DOMHTMLOptionsCollection item:]): Implemented.
              (-[DOMHTMLOptionsCollection namedItem:]): Implemented.
              (-[DOMHTMLSelectElement options]): Implemented.
      
              * kwq/DOMViews.h: Changed DOMDocumentView to be a category on DOMDocument
              rather than a separate class.
              * kwq/DOMViewsInternal.h: Added.
              * kwq/DOMViews.mm: Added.
              (-[DOMAbstractView document]): Implemnted.
              (-[DOMAbstractView _abstractViewImpl]): Added.
              (-[DOMAbstractView _initWithAbstractViewImpl:]): Added.
              (+[DOMAbstractView _abstractViewWithImpl:]): Added.
              (-[DOMDocument defaultView]): Implemented.
      
              * khtml/dom/dom2_views.h: Made AbstractView constructor public to allow creation in
              the bindings. Would not be necessary if the impl classes were used consistently.
      
              * khtml/html/html_formimpl.h: Added options() function to HTMLSelectElementImpl.
              Added HTMLOptionsCollectionImpl class.
              * khtml/html/html_formimpl.cpp:
              (HTMLSelectElementImpl::~HTMLSelectElementImpl): Added code to detach and deref the
              options collection.
              (HTMLSelectElementImpl::options): Create an options collection if needed.
              (HTMLOptionsCollectionImpl::length): Added. Not yet implemented.
              (HTMLOptionsCollectionImpl::setLength): Ditto.
              (HTMLOptionsCollectionImpl::item): Ditto.
              (HTMLOptionsCollectionImpl::namedItem): Ditto.
      
              * khtml/khtmlview.h: Move unused focusNextPrevChild virtual function inside !APPLE_CHANGES.
              * khtml/khtmlview.cpp: Put the tp, paintBuffer, and formCompletions fields entirely
              inside !APPLE_CHANGES. Also made QT_NO_TOOLTIP entirely disable the tooltip field.
              Also put focusNextPrevChild and formCompletionItems functions inside !APPLE_CHANGES.
      
              * khtml/rendering/render_text.h: Removed unused isFixedWidthFont member function.
              * khtml/rendering/render_text.cpp: Ditto.
      
              * kwq/KWQCursor.h: Removed unused pos member function.
              * kwq/KWQCursor.mm: Ditto.
      
              * kwq/KWQFontMetrics.h: Removed unused rightBearing and leftBearing member functions.
              * kwq/KWQFontMetrics.mm: Ditto.
      
              * kwq/KWQKComboBox.h: Removed KCompletionBase as a base class.
      
              * kwq/KWQKConfigBase.h: Removed unused readBoolEntry, writeEntry, and readListEntry
              member functions.
              * kwq/KWQKConfigBase.mm: Ditto.
              (KConfig::readEntry): Improved "not implemented" message to indicate which key is uinimplemented.
              (KConfig::readNumEntry): Ditto.
              (KConfig::readUnsignedNumEntry): Ditto.
      
              * kwq/KWQKLineEdit.h: Removed everything, since all the KLineEdit stuff was unused.
              Changed KLineEdit to just be a typedef for QLineEdit.
      
              * kwq/KWQSlot.mm: Removed slotAutoScroll.
              (KWQSlot::KWQSlot): And from here.
              (KWQSlot::call): And from here.
      
              * kwq/KWQTextStream.h: Removed unused QTextOStream and QTextIStream.
              * kwq/KWQTextStream.mm: Removed unused QTextIStream function. Also made buffer sizes larger
              so we don't have any problems on 64-bit systems. 10 bytes might not be long enough to sprintf an
              integer or a long or a pointer, but 100 bytes surely will.
      
              * kwq/KWQWidget.h: Removed unused focusNextPrevChild.
              * kwq/KWQWidget.mm: Ditto.
      
              * WebCore.pbproj/project.pbxproj: Removed some files, added others.
      
              * ForwardingHeaders/kcompletionbox.h: Emptied out, no KWQKCompletionBox.h any more.
              * ForwardingHeaders/kiconloader.h: Emptied out, no KWQKIconLoader.h any more.
              * ForwardingHeaders/kmimetype.h: Emptied out, no KWQKMimeType.h any more.
              * ForwardingHeaders/ksimpleconfig.h: Emptied out, no KWQKSimpleConfig.h any more.
              * ForwardingHeaders/qfontinfo.h: Emptied out, no KWQFontInfo.h any more.
              * ForwardingHeaders/qtooltip.h: Replaced with define of QT_NO_TOOLTIP, no
              KWQToolTip.h any more.
      
              * kwq/KWQCompletion.h: Removed.
              * kwq/KWQCompletion.mm: Removed.
              * kwq/KWQFontInfo.h: Removed.
              * kwq/KWQFontInfo.mm: Removed.
              * kwq/KWQKCompletionBox.h: Removed.
              * kwq/KWQKIconLoader.h: Removed.
              * kwq/KWQKIconLoader.mm: Removed.
              * kwq/KWQKMimeType.h: Removed.
              * kwq/KWQKMimeType.mm: Removed.
              * kwq/KWQKSimpleConfig.h: Removed.
              * kwq/KWQKSimpleConfig.mm: Removed.
              * kwq/KWQToolTip.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb958e8b
  22. 22 Mar, 2004 1 commit
    • hyatt's avatar
      Factoring of form control code to enable sharing between three types of text... · 42be8345
      hyatt authored
      	Factoring of form control code to enable sharing between three types of text fields: normal, password, and
      	the new search field.  Also made search field creatable using <input type="search">.  There are still many
      	bugs with the field, but you can at least type in it and submit it with a form.
      
              Reviewed by darin
      
              * khtml/html/html_formimpl.cpp:
              (HTMLInputElementImpl::setType):
              (HTMLInputElementImpl::type):
              (HTMLInputElementImpl::click):
              (HTMLInputElementImpl::accessKeyAction):
              (HTMLInputElementImpl::rendererIsNeeded):
              (HTMLInputElementImpl::createRenderer):
              (HTMLInputElementImpl::encoding):
              (HTMLInputElementImpl::defaultEventHandler):
              (HTMLInputElementImpl::isEditable):
              * khtml/html/html_formimpl.h:
              (DOM::HTMLInputElementImpl::):
              * khtml/rendering/render_form.cpp:
              (RenderLineEdit::RenderLineEdit):
              * kwq/KWQKLineEdit.h:
              (KLineEdit::KLineEdit):
              * kwq/KWQLineEdit.h:
              (QLineEdit::):
              * kwq/KWQLineEdit.mm:
              (QLineEdit::QLineEdit):
              (QLineEdit::~QLineEdit):
              (QLineEdit::setFont):
              (QLineEdit::setText):
              (QLineEdit::text):
              (QLineEdit::setMaxLength):
              (QLineEdit::isReadOnly):
              (QLineEdit::setReadOnly):
              (QLineEdit::maxLength):
              (QLineEdit::selectAll):
              (QLineEdit::edited):
              (QLineEdit::setEdited):
              (QLineEdit::sizeForCharacterWidth):
              (QLineEdit::baselinePosition):
              (QLineEdit::setAlignment):
              (QLineEdit::setWritingDirection):
              (KWQNSTextAlignmentForAlignmentFlags):
              (QLineEdit::setLiveSearch):
              * kwq/KWQTextField.h:
              * kwq/KWQTextField.mm:
              (-[KWQTextFieldController initWithTextField:QLineEdit:]):
              (-[KWQTextFieldController action:]):
              (-[KWQTextFieldController dealloc]):
              (-[KWQTextFieldController widget]):
              (-[KWQTextFieldController setMaximumLength:]):
              (-[KWQTextFieldController controlTextDidBeginEditing:]):
              (-[KWQTextFieldController controlTextDidEndEditing:]):
              (-[KWQTextFieldController controlTextDidChange:]):
              (-[KWQTextFieldController control:textShouldBeginEditing:]):
              (-[KWQTextFieldController control:textShouldEndEditing:]):
              (-[KWQTextFieldController control:didFailToFormatString:errorDescription:]):
              (-[KWQTextFieldController control:didFailToValidatePartialString:errorDescription:]):
              (-[KWQTextFieldController control:isValidObject:]):
              (-[KWQTextFieldController control:textView:doCommandBySelector:]):
              (-[KWQTextFieldController textChanged]):
              (-[KWQTextFieldController setInDrawingMachinery:]):
              (-[KWQTextFieldController textView:shouldDrawInsertionPointInRect:color:turnedOn:]):
              (-[KWQTextFieldController textView:shouldHandleEvent:]):
              (-[KWQTextFieldController textView:didHandleEvent:]):
              (-[KWQTextFieldController setBaseWritingDirection:]):
              (-[KWQTextFieldController baseWritingDirection]):
              (-[KWQTextFieldController selectedRange]):
              (-[KWQTextFieldController setSelectedRange:]):
              (-[KWQTextFieldController setHasFocus:]):
              (-[KWQTextFieldController updateTextAttributes:]):
              (+[KWQTextField cellClass]):
              (-[KWQTextField initWithQLineEdit:]):
              (-[KWQTextField dealloc]):
              (-[KWQTextField controller]):
              (-[KWQTextField widget]):
              (-[KWQTextField selectText:]):
              (-[KWQTextField setStringValue:]):
              (-[KWQTextField nextKeyView]):
              (-[KWQTextField previousKeyView]):
              (-[KWQTextField nextValidKeyView]):
              (-[KWQTextField previousValidKeyView]):
              (-[KWQTextField acceptsFirstResponder]):
              (-[KWQTextField display]):
              (-[KWQTextField displayRectIgnoringOpacity:]):
              (-[KWQTextField textView:shouldDrawInsertionPointInRect:color:turnedOn:]):
              (-[KWQTextField textView:shouldHandleEvent:]):
              (-[KWQTextField textView:didHandleEvent:]):
              (-[KWQTextFieldCell editWithFrame:inView:editor:delegate:event:]):
              (-[KWQTextFieldCell selectWithFrame:inView:editor:delegate:start:length:]):
              (-[KWQTextFieldCell _textAttributes]):
              (-[KWQSecureTextField initWithQLineEdit:]):
              (-[KWQSecureTextField dealloc]):
              (-[KWQSecureTextField controller]):
              (-[KWQSecureTextField widget]):
              (-[KWQSecureTextField setStringValue:]):
              (-[KWQSecureTextField nextKeyView]):
              (-[KWQSecureTextField previousKeyView]):
              (-[KWQSecureTextField acceptsFirstResponder]):
              (-[KWQSecureTextField display]):
              (-[KWQSecureTextField displayRectIgnoringOpacity:]):
              (-[KWQSecureTextField textView:shouldDrawInsertionPointInRect:color:turnedOn:]):
              (-[KWQSecureTextField textView:shouldHandleEvent:]):
              (-[KWQSecureTextField textView:didHandleEvent:]):
              (-[KWQSecureTextField selectText:]):
              (-[KWQSecureTextFieldCell editWithFrame:inView:editor:delegate:event:]):
              (-[KWQSecureTextFieldCell selectWithFrame:inView:editor:delegate:start:length:]):
              (-[KWQSecureTextFieldCell _textAttributes]):
              (+[KWQSearchField cellClass]):
              (-[KWQSearchField initWithQLineEdit:]):
              (-[KWQSearchField dealloc]):
              (-[KWQSearchField controller]):
              (-[KWQSearchField widget]):
              (-[KWQSearchField selectText:]):
              (-[KWQSearchField setStringValue:]):
              (-[KWQSearchField nextKeyView]):
              (-[KWQSearchField previousKeyView]):
              (-[KWQSearchField nextValidKeyView]):
              (-[KWQSearchField previousValidKeyView]):
              (-[KWQSearchField acceptsFirstResponder]):
              (-[KWQSearchField display]):
              (-[KWQSearchField displayRectIgnoringOpacity:]):
              (-[KWQSearchField textView:shouldDrawInsertionPointInRect:color:turnedOn:]):
              (-[KWQSearchField textView:shouldHandleEvent:]):
              (-[KWQSearchField textView:didHandleEvent:]):
              (-[KWQSearchFieldCell editWithFrame:inView:editor:delegate:event:]):
              (-[KWQSearchFieldCell selectWithFrame:inView:editor:delegate:start:length:]):
              (-[KWQSearchFieldCell _textAttributes]):
              (-[KWQTextFieldFormatter init]):
              (-[KWQTextFieldFormatter setMaximumLength:]):
              (-[KWQTextFieldFormatter maximumLength]):
              (-[KWQTextFieldFormatter stringForObjectValue:]):
              (-[KWQTextFieldFormatter getObjectValue:forString:errorDescription:]):
              (-[KWQTextFieldFormatter isPartialStringValid:newEditingString:errorDescription:]):
              (-[KWQTextFieldFormatter attributedStringForObjectValue:withDefaultAttributes:]):
              (-[NSString _KWQ_truncateToNumComposedCharacterSequences:]):
              (-[NSTextField _KWQ_currentEditor]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42be8345
  23. 21 Jan, 2003 1 commit
  24. 17 Dec, 2002 1 commit
    • darin's avatar
      top level: · fc4fd1d0
      darin authored
              Reviewed by Don and Maciej.
      
              * force-clean-timestamp: Trigger a full build since we are setting
      	MACOSX_DEPLOYMENT_TARGET to 10.2, which requires remaking all PFEs.
      
      Tools:
      
              * Scripts/check-copyright: Added.
      
      JavaScriptCore:
      
              Reviewed by Don and Maciej.
      
      	- fixed 3129115 -- need Apple copyright added to open source documents
      
      	* tons of files: Added our copyright to files we modified, and updated all to standard format.
      
      	- other changes
      
              * JavaScriptCore.pbproj/project.pbxproj: Set MACOSX_DEPLOYMENT_TARGET to 10.2.
      	Also removed completion.cpp.
              * kjs/completion.cpp: Removed.
              * kjs/completion.h: Made the Completion constructor inline.
      
              * kjs/grammar.y: Removed an obsolete "pretend ifdef". No need to put these in APPLE_CHANGES now.
      
      WebFoundation:
      
              Reviewed by Don and Maciej.
      
              * English.lproj/StringsNotToBeLocalized.txt: Updated for recent changes.
              * WebFoundation.pbproj/project.pbxproj: Set MACOSX_DEPLOYMENT_TARGET to 10.2.
      
      WebCore:
      
              Reviewed by Don and Maciej.
      
      	- fixed 3129115 -- need Apple copyright added to open source documents
      
      	* tons of files: Added copyright message to files we modified and
      	standardized format of copyrights too.
      
      	- fixed 3129235 -- assert in LRUList visiting apple.com if "Display images" preference is off
      
              * khtml/misc/loader.cpp:
              (Cache::getLRUListFor): Use the first list for 0-sized objects.
              (Cache::removeFromLRUList): Allow 0-sized objects.
      
      	- other changes
      
              * khtml/rendering/render_style.h: Remove bogus unused private constructor.
      
              * kwq/KWQFont.h: Added copy constructor and assignment operator.
              * kwq/KWQFont.mm:
              (QFont::QFont): Copy constructor now retains the NSFont. The old version didn't which could
      	cause retain/release problems.
              (QFont::operator=): Retain the new NSFont and release the old one.
      
              * WebCore.pbproj/project.pbxproj: Set MACOSX_DEPLOYMENT_TARGET to 10.2.
      
      WebKit:
      
              Reviewed by Don and Maciej.
      
              * WebView.subproj/WebUserAgentSpoofTable.gperf: Added a couple of new domains to the list we
      	spoof as Mac IE, and added comments.
              * WebView.subproj/WebUserAgentSpoofTable.c: Regenerated.
      
              * WebKit.pbproj/project.pbxproj: Set MACOSX_DEPLOYMENT_TARGET to 10.2
      
      WebBrowser:
      
              Reviewed by Don and Maciej.
      
      	- fixed 3106686 -- Remove "world leak" debugging window before beta
      
              * Test/PageLoadTestController.m:
              (-[PageLoadTestController windowDidLoad]): (Not part of the bug fix.) Changed the combo
      	box so it automatically sizes to the number of pltsuite files so we don't have to edit
      	the nib all the time.
              (-[PageLoadTestController anyWindowWillClose:]): Don't do any world leak test when the
      	window closes. The one in the page load test window is still there.
      
              * Debug/DebugUtilities.m: (-[NSApplication validate_toggleAlwaysCheckForWorldLeaks:]):
      	Don't enable or check the debug menu item at all. Put an ifdef in so we can turn it on later.
      
      	- fixed 3124310 -- remove "app refuses to launch" code before shipping
      
              * main.m: (main): Remove all the licensing code.
      
      	- other changes
      
              * BrowserNSNetServiceExtras.m: Made all locally-defined-and used functions static
      	so we would know if any were unused and for cleanliness.
              (-[NSNetService hostName:andPort:]): Remove some silly assertions.
              (decode_name): Change printf for errors to ERROR.
              (decode_srv): Ditto.
      	(decode_txt): Removed because it's unused.
              (skip_question): Ditto.
              (MyDictionaryKeyHashCallBack): Removed silly assertion.
              (MyCreateCFDictionaryFromTXT): Ditto.
      
              * WebBrowser.pbproj/project.pbxproj: Set MACOSX_DEPLOYMENT_TARGET to 10.2
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc4fd1d0
  25. 26 Oct, 2002 1 commit
  26. 19 Aug, 2002 1 commit
    • darin's avatar
      First cut at implementation of "tab to change focus": Lots of loose ends, but it's · 8a5da4fd
      darin authored
      	going well.
      
              * kwq/KWQNSTextField.h: Change initWithWidget to initWithQLineEdit.
              * kwq/KWQNSTextField.mm:
              (-[KWQNSTextField initWithQLineEdit:]): Keep a QLineEdit pointer so we don't cast later.
              (-[KWQNSTextField dealloc]): Sets widget to 0 to make nextKeyView and previousKeyView
      	return nil while deallocating.
              (-[KWQNSTextField setPasswordMode:]): Pass widget when creating secure text field so it
      	can handle the next/previous links properly.
              (-[KWQNSTextField nextKeyView]): Added. Calls KWQKHTMLPartImpl::nextKeyView.
              (-[KWQNSTextField previousKeyView]): Added. Calls KWQKHTMLPartImpl::nextKeyView.
              (-[KWQTextFieldCell isOpaque]): Added. Returns NO; fixes focus rectangle updating.
              (-[KWQSecureTextField initWithQWidget:]): Added.
              (-[KWQSecureTextField dealloc]): Added. Sets widget to 0 to make nextKeyView and
      	previousKeyView return nil while deallocating.
              (-[KWQSecureTextField nextKeyView]): Added. Calls KWQKHTMLPartImpl::nextKeyView.
              (-[KWQSecureTextField previousKeyView]): Added. Calls KWQKHTMLPartImpl::nextKeyView.
      
              * kwq/KWQKHTMLPartImpl.h: Add KWQSelectionDirection. Change name of getBridge() to
      	bridge(), getDocument() to document(), getRenderer() to renderer(), getBridgeForFrameName()
      	to bridgeForFrameName(). Also added nextKeyView family of member functions.
      
              * kwq/KWQKHTMLPartImpl.mm:
              (KWQKHTMLPartImpl::nextKeyViewInFrame): Added.
              (KWQKHTMLPartImpl::nextKeyView): Added.
      
              * kwq/qt/qwidget.h: Remove unneeded parameters from constructor. Also added a
      	constructor that takes an NSView.
              * kwq/KWQWidget.mm:
              (QWidget::QWidget): Don't store focus policy (it was uninitialized before).
              (QWidget::focusPolicy): Return TabFocus for any widget that has a view with a first
      	responder, NoFocus for any other.
              (QWidget::setFocusPolicy): Do nothing.
              (QWidget::setFocusProxy): Do nothing.
      
              * kwq/qt/qobject.h: Store the event filter object when installEventFilter is called.
      	This is used to find the RenderWidget for a QWidget by the new tabbing code.
              * kwq/KWQObject.mm: Removed event-filter functions. Two are now inlines, one deleted.
      
      	Other changes related to KWQKHTMLPartImpl improvements.
      
              * kwq/KWQKHTMLPartBrowserExtension.mm:
              * kwq/KWQKHTMLPartImpl.mm:
              * kwq/KWQLoaderImpl.mm:
              * kwq/WebCoreBridge.mm:
      	Update for KWQKHTMLPartImpl member name changes.
      
      	Various improvements for other widget implementations.
      
              * kwq/qt/qbutton.h:
              * kwq/KWQButton.mm: Stop using KWQNSButton. Instead just use a button adapter
      	object, and a plain old NSButton.
              (QButton::QButton): Put all the NSButton setup in here.
              (QButton::~QButton): Release the adapter here.
              (QButton::clicked): Move this in here because it's virtual now so that QCheckBox
      	can override it.
              (-[KWQButtonAdapter initWithQButton:]): Added.
              (-[KWQButtonAdapter action:]): Just call clicked().
      
              * kwq/qt/qpushbutton.h: Don't pass unused parent pointer to QButton constructor.
              * kwq/KWQPushButton.mm: (QPushButton::QPushButton): Don't pass unused parent pointer to
      	QButton contructor.
      
              * kwq/qt/qcheckbox.h:
              * kwq/KWQCheckBox.mm: Just use NSButton, not KWQNSButton.
              (QCheckBox::clicked): Move the state-changed logic here; used to be in KWQNSButton.
      
              * kwq/KWQRadioButton.mm:
              (QRadioButton::QRadioButton): Don't pass unused parent pointer to
      	QButton contructor.
      
              * kwq/qt/qcombobox.h:
              * kwq/KWQComboBox.mm:
              (QComboBox::QComboBox): Removed extra constructor. Make a plain NSPopUpButton,
      	and use an adapter object, rather than having a KWQNSComboBox.
              (QComboBox::~QComboBox): Release the adapter.
              (QComboBox::insertItem): New implementation. No need to keep an items array around,
      	because the menu does that just fine.
              (QComboBox::clear): Remove the items from the pop-up button directly.
              (-[KWQComboBoxAdapter initWithQComboBox:]): Added.
              (-[KWQComboBoxAdapter action:]): Just call activated().
      
              * kwq/kdeui/kcombobox.h: Empty this out and make it use only inlines.
      
              * khtml/rendering/render_form.cpp: (RenderSelect::updateFromElement):
      	Remove the setSize()/doneLoading() optimization for QComboBox because the new
      	simpler QComboBox implementation obviates the speed problem this was originally
      	intended to fix.
      
              * kwq/qt/qlineedit.h:
              * kwq/KWQLineEdit.mm: (QLineEdit::QLineEdit): Call initWithQLineEdit instead of
      	initWithWidget. Also don't take an unused parent pointer parameter.
      
              * kwq/kdeui/klineedit.h: Empty this out and make it use only inlines.
      
              * kwq/qt/qframe.h: Remove unused parent pointer from constructor.
              * kwq/KWQFrame.mm: Remove unneeded constructor.
              * kwq/KWQHBox.mm: (QHBox::QHBox): Don't pass unused parent pointer to QFrame.
              * kwq/KWQLabel.mm: (QLabel::QLabel): Don't pass unused parent pointer to QFrame.
              * kwq/qt/qscrollview.h: Make constructor inline.
              * kwq/KWQScrollView.mm: Remove unneeded constructor.
              * kwq/KWQWindowWidget.h: Remove unneeded constructor.
      
              * WebCore.pbproj/project.pbxproj: Remove KWQKComboBox.mm, KWQKLineEdit.mm,
      	and KWQScrollBar.h.
              * kwq/KWQKComboBox.mm: Removed.
              * kwq/KWQKLineEdit.mm: Removed.
              * kwq/KWQScrollBar.h: Removed. Unused.
      
              * kwq/KWQTextArea.h: Change initWithWidget to initWithQTextEdit.
              * kwq/KWQTextArea.mm: (-[KWQTextArea initWithQTextEdit:]): Changed name.
              * kwq/KWQTextEdit.mm: (QTextEdit::QTextEdit): Call initWithQTextEdit instead of
      	initWithWidget.
      
              * kwq/KWQView.h: Eliminated KWQNSButton, KWQNSComboBox, and KWQNSScrollView.
              * kwq/KWQView.mm: Ditto.
      
      	Housekeeping.
      
              * force-clean-timestamp: Yes, again.
      
              * khtml/khtml_part.h: Rearrange APPLE_CHANGES a bit.
      
              * kwq/qt/qvaluelist.h: Added -- as well as ++ for the const iterator, and fixed some
      	minor const issues. At one point I needed this for the focus changes, but not any more.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1865 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a5da4fd
  27. 21 Jul, 2002 1 commit
    • darin's avatar
      JavaScriptCore: · 74f6ed62
      darin authored
              * kjs/*: Roll KDE 3.0.2 changes in. Also switch to not using APPLE_CHANGES
      	for some of the changes that we definitely want to contribute upstream.
      
      WebCore:
      
      	* khtml/*: Roll KDE 3.0.2 changes in. Also switch to not using APPLE_CHANGES
      	for some of the changes that we definitely want to contribute upstream.
      
              * WebCore.pbproj/project.pbxproj: Add KWQStyle.mm, remove KWQStyle.h, moving contents
      	into qstyle.h.
      
              * kwq/KWQApplication.mm: (QApplication::globalStrut): Remove _logNotYetImplemented().
      
              * kwq/KWQButton.mm: (QButton::QButton): Use plain release, not autorelease.
              * kwq/KWQComboBox.mm: (QComboBox::init): Use plain release, not autorelease.
              * kwq/KWQListBox.mm: (QListBox::QListBox): Use plain release, not autorelease.
              * kwq/KWQPainter.mm: (QPainter::drawArc): Use plain release, not autorelease.
      
              * kwq/KWQKHTMLPartBrowserExtension.mm: Remove import of KWQKHTMLPartImpl.h, now that
      	it's always part of khtml_part.h.
              * kwq/KWQKHTMLPartImpl.cpp: Simplify.
              * kwq/KWQKHTMLPartImpl.h: Add wrapper to allow multiple inclusion. Don't include
      	khtml_part.h any more, since that file now includes this one to minimize changes to
      	KDE code that needs to get to functions in here.
              * kwq/KWQKHTMLPartImpl.mm:
              (KHTMLPart::onURL), (KHTMLPart::nodeActivated), (KHTMLPart::setStatusBarText):
      	Moved here from khtml_part.cpp.
              * kwq/KWQLoaderImpl.mm: Include khtml_part.h instead of KWQKHTMLPartImpl.h.
      
              * kwq/KWQPushButton.mm:
              (buttonFontMetrics), (QPushButton::fontMetrics): Added. Used by the form code to size buttons.
              * kwq/KWQStyle.mm: Added.
              (QStyle::sizeFromContents): Added. Used by the form code to size buttons.
      
              * kwq/KWQStyle.h: Removed.
              * kwq/qt/qstyle.h: Moved contents of KWQStyle.h in here.
              * kwq/qt/qwidget.h: Include <qstyle.h> rather than KWQStyle.h.
      
              * kwq/WebCoreBridge.mm: (-[WebCoreBridge isFrameSet]): Call straight to impl.
      
              * kwq/kdeui/klineedit.h: Add KLineEdit::frameWidth().
              * kwq/qt/qnamespace.h: Remove GUIStyle, MacStyle, and WindowsStyle.
              * kwq/qt/qpaintdevice.h: Add QInternal, QInternal::Printer, and QPaintDevice::devType().
              * kwq/qt/qpainter.h: Add QPainter::device().
              * kwq/qt/qpushbutton.h: Add QPushButton::fontMetrics().
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74f6ed62
  28. 03 Jun, 2002 1 commit
    • darin's avatar
      * acconfig.h: Remove APPLE_CHANGES (done in compiler invocation), · b95d6c41
      darin authored
      	_KWQ_ (not needed any more), _KWQ_PEDANTIC_ (not needed any more),
      	and _KWQ_IOSTREAM_ (set by KWQDef.h now).
      
      	* configure.in: Remove explict gcc3 and g++3; not needed on Jaguar.
      	Remove APPLE_CHANGES, _KWQ_, _KWQK_PEDANTIC_, and _KWQ_IOSTREAM_.
      	Do an AC_SUBST on COMMON_CFLAGS so the flags are used to generate the
      	.pfe files. Add conditional stuff so that WebCore exports less and
      	the Tests subdirectory is not build in Deployment style builds.
      
      	* Makefile.am: Only build Tests subdir when configure.in says it should.
      
      	* Tests/draw/*: Removed.
      
      	* Tests/qt/qbuffer-test.cpp: (main): Update for QBuffer changes.
      	* Tests/qt/qrect-test.cpp: (main): Remove unused variable.
      
      	* Tools/jersey/README: Fix newlines.
      	* Tools/jersey/html/advanced.html: Fix newlines.
      
      WebCore:
      
      	Get rid of many unneeded APPLE_CHANGES.
      	Also get rid of _KWQ_ and _KWQ_PEDANTIC_.
      
      	* WebCore.exp: Don't export DomShared::ref/deref any more.
      	* WebCore-tests.exp: Changed around as needed due to changes in
      	the classes being tested.
      
      	* khtml/html/htmlparser.cpp:
      	* khtml/html/htmltokenizer.cpp:
      	Simplified APPLE_CHANGES for better merging.
      
      	* khtml/dom/dom_misc.h:
      	* khtml/dom/dom_misc.cpp:
      	* khtml/dom/html_document.cpp:
      	* khtml/khtmlview.cpp:
      	* khtml/ecma/kjs_css.h:
      	* khtml/ecma/kjs_dom.cpp:
      	* khtml/ecma/kjs_dom.h:
      	* khtml/ecma/kjs_window.cpp:
      	* khtml/html/html_formimpl.cpp:
      	* khtml/html/html_objectimpl.cpp:
      	* khtml/misc/helper.cpp:
      	* khtml/rendering/bidi.cpp:
      	* khtml/rendering/render_flow.cpp:
      	* khtml/rendering/render_form.cpp:
      	* khtml/rendering/render_text.cpp:
      	* khtml/xml/xml_tokenizer.h:
      	* kwq/qt/qtextedit.h:
      	Remove now-unneeded APPLE_CHANGES.
      
      	* khtml/misc/loader.cpp: (CachedImage::pixmap): Turned off more of
      	the QMovie code.
      
      	* khtml/html/html_documentimpl.cpp:
      	* khtml/html/htmltokenizer.h:
      	* khtml/xml/dom_elementimpl.h:
      	* kwq/KWQKHTMLPart.mm:
      	Formatting and other minor tweaks.
      
      	* kwq/KWQApplication.mm: (QApplication::sendEvent): Implemented.
      	* kwq/KWQChar.mm: (QChar::direction): Improved implementation.
      
      	* kwq/KWQCollection.h: Removed.
      	* kwq/KWQIcon.h: Removed.
      
      	* kwq/Makefile.am: Removed following files.
      	* kwq/KWQKCompletionBox.mm: Removed.
      	* kwq/KWQKFactory.mm: Removed.
      	* kwq/KWQListBox.mm: Removed.
      	* kwq/KWQKImageIO.mm: Removed.
      
      	* kwq/KWQObject.mm: (QObject::event): Added, does nothing.
      	(QObject::inherits): Put in real implementation (good enough for us).
      
      	* kwq/WCWebDataSource.h: Removed extern declaration of global.
      
      	* kwq/KWQCursor.mm: (QCursor::handle): Made the handle be an
      	NSCursor *.
      
      	* kwq/external.h: Moved [IFWebView setFrameSize:] here.
      	Got rid of IFAnimatedImage.
      
      	* kwq/KWQDef.h: Remove unused Q_INT8, Q_INT16, Q_UINT8, Q_UINT16,
      	QCOORD, WFlags, WId, ASSERT, CHECK_PTR, Q_EXPORT, Q_PACKED,
      	QT_STATIC_CONST, QT_STATIC_CONST_IMPL. Define _KWQ_IOSTREAM_ only
      	when NDEBUG is not defined.
      
      	* kwq/KWQBuffer.mm:
      	* kwq/KWQCString.mm:
      	* kwq/KWQCollection.mm:
      	* kwq/KWQCompletion.h:
      	* kwq/KWQCompletion.mm:
      	* kwq/KWQFrame.h:
      	* kwq/KWQFrame.mm:
      	* kwq/KWQHBox.mm:
      	* kwq/KWQKFileItem.mm:
      	* kwq/KWQKIconLoader.mm:
      	* kwq/KWQKLineEdit.mm:
      	* kwq/KWQKProtocolManager.mm:
      	* kwq/KWQLabel.mm:
      	* kwq/KWQListBox.h:
      	* kwq/KWQMovie.mm:
      	* kwq/KWQWidget.mm:
      	* kwq/KWQxml.mm:
      	* kwq/qt/qbuffer.h:
      	* kwq/kdecore/kdebug.h:
      	* kwq/kdecore/kglobal.h:
      	* kwq/kdecore/kglobalsettings.h:
      	* kwq/kdecore/kiconloader.h:
      	* kwq/kdecore/kstaticdeleter.h:
      	* kwq/kdecore/kstringhandler.h:
      	* kwq/kdeui/kcombobox.h:
      	* kwq/kdeui/kcompletionbox.h:
      	* kwq/kdeui/klineedit.h:
      	* kwq/kdeui/klistbox.h:
      	* kwq/kdeui/kmessagebox.h:
      	* kwq/kio/kfileitem.h:
      	* kwq/kio/kimageio.h:
      	* kwq/kio/kmimetype.h:
      	* kwq/kio/kprotocolmanager.h:
      	* kwq/kio/netaccess.h:
      	* kwq/qt/qxml.h:
      	* kwq/kparts/browserinterface.h:
      	* kwq/kparts/factory.h:
      	* kwq/kparts/part.h:
      	* kwq/qt/qarray.h:
      	* kwq/qt/qcollection.h:
      	* kwq/qt/qcstring.h:
      	* kwq/qt/qcursor.h:
      	* kwq/qt/qdict.h:
      	* kwq/qt/qhbox.h:
      	* kwq/qt/qlabel.h:
      	* kwq/qt/qlist.h:
      	* kwq/qt/qmap.h:
      	* kwq/qt/qmovie.h:
      	* kwq/qt/qobject.h:
      	* kwq/qt/qpaintdevicemetrics.h:
      	* kwq/qt/qpainter.h:
      	* kwq/qt/qpoint.h:
      	* kwq/qt/qradiobutton.h:
      	* kwq/qt/qrect.h:
      	* kwq/qt/qregion.h:
      	* kwq/qt/qscrollview.h:
      	* kwq/qt/qsize.h:
      	* kwq/qt/qstack.h:
      	* kwq/qt/qstringlist.h:
      	* kwq/qt/qtextedit.h:
      	* kwq/qt/qvaluelist.h:
      	* kwq/qt/qvector.h:
      	* kwq/qt/qwidget.h:
      	* kwq/qt/qxml.h:
      	Removed unused stuff.
      
      	* kwq/KWQListBox.mm:
      	* kwq/KWQMapImpl.h:
      	* kwq/KWQMapImpl.mm:
      	* kwq/KWQPainter.mm:
      	* kwq/KWQPoint.mm:
      	* kwq/KWQRadioButton.mm:
      	* kwq/KWQRect.mm:
      	* kwq/KWQRegion.mm:
      	* kwq/KWQScrollBar.h:
      	* kwq/KWQScrollView.mm:
      	* kwq/KWQSize.mm:
      	* kwq/KWQStringList.mm:
      	* kwq/KWQbrowserinterface.mm:
      	Simplified.
      
      	* kwq/kdecore/kurl.h:
      	Added include to match what's expected by clients.
      
      	* kwq/qt/qobjectlist.h: Added. Empty file to make includers happy.
      
      	* kwq/khtml/khtml_printsettings.h: Added. Empty file.
      	* kwq/qt/qobjectlist.h: Added. Empty file.
      
      	* kwq/kio/kssl/ksslkeygen.h: Define just enough to make callers
      	happy.
      
      	* kwq/qt/qobject.h: Added event().
      	* kwq/kparts/part.h: Added bool return type to event().
      	* kwq/qt/qvector.h: Added QGVector base class.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b95d6c41
  29. 10 Sep, 2001 3 commits
  30. 05 Sep, 2001 2 commits
  31. 04 Sep, 2001 2 commits
  32. 30 Aug, 2001 1 commit
  33. 27 Aug, 2001 1 commit