1. 13 Nov, 2007 1 commit
    • ap@webkit.org's avatar
      Reviewed by Darin. · f263e7d9
      ap@webkit.org authored
              http://bugs.webkit.org/show_bug.cgi?id=15953
              Add UTF-8 encoding/decoding to WTF
      
              * kjs/ustring.h: Moved UTF8SequenceLength() and decodeUTF8Sequence() to wtf/unicode.
              * kjs/ustring.cpp: (KJS::UString::UTF8String): Changed this function to take a strict/lenient
              parameter. Callers are not interested in getting decoding results in strict mode, so 
              this allows for bailing out as soon as an error is seen.
      
              * kjs/function.cpp:
              (KJS::encode): Updated for new UString::UTF8String() signature.
      
              * API/JSStringRef.cpp:
              (JSStringCreateWithCharacters): Disambiguate UChar.
              (JSStringCreateWithUTF8CString): Actually use UTF-8 when creating the string!
              * bindings/c/c_utility.cpp: (KJS::Bindings::convertUTF8ToUTF16): Use ConvertUTF8ToUTF16().
      
              * wtf/unicode/UTF8.cpp: Added.
              (WTF::Unicode::inlineUTF8SequenceLengthNonASCII):
              (WTF::Unicode::inlineUTF8SequenceLength):
              (WTF::Unicode::UTF8SequenceLength):
              (WTF::Unicode::decodeUTF8Sequence):
              (WTF::Unicode::):
              (WTF::Unicode::ConvertUTF16ToUTF8):
              (WTF::Unicode::isLegalUTF8):
              (WTF::Unicode::ConvertUTF8ToUTF16):
              * wtf/unicode/UTF8.h: Added.
              (WTF::Unicode::):
              Some code moved from ustring.h, some adapted from unicode.org sources.
      
              * JavaScriptCore.exp:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/WTF/WTF.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              Added UTF8.{h,cpp}
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27746 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f263e7d9
  2. 12 Nov, 2007 35 commits
    • weinig@apple.com's avatar
      JavaScriptCore: · 16d9491e
      weinig@apple.com authored
              Reviewed by Darin.
      
              - http://bugs.webkit.org/show_bug.cgi?id=15946
                add NPPValue NPPVpluginDrawingModel (Mozilla bug 403418 compat)
      
              * bindings/npapi.h:
      
      WebKit/mac:
      
              Reviewed by Darin.
      
              - http://bugs.webkit.org/show_bug.cgi?id=15946
                add NPPValue NPPVpluginDrawingModel (Mozilla bug 403418 compat)
      
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView setVariable:value:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27745 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16d9491e
    • ap@webkit.org's avatar
      Reviewed by Darin. · fbc55832
      ap@webkit.org authored
              http://bugs.webkit.org/show_bug.cgi?id=15954
              Move DOM Selection operations out of SelectionController
      
              No change in functionality.
      
      WebCore:
              * editing/SelectionController.cpp:
              (WebCore::SelectionController::setSelectedRange):
              * editing/SelectionController.h:
              * page/DOMSelection.cpp:
              (WebCore::DOMSelection::anchorNode):
              (WebCore::DOMSelection::baseNode):
              (WebCore::DOMSelection::anchorOffset):
              (WebCore::DOMSelection::baseOffset):
              (WebCore::DOMSelection::focusNode):
              (WebCore::DOMSelection::extentNode):
              (WebCore::DOMSelection::focusOffset):
              (WebCore::DOMSelection::extentOffset):
              (WebCore::DOMSelection::isCollapsed):
              (WebCore::DOMSelection::type):
              (WebCore::DOMSelection::rangeCount):
              (WebCore::DOMSelection::collapse):
              (WebCore::DOMSelection::collapseToEnd):
              (WebCore::DOMSelection::collapseToStart):
              (WebCore::DOMSelection::empty):
              (WebCore::DOMSelection::setBaseAndExtent):
              (WebCore::DOMSelection::setPosition):
              (WebCore::DOMSelection::modify):
              (WebCore::DOMSelection::extend):
              (WebCore::DOMSelection::getRangeAt):
              (WebCore::DOMSelection::removeAllRanges):
              (WebCore::DOMSelection::addRange):
              (WebCore::DOMSelection::deleteFromDocument):
              (WebCore::DOMSelection::containsNode):
              (WebCore::DOMSelection::selectAllChildren):
              (WebCore::DOMSelection::toString):
              * page/DOMSelection.h:
              Moved all DOM API methods to DOMSelection; changed SelectionController::setSelectedRange()
              to return its result directly instead of via an ExceptionCode that no caller wanted.
      
              * editing/Editor.cpp:
              (WebCore::Editor::deleteRange):
              (WebCore::Editor::removeFormattingAndStyle):
              (WebCore::Editor::selectComposition):
              (WebCore::Editor::setComposition):
              * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::defaultEventHandler):
              Adapted for SelectionController::setSelectedRange() now returning a bool.
              SelectionController::toString() is no longer avasilable, use plainText() explicitly.
      
              * WebCore.base.exp: Changed SelectionController::setSelectedRange() signature.
      
      WebKit:
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView _expandSelectionToGranularity:]):
              (-[WebHTMLView selectToMark:]):
              (-[WebHTMLView swapWithMark:]):
              * WebView/WebView.mm:
              (-[WebView setSelectedDOMRange:affinity:]):
              Adapted for SelectionController::setSelectedRange() now returning a bool.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27744 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fbc55832
    • mitz@apple.com's avatar
      WebCore: · 698099cc
      mitz@apple.com authored
              Reviewed by Darin Adler.
      
              - <http://bugs.webkit.org/show_bug.cgi?id=15890>
                Most of www.aol.com still redraws unnecessarily when headline/photo section changes
      
              Test: fast/repaint/invisible-objects.html
      
              Avoid repainting invisible blocks if they are enclosed in a layer that
              contains no visible objects.
      
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::layoutBlock):
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::absoluteClippedOverflowRect):
      
      LayoutTests:
      
              Reviewed by Darin Adler.
      
              - no-repaint test for <http://bugs.webkit.org/show_bug.cgi?id=15890>
                Most of www.aol.com still redraws unnecessarily when headline/photo section changes
      
              * fast/repaint/invisible-objects.html: Added.
              * platform/mac/fast/repaint/invisible-objects-expected.checksum: Added.
              * platform/mac/fast/repaint/invisible-objects-expected.png: Added.
              * platform/mac/fast/repaint/invisible-objects-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27743 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      698099cc
    • oliver@apple.com's avatar
      <rdar://problem/5537289> REGRESSION: Dragging a link or an image from an... · 346107ea
      oliver@apple.com authored
      <rdar://problem/5537289> REGRESSION: Dragging a link or an image from an IFrame causes the page to not respond to clicks afterwards (15460)
      
      Reviewed by John S.
      
      EventHandler needs to reset these fields when a drag terminates, otherwise
      EventHandler is left in an inconsistent state when a drag is initiated on a
      page with multiple frames.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      346107ea
    • wsiegrist@apple.com's avatar
      · 6778a7f1
      wsiegrist@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6778a7f1
    • wsiegrist@apple.com's avatar
      test 4 · bcf6d8be
      wsiegrist@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27740 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bcf6d8be
    • wsiegrist@apple.com's avatar
      3 · 2a1d80c6
      wsiegrist@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27739 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a1d80c6
    • wsiegrist@apple.com's avatar
      2++ · 5462d1e1
      wsiegrist@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27738 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5462d1e1
    • wsiegrist@apple.com's avatar
      take 2 · 3daf975e
      wsiegrist@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3daf975e
    • wsiegrist@apple.com's avatar
      testing post-commit. · c58e50d9
      wsiegrist@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c58e50d9
    • timothy@apple.com's avatar
      Reviewed by Mark Rowe. · ce64f8a3
      timothy@apple.com authored
              Prevent selecting a word in the breadcrumb or the styles section when double
              clicking on a DOM node in the outline tree.
      
              * page/inspector/DocumentPanel.js: Call preventDefault() when a mousedown event
                with a detail of 2 or higher comes in. This prevents the selection.
              * page/inspector/inspector.css: Mark the breadcrumb as user-select: none.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce64f8a3
    • weinig@apple.com's avatar
      WebKitTools: · 3962570f
      weinig@apple.com authored
              Reviewed by Adam Roben.
      
              Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
      
              * DumpRenderTree/win/DumpRenderTree.cpp:
              (runTest):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::setPrivateBrowsingEnabled):
      
      LayoutTests:
      
              Reviewed by Adam Roben.
      
              * platform/win/Skipped: Remove http/tests/security/cross-frame-acdcess-private-browsing.html 
              from the windows skipped list now that LayoutTestController.setPrivateBrowsingEnabled has 
              been implmented.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3962570f
    • darin@apple.com's avatar
      JavaScriptCore: · 0856b869
      darin@apple.com authored
              Reviewed by Sam.
      
              - http://bugs.webkit.org/show_bug.cgi?id=15951
                REGRESSION: assertion failure in regexp match() when running JS tests
      
              Test: fast/js/regexp-many-brackets.html
      
              * pcre/pcre_exec.cpp: (match): Added back accidentally-removed case for
              the BRANUMBER opcode.
      
      LayoutTests:
      
              Reviewed by Sam.
      
              - test for http://bugs.webkit.org/show_bug.cgi?id=15951
                REGRESSION: assertion failure in regexp match() when running JS tests
      
              * fast/js/regexp-many-brackets-expected.txt: Added.
              * fast/js/regexp-many-brackets.html: Added.
              * fast/js/resources/regexp-many-brackets.js: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0856b869
    • oliver@apple.com's avatar
      Return behaviour for 0 sized pattern back to what it was prior to r27704 · 9c61d803
      oliver@apple.com authored
      Reviewed by Darin and Antti.
      
      This change in behaviour broke two layout tests in DRT, so correcting it
      corrects existing tests.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c61d803
    • timothy@apple.com's avatar
      Reviewed by John. · 8af3894b
      timothy@apple.com authored
              <rdar://problem/5268311> REGRESSION (Safari 2-3): Exception thrown when calling -[WebDataSource subresources]
      
              * page/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge getAllResourceDatas:andResponses:]):
              If the SharedBuffer is null insert an empty NSData instead of nil.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8af3894b
    • darin@apple.com's avatar
      Reviewed by Geoff. · 7f984871
      darin@apple.com authored
              - fix use of prefix and config.h, got rid of a few unneeded things in
                the PCRE code; no behavior changes
      
              * API/JSBase.cpp: Added include of config.h.
              * API/JSCallbackConstructor.cpp: Ditto.
              * API/JSCallbackFunction.cpp: Ditto.
              * API/JSCallbackObject.cpp: Ditto.
              * API/JSClassRef.cpp: Ditto.
              * API/JSContextRef.cpp: Ditto.
              * API/JSObjectRef.cpp: Ditto.
              * API/JSStringRef.cpp: Ditto.
              * API/JSValueRef.cpp: Ditto.
      
              * JavaScriptCorePrefix.h: Removed obsolete <ctype.h> workaround.
              Moved new/delete macros after includes, as they are in WebCore's prefix.
              Removed "config.h".
      
              * pcre/dftables.cpp: (main): Changed back to not use a separate maketables
              function. This is needed for PCRE, but not helpful for our use. Also changed
              the tables to all be 128 entries long instead of 256, since only the first
              128 are ever used.
      
              * pcre/pcre_compile.cpp: Added include of config.h. Eliminated digitab,
              which was only being used to check hex digits. Changed all uses of TRUE and
              FALSE to use the C++ true and false instead.
              (check_escape): Just the TRUE/FALSE thing.
              (is_counted_repeat): Ditto.
              (could_be_empty_branch): Ditto.
              (get_othercase_range): Ditto.
              (compile_branch): Ditto.
              (compile_regex): Ditto.
              (is_anchored): Ditto.
              (is_startline): Ditto.
              (find_firstassertedchar): Ditto.
              (jsRegExpCompile): Ditto.
      
              * pcre/pcre_exec.cpp: Added include of config.h. Changed all uses of TRUE and
              FALSE to use the C++ true and false instead.
              (match_ref): Just the TRUE/FALSE thing.
              (match): Ditto. Removed some unneeded braces.
              (jsRegExpExecute): Just the TRUE/FALSE thing.
      
              * pcre/pcre_internal.h: Moved the constants needed by dftables.cpp to the top
              of the file instead of the bottom, so they can be used. Also changed the table
              sizes to 128 instead of 256. Removed macro definitions of FALSE and TRUE.
              Set array sizes for all the const arrays. Changed _pcre_utf8_table1_size to
              be a macro instead of a extern int.
      
              * pcre/pcre_maketables.cpp: Removed. It's all in dftables.cpp now.
      
              * pcre/pcre_tables.cpp: Made table sizes explicit.
      
              * pcre/pcre_xclass.cpp: Just the TRUE/FALSE thing.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f984871
    • darin@apple.com's avatar
      Reviewed by Tim. · 34fea3a8
      darin@apple.com authored
              - http://bugs.webkit.org/show_bug.cgi?id=15947
                speed up page loading a bit by inlining
      
              * loader/FrameLoader.cpp: (WebCore::FrameLoader::isLocationChange):
              Factored out the slow case of isScheduledLocationChangePending into this.
      
              * loader/FrameLoader.h:
              (WebCore::FrameLoader::isScheduledLocationChangePending): Added an
              inline check of the far and away most common case, where m_scheduledRedirection
              is 0; the rest is in the isLocationChange function.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34fea3a8
    • oliver@apple.com's avatar
      Appease geoff :D · 91ffc099
      oliver@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91ffc099
    • ggaren@apple.com's avatar
      Rubber-stamped by Oliver Hunt. · 1a1474ef
      ggaren@apple.com authored
              
              Landing a few layout tests from http://bugs.webkit.org/show_bug.cgi?id=14868
              Import variable lookup optimizations from KJS
      
              * fast/js/kde/completion-expected.txt:
              * fast/js/kde/resources/completion.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a1474ef
    • oliver@apple.com's avatar
      <rdar://problem/5522011> The content of the password field of Safari is displayed by reconversion. · 0c86647c
      oliver@apple.com authored
      Reviewed by Darin.
      
      Some input methods (notably Kotoeri) can incorrectly provide
      access to the raw text of a password field.  To work around
      this we forcefully override the inputContext whenever a password
      field is active.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c86647c
    • ggaren@apple.com's avatar
      Rubber-stamped by Oliver Hunt. · d9fffcca
      ggaren@apple.com authored
              
              Landing a few layout tests from http://bugs.webkit.org/show_bug.cgi?id=14868
              Import variable lookup optimizations from KJS
      
              * fast/js/kde/lval-exceptions-expected.txt: Added.
              * fast/js/kde/lval-exceptions.html: Added.
              * fast/js/kde/operators-expected.txt:
              * fast/js/kde/resources/lval-exceptions.js: Added.
              * fast/js/kde/resources/operators.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9fffcca
    • ggaren@apple.com's avatar
      Rubber-stamped by Oliver Hunt. · c7c3a535
      ggaren@apple.com authored
              
              Landing a few layout tests from http://bugs.webkit.org/show_bug.cgi?id=14868
              Import variable lookup optimizations from KJS
      
              * fast/js/kde/func-decl-expected.txt: Added.
              * fast/js/kde/func-decl.html: Added.
              * fast/js/kde/resources/func-decl.js: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7c3a535
    • ggaren@apple.com's avatar
      Rubber-stamped by Oliver Hunt. · 575ca08a
      ggaren@apple.com authored
              
              Landing a few layout tests from http://bugs.webkit.org/show_bug.cgi?id=14868
              Import variable lookup optimizations from KJS
      
              * fast/js/rehash-assign-expected.txt: Added.
              * fast/js/rehash-assign.html: Added.
              * fast/js/resize-array-assign-expected.txt: Added.
              * fast/js/resize-array-assign.html: Added.
              * fast/js/resources/rehash-assign.js: Added.
              * fast/js/resources/resize-array-assign.js: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      575ca08a
    • ggaren@apple.com's avatar
      Rubber-stamped by Oliver Hunt. · 8142691c
      ggaren@apple.com authored
              
              Landing a few layout tests from http://bugs.webkit.org/show_bug.cgi?id=14868
              Import variable lookup optimizations from KJS
      
              * fast/js/kde/arguments-scope-expected.txt: Added.
              * fast/js/kde/arguments-scope.html: Added.
              * fast/js/kde/resources/arguments-scope.js: Added.
              * fast/js/kde/resources/scope.js:
              * fast/js/kde/scope-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8142691c
    • staikos@webkit.org's avatar
      2007-11-12 George Staikos <staikos@kde.org> · 5b4e8cab
      staikos@webkit.org authored
              Reviewed by Tim.
      
              Extract the text match marker highlight color into RenderTheme instead
              of the hardcoded yellow.
      
              * rendering/InlineTextBox.cpp:
              (WebCore::InlineTextBox::paintTextMatchMarker):
              * rendering/RenderTheme.cpp:
              (WebCore::RenderTheme::platformTextSearchHighlightColor):
              * rendering/RenderTheme.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b4e8cab
    • mrowe@apple.com's avatar
      2007-11-12 Mark Rowe <mrowe@apple.com> · 821cc726
      mrowe@apple.com authored
              * building/tools.html: Remove extra >.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      821cc726
    • mrowe@apple.com's avatar
      2007-11-12 Mark Rowe <mrowe@apple.com> · 68608902
      mrowe@apple.com authored
              Fix deadlock on launch on the Mac.
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::open): Restore unlock that was mistakenly removed in r27717.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68608902
    • sullivan@apple.com's avatar
      Reviewed by Tim Hatcher · 97ead476
      sullivan@apple.com authored
              
              - speculative fix for <rdar://problem/5509989> CrashTracer: [USER] 1 crash in Safari at com.apple.WebKit: 
              -[WebPDFView(FileInternal) _updatePreferencesSoon] + 56
              
              The crash is probably due to messaging a dealloc'ed dataSource ivar. The dataSource ivar isn't retained
              by this class, but should be. (It is retained by WebHTMLView, e.g.).
      
              * WebView/WebPDFView.mm:
              (-[WebPDFView dealloc]):
              release dataSource ivar
              (-[WebPDFView setDataSource:]):
              retain dataSource ivar
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97ead476
    • mrowe@apple.com's avatar
      2007-11-12 Justin Haygood <jhaygood@reaktix.com> · 788c299c
      mrowe@apple.com authored
              Reviewed by Brady.
      
              http://bugs.webkit.org/show_bug.cgi?id=15955
              Reimplement threading functions in IconDatabase and SQLiteDatabase in terms of the threading abstractions
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::open):
              (WebCore::IconDatabase::close):
              * loader/icon/IconDatabase.h:
              * platform/sql/SQLiteDatabase.cpp:
              (WebCore::SQLiteDatabase::SQLiteDatabase):
              (WebCore::SQLiteDatabase::open):
              (WebCore::SQLiteDatabase::close):
              * platform/sql/SQLiteDatabase.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      788c299c
    • aroben@apple.com's avatar
      Windows build fix · 1840f962
      aroben@apple.com authored
              * config.h: Touch because VS apparently can't figure out which files
              depend on ResourceResponse.h.
              * WebCore.vcproj/WebCore.vcproj: Add ResourceResponseBase files to
              project and remove old ResourceResponse files.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1840f962
    • aroben@apple.com's avatar
      Change update-webkit-localizable-strings to only scan mac and win directories · 9c18d1b5
      aroben@apple.com authored
      WebKit:
      
              * StringsNotToBeLocalized.txt: Updated.
      
      WebKitTools:
      
              * Scripts/update-webkit-localizable-strings: Changed to only scan the
              mac and win subdirectories.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c18d1b5
    • mrowe@apple.com's avatar
      2007-11-12 Julien Chaffraix <julien.chaffraix@gmail.com> · dee0243d
      mrowe@apple.com authored
              Reviewed by Darin.
      
              http://bugs.webkit.org/show_bug.cgi?id=15334
              Split ResourceResponse into platform specific files
      
              * WebCore.base.exp:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * platform/network/ResourceResponse.cpp: Removed.
              * platform/network/ResourceResponse.h: Removed.
              * platform/network/ResourceResponseBase.cpp: Copied from platform/network/ResourceResponse.cpp.
              (WebCore::ResourceResponseBase::asResourceResponse):
              (WebCore::ResourceResponseBase::isHTTP):
              (WebCore::ResourceResponseBase::url):
              (WebCore::ResourceResponseBase::setUrl):
              (WebCore::ResourceResponseBase::mimeType):
              (WebCore::ResourceResponseBase::setMimeType):
              (WebCore::ResourceResponseBase::expectedContentLength):
              (WebCore::ResourceResponseBase::setExpectedContentLength):
              (WebCore::ResourceResponseBase::textEncodingName):
              (WebCore::ResourceResponseBase::setTextEncodingName):
              (WebCore::ResourceResponseBase::suggestedFilename):
              (WebCore::ResourceResponseBase::setSuggestedFilename):
              (WebCore::ResourceResponseBase::httpStatusCode):
              (WebCore::ResourceResponseBase::setHTTPStatusCode):
              (WebCore::ResourceResponseBase::httpStatusText):
              (WebCore::ResourceResponseBase::setHTTPStatusText):
              (WebCore::ResourceResponseBase::httpHeaderField):
              (WebCore::ResourceResponseBase::setHTTPHeaderField):
              (WebCore::ResourceResponseBase::httpHeaderFields):
              (WebCore::ResourceResponseBase::isAttachment):
              (WebCore::ResourceResponseBase::setExpirationDate):
              (WebCore::ResourceResponseBase::expirationDate):
              (WebCore::ResourceResponseBase::setLastModifiedDate):
              (WebCore::ResourceResponseBase::lastModifiedDate):
              (WebCore::ResourceResponseBase::updateResourceResponse):
              * platform/network/ResourceResponseBase.h: Copied from platform/network/ResourceResponse.h.
              (WebCore::ResourceResponseBase::ResourceResponseBase):
              * platform/network/cf/ResourceResponse.h: Added.
              (WebCore::ResourceResponse::ResourceResponse):
              * platform/network/curl/ResourceResponse.h: Added.
              (WebCore::ResourceResponse::ResourceResponse):
              (WebCore::ResourceResponse::doUpdateResourceResponse):
              * platform/network/mac/ResourceResponse.h: Added.
              (WebCore::ResourceResponse::ResourceResponse):
              * platform/network/qt/ResourceResponse.h: Added.
              (WebCore::ResourceResponse::ResourceResponse):
              (WebCore::ResourceResponse::doUpdateResourceResponse):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dee0243d
    • aroben@apple.com's avatar
      Windows build fix · f50ba2f5
      aroben@apple.com authored
              * WebKit.vcproj/WebKit.def: Export fastZeroedMalloc.
              * WebKit.vcproj/WebKit_debug.def: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f50ba2f5
    • aroben@apple.com's avatar
      Build fix · 11558081
      aroben@apple.com authored
              * wtf/FastMalloc.h: Add missing using statement.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11558081
    • oliver's avatar
      Add special fastZeroedMalloc function to replace a · aed0ae6d
      oliver authored
      number of fastCalloc calls where one argument was 1.
      
      Reviewed by Darin.
      
      This results in a 0.4% progression in SunSpider, more
      than making up for the earlier regression caused by
      additional overflow checks.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aed0ae6d
  3. 11 Nov, 2007 4 commits