1. 07 Sep, 2008 16 commits
  2. 06 Sep, 2008 10 commits
    • sfalken@apple.com's avatar
      Fix Windows nightlies. · 4edd004c
      sfalken@apple.com authored
              
              Copy WebKit.dll alongside application so registry-free COM can find it.
              Update embedded manifest to force use registry-free COM.
      
              Reviewed by Dave Hyatt.
      
              * FindSafari/FindSafari.cpp:
              (copyManifest):
              (replaceManifest):
              (_tmain):
              * FindSafari/FindSafari.rc: Added.
              * FindSafari/FindSafari.vcproj:
              * FindSafari/Safari.exe.manifest: Added.
              * FindSafari/resource.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4edd004c
    • sfalken@apple.com's avatar
      Fix Windows nightlies. · ebbae50b
      sfalken@apple.com authored
              
              Include both nightly and production CLSIDs in our interfaces, type library.
              Remove COM registration code.
      
              Reviewed by Dave Hyatt.
      
              * ForEachCoClass.cpp:
              (setUseOpenSourceWebKit):
              * Interfaces/WebKit.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebbae50b
    • mrowe@apple.com's avatar
      Merge squirrelfish-extreme to trunk. · f88a4635
      mrowe@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36244 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f88a4635
    • antti@apple.com's avatar
      2008-09-06 Antti Koivisto <antti@apple.com> · 13c24938
      antti@apple.com authored
              Reviewed by Dave Hyatt.
      
              <rdar://problem/6187043> 
              Don't parse full HTML user agent style sheet unless it is actually needed
              <rdar://problem/6131889> 
              WebView is significantly more expensive to create recently
              
              Parsing the html4.css takes significant amount of time and memory (~50kb) on application
              startup. Some clients may never use most of the rules.
              
              With this patch we use simplified UA stylesheet until we hit something it can't handle. 
              This avoids full stylesheet parsing on application startup (due to empty document construction)
              and also makes it possible for clients with very simple demands (divs and spans only) never to load 
              the full style.
              
              It also delays view source style parsing until it is used.
      
              * css/CSSStyleSelector.cpp:
              (WebCore::elementCanUseSimpleDefaultStyle):
              (WebCore::CSSStyleSelector::CSSStyleSelector):
              (WebCore::loadFullDefaultStyle):
              (WebCore::loadSimpleDefaultStyle):
              (WebCore::loadViewSourceStyle):
              (WebCore::CSSStyleSelector::matchUARules):
              (WebCore::CSSStyleSelector::styleForElement):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13c24938
    • kevino@webkit.org's avatar
      wx build fix. · d15b50fa
      kevino@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d15b50fa
    • antti@apple.com's avatar
      2008-09-06 Antti Koivisto <antti@apple.com> · 00dfa532
      antti@apple.com authored
              Reverting r35953 which was causing problems on Windows which relies on
              WebCore timers in nested event loops. r36132 did alternative fix.
      
              * page/Chrome.cpp:
              (WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer):
              (WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00dfa532
    • antti@apple.com's avatar
      2008-09-06 Antti Koivisto <antti@apple.com> · e953f867
      antti@apple.com authored
              Reviewed by Dan Bernstein.
      
              Fix <rdar://problem/6201644>
              https://bugs.webkit.org/show_bug.cgi?id=20493
              Crash after OK in dialog box and reloading page in secure mode
              
              Limited loader only fix since the general timer fix is causing problems on Windows.
      
              * loader/loader.cpp:
              (WebCore::Loader::servePendingRequests):
              (WebCore::Loader::Host::Host):
              (WebCore::Loader::Host::didFinishLoading):
              (WebCore::Loader::Host::didFail):
              (WebCore::Loader::Host::didReceiveData):
              * loader/loader.h:
              (WebCore::Loader::Host::processingResource):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e953f867
    • mitz@apple.com's avatar
      Reviewed by Dave Hyatt. · c0b050b6
      mitz@apple.com authored
              The initial Core Text adoption prototype was made by Daniel Fenwick.
      
              - <rdar://problem/5158514> Add a Core Text-based complex text code path
      
              Currently the Core Text code path is not used in any configuration.
      
              * WebCore.xcodeproj/project.pbxproj: Added files.
              * config.h: Defined WTF_USE_ATSUI and WTF_USE_CORE_TEXT.
              * platform/graphics/Font.cpp:
              (WebCore::WidthIterator::advance): Moved the spacingDisabled() test out
              of the loop.
              * platform/graphics/GlyphBuffer.h:
              (WebCore::GlyphBuffer::add): Added this version that takes an advance.
              * platform/graphics/SimpleFontData.h: Added ATSUI and CORE_TEXT #ifdefs.
              Added getCTFont() and getCFStringAttributes() and corresponding data
              members for Core Text.
              * platform/graphics/mac/CoreTextController.cpp: Added.
              (WebCore::roundCGFloat): Helper function.
              (WebCore::ceilCGFloat): Helper function.
              (WebCore::CoreTextController::CoreTextRun::CoreTextRun):
              (WebCore::CoreTextController::CoreTextController):
              (WebCore::CoreTextController::offsetForPosition):
              (WebCore::CoreTextController::collectCoreTextRuns): Added. Segments the
              run into subruns as necessary such that each subrun can be rendered with
              a single font. Also separates out soft hyphens and replaces them with
              real hyphens, because Core Text does not emit a glyph for soft hyphens.
              Then calls collectCoreTextRunsForCharacters() on each subrun.
              (WebCore::CoreTextController::advance):
              (WebCore::CoreTextController::collectCoreTextRunsForCharacters): Creates
              a CTLine from the given subrun and collects its CoreTextRuns.
              (WebCore::CoreTextController::adjustGlyphsAndAdvances): Applies the
              rounding hacks, letter- and word-spacing and glyph substitutions and
              stores the resulting adjusted glyphs and advances.
              * platform/graphics/mac/CoreTextController.h: Copied from WebCore/platform/graphics/win/UniscribeController.h.
              (WebCore::CoreTextController::totalWidth):
              (WebCore::CoreTextController::finalRoundingWidth):
              (WebCore::CoreTextController::CoreTextRun::ctRun):
              (WebCore::CoreTextController::CoreTextRun::glyphCount):
              (WebCore::CoreTextController::CoreTextRun::fontData):
              (WebCore::CoreTextController::CoreTextRun::characters):
              (WebCore::CoreTextController::CoreTextRun::stringLocation):
              (WebCore::CoreTextController::CoreTextRun::stringLength):
              (WebCore::CoreTextController::CoreTextRun::indexAt):
              * platform/graphics/mac/FontMac.mm: Moved the ATSUI-specific parts to
              FontMacATSUI.mm.
              * platform/graphics/mac/FontMacATSUI.mm: Copied from WebCore/platform/graphics/mac/FontMac.mm.
              (WebCore::disableLigatures): Changed to call
              FontPlatformData::allowsLigatures().
              (WebCore::overrideLayoutOperation): Changed to call
              FontPlatformData::roundsGlyphAdvances().
              * platform/graphics/mac/FontMacCoreText.cpp: Copied from WebCore/platform/graphics/win/FontWin.cpp.
              (WebCore::Font::selectionRectForComplexText): Changed to use
              totalWidth() instead of advancing to the end and using runWidthSoFar().
              (WebCore::Font::drawComplexText):
              (WebCore::Font::floatWidthForComplexText): Ditto.
              (WebCore::Font::offsetForPositionForComplexText):
              * platform/graphics/mac/FontPlatformData.h:
              * platform/graphics/mac/FontPlatformDataMac.mm:
              (WebCore::FontPlatformData::setFont):
              (WebCore::FontPlatformData::roundsGlyphAdvances): Added. Checks the
              AppKit rendering mode.
              (WebCore::FontPlatformData::allowsLigatures): Added. Implements the
              heuristic that allows ligatures in fonts that do not have a glyph for
              'a', based on the assumption that such fonts are only used in complex
              text.
              * platform/graphics/mac/SimpleFontDataMac.mm:
              (WebCore::SimpleFontData::platformInit):
              (WebCore::SimpleFontData::platformDestroy):
              (WebCore::SimpleFontData::getCTFont): Added.
              (WebCore::SimpleFontData::getCFStringAttributes): Added. Caches and
              returns an attributes dictionary.
              * platform/text/mac/ShapeArabic.c: Added ATSUI #ifdefs.
              * platform/text/mac/ShapeArabic.h: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0b050b6
    • cwzwarich@webkit.org's avatar
      2008-09-06 Cameron Zwarich <cwzwarich@uwaterloo.ca> · 31ac4ab3
      cwzwarich@webkit.org authored
              Reviewed by Maciej Stachowiak.
      
              Fix the Mac Debug build by adding symbols that are exported only in a
              Debug configuration.
      
              * Configurations/JavaScriptCore.xcconfig:
              * DerivedSources.make:
              * JavaScriptCore.Debug.exp: Added.
              * JavaScriptCore.base.exp: Copied from JavaScriptCore.exp.
              * JavaScriptCore.exp: Removed.
              * JavaScriptCore.xcodeproj/project.pbxproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31ac4ab3
    • mitz@apple.com's avatar
      Reviewed by Dave Hyatt. · 046bf642
      mitz@apple.com authored
              - make combining mark offsets work in CG text on Windows
      
              * platform/graphics/win/FontCGWin.cpp:
              (WebCore::Font::drawGlyphs): The old code tried to translate the text
              matrix, but failed for two reasons: it did not actually change the
              matrix, and even if it did, CGContextSetTextPosition overwrites the
              translation values in the text matrix. Instead, just added the
              translation to the anchor point.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      046bf642
  3. 05 Sep, 2008 14 commits