1. 28 Sep, 2006 15 commits
    • aliceli1's avatar
      Adding CommandByName files to the vcproj · 42f98123
      aliceli1 authored
              * WebCore.vcproj/WebCore/WebCore.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42f98123
    • aliceli1's avatar
      fixing the windows build · b1f0fbe5
      aliceli1 authored
              * COM/WebView.cpp:
              (WebView::mouseMoved):
              (WebView::mouseDown):
              (WebView::mouseUp):
              (WebView::mouseDoubleClick):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b1f0fbe5
    • aliceli1's avatar
      · 0da5e09a
      aliceli1 authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16626 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0da5e09a
    • aroben's avatar
      Reviewed by Adele. · 5b965904
      aroben authored
              Remove no-longer-used PopUpButton.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Remove PopUpButton.h
              * WebCore.xcodeproj/project.pbxproj: Remove PopUpButton.h,
      	PopUpButtonMac.mm
              * platform/PopUpButton.h: Removed.
              * platform/mac/PopUpButtonMac.mm: Removed.
              * platform/win/TemporaryLinkStubs.cpp: Remove PopUpButton:: methods
              * rendering/DeprecatedRenderSelect.cpp: Change #include of
      	PopUpButton.h to ListBox.h
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b965904
    • harrison's avatar
      Suggested by Darin. · f40ae62c
      harrison authored
              
              Moved an extern declaration from inside a method to the top of the file.
      
              * DumpRenderTree/EventSendingController.m:
              (-[EventSendingController clearKillRing]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f40ae62c
    • darin's avatar
      JavaScriptCore: · 6138a1eb
      darin authored
              Reviewed by Alice.
      
              - support for change that should fix <rdar://problem/4733044>
                REGRESSION: XML iBench shows 10% perf. regression (copying
                strings while decoding)
      
              * wtf/Vector.h: Changed VectorBuffer so that the general case
              contains an instance of the 0 case, since deriving from it
              was violating the Liskov Substitution Principle.
              (WTF::VectorBuffer::releaseBuffer): Added. Releases the buffer so it can
              be adopted by another data structure that uses the FastMalloc.h allocator.
              Returns 0 if the internal buffer was being used.
              (WTF::Vector::releaseBuffer): Added. Releases the buffer as above or creates
              a new one in the case where the internal buffer was being used.
      
      WebCore:
      
              Reviewed by Alice.
      
              - change that should fix <rdar://problem/4733044> REGRESSION: XML iBench shows
                10% perf. regression (copying strings while decoding)
      
              Use Vector<UChar> instead of String when building up the decoded string in
              the ICU and Mac decoders. Using String leads to O(n^2) behavior because
              String grows the buffer every single time that append is called. Using
              Vector::append instead of String::append also avoids constructing a string
              each time just to append and a questionable copy that is done inside the
              String::append function which also contributed to the slowness.
      
              * platform/PlatformString.h:
              * platform/String.cpp: (WebCore::String::adopt): Added. Makes a String from a
              Vector<UChar>, adopting the buffer from the vector to avoid copying and memory
              allocation.
              * platform/StringImpl.h:
              * platform/StringImpl.cpp: (WebCore::StringImpl::adopt): Ditto.
      
              * platform/StreamingTextDecoder.h:
              * platform/StreamingTextDecoder.cpp: (WebCore::TextCodec::appendOmittingBOM):
              Change to use a Vector<UChar> instead of a String, since vectors have better
              resizing performance (they store a separate capacity).
      
              * platform/StreamingTextDecoderICU.cpp: (WebCore::TextCodecICU::decode):
              * platform/mac/StreamingTextDecoderMac.cpp: (WebCore::TextCodecMac::decode):
              Change to use Vector<UChar> instead of String and then create a string at
              the end of the process using the new adopt function.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6138a1eb
    • thatcher's avatar
      Explicitly specify stabs for Debug and Production. · 0ed964cc
      thatcher authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ed964cc
    • harrison's avatar
      LayoutTests: · a353c8cb
      harrison authored
              Reviewed by Justin.
      
              Call clearKillRing() so we are guaranteed to start with empty kill ring.
      
              * editing/pasteboard/emacs-cntl-y-001.html:
      
      WebKitTools:
      
              Reviewed by Justin.
              
              Add clearKillRing so we can test emacs support with empty kill ring.
      
              * DumpRenderTree/EventSendingController.m:
              (+[EventSendingController isSelectorExcludedFromWebScript:]):
              (+[EventSendingController webScriptNameForSelector:]):
              (-[EventSendingController clearKillRing]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a353c8cb
    • weinig's avatar
      Reviewed by Tim H. · f64d1354
      weinig authored
              Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11057
              Auto-generate more SVG Objective-C bindings
      
              - Auto-generates DOMSVGAnimatedAngle, DOMSVGAnimatedBoolean, 
                DOMSVGAnimatedEnumeration, DOMSVGAnimatedInteger, DOMSVGAnimatedLength,
                DOMSVGAnimatedLengthList, DOMSVGAnimatedNumber, DOMSVGAnimatedString,
                DOMSVGAnimatedTransformList, DOMSVGExternalResourcesRequired,
                DOMSVGLangSpace, DOMSVGLocatable, DOMSVGMetadataElement, DOMSVGRectElement,
                DOMSVGStringList, DOMSVGStylable, DOMSVGStyleElement, DOMSVGTests, 
                and DOMSVGTransformable.
      
              - Adds ability to CodeGeneratorObjC.pm to handle interfaces with mulitple
                parent interfaces and the SVG animated classes.
      
              - Corrects CodeGenerator.pm to only skip the first parent for the main 
                interface.
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/objc/DOMInternal.h:
              * bindings/objc/DOMSVG.h:
              * bindings/scripts/CodeGenerator.pm:
              * bindings/scripts/CodeGeneratorObjC.pm:
              * ksvg2/svg/SVGAnimatedAngle.idl:
              * ksvg2/svg/SVGAnimatedBoolean.idl:
              * ksvg2/svg/SVGAnimatedEnumeration.idl:
              * ksvg2/svg/SVGAnimatedInteger.idl:
              * ksvg2/svg/SVGAnimatedLength.idl:
              * ksvg2/svg/SVGAnimatedLengthList.idl:
              * ksvg2/svg/SVGAnimatedNumber.idl:
              * ksvg2/svg/SVGAnimatedPathData.idl:
              * ksvg2/svg/SVGAnimatedString.idl:
              * ksvg2/svg/SVGAnimatedTransformList.idl:
              * ksvg2/svg/SVGExternalResourcesRequired.idl:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.idl:
              * ksvg2/svg/SVGFitToViewBox.idl:
              * ksvg2/svg/SVGLangSpace.idl:
              * ksvg2/svg/SVGLocatable.idl:
              * ksvg2/svg/SVGMetadataElement.idl:
              * ksvg2/svg/SVGStringList.idl:
              * ksvg2/svg/SVGStylable.idl:
              * ksvg2/svg/SVGStyleElement.idl:
              * ksvg2/svg/SVGTests.idl:
              * ksvg2/svg/SVGTransformable.idl:
              * ksvg2/svg/SVGURIReference.idl:
              * ksvg2/svg/SVGUnitTypes.idl:
              * ksvg2/svg/SVGZoomAndPan.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f64d1354
    • beidson's avatar
      Reviewed by Mitz Pettel!!! · a31d0ecf
      beidson authored
              Change the error code check for common functions from SQLResultOk to SQLResultDone 
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::forgetPageURLQuery):
              (WebCore::IconDatabase::setIconIDForPageURLQuery):
              (WebCore::IconDatabase::addIconForIconURLQuery):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a31d0ecf
    • mjs's avatar
      Reviewed by Geoff. · 8b09e507
      mjs authored
              
              - change garbage collection to happen at increments proportional to number of live objects, not always
              every 1000 allocations
      
              * kjs/collector.cpp:
              (KJS::Collector::allocate):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b09e507
    • mjs's avatar
      Reviewed by Mitz. · f1623c9f
      mjs authored
              - fixed REGRESSION (r16606): javascriptCore Crash on website load
              
              Plus style fixes.
              
                  - fixed some possible off-by-one bugs
                  - use indexing, not iterators, for Vectors
                  - store Vector by pointer instead of by value to avoid blowing out FunctionImp size
              
              * kjs/function.cpp:
              (KJS::FunctionImp::addParameter):
              (KJS::FunctionImp::parameterString):
              (KJS::FunctionImp::processParameters):
              (KJS::FunctionImp::lengthGetter):
              (KJS::FunctionImp::getParameterName):
              * kjs/function.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1623c9f
    • hyatt's avatar
      Dump the use of MapWindowPoints on Win32 and just let the outermost HWND be... · 18d2f317
      hyatt authored
      Dump the use of MapWindowPoints on Win32 and just let the outermost HWND be the viewport point of reference for events and such.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18d2f317
    • hyatt's avatar
      Fix for bug 9222, cursor is wrong when mousing over overflow... · d6df5850
      hyatt authored
              Fix for bug 9222, cursor is wrong when mousing over overflow scrollbars in textareas.  Make sure
              selectCursor checks for whether or not a scrollbar was hit.  Also stub out a mouseMoved method for
              scrollbars to provide hover feedback if needed.
      
              Reviewed by Eric
      
              * page/FrameView.cpp:
              (WebCore::selectCursor):
              (WebCore::FrameView::handleMouseMoveEvent):
              * platform/ScrollBar.h:
              (WebCore::ScrollBar::mouseMoved):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6df5850
    • sfalken's avatar
      2006-09-27 Steve Falkenburg <sfalken@apple.com> · c9fc627a
      sfalken authored
              Reviewed by Maciej.
              
              More build tweaks
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/JavaScriptCore/dstroot-to-sdk.cmd: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9fc627a
  2. 27 Sep, 2006 15 commits
    • aroben's avatar
      2006-09-27 MorganL <morganl.webkit@yahoo.com> · c46cb262
      aroben authored
              Reviewed by Maciej and Adam, landed by Adam
      
              Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=11072
              Windows build is busted
      
              * platform/win/TemporaryLinkStubs.cpp:
              (ScrollView::paint):
              (ScrollView::themeChanged):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c46cb262
    • sullivan's avatar
      * kjs/function.cpp: · 0ba0acc1
      sullivan authored
              (KJS::FunctionImp::getParameterName):
              removed assertion that displeased gcc 4.0.1 (build 5420):
              ASSERT(static_cast<size_t>(index) == index);
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ba0acc1
    • kmccullo's avatar
      Reviewed by GGaren. · 1ef28f38
      kmccullo authored
              Cleanup of previous fix which was to address Radar: 4752492
      
              * kjs/function.cpp:
              (KJS::FunctionImp::addParameter):
              (KJS::FunctionImp::parameterString):
              (KJS::FunctionImp::processParameters):
              (KJS::FunctionImp::lengthGetter):
              (KJS::FunctionImp::getParameterName):
              * kjs/function.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ef28f38
    • kmccullo's avatar
      Reviewed by Adele. · 8b3a80b0
      kmccullo authored
              Fixes a GC stack overflow crash.
              The change is to move from a linked list implementation of Parameters to a Vector.
              The problem with the linked list is that each one creates it's own stack frame when being destroyed and in extreme cases this caused the stack to overflow. 
      
              * kjs/function.cpp:
              (KJS::Parameter::Parameter):
              (KJS::FunctionImp::addParameter):
              (KJS::FunctionImp::parameterString):
              (KJS::FunctionImp::processParameters):
              (KJS::FunctionImp::lengthGetter):
              (KJS::FunctionImp::getParameterName):
              * kjs/function.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b3a80b0
    • sfalken's avatar
      2006-09-27 Steve Falkenburg <sfalken@apple.com> · 8242a2df
      sfalken authored
              Fix last path fix.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16605 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8242a2df
    • eseidel's avatar
      2006-09-27 Eric Seidel <eric@eseidel.com> · 4eb9f842
      eseidel authored
              Reviewed by mitz.
      
              paths with no fill specified default to black but do not recieve paint-related mouse events
              http://bugzilla.opendarwin.org/show_bug.cgi?id=11069
              The default fill was being applied at the wrong place in the rendering chain, causing this problem.
      
              Test: svg/custom/hover-default-fill.svg
      
              * kcanvas/RenderPath.cpp:
              (WebCore::RenderPath::nodeAtPoint): use isFilled and isStroked
              * ksvg2/css/SVGRenderStyle.h: use defaultFill() and defaultStroke()
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (WebCore::KSVGPainterFactory::isFilled): remove null check
              (WebCore::KSVGPainterFactory::fillPaintServer): remove null check
              (WebCore::KSVGPainterFactory::isStroked): remove null check
              (WebCore::KSVGPainterFactory::strokePaintServer): remove null check
              * ksvg2/svg/SVGPaint.cpp:
              (WebCore::SVGPaint::defaultFill): added.
              (WebCore::SVGPaint::defaultStroke): added.
              * ksvg2/svg/SVGPaint.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4eb9f842
    • justing's avatar
      Reviewed by thatcher · e1d38c67
      justing authored
              
              <rdar://problem/4044271>
              Writing Direction menu doesn't reflect the current writing direction (9773)
      
              * English.lproj/Localizable.strings: Added "Right to Left" and "Left to Right"
              * WebView/WebHTMLView.m:
              (-[NSArray validateUserInterfaceItem:]): Validate menu items that perform
              toggleBaseWritingDirection and changeBaseWritingDirection.  
              Disable the menu item that changes the writing direction to NSWritingDirectionNautral
              because NSWritingDirectionNatural's behavior can't be implemented with CSS.
              Take control of the title of the menu item that performs toggleBaseWritingDirection:
              instead of checking/unchecking it, otherwise we wouldn't know what a check means.
              (-[NSArray changeBaseWritingDirection:]): ASSERT that the requested writing
              direction is not NSWritingDirectionNatural, since we've disabled the
              menu item that performs it.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e1d38c67
    • sfalken's avatar
      2006-09-27 Steve Falkenburg <sfalken@apple.com> · 28b46ea1
      sfalken authored
              Set path before build.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28b46ea1
    • rwlbuis's avatar
      Reviewed by eseidel. · 54820aa2
      rwlbuis authored
              http://bugzilla.opendarwin.org/show_bug.cgi?id=11015
              SVG handles em units incorrectly
      
              Calculate viewport coordinates at layout time, since
              at this point the font size is known and lengths depending
              on font sizes can be calculated correctly.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54820aa2
    • seangies's avatar
      Debug configs should link to debug runtime. · 0c29eca6
      seangies authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c29eca6
    • eseidel's avatar
      2006-09-27 Eric Seidel <eric@eseidel.com> · 9c1a0334
      eseidel authored
              Reviewed by darin.
      
              Change our invalid-fill error behavior to match Opera (and soon Firefox)
              http://bugzilla.opendarwin.org/show_bug.cgi?id=11017
      
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (WebCore::KSVGPainterFactory::isFilled):
              (WebCore::KSVGPainterFactory::fillPaintServer):
              (WebCore::KSVGPainterFactory::isStroked):
              (WebCore::KSVGPainterFactory::strokePaintServer):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16599 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c1a0334
    • beidson's avatar
      Build fix · 52c4fbcc
      beidson authored
              * loader/icon/IconDatabase.cpp:
              (WebCore::readySQLStatement):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      52c4fbcc
    • gramps's avatar
      Reviewed by Adam Roben. · 4088f412
      gramps authored
              Changed line ending from DOS to UNIX format so it doesn't die running
              on my machine. ;)
      
              * JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4088f412
    • beidson's avatar
      WebKit: · c4766347
      beidson authored
              Reviewed by Maciej, landed by Brady
      
              Update URL request associated with provisional data source on redirect.
              Notify IWebFrameLoadDelegate of redirects for the provisional load.
              Notify IWebFrameLoadDelegate of a provisional load being commited.
      
              * COM/WebDataSource.cpp:
              (WebDataSource::replaceRequest):
              * COM/WebDataSource.h:
              * COM/WebFrame.cpp:
              (WebFrame::receivedRedirect):
              (WebFrame::receivedResponse):
              (WebFrame::receivedData):
      
      WebKitTools:
      
              Reviewed by Maciej, landed by Brady
      
              Fix URL bar updating.
      
              * Spinneret/Spinneret/Spinneret.h:
              (SpinneretWebHost::didStartProvisionalLoadForFrame):
              (SpinneretWebHost::didCommitLoadForFrame):
              (SpinneretWebHost::didFinishLoadForFrame):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4766347
    • beidson's avatar
      WebCore: · b8a16d03
      beidson authored
              Reviewed by Adam
      
              In very specific circumstances, prepared SQLStatements can become invalid without
              any warning.  This checks for that state and re-prepares the statement and also
              adds more aggressive error-checking everywhere these statements are used.
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::readySQLStatement): Check if the statement is expired - reprepare it
              (WebCore::IconDatabase::imageDataForIconURLQuery): More thoroughly catch error cases
              (WebCore::IconDatabase::timeStampForIconURLQuery): Ditto
              (WebCore::IconDatabase::iconURLForPageURLQuery): Ditto
              (WebCore::IconDatabase::forgetPageURLQuery): Ditto
              (WebCore::IconDatabase::setIconIDForPageURLQuery): Ditto
              (WebCore::IconDatabase::getIconIDForIconURLQuery): Ditto
              (WebCore::IconDatabase::addIconForIconURLQuery): Ditto
              (WebCore::IconDatabase::hasIconForIconURLQuery): Ditto
              * loader/icon/SQLStatement.cpp:
              (WebCore::SQLStatement::isExpired): Added (accessor to sqlite3_expired())
              * loader/icon/SQLStatement.h:
              
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8a16d03
  3. 26 Sep, 2006 10 commits
    • darin's avatar
      Reviewed by Steve. · f2b7ba53
      darin authored
              - clean up options for font code path
      
              * platform/Font.h:
              * platform/Font.cpp:
              (WebCore::Font::setCodePath): Added. Replaces boolean version.
              (WebCore::Font::canUseGlyphCache): Update to handle "never use complex" case too.
      
              * platform/mac/WebCoreTextRenderer.mm:
              (WebCoreSetAlwaysUseATSU): Change to call setCodePath.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2b7ba53
    • sullivan's avatar
      WebCore: · caf3550b
      sullivan authored
              Reviewed by Darin
      
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge markAllMatchesForText:caseSensitive:limit:]):
              Added limit parameter, passed down to Frame
              
              * page/Frame.h:
              * page/Frame.cpp:
              (WebCore::Frame::markAllMatchesForText):
              Added limit parameter. Stop the search if it hits limit.
      
      WebKit:
      
              Reviewed by Darin
      
              * WebView/WebHTMLViewPrivate.h:
              * WebView/WebHTMLView.m:
              (-[WebHTMLView markAllMatchesForText:caseSensitive:limit:]):
              Added limit parameter, passed over the bridge. Stop the search if it hits limit.
      
              * WebView/WebViewPrivate.h:
              * WebView/WebView.m:
              (-[WebView markAllMatchesForText:caseSensitive:highlight:limit:]):
              Added limit parameter, passed to WebHTMLView.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      caf3550b
    • seangies's avatar
      Removed #if's. · baf40fdf
      seangies authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      baf40fdf
    • justing's avatar
      LayoutTests: · cdacf131
      justing authored
              Reviewed by john
              
              <rdar://problem/4747695> 
              Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent
      
              * editing/deleting/list-item-1-expected.checksum: Added.
              * editing/deleting/list-item-1-expected.png: Added.
              * editing/deleting/list-item-1-expected.txt: Added.
              * editing/deleting/list-item-1.html: Added.
              * editing/execCommand/remove-list-item-1-expected.checksum: Added.
              * editing/execCommand/remove-list-item-1-expected.png: Added.
              * editing/execCommand/remove-list-item-1-expected.txt: Added.
              * editing/execCommand/remove-list-item-1.html: Added.
      
      WebCore:
      
              Reviewed by john
              
              <rdar://problem/4747695> 
              Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent
              
              * editing/DeleteSelectionCommand.cpp:
              (WebCore::DeleteSelectionCommand::initializeStartEnd): Stop expanding
              to select special elements that are fully selected after expansion
              moves to positions that are visually distinct from the originals.
              * editing/InsertListCommand.cpp:
              (WebCore::InsertListCommand::doApply): If the content of the list 
              item will be moved into another list, put it in a list item.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cdacf131
    • harrison's avatar
      LayoutTests: · 478db1e6
      harrison authored
              Reviewed by John and TimH.
              
              <rdar://problem/4743256> Seed: Ctrl-Y key binding does nothing when kill ring is empty
      
              * editing/pasteboard/emacs-cntl-y-001-expected.checksum: Added.
              * editing/pasteboard/emacs-cntl-y-001-expected.png: Added.
              * editing/pasteboard/emacs-cntl-y-001-expected.txt: Added.
              * editing/pasteboard/emacs-cntl-y-001.html: Added.
      
      WebKit:
      
              Reviewed by John and TimH.
      
              <rdar://problem/4743256> Seed: Ctrl-Y key binding does nothing when kill ring is empty
      
              Use deleteBackward: when the killring string is empty. Was always using insertText:,
              but that ends up early-returning if the string to insert is empty.
              
              * WebView/WebHTMLView.m:
              (-[NSArray yank:]):
              (-[NSArray yankAndSelect:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      478db1e6
    • ggaren's avatar
      Reviewed by Darin. · 41eba0bf
      ggaren authored
              
              Temporary work-around for frame lifetime issue.
      
              * page/Frame.cpp:
              (WebCore::Frame::clear):
              (WebCore::Frame::disconnectOwnerElement):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41eba0bf
    • weinig's avatar
      Reviewed by Tim H. · 460f0156
      weinig authored
              Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11038
              Auto-generate DOMSVGElement for the Objective-C bindings
      
              - Auto-generates DOMSVGElement.
      
              - Make SVGExceptions work like all the other ExceptionCode
                extensions (Range, XPath, etc.) by adding SVGExceptionOffset
                and SVGExceptionMax.
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_binding.cpp:
              (KJS::):
              (KJS::setDOMException):
              * bindings/objc/DOMInternal.h:
              * bindings/objc/DOMInternal.mm:
              (raiseDOMException):
              * bindings/objc/DOMSVG.h:
              * bindings/objc/DOMSVGExecption.h: Added.
              * ksvg2/ksvg.h:
              * ksvg2/svg/SVGElement.cpp:
              (WebCore::SVGElement::setId):
              (WebCore::SVGElement::setXmlbase):
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGElement.idl:
              * ksvg2/svg/SVGException.h: Added.
              (WebCore::):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      460f0156
    • eseidel's avatar
      2006-09-26 Eric Seidel <eric@eseidel.com> · 3e0a19d2
      eseidel authored
              Reviewed by anders.
      
              * projects/svg/status.xml: update status to reflect current state of SVG development
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e0a19d2
    • eseidel's avatar
      2006-09-26 Eric Seidel <eric@eseidel.com> · be2e75ce
      eseidel authored
              Reviewed by Tim H.
              
              viewbox parser does not allow <tab> as a delimiter
              http://bugzilla.opendarwin.org/show_bug.cgi?id=11014
      
              Test: svg/hixie/viewbox/003.xml
      
              * ksvg2/svg/svgpathparser.cpp:
              (WebCore::isWhitespace): new function
              (WebCore::skipOptionalSpaces):
              (WebCore::skipOptionalSpacesOrComma):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be2e75ce
    • eseidel's avatar
      2006-09-26 Eric Seidel <eric@eseidel.com> · 8192b622
      eseidel authored
              Reviewed by Tim H.
      
              SVGDocument::createElement does not create elements in the SVG namespace
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10932
              
              Test: svg/custom/createelement.svg
      
              * ksvg2/svg/SVGDocument.cpp:
              (WebCore::SVGDocument::createElement):
              * ksvg2/svg/SVGDocument.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8192b622