1. 07 Jul, 2008 12 commits
    • sfalken@apple.com's avatar
      JavaScriptCore: · 9ea4887c
      sfalken@apple.com authored
      2008-07-07  Steve Falkenburg  <sfalken@apple.com>
      
              Build fixes.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/testapi/testapi.vcproj:
      
      WebKitTools:
      
      2008-07-07  Steve Falkenburg  <sfalken@apple.com>
      
              Fix build.
      
              * DumpRenderTree/win/ImageDiff.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ea4887c
    • andersca@apple.com's avatar
      2008-07-07 Anders Carlsson <andersca@apple.com> · 4625933f
      andersca@apple.com authored
              Reviewed by Darin.
      
              Speculative fix for     
              <rdar://problem/5839800>
              CrashTracer: [USER] 5802 crashes in Safari at com.apple.WebKit: -[WebHTMLView(WebPrivate) _updateMouseoverWithFakeEvent] + 389
              
              Set _private->closed to YES before calling -[WebPluginController destroyAllPlugins].
              
              My theory is that the plug-in destruction callbacks could end up rescheduling timers or re-adding notifications.
              This is usually protected by _private->closed, but in this case it might still be false.
      
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView close]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4625933f
    • adele@apple.com's avatar
      WebCore: · fdf354c6
      adele@apple.com authored
      2008-07-07  Michelangelo De Simone  <m.des@mac.com>
      
              Reviewed by Adele.
      
              Support for CSS3 :read-only and :read-write pseudoclasses for readonly text controls.
      
              URL: http://www.w3.org/TR/web-forms-2/#relation
      
              Tests: fast/css/readonly-pseudoclass-opera-001.html
                     fast/css/readonly-pseudoclass-opera-002.html
                     fast/css/readonly-pseudoclass-opera-003.html
                     fast/css/readonly-pseudoclass-opera-004.html
                     fast/css/readonly-pseudoclass-opera-005.html
      
              * css/CSSSelector.cpp: (WebCore::CSSSelector::extractPseudoType):
              Added "read-only" and "read-write" values for PseudoType extraction.
              * css/CSSSelector.h: (WebCore::CSSSelector::):
              Added PseudoReadOnly and PseudoReadWrite entries in PseudoType enum.
              * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
              Checks to determine whether to match :read-only and :read-write pseudoclasses on
              text controls.
      
      LayoutTests:
      
      2008-07-07  Michelangelo De Simone  <m.des@mac.com>
      
              Reviewed by Adele.
      
              Test suite for :read-only and :read-write pseudoclasses, imported from
              Opera.
      
              * fast/css/readonly-pseudoclass-opera-001-expected.txt: Added.
              * fast/css/readonly-pseudoclass-opera-001.html: Added.
              * fast/css/readonly-pseudoclass-opera-002-expected.txt: Added.
              * fast/css/readonly-pseudoclass-opera-002.html: Added.
              * fast/css/readonly-pseudoclass-opera-003-expected.txt: Added.
              * fast/css/readonly-pseudoclass-opera-003.html: Added.
              * fast/css/readonly-pseudoclass-opera-004-expected.txt: Added.
              * fast/css/readonly-pseudoclass-opera-004.html: Added.
              * fast/css/readonly-pseudoclass-opera-005-expected.txt: Added.
              * fast/css/readonly-pseudoclass-opera-005.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fdf354c6
    • weinig@apple.com's avatar
      WebCore: · 4c74be06
      weinig@apple.com authored
      2008-07-07  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Geoffrey Garen.
      
              Fix for https://bugs.webkit.org/show_bug.cgi?id=19928
              querySelectorAll should throw an exception if a NSResolver is passed in.
      
              - Throw an NOT_SUPPORTED_ERR if a non-null or undefined parameter is passed
                as the second argument to querySelector or querySelectorAll.
      
              Test: fast/dom/SelectorAPI/not-supported-NSResolver.html
      
              * bindings/js/JSDocumentCustom.cpp:
              (WebCore::JSDocument::querySelector):
              (WebCore::JSDocument::querySelectorAll):
              * bindings/js/JSElementCustom.cpp:
              (WebCore::JSElement::querySelector):
              (WebCore::JSElement::querySelectorAll):
              * dom/Document.idl:
              * dom/Element.idl:
      
      LayoutTests:
      
      2008-07-07  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Geoffrey Garen.
      
              Fix for https://bugs.webkit.org/show_bug.cgi?id=19928
              querySelectorAll should throw an exception if a NSResolver is passed in.
      
              * fast/dom/SelectorAPI/not-supported-NSResolver-expected.txt: Added.
              * fast/dom/SelectorAPI/not-supported-NSResolver.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35041 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c74be06
    • beidson@apple.com's avatar
      WebCore: · 687069ee
      beidson@apple.com authored
      2008-07-07  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Mitz and Geoff
      
              Test: fast/loader/empty-ref-versus-no-ref.html
      
              Fix for https://bugs.webkit.org/show_bug.cgi?id=18951 and <rdar://problem/5921760>
              "all DOM operations stop working when location.hash set to '#'"
      
              The underlying problem is that KURL didn't really know the difference between "empty ref"
              and "no ref at all" when changing the ref.  So changing to the empty ref in JS ended up 
              affecting removal of the ref, which ended up causing an infinite load load, also killing
              javascript.
      
              * platform/KURL.cpp:
              (WebCore::KURL::setRef):  Changed "isEmpty()" to "isNull()", since NULL has the special 
                meaning of "no ref at all" while empty means "empty ref"
      
      LayoutTests:
      
      2008-07-07  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Mitz and Geoff
      
              Test the fix for https://bugs.webkit.org/show_bug.cgi?id=18951 and <rdar://problem/5921760>
      
              * fast/loader/empty-ref-versus-no-ref-expected.txt: Added.
              * fast/loader/empty-ref-versus-no-ref.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      687069ee
    • kmccullough@apple.com's avatar
      JavaScriptCore: · 1e1baa1f
      kmccullough@apple.com authored
      2008-07-07  Kevin McCullough  <kmccullough@apple.com>
      
              Reviewed by Darin.
      
              When the profiler is running it gathers information and creates a
              Profile.  After it finishes the Profile can be sorted and have other
              data refinements run over it.  Both of these were done in the same class
              before.  Now I split the gathering operations into a new class called
              ProfileGenerator.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * profiler/Profile.cpp: Removed code related to the gather stage of a
              Profile's creation.  
              (KJS::Profile::create):
              (KJS::Profile::Profile):
              * profiler/Profile.h: Ditto.
              (KJS::Profile::title):
              (KJS::Profile::callTree):
              (KJS::Profile::setHead):
              * profiler/ProfileGenerator.cpp: Added. This is the class that will
              handle the stage of creating a Profile.  Once the Profile is finished
              being created, this class goes away.
              (KJS::ProfileGenerator::create):
              (KJS::ProfileGenerator::ProfileGenerator):
              (KJS::ProfileGenerator::title):
              (KJS::ProfileGenerator::willExecute):
              (KJS::ProfileGenerator::didExecute):
              (KJS::ProfileGenerator::stopProfiling):
              (KJS::ProfileGenerator::didFinishAllExecution):
              (KJS::ProfileGenerator::removeProfileStart):
              (KJS::ProfileGenerator::removeProfileEnd):
              * profiler/ProfileGenerator.h: Added.
              (KJS::ProfileGenerator::profile):
              (KJS::ProfileGenerator::originatingGlobalExec):
              (KJS::ProfileGenerator::pageGroupIdentifier):
              (KJS::ProfileGenerator::client):
              (KJS::ProfileGenerator::stoppedProfiling):
              * profiler/Profiler.cpp: Now operates with the ProfileGenerator instead
              of the Profile.
              (KJS::Profiler::startProfiling):
              (KJS::Profiler::stopProfiling):
              (KJS::Profiler::didFinishAllExecution): It is here that the Profile is
              handed off to its client and the Profile Generator is no longer needed.
              (KJS::dispatchFunctionToProfiles):
              (KJS::Profiler::willExecute):
              (KJS::Profiler::didExecute):
              * profiler/Profiler.h: Cleaned up the includes and subsequently the
              forward declarations.  Also use the new ProfileGenerator.
              (KJS::ProfilerClient::~ProfilerClient):
              (KJS::Profiler::currentProfiles):
              * profiler/TreeProfile.cpp: Use Profile's new interface.
              (KJS::TreeProfile::create):
              (KJS::TreeProfile::TreeProfile):
              * profiler/TreeProfile.h:
      
      WebCore:
      
      2008-07-07  Kevin McCullough  <kmccullough@apple.com>
      
              Reviewed by Darin.
      
              Because profiler.h no longer #includes profile.h we need to explicitly
              include it in console.cpp.
      
              * page/Console.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e1baa1f
    • zimmermann@webkit.org's avatar
      Not reviewed. Build fix. · 632fe153
      zimmermann@webkit.org authored
      Fix --svg-filters build (affects Qt build, mac/win don't have it on by default)
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      632fe153
    • weinig@apple.com's avatar
      2008-07-07 Sam Weinig <sam@webkit.org> · 865e3676
      weinig@apple.com authored
              Reviewed by Cameron Zwarich.
      
              Third step in broad cleanup effort.
      
              [ File list elided ]
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      865e3676
    • mrowe@apple.com's avatar
      Fix references to WebRenderNode.h and WebRenderNode.mm in Xcode project so... · 0789a8fe
      mrowe@apple.com authored
      Fix references to WebRenderNode.h and WebRenderNode.mm in Xcode project so that they don't have an unnecessary ".." in the path.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0789a8fe
    • zimmermann@webkit.org's avatar
      Reviewed by Antti. · c135b9d2
      zimmermann@webkit.org authored
      Fixes: http://bugs.webkit.org/show_bug.cgi?id=17779 (SVG 1.1 Errata demands "SVG JavaScript Liveness" support)
      
      Revised version of the patch, not using pointer-to-member function callbacks anymore - after discussion with Adam Roben.
      Remove unneccessary parameters of all macros. Hopefully build on Windows works as expected now, watching build bot...
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c135b9d2
    • zimmermann@webkit.org's avatar
      Reviewed by Oliver. · e934474f
      zimmermann@webkit.org authored
      Working on: http://bugs.webkit.org/show_bug.cgi?id=17779 (SVG 1.1 Errata demands "SVG JavaScript Liveness" support)
      
      Splitting up large patch in small chunk: Land valueAsString() implementation on it's own.
      
      Added valueAsString() conversion for all SVG primitive types, needed by the SVG<->XML synchronization layer.
      Unify "null value for a SVG animated type" concept, which was implemented in SVGDocumentExtensions before, in SVGAnimatedTemplate.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e934474f
    • weinig@apple.com's avatar
      WebCore: · e6e84260
      weinig@apple.com authored
      2008-07-06  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Dan Bernstein.
      
              Rename "Access-Contol-Origin" to "Origin" to match the latest
              Access Control for Cross-Site Request draft. (Editor's Draft 25 May 2008)
      
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::makeSimpleCrossSiteAccessRequest):
              (WebCore::XMLHttpRequest::makeCrossSiteAccessRequestWithPreflight):
              (WebCore::XMLHttpRequest::handleAsynchronousPreflightResult):
      
      LayoutTests:
      
      2008-07-06  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Dan Bernstein.
      
              Rename "Access-Contol-Origin" to "Origin" to match the latest
              Access Control for Cross-Site Request draft. (Editor's Draft 25 May 2008)
      
              * http/tests/xmlhttprequest/access-control-basic-allow-access-control-origin-header-data-url-expected.txt:
              * http/tests/xmlhttprequest/access-control-basic-allow-access-control-origin-header-expected.txt:
              * http/tests/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6e84260
  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 8 commits
    • weinig@apple.com's avatar
      2008-07-04 Sam Weinig <sam@webkit.org> · 8ca49f8c
      weinig@apple.com authored
              Fix Qt build.
      
              * bridge/qt/qt_instance.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ca49f8c
    • weinig@apple.com's avatar
      2008-07-04 Sam Weinig <sam@webkit.org> · ef074a29
      weinig@apple.com authored
              Fix mac build.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef074a29
    • weinig@apple.com's avatar
      2008-07-04 Sam Weinig <sam@webkit.org> · 5080014e
      weinig@apple.com authored
              Fix non-AllInOne builds.
      
              * kjs/Error.cpp:
              * kjs/GetterSetter.cpp:
              * kjs/JSImmediate.cpp:
              * kjs/operations.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5080014e
    • weinig@apple.com's avatar
      JavaScriptCore: · f157abf5
      weinig@apple.com authored
      2008-07-04  Sam Weinig  <sam@webkit.org>
      
              Rubber-stamped by Dan Bernstein.
      
              Split Error and GetterSetter out of JSObject.h.
      
              * API/JSCallbackObjectFunctions.h:
              * GNUmakefile.am:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * kjs/AllInOneFile.cpp:
              * kjs/ClassInfo.h: Copied from JavaScriptCore/kjs/JSObject.h.
              * kjs/Error.cpp: Copied from JavaScriptCore/kjs/JSObject.cpp.
              * kjs/Error.h: Copied from JavaScriptCore/kjs/JSObject.h.
              * kjs/GetterSetter.cpp:
              * kjs/GetterSetter.h: Copied from JavaScriptCore/kjs/JSObject.h.
              * kjs/JSObject.cpp:
              * kjs/JSObject.h:
              * kjs/nodes.h:
      
      JavaScriptGlue:
      
      2008-07-04  Sam Weinig  <sam@webkit.org>
      
              Rubber-stamped by Dan Bernstein.
      
              * JSObject.h: Rename the header guard as it now conflicts with the
              JSObject in JavaScriptCore.
      
      WebCore:
      
      2008-07-04  Sam Weinig  <sam@webkit.org>
      
              Rubber-stamped by Dan Bernstein.
      
              Split Error and GetterSetter out of JSObject.h.
      
              * ForwardingHeaders/kjs/Error.h: Added.
              * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
              * bindings/js/JSClipboardCustom.cpp:
              * bindings/js/JSDOMWindowBase.cpp:
              * bindings/js/JSEventTargetBase.cpp:
              * bindings/js/JSHTMLDocumentCustom.cpp:
              * bindings/js/JSXMLHttpRequestCustom.cpp:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bridge/NP_jsobject.cpp:
              * bridge/jni/jni_instance.cpp:
              * bridge/jni/jni_runtime.cpp:
              * bridge/objc/objc_instance.mm:
              * bridge/objc/objc_runtime.mm:
              * bridge/objc/objc_utility.h:
              * bridge/runtime_array.cpp:
              * bridge/runtime_method.cpp:
              * bridge/runtime_object.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35007 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f157abf5
    • ddkilzer@apple.com's avatar
      WebCore: · cfd1e55d
      ddkilzer@apple.com authored
              Bug 15290: REGRESSION (r14184-r14216): Duplicate DOCTYPE definitions when saving files as webarchives
      
              <https://bugs.webkit.org/show_bug.cgi?id=15290>
              <rdar://problem/5509173>
      
              Reviewed by Dan Bernstein.
      
              Tests: webarchive/archive-empty-frame-dom-expected.txt
                     webarchive/doctype.html
      
              * editing/markup.cpp:
              (WebCore::createFullMarkup): If the Node is a Document or a
              DocumentType, don't prepend the <!DOCTYPE> tag since that will
              cause it to be duplicated.
              * loader/archive/cf/LegacyWebArchive.cpp:
              (WebCore::LegacyWebArchive::create): Ditto.
      
      LayoutTests:
      
              Bug 15290: REGRESSION (r14184-r14216): Duplicate DOCTYPE definitions when saving files as webarchives
      
              <https://bugs.webkit.org/show_bug.cgi?id=15290>
              <rdar://problem/5509173>
      
              Reviewed by Dan Bernstein.
      
              * webarchive/archive-empty-frame-dom-expected.txt: Updated test
              results now that we don't emit two <!DOCTYPE> tags.
              * webarchive/doctype-expected.txt: Added.
              * webarchive/doctype.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cfd1e55d
    • jmalonzo@webkit.org's avatar
      2008-07-04 Jan Michael Alonzo <jmalonzo@webkit.org> · 800d0b6b
      jmalonzo@webkit.org authored
              Gtk build fix
      
              * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      800d0b6b
    • cwzwarich@webkit.org's avatar
      2008-07-04 Cameron Zwarich <cwzwarich@uwaterloo.ca> · 169aedfd
      cwzwarich@webkit.org authored
              Reviewed by Eric Seidel.
      
              Bring our implementation of the Netscape plugin API closer to current
              code style guidelines.
      
              * bridge/NP_jsobject.cpp:
              (getListFromVariantArgs):
              (jsAllocate):
              (jsDeallocate):
              (_NPN_CreateScriptObject):
              (_NPN_CreateNoScriptObject):
              (_NPN_InvokeDefault):
              (_NPN_Invoke):
              (_NPN_Evaluate):
              (_NPN_GetProperty):
              (_NPN_SetProperty):
              (_NPN_RemoveProperty):
              (_NPN_HasProperty):
              (_NPN_HasMethod):
              (_NPN_Enumerate):
              * bridge/npruntime_impl.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      169aedfd
    • hausmann@webkit.org's avatar
      Fix the Qt/Windows build. · f0c7040d
      hausmann@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0c7040d