1. 01 May, 2008 16 commits
    • eric@webkit.org's avatar
      Rubber-stamped by Sam Weinig. · 95bb948a
      eric@webkit.org authored
              Mark a couple UTF16 files as binary so windows-svn doesn't mutilate them on checkout.
              * fast/xsl/xslt-enc16.xml: add svn:mime-type application/octet-stream
              * fast/xsl/xslt-enc16to16.xml: add svn:mime-type application/octet-stream
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • ddkilzer@apple.com's avatar
      2008-05-01 Anders Carlsson <andersca@apple.com> · d54081ac
      ddkilzer@apple.com authored
              Reviewed by Adam.
              Export methods needed to subclass Widget.  (See r32770.)
              * WebCore.base.exp:
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • mrowe@apple.com's avatar
      Versioning. · 793799b8
      mrowe@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32774 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • mrowe@apple.com's avatar
      Versioning. · c52a4f75
      mrowe@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • andersca@apple.com's avatar
      2008-05-01 Anders Carlsson <andersca@apple.com> · b5494b04
      andersca@apple.com authored
              Reviewed by Adam.
              Forward mouse move events to the Netscape plug-in view.
              * Plugins/WebBaseNetscapePluginView.h:
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView handleMouseMoved:]):
              New method that just calls the current event handler.
              * Plugins/WebNetscapePluginEventHandlerCocoa.mm:
              NSFlagsChanged is not a regular keyboard event and some of the NSEvent accessors
              don't work on it so don't call them.
              * WebCoreSupport/WebFrameLoaderClient.mm:
              New Widget subclass to be used for Netscape plug-ins.
              Forward NSMouseMoved events to the plug-in.
              Wrap the plug-in view in a NetscapePluginWidget.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • alice.liu@apple.com's avatar
      2008-05-01 Alice Liu <alice.liu@apple.com> · 1c6421cb
      alice.liu@apple.com authored
              Rubber-stamped by Sam Weinig.
              fast/events/tabindex-focus-blur-all.html was timing out on some machines
              Make this test faster by not doing += on innerHTML. 
              * fast/events/resources/tabindex-focus-blur-all.js:
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • ddkilzer@apple.com's avatar
      Cleaned up ugly if/else statement. · 0ed1e7c7
      ddkilzer@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • ddkilzer@apple.com's avatar
      Clean up configuration usage in run-webkit-tests · a1fa759a
      ddkilzer@apple.com authored
              Reviewed by Adam.
              * Scripts/run-webkit-tests: Parse configuration switches using
              passedConfiguration() from webkitdirs.pm like every other script.
              Note that we must still call setConfiguration() afterwards in
              case the --configuration switch was used.  Use $configurationOption
              when running build-dumprendertree instead of recreating the switch.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • alp@webkit.org's avatar
      2008-05-01 Marc Ordinas i Llopis <marc.ordinasillopis@collabora.co.uk> · a55698b8
      alp@webkit.org authored
              Reviewed by Alp Toker.
              Qt parts OK'ed by Simon Hausmann.
              Based on work by several authors.
              Added support for NPAPI plugins on Gtk and Qt-x11 ports.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • weinig@apple.com's avatar
      2008-05-01 Sam Weinig <sam@webkit.org> · 8c3d7c7c
      weinig@apple.com authored
              Reviewed by Anders Carlsson.
              Turn off deprecated warnings for WebNetscapePluginEventHandlerCarbon.mm.
              * WebKit.xcodeproj/project.pbxproj:
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32765 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • weinig@apple.com's avatar
      2008-05-01 Sam Weinig <sam@webkit.org> · 0b1ea702
      weinig@apple.com authored
              Update results with -webkit-box-reflect values.
              * fast/css/computed-style-expected.txt:
              * fast/css/computed-style-without-renderer-expected.txt:
              * svg/css/getComputedStyle-basic-expected.txt:
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • weinig@apple.com's avatar
      JavaScriptCore: · bb55eb3a
      weinig@apple.com authored
      2008-05-01  Sam Weinig  <sam@webkit.org>
              Fix build.
              * JavaScriptCore.xcodeproj/project.pbxproj:
      2008-05-01  Sam Weinig  <sam@webkit.org>
              Fix build.
              * ForwardingHeaders/wtf/StrHash.h: Added.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • andersca@apple.com's avatar
      2008-05-01 Anders Carlsson <andersca@apple.com> · 10f8ba69
      andersca@apple.com authored
              Reviewed by Darin.
              Move management of cache groups to ApplicationCacheStorage. Also,
              application caches now start out with a null group and will have their group set
              when the cache has finished loading. 
              * loader/appcache/ApplicationCache.cpp:
              Initialize m_group to 0.
              Null check the group.
              New method for setting the group.
              * loader/appcache/ApplicationCache.h:        
              Remove the group argument.
              * loader/appcache/ApplicationCacheGroup.cpp:
              Let the storage know that the cache group has been destroyed.
              Call into the storage.
              Call into the storage.
              When there are no document loaders associated with the cache group,
              set the newest cache to 0.
              Delete the group if there are no associated caches.
              New method that will set the newest cache and associate the group with the cache.
              Call setNewestCache instead.
              * loader/appcache/ApplicationCacheStorage.cpp:
              Move host hash method here.
              New method that finds a cache group with a given manifest URL or creates a new one.
              New method that returns a cache group for a given URL.
              When the cache group has been destroyed, remove it from the hash map.
              * loader/appcache/ApplicationCacheStorage.h:
              Add new methods.I b
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • alp@webkit.org's avatar
      2008-05-01 Dan Winship <danw@gnome.org> · 2b08899d
      alp@webkit.org authored
              Reviewed by Alp Toker.
              Add mostly-working file: support and mostly-broken ftp: support to
              the soup backend.
              * platform/network/soup/ResourceHandleSoup.cpp (start): after
              doing basic checks, delegate to one of three submethods
              (startData): handles data: URLs
              (startHttp): handles http: and https: URLs, via libsoup
              (startGio, etc): handles file: and ftp: URLs, via gio. Lots of
              FIXMEs detailing the parts that don't fully work yet.
              * platform/network/ResourceHandle.h:
              * platform/network/ResourceHandleInternal.h: add new member
              variables for gio-based loading
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • kmccullough@apple.com's avatar
      2008-05-01 Kevin McCullough <kmccullough@apple.com> · 21b94191
      kmccullough@apple.com authored
              Reviewed by Darin.
              <rdar://problem/5770054> JavaScript profiler (10928)
              - Fix "sample" output so that it can be imported into Instruments
              - Also keep track of number of times a function is profiled.
              * JavaScriptCore.xcodeproj/project.pbxproj: Add StrHash.h which needed
              to be pulled out of identifier.cpp so that it could be used by the
              profiler and identifiers.
              * kjs/identifier.cpp: Ditto.
              * profiler/FunctionCallProfile.cpp:
              (KJS::FunctionCallProfile::printDataInspectorStyle): Inspector style
              printing should show microseconds.
              (KJS::FunctionCallProfile::printDataSampleStyle): Sample style printing
              now counts the number of times a function is in the stack tree and does
              not print microseconds since that does not make sense for a sampler.
              * profiler/FunctionCallProfile.h: Keep track of number of times a
              function is profiled.
              * profiler/Profiler.cpp:
              (KJS::functionNameCountPairComparator): Comparator for sort function in
              (KJS::Profiler::printDataSampleStyle): Print the number of times that a
              function is listed in the stack tree in order of most times listed.
              * wtf/HashCountedSet.h: Added copyToVector since it didn't exist and is
              a more standard way to copy a HashSet to a Vector. I added on variant
              that takes a pair as the Vector's type and so the HashCountedSet simply
              fills in that pair with its internal pair, and another variant that
              takes a Vector of the type of the HashCountedSet and only fills in the
              Vector with the first element of the pair.
              * wtf/StrHash.h: Added.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • alp@webkit.org's avatar
      2008-05-01 Alp Toker <alp@nuanti.com> · 55996084
      alp@webkit.org authored
              Rubber-stamped by Anders.
              GTK+ build fix for changes in r32752. Use int32, not int32_t types in
              Additional fix to use same signedness in npapi.h and Mac for the
              interval parameter.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  2. 30 Apr, 2008 24 commits
    • jchaffraix@webkit.org's avatar
      2008-04-30 Julien Chaffraix <jchaffraix@webkit.org> · 02f02977
      jchaffraix@webkit.org authored
              Qt 4.3 build fix.
              Fixes a brace error that made Qt 4.4 build but not Qt 4.3.
              * Api/qwebview.cpp:
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • andersca@apple.com's avatar
      WebCore: · 31c218a6
      andersca@apple.com authored
      2008-04-30  Anders Carlsson  <andersca@apple.com>
              Reviewed by Adam.
              Add new Cocoa event model type declarations.
              * bridge/npapi.h:
      2008-04-30  Anders Carlsson  <andersca@apple.com>
              Reviewed by Adam.
              Add Cocoa event handler.
              * WebKit.xcodeproj/project.pbxproj:
      2008-04-30  Anders Carlsson  <andersca@apple.com>
              Reviewed by Adam.
              Add new Cocoa event model and the NPN_ScheduleTimer/NPN_UnscheduleTimer methods.
              * Plugins/WebBaseNetscapePluginView.h:
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]):
              (-[WebBaseNetscapePluginView stopTimers]):
              (-[WebBaseNetscapePluginView restartTimers]):
              (-[WebBaseNetscapePluginView scrollWheel:]):
              (-[WebBaseNetscapePluginView flagsChanged:]):
              (-[WebBaseNetscapePluginView start]):
              (-[WebBaseNetscapePluginView eventModel]):
              (-[WebBaseNetscapePluginView fini]):
              (-[WebBaseNetscapePluginView getVariable:value:]):
              (-[WebBaseNetscapePluginView setVariable:value:]):
              (-[WebBaseNetscapePluginView scheduleTimerWithInterval:repeat:timerFunc:]):
              (-[WebBaseNetscapePluginView unscheduleTimer:]):
              * Plugins/WebBaseNetscapePluginViewInternal.h:
              * Plugins/WebBaseNetscapePluginViewPrivate.h:
              * Plugins/WebNetscapePluginEventHandler.h:
              * Plugins/WebNetscapePluginEventHandler.mm:
              * Plugins/WebNetscapePluginEventHandlerCarbon.h:
              * Plugins/WebNetscapePluginEventHandlerCarbon.mm:
              * Plugins/WebNetscapePluginEventHandlerCocoa.h: Added.
              * Plugins/WebNetscapePluginEventHandlerCocoa.mm: Added.
              * Plugins/WebNetscapePluginPackage.m:
              (-[WebNetscapePluginPackage load]):
              * Plugins/npapi.m:
              * Plugins/npfunctions.h:
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • bdakin@apple.com's avatar
      2008-04-30 Beth Dakin <bdakin@apple.com> · 90a00ff8
      bdakin@apple.com authored
              Reviewed by Sam Weinig.
              This patch does three things:
              1. Adds support for the "img" ARIA role
              2. Switches over to a HashMap for converting ARIA role attributes 
              to WebCore's AccessibilityRole type. 
              3. Fixes a crash in the new ARIA code that I ran into while 
              browsing with VoiceOver enabled.
              * page/AccessibilityObject.cpp:
              (WebCore::AccessibilityObject::headingLevel): This is the crash 
              fix. Make sure the node's renderer is not null before looking up 
              its corresponding AccessibilityObject in the cache.
              (WebCore::AccessibilityObject::accessibilityIsIgnored): Account for 
              ARIA images.
              (WebCore::createARIARoleMap): Switch to HashMap, and add "img" to 
              the Map.
              (WebCore::RoleEntry::): Same.
              (WebCore::ariaRoleToWebCoreRole): Same.
              (WebCore::AccessibilityObject::ariaRoleAttribute): Same.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • beidson@apple.com's avatar
      2008-04-30 Brady Eidson <beidson@apple.com> · c6bb8dfd
      beidson@apple.com authored
              Fix my WebPreferences revert check-in
              * WebView/WebView.mm:
              (-[WebView _preferencesChangedNotification:]):
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • beidson@apple.com's avatar
      2008-04-30 Brady Eidson <beidson@apple.com> · 8eef61cb
      beidson@apple.com authored
              Rubberstamped by John Sullivan
              Revert the remainder of my original preferences changes from last week.
              They caused a massive PLT regression (too many notifications being sent out
              or listened to that weren't previously) and it's not in my schedule to refine
              the preferences code instead of working on my feature!
              * WebView/WebView.mm:
              (-[WebView _updateSettingsFromPreferences:]):
              (-[WebView _commonInitializationWithFrameName:groupName:]):
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32746 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • andersca@apple.com's avatar
      2008-04-30 Anders Carlsson <andersca@apple.com> · 375cd93d
      andersca@apple.com authored
              Fix the 64-bit build.
              * Plugins/WebNetscapePluginEventHandler.h:
              * Plugins/WebNetscapePluginEventHandler.mm:
              * Plugins/WebNetscapePluginEventHandlerCarbon.h:
              * Plugins/WebNetscapePluginEventHandlerCarbon.mm:
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32740 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • rwlbuis@webkit.org's avatar
      Reviewed by Nikolas. · d7295f7f
      rwlbuis@webkit.org authored
              onload called too many times for <svg:image>
              SVG wastes time in malloc to send loadEvents to non-existent listeners
              Postpone load event dispatching for image when externalResourcesRequired        is true, delaying parents but not siblings, and make sure the load event        is sent once for image in all cases.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32738 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • hyatt@apple.com's avatar
      WebCore: · 46ab9613
      hyatt@apple.com authored
      2008-04-30  David Hyatt  <hyatt@apple.com>
              Fix crashes when dynamically removing <video> elements with layers that establish stacking contexts.  This
              won't typically crash release builds because of arena recycling.
              Reviewed by Dan Bernstein
              * rendering/RenderLayer.cpp:
              Make sure to remove the reflection's child layer from its parent.
              * rendering/RenderMedia.cpp:
              * rendering/RenderMedia.h:
              Adjust the teardown of RenderMedia so that it does all of its teardown inside destroy() (this makes it more
              like other renderers and doesn't leave you staring at a trashed layer hierarchy in the RenderMedia
      2008-04-30  David Hyatt  <hyatt@apple.com>
              Add test for video crasher.
              Reviewed by Dan Bernstein
              * media/video-layer-crash.html: Added.
              * platform/mac/media/video-layer-crash-expected.checksum: Added.
              * platform/mac/media/video-layer-crash-expected.png: Added.
              * platform/mac/media/video-layer-crash-expected.txt: Added.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • rwlbuis@webkit.org's avatar
      Fix the ChangeLogs so it includes the details about r32719. · 0a86c6f8
      rwlbuis@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • mitz@apple.com's avatar
      Adding Radar link · a26871c7
      mitz@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • mitz@apple.com's avatar
      2008-04-30 Rémi Zara <remi_zara@mac.com> · 7b4c3374
      mitz@apple.com authored
              Reviewed by Dave Hyatt.
              fix https://bugs.webkit.org/show_bug.cgi?id=18618
              REGRESSION (r31823-r31847): Patterns are upside down
              * svg/graphics/cg/SVGPaintServerPatternCg.cpp:
              (WebCore::patternCallback): flip the y axis when drawing the tile
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • timothy@apple.com's avatar
      Fixes an undefined type exception that fires when adding a resource to the inspector · 40aae8dc
      timothy@apple.com authored
      that has a MIME type warning.
      Reviewed by Adam Roben.
      * page/inspector/Resource.js:
      (WebInspector.Resource.prototype._addTip): Call WebInspector.console instead of
      (WebInspector.Resource.prototype._checkWarning): Ditto.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • timothy@apple.com's avatar
      Fixes the bug where the selected resource would be deselected after · 1daf52a8
      timothy@apple.com authored
      changing the sort order in the Resources panel.
      Reviewed by Dan Bernstein.
      * page/inspector/ResourcesPanel.js:
      Rememebr if the tree element that we are sorting was selected, so
      the selection can be restored after it is re-inserted. The onSelect
      is suppressed since we don't need to show the resource again.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • timothy@apple.com's avatar
      Fixes the regression where error bubbles in source views always show · 9061c9a8
      timothy@apple.com authored
      "undefined" for the content because the message property on
      ConsoleMessage was removed. Adds support for a plain text formated
      message that is stored in the message proeprty.
      Reviewed by Adam Roben.
      * page/inspector/Console.js:
      (WebInspector.Console.prototype._format): Add a plainText argument that is passed to
      the formatters.
      (WebInspector.Console.prototype._formatvalue): Add a plainText argument, and a comment
      about needing to honor it if the textContent of the output doesn't make sense.
      (WebInspector.Console.prototype._formatvalue): Ditto.
      (WebInspector.Console.prototype._formatstring): Ditto.
      (WebInspector.Console.prototype._formatregexp): Ditto.
      (WebInspector.Console.prototype._formatarray): Ditto.
      (WebInspector.Console.prototype._formatnode): Ditto.
      (WebInspector.Console.prototype._formatobject): Ditto.
      (WebInspector.Console.prototype._formaterror): Ditto.
      (WebInspector.ConsoleMessage): Call _format passing true for plainText. Get the
      textContnet of the result and assign to the message proeprty. This property is
      referenced from the SourceView.
      (WebInspector.ConsoleMessage.prototype._format): Add a plainText argument. Build the
      result element as a local and return it, instead of using formatedMessage directly.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • timothy@apple.com's avatar
      Adds a helper function to convert a JSValueRef to a String. · 1bcccab5
      timothy@apple.com authored
      Reviewed by Adam Roben.
      * page/InspectorController.cpp:
      (WebCore::toString): Converts a JSValueRef to a String.
      (WebCore::search): Use toString.
      (WebCore::InspectorController::handleException): Ditto.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • hausmann@webkit.org's avatar
      2008-04-30 Tor Arne Vestbø <tavestbo@trolltech.com> · 57097f63
      hausmann@webkit.org authored
              Rubber-stamped by Simon
              Updated the expected test results to reflect the fact that most render objects now are anonymous.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • hausmann@webkit.org's avatar
      2008-04-30 Ariya Hidayat <ariya.hidayat@trolltech.com> · 742aa43e
      hausmann@webkit.org authored
                  Reviewed by Simon.
                  Build the Qt port with SVG Foreign Object support.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • hausmann@webkit.org's avatar
      2008-04-30 Simon Hausmann <hausmann@webkit.org> · b5fc07f7
      hausmann@webkit.org authored
              Reviewed by Holger.
              Fix null pointer deference triggered by
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • hausmann@webkit.org's avatar
      2008-04-30 Tor Arne Vestbø <tavestbo@trolltech.com> · 3cc10b19
      hausmann@webkit.org authored
              Rubber-stamped by Simon.
              Updated the expected test results to the current font metrics.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • hausmann@webkit.org's avatar
      2008-04-30 Simon Hausmann <hausmann@webkit.org> · 42942d04
      hausmann@webkit.org authored
              Rubber-stamped by Holger.
              Updated the skip list for the Qt port to exclude features currently
              not implemented.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • hausmann@webkit.org's avatar
      2008-04-30 Tor Arne Vestbø <tavestbo@trolltech.com> · 7a4e63fd
      hausmann@webkit.org authored
              Reviewed by Simon.
              In focusIn and focusOut event always update the active state of the
              focus controller. Fixes ~400 failing layout tests due to missing
              editing callbacks that relied on the correct focus.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • zecke@webkit.org's avatar
      2008-04-30 Sean Egan <seanegan@gmail.com> · 69745189
      zecke@webkit.org authored
              Reviewed and modified by Holger.
              Support setting background color and a 16-bit alpha channel.
              * webkit/webkitprivate.h:
              * webkit/webkitwebview.cpp:
              * webkit/webkitwebview.h:
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • hyatt@apple.com's avatar
      2008-04-29 David Hyatt <hyatt@apple.com> · cee4af67
      hyatt@apple.com authored
              Improve the performance of masks by adding code to set more precise clips on the transparency layers
              used to paint the content under the mask, and then also avoid creating transparency layers for the masks
              themselves in common cases.
              Reviewed by Dan Bernstein
              * platform/graphics/GraphicsContext.cpp:
              Fix a bug in drawTiledImage where the composite mode got lost in the double stretch case for nine piece
              * rendering/InlineFlowBox.cpp:
              Optimize to only push a transparency layer for the mask if multiple images are combining.  Add a new
              composite operator argument for use when painting fill layers to do direct destination-in compositing while
              painting images.
              * rendering/InlineFlowBox.h:
              * rendering/RenderBox.cpp:
              Optimize to only push a transparency layer for the mask if multiple images are combining.
              A new method that attempts to compute a precise clip rect for the mask images.
              * rendering/RenderBox.h:
              Added the composite operator argument to the paintFillLayer methods.
              * rendering/RenderFieldset.cpp:
              Call the new base class paintMaskImages method for optimized mask painting.
              * rendering/RenderLayer.cpp:
              Fix a coordinate space issue with transparencyClipBox when masks were used.  The border box was in the
              wrong coordinate space.  Moved the code into the layer's boundingBox() method instead.
              Removed the code that always pushed a transparency layer before painting masks.
              Call maskClipRect to shrink the bounding box of the layer to fit the mask clip.
              * rendering/RenderObject.cpp:
              Added a composite operator argument for direct destination-in painting of nine piece images.
              * rendering/RenderObject.h:
              Base class stubs for RenderBox-implemented methods.
              * rendering/RenderTable.cpp:
              * rendering/RenderTableCell.cpp:
              Modified to call the new paintMaskImages function.
              * svg/graphics/SVGImage.cpp:
              SVG images now respect composite modes by pushing a transparency layer when the composite mode
              is anything other than source-over.
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    • hausmann@webkit.org's avatar
      2008-04-30 Ariya Hidayat <ariya.hidayat@trolltech.com> · e4600cb9
      hausmann@webkit.org authored
              Rubber-stamped by Rob Buis.
              Fixed crash or assertion if SVG_FOREIGN_OBJECT is not enabled
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32721 268f45cc-cd09-0410-ab3c-d52691b4dbfc