From 231d4e3152a9c27a73b6ac7badbe6be673aa3ddf Mon Sep 17 00:00:00 2001 From: Steve Block Date: Thu, 8 Oct 2009 17:19:54 +0100 Subject: Merge webkit.org at R49305 : Automatic merge by git. Change-Id: I8968561bc1bfd72b8923b7118d3728579c6dbcc7 --- WebKitLibraries/ChangeLog | 120 +++++++++++++++++++++ WebKitLibraries/WebKitSystemInterface.h | 22 +++- WebKitLibraries/libWebKitSystemInterfaceLeopard.a | Bin 1790264 -> 1878776 bytes .../libWebKitSystemInterfaceSnowLeopard.a | Bin 1488420 -> 1549884 bytes WebKitLibraries/libWebKitSystemInterfaceTiger.a | Bin 872272 -> 905336 bytes .../WebKitSystemInterface/WebKitSystemInterface.h | 5 +- WebKitLibraries/win/lib/WebKitSystemInterface.lib | Bin 134314 -> 167466 bytes .../win/lib/WebKitSystemInterface_debug.lib | Bin 65782 -> 66330 bytes WebKitLibraries/win/tools/scripts/PRODUCTVERSION | 1 - WebKitLibraries/win/tools/scripts/auto-version.sh | 29 ++--- WebKitLibraries/win/tools/vsprops/WinCairo.vsprops | 4 +- WebKitLibraries/win/tools/vsprops/common.vsprops | 2 +- .../win/tools/vsprops/debug_wincairo.vsprops | 32 ++++++ 13 files changed, 196 insertions(+), 19 deletions(-) delete mode 100644 WebKitLibraries/win/tools/scripts/PRODUCTVERSION create mode 100644 WebKitLibraries/win/tools/vsprops/debug_wincairo.vsprops (limited to 'WebKitLibraries') diff --git a/WebKitLibraries/ChangeLog b/WebKitLibraries/ChangeLog index 66f1e38..6ad863d 100644 --- a/WebKitLibraries/ChangeLog +++ b/WebKitLibraries/ChangeLog @@ -1,3 +1,123 @@ +2009-10-05 Pierre d'Herbemont + + Reviewed by Simon Fraser + + Support fullscreen in MediaPlayer (Mac) + https://bugs.webkit.org/show_bug.cgi?id=26742 + + New methods required for video fullscreen. + + * WebKitSystemInterface.h: + * libWebKitSystemInterfaceLeopard.a: + * libWebKitSystemInterfaceSnowLeopard.a: + * libWebKitSystemInterfaceTiger.a: + +2009-10-02 Steve Falkenburg + + Windows build fix. + Re-apply lost changes to auto-version.sh. + + * win/tools/scripts/auto-version.sh: + +2009-10-02 Eric Carlson + + Reviewed by Adam Roben. + + + Rename MediaControllerThemeQT to MediaControllerThemeQuickTime + + * WebKitSystemInterface.h: + MediaControllerThemeQT -> MediaControllerThemeQuickTime + +2009-10-02 Steve Falkenburg + + Reviewed by Mark Rowe. + + + Safari version number shouldn't be exposed in WebKit code + + For a WebKit version of 532.3.4: + Product version is: 5.32.3.4 (was 4.0.3.0) + File version is: 5.32.3.4 (was 4.532.3.4) + + * win/tools/scripts/PRODUCTVERSION: Removed. + * win/tools/scripts/auto-version.sh: Re-worked script to remove references to PRODUCTVERSION. + +2009-09-25 Dan Bernstein + + Reviewed by Adam Roben. + + WebKitSystemInterface changes for + 2 byte characters are displayed as garbaged + garbled/gibberish text (off-by-one) + + * win/include/WebKitSystemInterface/WebKitSystemInterface.h: Added + wkAddFontsFromPlistRepresentation() and replaced + wkCreateFontsPlistRepresentation() with wkCreateFontsPlist() and + wkAddFontsFromPlistRepresentation() with wkAddFontsFromPlist(). + * win/lib/WebKitSystemInterface.lib: + * win/lib/WebKitSystemInterface_debug.lib: + +2009-09-23 Marshall Culpepper + + Reviewed by Eric Seidel. + + Added $(WebKitLibrariesDir)/include/cairo so cairo.h is found by + default when the necessary dependencies are extracted into the + WebKitLibrariesDir. + https://bugs.webkit.org/show_bug.cgi?id=29661 + + * win/tools/vsprops/WinCairo.vsprops: + +2009-09-09 Brent Fulgham + + Reviewed by Dave Levin. + + Adjust WinCairo-specific property sheet to use static versions of + libjpeg.lib and libpng.lib. Change to libpng.lib required addition + of zlib.lib to link. + + * win/tools/vsprops/WinCairo.vsprops: + +2009-08-28 Steve Falkenburg + + Reviewed by Adam Roben. + + Define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1 + to automatically use secure versions of C runtime lib calls on Windows. + https://bugs.webkit.org/show_bug.cgi?id=28824 + + * win/tools/vsprops/common.vsprops: + +2009-08-25 Brent Fulgham + + Rubber stamped by Steve Falkenburg. + + debug_wincairo.vsprops was linking against wrong C runtime. + + * win/tools/vsprops/debug_wincairo.vsprops: Link to correct + C runtime (as in the standard 'debug.vsprops' file.) + +2009-08-24 Brent Fulgham + + Reviewed by Steve Falkenburg. + + Revise CFLite Debug build to emit DLL's with _debug label. + https://bugs.webkit.org/show_bug.cgi?id=28695. + + * win/tools/vsprops/debug_wincairo.vsprops: Added. + +2009-08-12 Peter Kasting + + Reviewed by Darin Adler. + + https://bugs.webkit.org/show_bug.cgi?id=27323 + Change pattern that strips all trailing whitespace to just remove EOL + chars (\r, \n), to make it clear that varying EOL chars is the primary + problem being solved. + + * win/tools/scripts/auto-version.sh: + 2009-08-10 Peter Kasting Reviewed by George Staikos. diff --git a/WebKitLibraries/WebKitSystemInterface.h b/WebKitLibraries/WebKitSystemInterface.h index 0efa2f4..a97e635 100644 --- a/WebKitLibraries/WebKitSystemInterface.h +++ b/WebKitLibraries/WebKitSystemInterface.h @@ -216,7 +216,7 @@ typedef enum { typedef enum { WKMediaControllerThemeClassic = 1, - WKMediaControllerThemeQT = 2 + WKMediaControllerThemeQuickTime = 2 } WKMediaControllerThemeStyle; typedef enum { @@ -229,6 +229,21 @@ BOOL WKHitTestMediaUIPart(int part, int themeStyle, CGRect bounds, CGPoint point void WKMeasureMediaUIPart(int part, int themeStyle, CGRect *bounds, CGSize *naturalSize); void WKDrawMediaUIPart(int part, int themeStyle, CGContextRef context, CGRect rect, unsigned state); void WKDrawMediaSliderTrack(int themeStyle, CGContextRef context, CGRect rect, float timeLoaded, float currentTime, float duration, unsigned state); +NSView *WKCreateMediaUIBackgroundView(void); + +typedef enum { + WKMediaUIControlTimeline, + WKMediaUIControlSlider, + WKMediaUIControlPlayPauseButton, + WKMediaUIControlExitFullscreenButton, + WKMediaUIControlRewindButton, + WKMediaUIControlFastForwardButton, + WKMediaUIControlVolumeUpButton, + WKMediaUIControlVolumeDownButton + +} WKMediaUIControlType; + +NSControl *WKCreateMediaUIControl(int controlType); #if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD) && defined(__x86_64__) mach_port_t WKInitializeRenderServer(void); @@ -259,6 +274,11 @@ void WKSetCAAnimationValueFunction(CAPropertyAnimation*, NSString* function); unsigned WKInitializeMaximumHTTPConnectionCountPerHost(unsigned preferredConnectionCount); BOOL WKIsLatchingWheelEvent(NSEvent *); + +#ifndef BUILDING_ON_TIGER +void WKWindowSetAlpha(NSWindow *window, float alphaValue); +void WKWindowSetScaledFrame(NSWindow *window, NSRect scaleFrame, NSRect nonScaledFrame); +#endif #ifdef __cplusplus } diff --git a/WebKitLibraries/libWebKitSystemInterfaceLeopard.a b/WebKitLibraries/libWebKitSystemInterfaceLeopard.a index 1e9e637..60c8017 100644 Binary files a/WebKitLibraries/libWebKitSystemInterfaceLeopard.a and b/WebKitLibraries/libWebKitSystemInterfaceLeopard.a differ diff --git a/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a b/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a index 61daf46..a4b8ae7 100644 Binary files a/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a and b/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a differ diff --git a/WebKitLibraries/libWebKitSystemInterfaceTiger.a b/WebKitLibraries/libWebKitSystemInterfaceTiger.a index 83fa4dc..9ef1695 100644 Binary files a/WebKitLibraries/libWebKitSystemInterfaceTiger.a and b/WebKitLibraries/libWebKitSystemInterfaceTiger.a differ diff --git a/WebKitLibraries/win/include/WebKitSystemInterface/WebKitSystemInterface.h b/WebKitLibraries/win/include/WebKitSystemInterface/WebKitSystemInterface.h index d2183d4..b5ce097 100644 --- a/WebKitLibraries/win/include/WebKitSystemInterface/WebKitSystemInterface.h +++ b/WebKitLibraries/win/include/WebKitSystemInterface/WebKitSystemInterface.h @@ -56,8 +56,9 @@ void wkSetFontPlatformInfo(CGFontRef, LOGFONT*, void(*)(void*)); void wkSetUpFontCache(size_t s); void wkAddFontsInDirectory(CFStringRef); void wkAddFontsAtPath(CFStringRef); -void wkAddFontsFromPlistRepresentation(CFDataRef); -CFDataRef wkCreateFontsPlistRepresentation(); +void wkAddFontsFromRegistry(); +void wkAddFontsFromPlist(CFPropertyListRef); +CFPropertyListRef wkCreateFontsPlist(); void wkSetPatternBaseCTM(CGContextRef, CGAffineTransform); void wkSetPatternPhaseInUserSpace(CGContextRef, CGPoint phasePoint); diff --git a/WebKitLibraries/win/lib/WebKitSystemInterface.lib b/WebKitLibraries/win/lib/WebKitSystemInterface.lib index 718f791..d4f9dd9 100644 Binary files a/WebKitLibraries/win/lib/WebKitSystemInterface.lib and b/WebKitLibraries/win/lib/WebKitSystemInterface.lib differ diff --git a/WebKitLibraries/win/lib/WebKitSystemInterface_debug.lib b/WebKitLibraries/win/lib/WebKitSystemInterface_debug.lib index 02b431a..6d18588 100644 Binary files a/WebKitLibraries/win/lib/WebKitSystemInterface_debug.lib and b/WebKitLibraries/win/lib/WebKitSystemInterface_debug.lib differ diff --git a/WebKitLibraries/win/tools/scripts/PRODUCTVERSION b/WebKitLibraries/win/tools/scripts/PRODUCTVERSION deleted file mode 100644 index aa31e71..0000000 --- a/WebKitLibraries/win/tools/scripts/PRODUCTVERSION +++ /dev/null @@ -1 +0,0 @@ -4.0.3 \ No newline at end of file diff --git a/WebKitLibraries/win/tools/scripts/auto-version.sh b/WebKitLibraries/win/tools/scripts/auto-version.sh index 06f7667..2e9a9ed 100755 --- a/WebKitLibraries/win/tools/scripts/auto-version.sh +++ b/WebKitLibraries/win/tools/scripts/auto-version.sh @@ -29,20 +29,12 @@ VERSIONPATH=$VERSIONPATH/include VERSIONFILE=$VERSIONPATH/autoversion.h mkdir -p "$VERSIONPATH" -PRODUCTVERSION=`cat $SRCPATH/PRODUCTVERSION | sed -r 's/(.*\S+)\s*$/\1/'` -MAJORVERSION=`echo "$PRODUCTVERSION" | sed 's/\([^\.]*\)\.\([^.]*\)\(\.\([^.]*\)\)\?/\1/'` -MINORVERSION=`echo "$PRODUCTVERSION" | sed 's/\([^\.]*\)\.\([^.]*\)\(\.\([^.]*\)\)\?/\2/'` -TINYVERSION=`echo "$PRODUCTVERSION" | sed 's/\([^\.]*\)\.\([^.]*\)\(\.\([^.]*\)\)\?/\4/'` -if [ "$TINYVERSION" == "" ]; then - TINYVERSION=0 -fi - if [ "$RC_PROJECTSOURCEVERSION" == "" ]; then PROPOSEDVERSION=`cat $SRCPATH/VERSION` else PROPOSEDVERSION="$RC_PROJECTSOURCEVERSION" fi -PROPOSEDVERSION=`echo "$PROPOSEDVERSION" | sed -r 's/(.*\S+)\s*$/\1/'` +PROPOSEDVERSION=`echo "$PROPOSEDVERSION" | sed -r 's/(.+?)[\r\n]*$/\1/'` BLDMAJORVERSION=`echo "$PROPOSEDVERSION" | sed 's/\([^\.]*\)\(\.\([^.]*\)\(\.\([^.]*\)\)\?\)\?/\1/'` BLDMINORVERSION=`echo "$PROPOSEDVERSION" | sed 's/\([^\.]*\)\(\.\([^.]*\)\(\.\([^.]*\)\)\?\)\?/\3/'` @@ -53,25 +45,36 @@ fi if [ "$BLDVARIANTVERSION" == "" ]; then BLDVARIANTVERSION=0 fi -SVNOPENSOURCEREVISION=`svn info | grep '^Revision' | sed -r 's/^Revision: (.*\S+)\s*$/\1/'` +SVNOPENSOURCEREVISION=`svn info | grep '^Revision' | sed -r 's/^Revision: (.+?)[\r\n]*$/\1/'` + +MAJORVERSION=`echo "$PROPOSEDVERSION" | sed 's/\(.\)[^\.]*\(\.\([^.]*\)\(\.\([^.]*\)\)\?\)\?/\1/'` +MINORVERSION=`echo "$PROPOSEDVERSION" | sed 's/.\([^\.]*\)\(\.\([^.]*\)\(\.\([^.]*\)\)\?\)\?/\1/'` +TINYVERSION=`echo "$PROPOSEDVERSION" | sed 's/\([^\.]*\)\(\.\([^.]*\)\(\.\([^.]*\)\)\?\)\?/\3/'` +if [ "$MINORVERSION" == "" ]; then + MINORVERSION=0 +fi +if [ "$TINYVERSION" == "" ]; then + TINYVERSION=0 +fi BLDNMBR="$PROPOSEDVERSION" BLDNMBRSHORT="$BLDNMBR" if [ "$RC_PROJECTSOURCEVERSION" == "" ]; then BLDNMBRSHORT="$BLDNMBRSHORT+" - BLDUSERNAME=`echo "$(whoami)" | sed -r 's/(.*\S+)\s*$/\1/'` - BLDDATE=`echo "$(date)" | sed -r 's/(.*\S+)\s*$/\1/'` + BLDUSERNAME=`echo "$(whoami)" | sed -r 's/(.+?)[\r\n]*$/\1/'` + BLDDATE=`echo "$(date)" | sed -r 's/(.+?)[\r\n]*$/\1/'` BLDNMBR="$BLDNMBRSHORT $BLDUSERNAME - $BLDDATE - r$SVNOPENSOURCEREVISION" fi cat > "$VERSIONFILE" < diff --git a/WebKitLibraries/win/tools/vsprops/common.vsprops b/WebKitLibraries/win/tools/vsprops/common.vsprops index 4c7c9df..290db9a 100644 --- a/WebKitLibraries/win/tools/vsprops/common.vsprops +++ b/WebKitLibraries/win/tools/vsprops/common.vsprops @@ -9,7 +9,7 @@ + + + + + + + -- cgit v1.1