Commit Graph

59 Commits

Author SHA1 Message Date
Liang Qi 365a3ac6ae Merge remote-tracking branch 'origin/5.6' into 5.7
Conflicts:
	src/qmldevtools/qmldevtools.pro
	tests/auto/qml/qqmlconnections/tst_qqmlconnections.cpp

Change-Id: I12255c16716bd8a74e7047cdb1f9302a4d1ea827
2016-11-15 10:57:49 +01:00
Oswald Buddenhagen 9bfe3324f7 remove dependencies from sync.profile
the CI obtains them from the qt5 super repo nowadays.

Change-Id: I1be0b8a494a5f7db02fa82ec46de2ec3573dd485
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
2016-11-05 21:05:01 +00:00
Ulf Hermann 79ed2f70f0 Move QQmlDebugClient into separate static library
Change-Id: Ib3daf9da2cf6798bd022cfcf54d11e565c9cb4ca
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
2015-10-30 19:05:07 +00:00
Ulf Hermann 2f03049d4c Put QPacketProtocol into its own static library
We need it in 3 places in qtdeclarative and we could also use it in
QtCreator. We don't want to bundle it with the debug client code as it
is also necessary for the server.

QPacket replaces QQmlDebugStream as it has the same purpose. This
also fixes the inconsitent handling of data stream versions.

Change-Id: I650fae353f267511c551b427d9169f4d718aa7f2
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
2015-10-15 08:23:15 +00:00
Simon Hausmann fb0cb17cb5 Merge remote-tracking branch 'origin/5.5' into dev
Change-Id: I6033aba359ac551f450ad517d20a0986bf4655f6
2015-03-17 09:52:19 +01:00
Simon Hausmann 6767fcfaf2 Fix usage of QtQmlDevTools private headers on OSX with framework builds
Previously this module borrowed its private headers from QtQml, so that
when writing QT += qmldevtools-private, you'd get the private headers from
QtQml. This doesn't work when QtQml is built as a framework.

A cleaner solution is to give this module its headers proper by letting
syncqt create the forwarding headers correctly (and consequently also
include them in make install). In order for this to work, the included
headers themselves cannot include any headers from QtQml, which this
patch also takes care of, through a centralized inclusion of qv4global_p.h.

Change-Id: I9bb8337956a2774cfaca6b338369face6c6ee785
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
2015-03-16 10:27:07 +00:00
Tor Arne Vestbø 587444f033 Update glyph cache type/format logic to match qtbase changes
https://codereview.qt-project.org/#change,77791 unified the glyph format
between QFontEngine and QFontEngineGlyphCache.

Now that we're up to date with qtbase, we can unpin the dependency.

Change-Id: Ibcafccb741ce94b454ff7c469804f44fef7fe06f
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
2014-02-20 02:03:48 +01:00
Tor Arne Vestbø a7e013a3ae Pin qtbase to merge from dev while we integrate glyph cache changes
Change-Id: I4ab46977ec0f137e2bb5a41c67dc09ee962a8b82
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
2014-02-19 17:23:21 +01:00
Tor Arne Vestbø a65b878562 Unpin qtbase in preperation for merge to stable
Change-Id: I833937c85269dfaca7f28fd06c3f55729037b800
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
2014-02-17 21:47:51 +01:00
Lars Knoll 742a7a0bd1 Introducing QQuickWidget
Renders into an FBO, and provides a texture that is
composed by the QPA/widget kernel compositor.

Also introducing QQuickRenderControl, which is private
API for now.

Change-Id: I710c16e1506124a17f91e87344496471803a448b
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
2014-02-17 14:37:33 +01:00
Simon Hausmann e6a5e693a5 Update pin of qtbase so that the qtquickcontrols revdep builds
Change-Id: I3dbbad674be889ec6ca0c2ec66e2c995c5b0839b
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
2014-02-17 14:37:31 +01:00
Tor Arne Vestbø ab6b6b7c7a Pin qtbase version so we can integrate glyph format changes
Will be unpined along with an update that matches the changes in
https://codereview.qt-project.org/#change,77791

