2010-12-21 Sam Weinig Reviewed by Anders Carlsson. Add serialization for CFURLRequestRef and CFURLResponseRef. * win/include/WebKitSystemInterface/WebKitSystemInterface.h: * win/lib/WebKitSystemInterface.lib: 2010-12-14 Anders Carlsson Reviewed by Dan Bernstein. Add WKGetScriptCodeFromCurrentKeyboardInputSource function. * WebKitSystemInterface.h: * libWebKitSystemInterfaceLeopard.a: * libWebKitSystemInterfaceSnowLeopard.a: 2010-12-10 Chris Marrin Reviewed by Adam Roben. Add CACFContextGetLastCommitTime to WebKitSystemInterface for Windows. Also got rid of WebKitSystemInterface_debug.lib as recommended by Adam Roben. No OpenSource builds use it since r72327. * win/include/WebKitSystemInterface/WebKitSystemInterface.h: * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: Removed. 2010-12-09 Anders Carlsson Reviewed by Sam Weinig. Cannot use NSKeyedArchiver in WK2 for ResourceResponses https://bugs.webkit.org/show_bug.cgi?id=50792 * WebKitSystemInterface.h: * libWebKitSystemInterfaceLeopard.a: * libWebKitSystemInterfaceSnowLeopard.a: 2010-12-03 Anders Carlsson Reviewed by Sam Weinig. Dispatch keyboard events in the Carbon event model https://bugs.webkit.org/show_bug.cgi?id=50503 Make WKGetNSEventKeyChar available in 32-bit. * WebKitSystemInterface.h: * libWebKitSystemInterfaceLeopard.a: * libWebKitSystemInterfaceSnowLeopard.a: 2010-12-02 Anders Carlsson Reviewed by Sam Weinig. Plug-ins should be able to update the mouse cursor https://bugs.webkit.org/show_bug.cgi?id=50399 Add WKEnableSettingCursorWhenInBackground. * WebKitSystemInterface.h: * libWebKitSystemInterfaceLeopard.a: * libWebKitSystemInterfaceSnowLeopard.a: 2010-12-01 Adam Roben Don't let harmless errorlevels from the "set" utility leak into project-specific build scripts When using set to unset an environment variable that didn't previously exist, set raises the errorlevel to 1. This was leaking into project-specific scripts, causing them to think the build has failed. We now clear the errorlevel after we finish setting environment variables. Fixes Windows builds mysteriously fail in some configurations Reviewed by Steve Falkenburg. * win/tools/vsprops/common.vsprops: Call "cmd /c" after setting environment variables to get rid of any errorlevel that "set" set. 2010-12-01 Steve Falkenburg Reviewed by Adam Roben. vcproj changes can't be applied cleanly by the Windows EWS bot https://bugs.webkit.org/show_bug.cgi?id=50328 * win/tools/vsprops/WinCairo.vsprops: Added property svn:eol-style. * win/tools/vsprops/cURL.vsprops: Added property svn:eol-style. * win/tools/vsprops/debug_wincairo.vsprops: Added property svn:eol-style. 2010-11-29 Steve Falkenburg Windows build fix (part 2). Define Visual Studio internal variables used in pre-build/pre-link/post-build commands in environment for separated cmd files. * win/tools/vsprops/common.vsprops: 2010-11-19 Steve Falkenburg Reviewed by Adam Roben. Add a mechanism for Windows pre-build/pre-link/post-build events to be separated into individual cmd files https://bugs.webkit.org/show_bug.cgi?id=49858 We're migrating our prebuild/prelink/postbuild steps out of vcproj and vsprops files: - To simplify editing (editing vsprops build steps is confusing). - For more readable diffs. To add a prebuild/prelink/postbuild step for a vcproj, Add a new file named {ProjectName}PreBuild|PreLink|PostBuild.cmd to the project directory. For example, a WTF prebuild script would be named WTFPreBuild.cmd and would be located in the directory JavaScriptCore/JavaScriptCore.vcproj/WTF (alongside WTF.vcproj). * win/tools/vsprops/common.vsprops: * win/tools/vsprops/release.vsprops: 2010-11-29 Anders Carlsson Reviewed by Sam Weinig and Simon Fraser. WebKitSystemInterface.h piece of r72438. * WebKitSystemInterface.h: 2010-11-22 Adam Roben Use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops files Apple's Windows build allows placing header files and import libraries for WebKit's dependencies (CoreGraphics, CFNetwork, SQLite, etc.) outside the source tree via the $WebKitLibrariesDir environment variable. This is both required for production builds and convenient for Apple-internal developer builds. Apple's production builds also require that WebKit's shared .vsprops files be accessed relative to $WebKitLibrariesDir. In production builds, the files are copied into that directory tree by the WebKitLibraries/win/tools/WinTools.make file. In Apple-internal developer builds, the copying is done by JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make. This .vsprops copying is problematic in one very important case: when a developer updates their source tree and then tries to build. Visual Studio only reads .vsprops files when a project is first loaded. So, when Visual Studio is first opened after the .vsprops files are updated, it reads in the old files that were already residing in $WebKitLibrariesDir. When a build is started, JavaScriptCoreGenerated.make copies the new .vsprops files into $WebKitLibrariesDir, but Visual Studio will not pick up the changes. The rest of the build will proceed with out-of-date .vsprops files, which will likely result in a build failure. To fix this, we now use normal relative paths to access the .vsprops files in the source tree rather than in $WebKitLibrariesDir, but prefix those paths with a new environment variable, $WebKitVSPropsRedirectionDir. In developer builds, this environment variable is unset, so the normal relative paths are used to read the .vsprops files out of the source tree directly. In production builds, this environment variable is set to a fake directory that will cause the .vsprops files in $WebKitLibrariesDir to be found when the relative path is resolved. For example, JavaScriptCore.vcproj uses this path for FeatureDefines.vsprops: $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops In developer builds, where $WebKitVSPropsRedirectionDir is unset, this will point to the files in WebKitLibraries\win\tools\vsprops in the source tree. In production builds, JavaScriptCore.make sets $WebKitVSPropsRedirectionDir to "$(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\", so the full path for FeatureDefines.vsprops becomes: $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops which resolves to: $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops (We rely on the fact that Windows doesn't care whether the directories "1", "2", and "3" actually exist since they are matched by an equal number of ".." path components.) Note that Visual Studio still won't pick up changes made to .vsprops files while Visual Studio is open, but that problem hasn't seemed to cause developers many headaches so far. Fixes Windows build fails mysteriously when .vsprops files are updated Reviewed by Dave Hyatt. * win/tools/WinTools.make: Copy the shared .vsprops files into a directory tree beneath AppleInternal\tools\vsprops that matches the source directory tree. This allows production builds to redirect the relative paths used to find the shared .vsprops files into AppleInternal by setting $WebKitVSPropsRedirectionDir to the appropriate value. 2010-11-18 Steve Falkenburg Rubber-stamped by Adam Roben. Remove unused debug_internal vsprops file. * win/tools/vsprops/debug_internal.vsprops: Removed. 2010-11-18 Steve Falkenburg Reviewed by Adam Roben. Debug_Internal Windows configuration is unnecessary, should be removed https://bugs.webkit.org/show_bug.cgi?id=49753 * win/tools/vsprops/debug.vsprops: * win/tools/vsprops/debug_internal.vsprops: 2010-11-17 Steve Falkenburg Rubber-stamped by Adam Roben. Update WebKitSystemInterfaceWin. * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: 2010-11-16 Adam Roben Ignore files from libdispatch/zlib Rubber-stamped by Eric Seidel. * win/include: Modified property svn:ignore. * win/lib: Modified property svn:ignore. 2010-11-10 Csaba Osztrogonác Reviewed by David Hyatt. HTML5 Ruby support should be mandatory feature https://bugs.webkit.org/show_bug.cgi?id=49272 Remove Ruby as optional feature. * win/tools/vsprops/FeatureDefines.vsprops: * win/tools/vsprops/FeatureDefinesCairo.vsprops: 2010-10-29 Dan Bernstein Snow Leopard PowerPC build fix. * libWebKitSystemInterfaceSnowLeopard.a: 2010-10-29 Dan Bernstein Leopard PowerPC build fix. * libWebKitSystemInterfaceLeopard.a: 2010-10-29 Csaba Osztrogonác Reviewed by Adam Roben and David Kilzer. Fix and cleanup of build systems https://bugs.webkit.org/show_bug.cgi?id=48342 Remove unnecessary ENABLE_SANDBOX. Add missing features to converge to FeatureDefines.xcconfig. * win/tools/vsprops/FeatureDefines.vsprops: * win/tools/vsprops/FeatureDefinesCairo.vsprops: 2010-10-28 Dan Bernstein Reviewed by John Sullivan. Added UniCharProvider-based ways to create a CTTypeSetter and a CTLine, to be used in an upcoming ComplexTextController patch. * WebKitSystemInterface.h: * libWebKitSystemInterfaceLeopard.a: * libWebKitSystemInterfaceSnowLeopard.a: 2010-10-28 Ivan Krstić Reviewed by Mark Rowe. Remove unused experimental proxied panel interface. * WebKitSystemInterface.h: 2010-10-27 Anders Carlsson Reviewed by Sam Weinig. Find indicators do not bounce https://bugs.webkit.org/show_bug.cgi?id=48490 Add bounce animation context functions. * WebKitSystemInterface.h: * libWebKitSystemInterfaceLeopard.a: * libWebKitSystemInterfaceSnowLeopard.a: 2010-10-26 Adam Roben Fix duplicate vsprops name * win/tools/vsprops/FeatureDefinesCairo.vsprops: Renamed to "FeatureDefinesCairo" to match the filename. 2010-10-23 Alexey Proskuryakov Windows build fix. * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: 2010-10-23 Alexey Proskuryakov Reviewed by Anders Carlsson. https://bugs.webkit.org/show_bug.cgi?id=48083 Need WebKit2 API for private browsing (48083) * WebKitSystemInterface.h: * libWebKitSystemInterfaceLeopard.a: * libWebKitSystemInterfaceSnowLeopard.a: * win/include/WebKitSystemInterface/WebKitSystemInterface.h: * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: Updated WebKitSystemInterface with necessary methods. 2010-10-22 Adam Roben Turn on ENABLE_3D_RENDERING on all Windows builds Reviewed by Sam Weinig. * win/tools/vsprops/FeatureDefines.vsprops: 2010-10-20 Adam Roben Windows build fix * win/include/WebKitSystemInterface/WebKitSystemInterface.h: * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: Use a WKCFURLCredentialRef type to protect against changes to the definition of CFURLCredentialRef. 2010-10-19 Adam Roben Windows build fix * win/include/WebKitSystemInterface/WebKitSystemInterface.h: Check in this file that I meant to check in in r70129. 2010-10-19 Adam Roben Add WKCACFContext and related functions Fixes . Reviewed by Sam Weinig. * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: 2010-10-14 Ada Chan Rubber-stamped by Adam Roben. Fix Windows build. * win/include/WebKitSystemInterface/WebKitSystemInterface.h: * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: 2010-10-14 Ada Chan Reviewed by Steve Falkenburg. Add wkGetSSLCertificateChainContext for fetching the certificate chain. Needed for https://bugs.webkit.org/show_bug.cgi?id=47603. * win/include/WebKitSystemInterface/WebKitSystemInterface.h: * win/lib/WebKitSystemInterface.lib: * win/lib/WebKitSystemInterface_debug.lib: 2010-10-11 Mike Thole Reviewed by Darin Adler. Rename WKCertificateInfoGetPeerCertificates() to WKCertificateInfoGetCertificateChain() https://bugs.webkit.org/show_bug.cgi?id=47495 * WebKitSystemInterface.h: * libWebKitSystemInterfaceLeopard.a: * libWebKitSystemInterfaceSnowLeopard.a: 2010-10-03 Brent Fulgham Unreviewed build fix. WinCairo also needs access to the header requirement introduced by Bug 46357. * win/tools/vsprops/WinCairo.vsprops: 2010-09-17 Sam Weinig Reviewed, tweaked, and landed by Anders Carlsson. Add WKCopyNSURLResponsePeerCertificates. * WebKitSystemInterface.h: * libWebKitSystemInterfaceLeopard.a: * libWebKitSystemInterfaceSnowLeopard.a: 2010-09-16 Eric Uhrhane Reviewed by Jian Li. Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM. https://bugs.webkit.org/show_bug.cgi?id=45798 * win/tools/vsprops/FeatureDefines.vsprops: * win/tools/vsprops/FeatureDefinesCairo.vsprops: 2010-09-09 Jer Noble Reviewed by Eric Carlson. Adopt shared control drawing for