[curl] Headers should be parsed as utf8 if possible
https://bugs.webkit.org/show_bug.cgi?id=117196

Patch by Peter Gal <galpeter@inf.u-szeged.hu> on 2013-06-04
Reviewed by Brent Fulgham.

Testcase already present: http/tests/download/literal-utf-8.html

* platform/network/curl/ResourceHandleManager.cpp:
(WebCore::headerCallback): Parse the header as an utf8 string if possible.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151195 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove uses of VS2005 scripts, executables and associated environment variables from scripts.
<rdar://problem/14042021>.

Reviewed by Brent Fulgham.

* Scripts/build-api-tests:
* Scripts/build-dumprendertree:
* Scripts/build-webkit:
* Scripts/update-webkit-dependency:
* Scripts/update-webkit-support-libs:
* Scripts/webkitdirs.pm:
(determineBaseProductDir):
(setupAppleWinEnv):
(setupCygwinEnv):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tighten plugin sandbox profiles against symlink attacks
https://bugs.webkit.org/show_bug.cgi?id=117219
<rdar://problem/13044569>

Patch by Simon Cooper <scooper@apple.com> on 2013-06-04
Reviewed by Sam Weinig.

This inserts deny rules for creating symbolic links. The rules are
inserted at the end of sandbox profile compilation by overriding the
finalizer.  The initial value of %finalize must be the last function
called.

* Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151197 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Make precedence of logical operators explicit
https://bugs.webkit.org/show_bug.cgi?id=117216

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-06-04
Reviewed by Martin Robinson.

There's a couple of cases where we mix && and || in the same
expression. In ChromeClient::contentsSizeChanged() the lack of
parentheses actually makes the expression wrong.

* WebCoreSupport/AcceleratedCompositingContextGL.cpp:
(WebKit::AcceleratedCompositingContext::renderLayersToWindow):
* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::contentsSizeChanged):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151198 268f45cc-cd09-0410-ab3c-d52691b4dbfc