Change-Id: I5b9572d21e2cca8dc0078eb0079f6d42af6dd6d4
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
2014-02-15 18:17:16 +01:00
Simon Hausmann a0bdeacd5e Revert "Temporarily pin qtbase to a working version..."
This reverts commit 57c81a2b4b67bc001a28060527325f4016e42ffb

qtbase should be fixed now

Change-Id: I8179509d7549955ee9f78b3213f59c3a1f5e5c59
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2013-09-03 09:17:35 +02:00
Sergio Ahumada 275d7635db Fix generation of headers by syncqt.pl outside git builds
This seems to be a left over from 3cefb43441

Change-Id: Ib229c69e42140e073b9dd375d0fc2ede658c4ac8
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2013-09-02 08:32:54 +02:00
Simon Hausmann 3122848def Temporarily pin qtbase to a working version...
... so that we can continue to develop while qtbase is being fixed to
allow compiling qtdeclarative on mac with no-framework debug builds.

Change-Id: I2e1f4c1b82560a2f49205035aaca3078f9d28061
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2013-09-02 08:32:42 +02:00
Simon Hausmann c9e5452bd2 Remove dependency to qtjsbackend from sync.profile
This isn't needed anymore

Change-Id: I0baf3eeb19221dd9c85cfe0f1af34c92d2b13d63
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
2013-08-13 10:25:29 +02:00
Sergio Ahumada b80db2ddbe sync.profile: Point dependencies to an empty string again
Change-Id: Ia39c708722ad99b43d3aa2541eb22524ff819ebb
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
2013-08-06 22:04:11 +02:00
Simon Hausmann 87aba78f70 Re-add qtjsbackend
This is not an actual dependency, but required to build with qt.pro in the
CI system. This can be reverted again when merging back to dev.

Change-Id: I48f038553754b971e0ce37587afe43dabf4e50cf
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
2013-06-24 14:32:11 +02:00
Simon Hausmann 8ef1db2530 Prospective fix for sync.profile for CI runs on the branch
Don't try to check out wip/v4 in qtbase and qtxmlpatterns

Change-Id: I1b4cb3f83ba62123414f184e141f52bbaac79827
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
2013-06-24 13:34:21 +02:00
Simon Hausmann 1a97598556 Merge branch 'dev' of ssh://codereview.qt-project.org/qt/qtdeclarative into wip/v4
Conflicts:
	src/imports/qtquick2/plugins.qmltypes
	src/qml/debugger/qv8debugservice.cpp
	src/qml/qml/qml.pri
	src/qml/qml/qqmlcompiler.cpp
	src/qml/qml/qqmlcomponent.cpp
	src/qml/qml/qqmlcontext.cpp
	src/qml/qml/qqmldata_p.h
	src/qml/qml/qqmlengine_p.h
	src/qml/qml/qqmljavascriptexpression.cpp
	src/qml/qml/qqmlxmlhttprequest.cpp
	src/qml/qml/v4/qv4bindings.cpp
	src/qml/qml/v4/qv4irbuilder.cpp
	src/qml/qml/v4/qv4jsonobject_p.h
	src/qml/qml/v8/qqmlbuiltinfunctions.cpp
	src/qml/qml/v8/qv8bindings.cpp
	src/qml/qml/v8/qv8contextwrapper.cpp
	src/qml/qml/v8/qv8listwrapper.cpp
	src/qml/qml/v8/qv8qobjectwrapper.cpp
	src/qml/qml/v8/qv8qobjectwrapper_p.h
	src/qml/qml/v8/qv8sequencewrapper_p_p.h
	src/qml/qml/v8/qv8typewrapper.cpp
	src/qml/qml/v8/qv8valuetypewrapper.cpp
	src/qml/types/qqmldelegatemodel.cpp
	src/quick/items/context2d/qquickcanvasitem.cpp
	src/quick/items/context2d/qquickcontext2d.cpp
	sync.profile
	tests/auto/qml/qjsengine/tst_qjsengine.cpp
	tests/benchmarks/qml/animation/animation.pro
	tools/qmlprofiler/qmlprofiler.pro

Change-Id: I18a76b8a81d87523247fa03a44ca334b1a2360c9
2013-06-24 11:48:46 +02:00
Sergio Ahumada df7b44e2d9 sync.profile: Point dependencies to an empty string
This means that we are going to use the same branch name for the
dependencies as the branch of the repository under test.

