Fix build: using integer absolute value function 'abs' when argument is of floating point type
<http://webkit.org/b/130286>

Reviewed by Filip Pizlo.

Fixes the following build failure using trunk clang:

    JavaScriptCore/assembler/MacroAssembler.h:992:17: error: using integer absolute value function 'abs' when argument is of floating point type [-Werror,-Wabsolute-value]
            value = abs(value);
                    ^
    JavaScriptCore/assembler/MacroAssembler.h:992:17: note: use function 'fabs' instead
            value = abs(value);
                    ^~~
                    fabs

* assembler/MacroAssembler.h:
(JSC::MacroAssembler::shouldBlindDouble): Switch from abs() to
fabs().

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Improve ninja detection in webkitdirs.pm
https://bugs.webkit.org/show_bug.cgi?id=129902

Reviewed by Daniel Bates.

* Scripts/webkitdirs.pm:
(canUseNinja): Use which instead of trying to invoke ninja directly. This also allows
us to look for ninja-build as well.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[iOS] Define SYSTEM_VERSION_PREFIX consistently
<http://webkit.org/b/130293>
<rdar://problem/15926359>

Reviewed by Dan Bernstein.

Source/JavaScriptCore:

* Configurations/Version.xcconfig:
(SYSTEM_VERSION_PREFIX_iphoneos): Sync with
Source/WebKit/mac/Version.xcconfig.

Source/WebCore:

* Configurations/Version.xcconfig:
(SYSTEM_VERSION_PREFIX_iphoneos): Sync with
Source/WebKit/mac/Version.xcconfig.

Source/WebInspectorUI:

* Configurations/Version.xcconfig:
(SYSTEM_VERSION_PREFIX): Sync with
Source/WebKit/mac/Version.xcconfig.

Source/WebKit2:

* Configurations/Version.xcconfig:
(SYSTEM_VERSION_PREFIX): Sync with
Source/WebKit/mac/Version.xcconfig.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@165685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
RenderTextControl::hasValidAvgCharWidth doesn't detect System Font
https://bugs.webkit.org/show_bug.cgi?id=130168

Reviewed by Dean Jackson.

No new tests.

* platform/graphics/Font.cpp: Moved functions from RenderTextControl
(WebCore::Font::hasValidAverageCharWidth):
(WebCore::Font::fastAverageCharWidthIfAvailable):
* platform/graphics/Font.h:
* rendering/RenderTextControl.cpp: Moved functions to Font.cpp
(WebCore::RenderTextControl::getAverageCharWidth): Removed redundant function argument
(WebCore::RenderTextControl::computeIntrinsicLogicalWidths):
* rendering/RenderTextControl.h:
* rendering/RenderTextControlMultiLine.cpp:
(WebCore::RenderTextControlMultiLine::getAverageCharWidth): Removed redundant function argument
* rendering/RenderTextControlMultiLine.h:
* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::getAverageCharWidth): Removed redundant function argument
(WebCore::RenderTextControlSingleLine::preferredContentLogicalWidth):
* rendering/RenderTextControlSingleLine.h:

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