[iOS] run-webkit-tests runs webkit-build-directory on every test
https://bugs.webkit.org/show_bug.cgi?id=135409

Reviewed by Daniel Bates.

* Scripts/webkitpy/port/ios.py:
(IOSSimulatorPort.__init__): Cache Mac build directory.
(IOSSimulatorPort.relay_path): Use cached build directory.
(IOSSimulatorPort._path_to_image_diff): Use cached build directory.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
IndexedDB should respect SchemeRegistry's database access setting.
https://bugs.webkit.org/show_bug.cgi?id=135890
<rdar://problem/17989469>

Reviewed by Alexey Proskuryakov.

Source/WebCore:

Test: storage/indexeddb/open-db-private-browsing.html

* Modules/indexeddb/IDBFactory.cpp:

LayoutTests:

* storage/indexeddb/open-db-private-browsing-expected.txt: Added.
* storage/indexeddb/open-db-private-browsing.html: Added. Simple test to open database in private browsing mode.
* storage/indexeddb/resources/open-db-private-browsing.js: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Win] Extend auto-version and version-stamp for RC_ProjectBuildVersion
https://bugs.webkit.org/show_bug.cgi?id=135948
<rdar://problem/18022221>

Reviewed by David Kilzer.

Tools:

* Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl: Add tests
for RC_ProjectBuildVersion.

WebKitLibraries:

* win/tools/scripts/auto-version.pl:
(splitVersion): Use RC_ProjectBuildVersion (or RC_PROJECTBUILDVERSION) if set
in the environment as the 'Build Version', unless the multi-tuple version
supplied by RC_ProjectSourceVersion already has a fourth component.
* win/tools/scripts/version-stamp.pl: Check for RC_ProjectBuildVersion and
use it in preference to RC_PROJECTBUILDVERSION.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fixed the bmalloc build
https://bugs.webkit.org/show_bug.cgi?id=135953

Reviewed by Andreas Kling.

* bmalloc.xcodeproj/project.pbxproj: Marked a few headers as private.
These headers are used, so they must be available outside the project.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172605 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Avoid re-binding the same function over and over
https://bugs.webkit.org/show_bug.cgi?id=135949

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-08-14
Reviewed by Timothy Hatcher.

* UserInterface/Controllers/TimelineManager.js:
(WebInspector.TimelineManager.prototype._startAutoCapturing):
(WebInspector.TimelineManager.prototype._stopAutoRecordingSoon):
(WebInspector.TimelineManager.prototype._resetAutoRecordingDeadTimeTimeout):
Stash a bound copy of the function once, and reuse it.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS3-Text] Cosmetics on RenderBlockFlow::textAlignmentForLine
https://bugs.webkit.org/show_bug.cgi?id=135940

Reviewed by Darin Adler.

Processing the not CSS3_TEXT case first, and removing an extra whitespace after r172524.

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlockFlow::textAlignmentForLine):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fixed a bmalloc crash seen on the EWS bot
https://bugs.webkit.org/show_bug.cgi?id=135955

Reviewed by Andreas Kling.

* bmalloc/Syscall.h: Some CG APIs vm_copy their input buffers. If the
input buffer is a malloc region, that region will get marked Copy-On-Write
by the kernel. Calls to madvise() for COW regions fail and return EINVAL
on older OS X's. In 10.10, they still fail, but they do not return
EINVAL.

So, we can only ASSERT that our syscalls succeed starting with 10.10.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@172608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Win] Correct build when DerivedSources location not supplied by build environment
https://bugs.webkit.org/show_bug.cgi?id=135954
<rdar://problem/18023620>

Reviewed by Joseph Pecoraro.

The DerivedSourcesDirectory is not always defined, depending on what
solution is being used to build this project. Instead, just define
it directly, since we already know where it needs to go.

Also:
1. Stop redirecting the copy output to NUL so I can see if this fails in the future.
2. Make sure the target directory exists before copying to it.

* WebCore.vcxproj/copyForwardingHeaders.cmd: Properly specify
the directories for copying the JS file.


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