If we are testing the 'stable' branch, all dependencies will point
to the 'stable' branch as well.

Change-Id: I0959eea83b620af805b2113422bae5ae306af120
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
2013-05-27 17:55:09 +02:00
Simon Hausmann 891f702945 Fix compilation with built-in v4vm JS engine
Change-Id: Ieda9267e296acf6392a5461f4cfb9233a7a409a0
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2013-04-15 13:03:20 +02:00
Sergio Ahumada f685e3463b sync.profile: Point dependencies to 'refs/heads/dev'
We should test dev branches against dev branches only by default.
At some point we should automate the merges from release->stable->dev
andi/or decide how to handle possible conflicts.

This is good enough for the time being.

Change-Id: Ifeae1b5de37e7bcaefbfa9038e50f3667645eca2
Reviewed-by: Alan Alpert <aalpert@rim.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-12-13 13:52:32 +01:00
Sergio Ahumada 460f310bcc sync.profile: Point dependencies to 'refs/heads/stable'
We should test stable branches against stable branches only.
At some point we should automate the merges from dev->stable->release
and decide how to handle possible merge conflicts.

This is good enough for the time being.

Change-Id: Idc68c5c4653375b1805638b80c2a9e8f5a2cacad
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
2012-12-04 12:25:25 +01:00
Kent Hansen 34ae6deb78 Remove remnants of QQmlImageProvider
QQmlImageProvider was renamed to QQuickImageProvider quite some time
ago.

Change-Id: I2f737f1e2a543c0abb0f45170499c41de25cf696
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
2012-08-09 11:50:58 +02:00
Oswald Buddenhagen 489651ef7f build system cleanups
- load(qt_module) => load(qt_build_config)
- remove:
  - CONFIG+=module (obsolete)
  - setup of PKGCONFIG* variables (automated now)
  - code relating to module version headers (automated now)
  - %mastercontent assignment (automated now)
  - QT_BUILD_*_LIB defines (automated now)
  - pointless QPRO_PWD assignments
  - pointless and commented out include and depend paths
  - qmake -project boilerplate

Change-Id: Ib2d80a375e88bae1b50a22a274374b7e2cc2a86c
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
2012-06-26 14:59:01 +02:00
Oswald Buddenhagen 4acac5ddf1 auto-generate module pris
Change-Id: I90090bcf60ecc2c3fb31a38129edeae8ff0f1c55
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
2012-06-26 14:58:49 +02:00
Kent Hansen 38540f6091 Remove qtbase pin
Change-Id: I0fa3fb45aa26fe4eca15fa0bcb1f67c99925a21e
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
2012-06-12 12:06:16 +02:00
Kent Hansen fb41baa0e8 Pin the qtbase SHA1
In preparation of staging
https://codereview.qt-project.org/#change,27471 in qtbase, which
isn't source/behaviorally compatible with qtdeclarative.

https://codereview.qt-project.org/#change,27477 adapts qtdeclarative
to the qtbase change, and will be staged (together with the change
that unpins the SHA1) once the qtbase change has gone in.

Change-Id: Ia47f1d86855a388a5ecf9520ed21dd52c43b1b95
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
2012-06-11 13:31:35 +02:00
Martin Jones 805c30e809 Allow qtdeclarative to compile with -no-widgets
We have no hard requirement for QtWidgets library, so we should
build without it.

Change-Id: I85c85cc1a52bf9daa7ab7916f19bf7cc3ad5845f
Reviewed-by: Damian Jansen <damian.jansen@nokia.com>
2012-06-05 04:35:50 +02:00
Kent Hansen 35dd4cbd3d Remove QtDeclarative compatibility module
When the QtDeclarative module was renamed to QtQml, a compatibility
module was introduced to avoid disrupting downstream projects.
Time has passed, and it's now appropriate to remove this module.

Existing projects that haven't ported can still use the
bin/rename-qtdeclarative-symbols.sh script to ease the porting.

