1. 27 Jul, 2007 29 commits
  2. 26 Jul, 2007 11 commits
    • ddkilzer's avatar
      Added radar. · 5ca21077
      ddkilzer authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ca21077
    • ap's avatar
      Reviewed by Oliver. · 4bfa3d5a
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=14733
              Add a logging channel for text input
      
              * Misc/WebKitLogging.h:
              * Misc/WebKitLogging.m:
              (WebKitInitializeLoggingChannelsIfNecessary):
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView validAttributesForMarkedText]):
              (-[WebHTMLView textStorage]):
              (-[WebHTMLView characterIndexForPoint:]):
              (-[WebHTMLView firstRectForCharacterRange:]):
              (-[WebHTMLView selectedRange]):
              (-[WebHTMLView markedRange]):
              (-[WebHTMLView attributedSubstringFromRange:]):
              (-[WebHTMLView hasMarkedText]):
              (-[WebHTMLView unmarkText]):
              (-[WebHTMLView setMarkedText:selectedRange:]):
              (-[WebHTMLView doCommandBySelector:]):
              (-[WebHTMLView insertText:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4bfa3d5a
    • darin's avatar
      * http/tests/security/cross-frame-access-put-expected.txt: · 76ff732a
      darin authored
              Checked in corrected results that match the checked-in test.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76ff732a
    • darin's avatar
      - fix Tiger build · 1ea4341c
      darin authored
              * Misc/WebTypesInternal.h: For use inside the library, use NSInteger and
              NSUInteger, just like on Leopard. WebNSInteger and WebNSUInteger are still
              present, but they are used in public and private headers only.
      
              * Carbon/CarbonWindowAdapter.m:
              * Carbon/CarbonWindowFrame.m:
              * DefaultDelegates/WebScriptDebugServer.m:
              * History/WebBackForwardList.mm:
              * Misc/WebDownload.m:
              * Misc/WebSearchableTextView.m:
              * Plugins/WebBaseNetscapePluginView.mm:
              * WebCoreSupport/WebFrameLoaderClient.mm:
              * WebView/WebHTMLView.mm:
              * WebView/WebPDFView.mm:
              * WebView/WebView.mm:
              * WebView/WebViewInternal.h:
              Update all implementation files and internal headers to use NSInteger and
              NSUInteger rather than WebNSInteger and WebNSUInteger.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ea4341c
    • sullivan's avatar
      Reviewed by Kevin Decker · f8d1b24d
      sullivan authored
              
              - fixed <rdar://problem/5362989> Searching a pdf in some modes shows hilights for all instances 
                of the word, even those not on the current page
                
              It turns out that there were three different issues here, all contributing to incorrect display
              of multiple matches for PDF pages in certain display modes. (1) in non-continuous display modes,
              we weren't updating the match rects when the displayed page is changed with page up/down (e.g.);
              (2) the mechanism to update the match rects on scrolling was busted except for the first scroll
              away from 0,0; (3) the PDFKit API returns selection bounds for non-displayed pages in non-continuous
              modes just as if they were the displayed pages. This patch fixes all three issues.
      
              * WebView/WebPDFView.h:
              made ivar name even longer
              
              * WebView/WebPDFView.mm:
              (-[WebPDFView setPDFDocument:]):
              updated for ivar name change
              (-[WebPDFView viewDidMoveToWindow]):
              observe page-change notifications as well as the others; this is necessary because in the
              non-continuous modes the view can be completely updated without any scrolling involved (problem 1)
              (-[WebPDFView viewWillMoveToWindow:]):
              stop observing page-change notifications
              (-[WebPDFView rectsForTextMatches]):
              skip any pages that aren't visible; this avoids treating matches on non-displayed non-continous
              modes as if they were on the displayed page (problem 3)
              (-[WebPDFView _PDFDocumentViewMightHaveScrolled:]):
              after checking whether scroll position has changed since we last checked it, remember the new
              one (d'oh!) (problem 2)
      
              (-[WebPDFView _scaleOrDisplayModeOrPageChanged:]):
              renamed to include page changes
              
              (-[WebPDFView _visiblePDFPages]):
              new method, returns the set of pages that are at least partly visible
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f8d1b24d
    • tristan's avatar
      Reviewed by Anders Carlsson. · 857ba4fd
      tristan authored
              
              <rdar://problem/5350019> REGRESSION: Pages on milliyet.com are added to Back list when visited, causing Back button to just reload
      
              * http/tests/navigation/lockedhistory-iframe-expected.txt: Added.
              * http/tests/navigation/lockedhistory-iframe.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      857ba4fd
    • tristan's avatar
      Reviewed by Anders Carlsson. · ef173ccb
      tristan authored
              <rdar://problem/5350019> REGRESSION: Pages on milliyet.com are added to Back list when visited, causing Back button to just reload
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy):
              If the policy action is FrameLoadTypeRedirectLockHistory, don't add the frame load url to the history.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef173ccb
    • hyatt's avatar
      · 6d63d442
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6d63d442
    • andersca's avatar
      Reviewed by Geoff. · dfbbc17b
      andersca authored
              Add a FIXME about caching pages with plug-ins that have outstanding NPObjects.
              
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::canCachePage):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dfbbc17b
    • kmccullo's avatar
      Reviewed by Sam. · 8ea01da3
      kmccullo authored
              - Updated results as they are affecte by my previous checkin.
      
              * http/tests/security/cross-frame-access-put-expected.txt:
              * http/tests/security/resources/cross-frame-iframe-for-put-test.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ea01da3
    • hyatt's avatar
      FIx for <rdar://problem/5289721> CrashTracer: [REGRESSION] 2658... · b85bc581
      hyatt authored
              FIx for <rdar://problem/5289721> CrashTracer: [REGRESSION] 2658 crashes in Safari at com.apple.WebCore: WebCore::RenderInline::height const + 16
      
              Adding a null check for now and an assert.  We don't know how/why this
              bug happens, but hopefully the assert will help people to reproduce.
      
              Reviewed by kevin
      
              * rendering/RenderInline.cpp:
              (WebCore::RenderInline::height):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b85bc581