Use official V8 string manipulation methods in QML
authorPeter Varga <pvarga@inf.u-szeged.hu>
Fri, 1 Mar 2013 13:39:59 +0000 (14:39 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 12 Mar 2013 08:30:19 +0000 (09:30 +0100)
commit74878ba417e7db9fe8f68a55d69a3cc7ee804422
tree761114160518a5407e554c214cd05a9cfaf627f0
parent687603406a1f548eec57b031aafe5bb31eaae278
Use official V8 string manipulation methods in QML

The QtJSBackend's String::GetCharacter and String::Equals methods are Qt
specific and they are not supported by official V8. These methods can be
replaced by more "V8-friendly" implementations in QtDeclarative. Thus
the mentioned methods can be removed from QtJSBackend to reduce the
difference between QtJSBackend and the official V8 source.

Change-Id: I5590ca62dc667e64a7f54a7e47a02d350ba0c077
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/ftw/qhashedstring_p.h
src/qml/qml/qqmllocale.cpp
src/qml/qml/v8/qv8engine_p.h