Change-Id: I05a9727013d9e38c2262577f68260a4382bfbeea
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Donald Carr <donald.carr@nokia.com>
2012-05-14 10:12:24 +02:00
Lars Knoll 7d3a56f3cf Merge remote-tracking branch 'origin/api_changes'
Change-Id: I39905acde16ba6bb0ba39401cb73082a73dd9167
2012-04-17 22:32:42 +02:00
Matthew Vogt f189b8934d Extract Particles code to an independent library
QtQuick clients that do not use particles features should not have
to load these classes.

Task-number: QTBUG-25178
Change-Id: Ib15f7655dc4d821595e06f9160d2770375279027
Reviewed-by: Glenn Watson <glenn.watson@nokia.com>
2012-04-16 01:25:54 +02:00
Kent Hansen b143d3fb58 Fix the build & docs after QQmlImageProvider was renamed
The class was renamed to QQuickImageProvider in commit
3bc907d155.

Change-Id: I91ff38244cee3ab651ed6caa4140a58cb742f1c9
Reviewed-by: Martin Jones <martin.jones@nokia.com>
2012-03-20 00:58:46 +01:00
Kent Hansen 4338b35c71 api_changes branch should track qtbase/api_changes
Change-Id: Ic41027db127bd3cb84a1e8734c016668ec328215
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-03-13 12:58:48 +01:00
Sergio Ahumada 406f74189a Remove pin of qtbase for qtdeclarative.
Change-Id: Ib70a3438d085adbed3a1ca7df81d593c7a512ae0
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
2012-03-12 17:04:20 +01:00
Matthew Vogt 6d93b4af1e Pin qtbase at known-good change ID.
Change-Id: I889a427bf1bddbcc70255f4efb47b803f18dd89e
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2012-03-09 06:09:41 +01:00
Matthew Vogt 377eb94eb1 Create a forwarding declarative module.
The declarative module has been replaced by the qml module.  To allow
existing projects which depend on the old declarative module to build,
add a new declarative module which forwards dependencies on to the
new qml module.

This module contains only redefinitions of old symbol names to their
new replacements, and creates forwarding headers that include the
replacement headers provided by the qml module.

This is a temporary change to prevent breaking existing projects
that depend on the declarative module. After clients have had an
opportunity to update their code to the use the new interfaces,
it can be removed.

Task-number: QTBUG-23737
Change-Id: I3cec5ceec4f9725c258e3672360a05ea87d3ca2f
Reviewed-by: Martin Jones <martin.jones@nokia.com>
2012-02-27 03:29:15 +01:00
Matthew Vogt 2849e619be api_changes branch should build against qtBase/api_changes
Change-Id: I1f00f21cd5acc03e8b5020a5415db28bf127ad16
Reviewed-by: Martin Jones <martin.jones@nokia.com>
2012-02-24 04:52:16 +01:00
Matthew Vogt b855240b78 Rename QDeclarative symbols to QQuick and QQml
Symbols beginning with QDeclarative are already exported
by the quick1 module.

Users can apply the bin/rename-qtdeclarative-symbols.sh
script to modify client code using the previous names of the
renamed symbols.

Task-number: QTBUG-23737
Change-Id: Ifaa482663767634931e8711a8e9bf6e404859e66
Reviewed-by: Martin Jones <martin.jones@nokia.com>
2012-02-24 04:51:31 +01:00
Matthew Vogt 01dc7e2ea4 Remove QtQuick1 elements from qtdeclarative
QtQuick1 is now contained in a separate repository.

Task-number: QTBUG-23737
Change-Id: I09eae67af5693a22b896b916f816f73ccc3a89b1
Reviewed-by: Martin Jones <martin.jones@nokia.com>
2012-02-03 00:39:18 +01:00
Kent Hansen f42e12e591 Remove deprecated QtDeclarative (now QtQuick) headers
The QtQuick module has been around for a while now, and the need to
port to it was duly announced, coupled with a qmake warning (which
has now been removed).

Users who haven't ported their includes over will have to do so as
of this commit.

The fixqt4headers script in qtbase can be used to automatically
update the stale include statements in existing projects.

Change-Id: I9745723246f65ef726e51b8551d18b378085689d
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-01-24 09:19:46 +01:00
Simon Hausmann 6ffcd09151 Remove the pin to qtbase and depend on the new qtjsbackend module
This module contains our V8 dependency.

