1. 29 Sep, 2006 9 commits
  2. 28 Sep, 2006 19 commits
    • sfalken's avatar
      2006-09-28 Steve Falkenburg <sfalken@apple.com> · abd152d8
      sfalken authored
              Reviewed by Maciej.
              
              Use $(ConfigSuffix) set via vsprops files to add _debug
              to end of debug filenames.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/debug.vsprops: Added.
              * JavaScriptCore.vcproj/dftables/dftables.vcproj:
              * JavaScriptCore.vcproj/release.vsprops: Added.
              * JavaScriptCore.vcproj/testkjs/testkjs.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      abd152d8
    • hyatt's avatar
      Switch over the Mac-specific uses of viewportToContents/contentsToViewport. · 80a6a30d
      hyatt authored
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::eventMayStartDrag):
              (WebCore::FrameMac::dragHysteresisExceeded):
              (WebCore::FrameMac::mouseDown):
              (WebCore::FrameMac::shouldDragAutoNode):
              (WebCore::FrameMac::sendContextMenuEvent):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge _visiblePositionForPoint:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80a6a30d
    • hyatt's avatar
      Eliminate viewportToContents and contentsToViewport · 97c694f0
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97c694f0
    • aliceli1's avatar
      Build fix by adding missing files for CommandByName · 82b0749c
      aliceli1 authored
              * WebCore.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82b0749c
    • 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
  3. 27 Sep, 2006 12 commits