1. 07 Jul, 2008 5 commits
  2. 06 Jul, 2008 6 commits
    • mitz@apple.com's avatar
      - try to fix the Windows build · e08296e7
      mitz@apple.com authored
              * WebCore.vcproj/WebCore.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35030 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e08296e7
    • mitz@apple.com's avatar
      - add missing brace · b0e2ea5d
      mitz@apple.com authored
              * platform/graphics/qt/FontCacheQt.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0e2ea5d
    • mitz@apple.com's avatar
      - try to fix the Qt build · 289bf128
      mitz@apple.com authored
              * platform/graphics/qt/FontCacheQt.cpp:
              (WebCore::FontCache::addClient):
              (WebCore::FontCache::removeClient):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      289bf128
    • weinig@apple.com's avatar
      JavaScriptCore: · 2947a916
      weinig@apple.com authored
      2008-07-06  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Cameron Zwarich.
      
              Second step in broad cleanup effort.
      
              [ File list elided ]
      
      WebCore:
      
      2008-07-06  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Cameron Zwarich.
      
              Add #include for kjs/protect.h.
      
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::loadRequestAsynchronously):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2947a916
    • ddkilzer@apple.com's avatar
      Save a few more bits in RenderStyle · e875c5bb
      ddkilzer@apple.com authored
              Reviewed by Darin.
      
              No test cases added since there is no change in behavior.
      
              This changes WebCore::StyleMarqueeData from using 6 bits to 5 bits,
              WebCore::RenderStyle::inherited_flags from using 36 bits to 35 bits,
              and WebCore::RenderStyle::noninherited_flags from using 49 bits to
              47 bits.
      
              * rendering/style/RenderStyle.h:
              (WebCore::StyleMarqueeData::behavior): Reduce from 3 bits to 2 bits
              since EMarqueeBehavior has 4 items.
              (WebCore::RenderStyle::inherited_flags._text_align): Reduce from
              4 bits to 3 bits since ETextAlign has 8 items.
              (WebCore::RenderStyle::noninherited_flags._overflowX): Reduce from
              4 bits to 3 bits since EOverflow has 6 items.
              (WebCore::RenderStyle::noninherited_flags._overflowY): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e875c5bb
    • mitz@apple.com's avatar
      Reviewed by Darin Adler. · 429a6f62
      mitz@apple.com authored
              - fix <rdar://problem/5735163> WebCore caching makes text look wrong after font changes; need to respond appropriately instead
      
              * css/CSSFontSelector.cpp:
              (WebCore::CSSFontSelector::CSSFontSelector): Added a call to
              FontCache::addClient().
              (WebCore::CSSFontSelector::~CSSFontSelector): Added a call to
              FontCache::removeClient().
              (WebCore::CSSFontSelector::fontCacheInvalidated): Added. Called by the
              font cache when it is invalidated, and ensures that the document is
              updated.
      
              * css/CSSFontSelector.h:
      
              * platform/graphics/Font.cpp:
              (WebCore::Font::operator==): Added code to compare the font fallback
              lists' font cache generations.
      
              * platform/graphics/FontCache.cpp:
              (WebCore::FontCache::addClient): Added.
              (WebCore::FontCache::removeClient): Added.
              (WebCore::FontCache::generation): Added.
              (WebCore::FontCache::invalidate): Added. Deletes the platform data
              cache, increments the generation counter, and notifies all clients.
      
              * platform/graphics/FontCache.h:
      
              * platform/graphics/FontFallbackList.cpp:
              (WebCore::FontFallbackList::FontFallbackList): Added initialization of
              m_generation.
              (WebCore::FontFallbackList::invalidate): Added code to reset
              m_generation.
              (WebCore::FontFallbackList::fontDataAt): Added an assertion.
              (WebCore::FontFallbackList::fontDataForCharacters): Ditto.
              (WebCore::FontFallbackList::setPlatformFont): Ditto.
      
              * platform/graphics/FontFallbackList.h:
              (WebCore::FontFallbackList::generation): Added. Returns the font cache
              generation used to populate the list.
      
              * platform/graphics/FontSelector.h:
              (WebCore::FontSelector::fontCacheInvalidated): Added.
      
              * platform/graphics/mac/FontCacheMac.mm:
              (WebCore::fontCacheATSNotificationCallback): Added. Calls
              FontCache::invalidate().
              (WebCore::FontCache::platformInit): Added code to register for ATS
              notifications.
      
              * svg/SVGFontFaceElement.cpp: Removed unneeded #inlcudes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      429a6f62
  3. 05 Jul, 2008 14 commits
    • mrowe@apple.com's avatar
      Remove WebSearchableTextView as it has been unused for some time now. · 669afdbb
      mrowe@apple.com authored
      Reviewed by John Sullivan.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      669afdbb
    • mrowe@apple.com's avatar
      Don't leak the result of WKCopyCFLocalizationPreferredName when running under GC. · cd0f948a
      mrowe@apple.com authored
      Reviewed by John Sullivan.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd0f948a
    • weinig@apple.com's avatar
      2008-07-05 Sam Weinig <sam@webkit.org> · 0e2d66e2
      weinig@apple.com authored
              Reviewed by Cameron Zwarich.
      
              First step in broad cleanup effort.
      
              [ File list elided ]
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e2d66e2
    • weinig@apple.com's avatar
      JavaScriptCore: · 49b32500
      weinig@apple.com authored
      2008-07-05  Sam Weinig  <sam@webkit.org>
      
              Rubber-stamped by Cameron Zwarich.
      
              Rename list.h/cpp to ArgList.h/cpp.
      
              * GNUmakefile.am:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * VM/Machine.h:
              * kjs/AllInOneFile.cpp:
              * kjs/ArgList.cpp: Copied from JavaScriptCore/kjs/list.cpp.
              * kjs/ArgList.h: Copied from JavaScriptCore/kjs/list.h.
              * kjs/IndexToNameMap.cpp:
              * kjs/JSGlobalData.cpp:
              * kjs/JSGlobalData.h:
              * kjs/JSObject.h:
              * kjs/collector.cpp:
              * kjs/list.cpp: Removed.
              * kjs/list.h: Removed.
      
      WebCore:
      
      2008-07-05  Sam Weinig  <sam@webkit.org>
      
              Rubber-stamped by Cameron Zwarich.
      
              Rename list.h/cpp to ArgList.h/cpp.
      
              * ForwardingHeaders/kjs/ArgList.h: Copied from WebCore/ForwardingHeaders/kjs/list.h.
              * ForwardingHeaders/kjs/list.h: Removed.
              * WebCore.vcproj/WebCore.vcproj:
              * bridge/qt/qt_instance.cpp:
              * page/Console.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      49b32500
    • weinig@apple.com's avatar
      2008-07-05 Sam Weinig <sam@webkit.org> · 06ba650d
      weinig@apple.com authored
              Fix non-AllInOne builds again.
      
              * kjs/BooleanPrototype.cpp:
              * kjs/ErrorPrototype.cpp:
              * kjs/FunctionPrototype.cpp:
              * kjs/NumberPrototype.cpp:
              * kjs/ObjectPrototype.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06ba650d
    • weinig@apple.com's avatar
      2008-07-05 Sam Weinig <sam@webkit.org> · e7bb8df8
      weinig@apple.com authored
              Fix build on case-sensitive build systems.
      
              * kjs/IndexToNameMap.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7bb8df8
    • weinig@apple.com's avatar
      2008-07-05 Sam Weinig <sam@webkit.org> · 3a54d0f6
      weinig@apple.com authored
              Fix build.
      
              * kjs/Arguments.cpp:
              * kjs/BooleanPrototype.cpp:
              * kjs/DateConstructor.cpp:
              * kjs/ErrorPrototype.cpp:
              * kjs/FunctionPrototype.cpp:
              * kjs/NumberPrototype.cpp:
              * kjs/ObjectPrototype.cpp:
              * kjs/RegExpPrototype.cpp:
              * kjs/StringConstructor.cpp:
              * kjs/lookup.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a54d0f6
    • weinig@apple.com's avatar
      2008-07-05 Sam Weinig <sam@webkit.org> · 4370677d
      weinig@apple.com authored
              Fix non-AllInOne build.
      
              * kjs/JSGlobalObject.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4370677d
    • weinig@apple.com's avatar
      JavaScriptCore: · 7dab465e
      weinig@apple.com authored
      2008-07-05  Sam Weinig  <sam@webkit.org>
      
              Rubber-stamped by Cameron Zwarich.
      
              Split Arguments, IndexToNameMap, PrototypeFunction, GlobalEvalFunction and 
              the functions on the global object out of JSFunction.h/cpp.
      
              * GNUmakefile.am:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * VM/Machine.cpp:
              * kjs/AllInOneFile.cpp:
              * kjs/Arguments.cpp: Copied from JavaScriptCore/kjs/JSFunction.cpp.
              * kjs/Arguments.h: Copied from JavaScriptCore/kjs/JSFunction.h.
              * kjs/GlobalEvalFunction.cpp: Copied from JavaScriptCore/kjs/JSFunction.cpp.
              * kjs/GlobalEvalFunction.h: Copied from JavaScriptCore/kjs/JSFunction.h.
              * kjs/IndexToNameMap.cpp: Copied from JavaScriptCore/kjs/JSFunction.cpp.
              * kjs/IndexToNameMap.h: Copied from JavaScriptCore/kjs/JSFunction.h.
              * kjs/JSActivation.cpp:
              * kjs/JSFunction.cpp:
              * kjs/JSFunction.h:
              * kjs/JSGlobalObject.cpp:
              * kjs/JSGlobalObjectFunctions.cpp: Copied from JavaScriptCore/kjs/JSFunction.cpp.
              * kjs/JSGlobalObjectFunctions.h: Copied from JavaScriptCore/kjs/JSFunction.h.
              The functions on the global object should be in JSGlobalObject.cpp, but putting them there
              was a 0.5% regression.
      
              * kjs/PrototypeFunction.cpp: Copied from JavaScriptCore/kjs/JSFunction.cpp.
              * kjs/PrototypeFunction.h: Copied from JavaScriptCore/kjs/JSFunction.h.
              * kjs/Shell.cpp:
              * kjs/lexer.cpp:
              * kjs/ustring.cpp:
      
      WebCore:
      
      2008-07-05  Sam Weinig  <sam@webkit.org>
      
              Rubber-stamped by Cameron Zwarich.
      
              Split Arguments, IndexToNameMap, PrototypeFunction, GlobalEvalFunction and 
              the functions on the global object out of JSFunction.h/cpp.
      
              * ForwardingHeaders/kjs/PrototypeFunction.h: Added.
              * bindings/js/JSDOMBinding.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7dab465e
    • mitz@apple.com's avatar
      Rubber-stamped by Sam Weinig. · 15035e63
      mitz@apple.com authored
              - rename BidiIterator and BidiState
      
              Renamed BidiIterator to InlineIterator and BidiState
              to InlineBidiResolver. Renamed variables of type InlineBidiResolver{*,&}
              to "resolver".
      
              * rendering/RenderBlock.h:
              * rendering/RootInlineBox.h:
              * rendering/bidi.cpp:
              (WebCore::InlineIterator::InlineIterator):
              (WebCore::operator==):
              (WebCore::operator!=):
              (WebCore::bidiNext):
              (WebCore::bidiFirst):
              (WebCore::InlineIterator::increment):
              (WebCore::InlineBidiResolver::increment):
              (WebCore::InlineIterator::atEnd):
              (WebCore::InlineIterator::current):
              (WebCore::InlineIterator::direction):
              (WebCore::chopMidpointsAt):
              (WebCore::checkMidpoints):
              (WebCore::addMidpoint):
              (WebCore::appendRunsForObject):
              (WebCore::InlineBidiResolver::appendRun):
              (WebCore::RenderBlock::bidiReorderLine):
              (WebCore::buildCompactRuns):
              (WebCore::RenderBlock::layoutInlineChildren):
              (WebCore::RenderBlock::determineStartPosition):
              (WebCore::RenderBlock::determineEndPosition):
              (WebCore::RenderBlock::matchedEndLine):
              (WebCore::skipNonBreakingSpace):
              (WebCore::requiresLineBox):
              (WebCore::RenderBlock::generatesLineBoxesForInlineChild):
              (WebCore::RenderBlock::skipWhitespace):
              (WebCore::shouldSkipWhitespaceAfterStartObject):
              (WebCore::RenderBlock::findNextLineBreak):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35015 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15035e63
    • ddkilzer@apple.com's avatar
      Fixed ChangeLog entry for r35006. · 916410d5
      ddkilzer@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      916410d5
    • jmalonzo@webkit.org's avatar
      2008-07-05 Jan Michael Alonzo <jmalonzo@webkit.org> · 1107ca7a
      jmalonzo@webkit.org authored
              Rubber-stamped by Oliver Hunt
      
              Coding style fix
      
              * html/CanvasRenderingContext2D.cpp: Indentation fix
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1107ca7a
    • oliver@apple.com's avatar
      Fix windows build · b2121fe0
      oliver@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2121fe0
    • weinig@apple.com's avatar
      2008-07-04 Sam Weinig <sam@webkit.org> · 213eb7c8
      weinig@apple.com authored
              Really fix the mac build.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      213eb7c8
  4. 04 Jul, 2008 15 commits