Change-Id: I72b0b64fe61fe10139725d24711ea24a8a035eb4
Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
2012-01-10 13:47:47 +01:00
Simon Hausmann 88bce04259 Pin qtdeclarative to a version of qtbase that still contains QtV8
This is a temporary measure until the new qtjsbackend module is fully in
place.

Change-Id: I5cfe277ee6a14680f378dd4d4c0f94dfa56fbac3
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2012-01-09 11:59:28 +01:00
Alan Alpert 94628677ae Revert "sync to an earlier qtbase"
This reverts commit 3a034c19c89c9528df8b7e2ee9e9a23bd7684958.
The conflicting change in qtbase was also reverted, so there should no
longer be a need for the earlier qtbase.

Change-Id: I91303410378e1a6e0f86286dd402810b24b6d4ec
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
2011-12-05 01:11:25 +01:00
Kent Hansen 6c8378eaf1 Say hello to QtQuick module
This change moves the QtQuick 2 types and C++ API (including
SceneGraph) to a new module (AKA library), QtQuick.

99% of this change is moving files from src/declarative to
src/quick, and from tests/auto/declarative to
tests/auto/qtquick2.

The loading of QtQuick 2 ("import QtQuick 2.0") is now delegated to
a plugin, src/imports/qtquick2, just like it's done for QtQuick 1.

All tools, examples, and tests that use QtQuick C++ API have gotten
"QT += quick" or "QT += quick-private" added to their .pro file.

A few additional internal QtDeclarative classes had to be exported
(via Q_DECLARATIVE_PRIVATE_EXPORT) since they're needed by the
QtQuick 2 implementation.

The old header locations (e.g. QtDeclarative/qquickitem.h) will
still be supported for some time, but will produce compile-time
warnings. (To avoid the QtQuick implementation using the
compatibility headers (since QtDeclarative's includepath comes
first), a few include statements were modified, e.g. from
"#include <qsgnode.h>" to "#include <QtQuick/qsgnode.h>".)

There's a change in qtbase that automatically adds QtQuick to the
module list if QtDeclarative is used. Together with the compatibility
headers, this should help reduce the migration pain for existing
projects.

In theory, simply getting an existing QtDeclarative-based project
to compile and link shouldn't require any changes for now -- but
porting to the new scheme is of course recommended, and will
eventually become mandatory.

Task-number: QTBUG-22889
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Change-Id: Ia52be9373172ba2f37e7623231ecb060316c96a7
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
2011-12-02 14:18:20 +01:00
Alan Alpert 6cda6eda07 sync to an earlier qtbase
change ba635d7e74472f3a54c0c4686966af46d9035c6f breaks qtdeclarative CI.
Using an earlier qtbase while the matter is investigated.

Task-Number: QTBUG-22985
Change-Id: I2d1c5f03f48d4383fd84a42612314bea0bdc675d
Reviewed-by: Martin Jones <martin.jones@nokia.com>
2011-12-02 05:01:50 +01:00
Kent Hansen db510f4880 Change sync.profile back to using refs/heads/master for qtbase
The issue that caused crashes with a more recent qtbase
was fixed in commit ddf9883f8d.

Task-number: QTBUG-22574
Change-Id: Ia85b7265103e03f71585c5b72496af83056a4fcf
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
2011-11-18 08:47:38 +01:00
Alan Alpert 91b44d3e3a Update sync.profile
202127f860208c21145e05685bc54219e1655dbd in qtbase introduces widespread
regressions, but it was also fixing a test failure inexplicably caused
(presumably by qtbase). Use the last good qtbase from qt5.git until
these issues are resolved.

Task-number: QTBUG-22754
Change-Id: Ic6a1272d2079337fb45a6a46f3704380a5a19d73
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
2011-11-16 02:20:48 +01:00
Alan Alpert a2aebf910f We no longer depend on qtsvg
Change-Id: I5980634dd4f234d9b7d0bed56c4f4cab9459fb37
Reviewed-on: http://codereview.qt-project.org/6209
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
2011-10-11 06:42:53 +02:00