mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-02 03:36:54 +08:00
Compare commits
73 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a7f9e8ef4 | ||
|
|
4269353390 | ||
|
|
22ade44104 | ||
|
|
4f72a097fe | ||
|
|
ae43001e11 | ||
|
|
36e921c884 | ||
|
|
5bb3462029 | ||
|
|
55c50d8148 | ||
|
|
d244c1196d | ||
|
|
21108529f9 | ||
|
|
63890f78d0 | ||
|
|
3192236ddf | ||
|
|
f4479c349b | ||
|
|
620dc10e25 | ||
|
|
3fb8e1301a | ||
|
|
64f379141c | ||
|
|
c9eb01ba38 | ||
|
|
25acd00fed | ||
|
|
055e282245 | ||
|
|
56a5eee34a | ||
|
|
2c0f1cfb71 | ||
|
|
4fadcf5d88 | ||
|
|
fb66951776 | ||
|
|
55e55c405f | ||
|
|
982ee75828 | ||
|
|
06d2b3a720 | ||
|
|
67400663f8 | ||
|
|
b065abc7fd | ||
|
|
e045c53198 | ||
|
|
6d47ef2b92 | ||
|
|
74af16bd0d | ||
|
|
556a3377ff | ||
|
|
8ce1937883 | ||
|
|
e198c124d3 | ||
|
|
7704ce065d | ||
|
|
592415857c | ||
|
|
e169f588d8 | ||
|
|
6380ce86f1 | ||
|
|
9372697001 | ||
|
|
ed6175da93 | ||
|
|
63200543dd | ||
|
|
4e92039103 | ||
|
|
0a23321599 | ||
|
|
6b22ad702d | ||
|
|
a3152cb8f1 | ||
|
|
dc199e37d5 | ||
|
|
a7dc6fd595 | ||
|
|
fe236cc44c | ||
|
|
b2385231c4 | ||
|
|
7befa70253 | ||
|
|
805c735b02 | ||
|
|
ae9c68d190 | ||
|
|
ef51fe0ebb | ||
|
|
3b525e1235 | ||
|
|
76e16b228e | ||
|
|
604f330cd2 | ||
|
|
b25883ebaa | ||
|
|
a968d5d531 | ||
|
|
5fd794ca6d | ||
|
|
4b256e249b | ||
|
|
f37564a749 | ||
|
|
c8d3a71d7c | ||
|
|
402457bcfb | ||
|
|
baac9b5129 | ||
|
|
06d0fa240f | ||
|
|
a250914fec | ||
|
|
f7b7ff4f9f | ||
|
|
ec0c8697aa | ||
|
|
dbac1e77f7 | ||
|
|
4c925babf9 | ||
|
|
d000023376 | ||
|
|
38b7c75f6b | ||
|
|
1aa3ccbc4c |
@@ -4,17 +4,14 @@
|
|||||||
# ==[ Details: Describe what changed and explain why it changed ]======|
|
# ==[ Details: Describe what changed and explain why it changed ]======|
|
||||||
|
|
||||||
|
|
||||||
# ==[ Footers: Uncomment and edit where applicable ]===================|
|
|
||||||
#
|
|
||||||
# Change log entry (see below for instructions).
|
# Change log entry (see below for instructions).
|
||||||
#[ChangeLog][][]
|
#[ChangeLog][][]
|
||||||
|
|
||||||
|
# ==[ Footers: Uncomment and edit where applicable ]===================|
|
||||||
#
|
#
|
||||||
# One task per entry. Remember space after colon.
|
# One task per entry. Remember space after colon.
|
||||||
#Task-number:
|
#Task-number:
|
||||||
#
|
#
|
||||||
# Solicit reviewers. They still need to use the Gerrit frontend.
|
|
||||||
#Reviewed-by:
|
|
||||||
#
|
|
||||||
# ==[ Please wrap at 72 characters ]===================================|
|
# ==[ Please wrap at 72 characters ]===================================|
|
||||||
#
|
#
|
||||||
# Remember to read http://wiki.qt-project.org/Commit_Policy
|
# Remember to read http://wiki.qt-project.org/Commit_Policy
|
||||||
@@ -22,7 +19,8 @@
|
|||||||
# Change log entry: If this commit adds a significant feature, fixes an
|
# Change log entry: If this commit adds a significant feature, fixes an
|
||||||
# issue or contains a behavior change that is relevant to others,
|
# issue or contains a behavior change that is relevant to others,
|
||||||
# add a change log entry. It can be multiple lines long and ends with an
|
# add a change log entry. It can be multiple lines long and ends with an
|
||||||
# empty newline.
|
# empty newline. Try to integrate it into the flow of the commit message
|
||||||
|
# to avoid redundancy.
|
||||||
# Use the module name to indicate the area of the change e.g. [QtCore].
|
# Use the module name to indicate the area of the change e.g. [QtCore].
|
||||||
# Optionally specify a class or subtopic [QtNetwork][QSslSocket].
|
# Optionally specify a class or subtopic [QtNetwork][QSslSocket].
|
||||||
# Other common tags are: [General], [Important Behavior Changes],
|
# Other common tags are: [General], [Important Behavior Changes],
|
||||||
|
|||||||
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -28,9 +28,6 @@
|
|||||||
[submodule "qtdoc"]
|
[submodule "qtdoc"]
|
||||||
path = qtdoc
|
path = qtdoc
|
||||||
url = ../qtdoc.git
|
url = ../qtdoc.git
|
||||||
[submodule "qlalr"]
|
|
||||||
path = qlalr
|
|
||||||
url = ../qlalr.git
|
|
||||||
[submodule "qtrepotools"]
|
[submodule "qtrepotools"]
|
||||||
path = qtrepotools
|
path = qtrepotools
|
||||||
url = ../qtrepotools.git
|
url = ../qtrepotools.git
|
||||||
@@ -103,3 +100,6 @@
|
|||||||
[submodule "qtenginio"]
|
[submodule "qtenginio"]
|
||||||
path = qtenginio
|
path = qtenginio
|
||||||
url = ../qtenginio.git
|
url = ../qtenginio.git
|
||||||
|
[submodule "qtwebsockets"]
|
||||||
|
path = qtwebsockets
|
||||||
|
url = ../qtwebsockets.git
|
||||||
|
|||||||
@@ -70,6 +70,12 @@ B<Global options:>
|
|||||||
Force initialization (even if the submodules are already checked out).
|
Force initialization (even if the submodules are already checked out).
|
||||||
|
|
||||||
|
|
||||||
|
=item --force-hooks
|
||||||
|
|
||||||
|
Force initialization of hooks (even if there are already hooks in checked out
|
||||||
|
submodules).
|
||||||
|
|
||||||
|
|
||||||
=item --quiet, -q
|
=item --quiet, -q
|
||||||
|
|
||||||
Be quiet. Will exit cleanly if the repository is already initialized.
|
Be quiet. Will exit cleanly if the repository is already initialized.
|
||||||
@@ -200,7 +206,6 @@ my %PROTOCOLS = (
|
|||||||
my %GERRIT_REPOS = map { $_ => "qt/$_" } qw(
|
my %GERRIT_REPOS = map { $_ => "qt/$_" } qw(
|
||||||
qt3d
|
qt3d
|
||||||
qt5
|
qt5
|
||||||
qlalr
|
|
||||||
qtactiveqt
|
qtactiveqt
|
||||||
qtandroidextras
|
qtandroidextras
|
||||||
qtbase
|
qtbase
|
||||||
@@ -231,6 +236,7 @@ my %GERRIT_REPOS = map { $_ => "qt/$_" } qw(
|
|||||||
qtwayland
|
qtwayland
|
||||||
qtwebkit
|
qtwebkit
|
||||||
qtwebkit-examples
|
qtwebkit-examples
|
||||||
|
qtwebsockets
|
||||||
qtwinextras
|
qtwinextras
|
||||||
qtx11extras
|
qtx11extras
|
||||||
qtxmlpatterns
|
qtxmlpatterns
|
||||||
@@ -243,6 +249,7 @@ my @DEFAULT_REPOS = qw(
|
|||||||
qtconnectivity
|
qtconnectivity
|
||||||
qtdeclarative
|
qtdeclarative
|
||||||
qtdoc
|
qtdoc
|
||||||
|
qtenginio
|
||||||
qtgraphicaleffects
|
qtgraphicaleffects
|
||||||
qtimageformats
|
qtimageformats
|
||||||
qtmacextras
|
qtmacextras
|
||||||
@@ -258,6 +265,7 @@ my @DEFAULT_REPOS = qw(
|
|||||||
qtsvg
|
qtsvg
|
||||||
qttools
|
qttools
|
||||||
qttranslations
|
qttranslations
|
||||||
|
qtwebsockets
|
||||||
qtwebkit
|
qtwebkit
|
||||||
qtwebkit-examples
|
qtwebkit-examples
|
||||||
qtwinextras
|
qtwinextras
|
||||||
@@ -310,6 +318,7 @@ sub parse_arguments
|
|||||||
'codereview-username' => "",
|
'codereview-username' => "",
|
||||||
'detach-alternates' => 0 ,
|
'detach-alternates' => 0 ,
|
||||||
'force' => 0 ,
|
'force' => 0 ,
|
||||||
|
'force-hooks' => 0 ,
|
||||||
'ignore-submodules' => 0 ,
|
'ignore-submodules' => 0 ,
|
||||||
'mirror-url' => "",
|
'mirror-url' => "",
|
||||||
'protocol' => "",
|
'protocol' => "",
|
||||||
@@ -322,7 +331,8 @@ sub parse_arguments
|
|||||||
'alternates=s' => \$self->{qw{ alternates }},
|
'alternates=s' => \$self->{qw{ alternates }},
|
||||||
'codereview-username=s' => \$self->{qw{ codereview-username }},
|
'codereview-username=s' => \$self->{qw{ codereview-username }},
|
||||||
'copy-objects' => \$self->{qw{ detach-alternates }},
|
'copy-objects' => \$self->{qw{ detach-alternates }},
|
||||||
'force' => \$self->{qw{ force }},
|
'force|f' => \$self->{qw{ force }},
|
||||||
|
'force-hooks' => \$self->{qw{ force-hooks }},
|
||||||
'ignore-submodules' => \$self->{qw{ ignore-submodules }},
|
'ignore-submodules' => \$self->{qw{ ignore-submodules }},
|
||||||
'mirror=s' => \$self->{qw{ mirror-url }},
|
'mirror=s' => \$self->{qw{ mirror-url }},
|
||||||
'quiet' => \$self->{qw{ quiet }},
|
'quiet' => \$self->{qw{ quiet }},
|
||||||
@@ -574,6 +584,38 @@ sub git_clone_one_submodule
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub ensure_link
|
||||||
|
{
|
||||||
|
my ($self, $src, $tgt) = @_;
|
||||||
|
return if (!$self->{'force-hooks'} and -f $tgt);
|
||||||
|
unlink($tgt); # In case we have a dead symlink or pre-existing hook
|
||||||
|
print "Aliasing $src\n as $tgt ...\n" if (!$self->{quiet});
|
||||||
|
return if eval { symlink($src, $tgt) };
|
||||||
|
# Windows doesn't do (proper) symlinks. As the post_commit script needs
|
||||||
|
# them to locate itself, we write a forwarding script instead.
|
||||||
|
open SCRIPT, ">".$tgt or die "Cannot create forwarding script $tgt: $!\n";
|
||||||
|
print SCRIPT "#!/bin/sh\nexec `dirname \$0`/$src \"\$\@\"\n";
|
||||||
|
close SCRIPT;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub git_install_hooks
|
||||||
|
{
|
||||||
|
my ($self) = @_;
|
||||||
|
|
||||||
|
return if (!-d 'qtrepotools/git-hooks');
|
||||||
|
|
||||||
|
chomp(my @modules = `git submodule foreach :`);
|
||||||
|
push @modules, "";
|
||||||
|
for my $module (@modules) {
|
||||||
|
$module =~ s,^Entering \'([^\']+)\'$,$1/,;
|
||||||
|
my $rel = $module;
|
||||||
|
$rel =~ s,[^/]+,..,g;
|
||||||
|
$rel .= "../../qtrepotools/git-hooks/";
|
||||||
|
$self->ensure_link($rel.'gerrit_commit_msg_hook', $module.'.git/hooks/commit-msg');
|
||||||
|
$self->ensure_link($rel.'git_post_commit_hook', $module.'.git/hooks/post-commit');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
sub run
|
sub run
|
||||||
{
|
{
|
||||||
my ($self) = @_;
|
my ($self) = @_;
|
||||||
@@ -595,6 +637,8 @@ sub run
|
|||||||
|
|
||||||
$self->git_add_remotes('qt5');
|
$self->git_add_remotes('qt5');
|
||||||
|
|
||||||
|
$self->git_install_hooks;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
1
qlalr
1
qlalr
Submodule qlalr deleted from a803a5c214
10
qt.pro
10
qt.pro
@@ -3,6 +3,7 @@ cache(, super)
|
|||||||
|
|
||||||
CONFIG += build_pass # hack to disable the .qmake.super auto-add
|
CONFIG += build_pass # hack to disable the .qmake.super auto-add
|
||||||
load(qt_build_config)
|
load(qt_build_config)
|
||||||
|
CONFIG -= build_pass # unhack, as it confuses Qt Creator
|
||||||
|
|
||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
|
|
||||||
@@ -53,16 +54,18 @@ defineTest(addModule) {
|
|||||||
# users responsibility to ensure that all needed dependencies exist, or
|
# users responsibility to ensure that all needed dependencies exist, or
|
||||||
# it may not build.
|
# it may not build.
|
||||||
|
|
||||||
|
ANDROID_EXTRAS =
|
||||||
|
android: ANDROID_EXTRAS = qtandroidextras
|
||||||
|
|
||||||
addModule(qtbase)
|
addModule(qtbase)
|
||||||
addModule(qtandroidextras, qtbase)
|
addModule(qtandroidextras, qtbase)
|
||||||
addModule(qtmacextras, qtbase)
|
addModule(qtmacextras, qtbase)
|
||||||
addModule(qtx11extras, qtbase)
|
addModule(qtx11extras, qtbase)
|
||||||
addModule(qlalr, qtbase)
|
|
||||||
addModule(qtsvg, qtbase)
|
addModule(qtsvg, qtbase)
|
||||||
addModule(qtxmlpatterns, qtbase)
|
addModule(qtxmlpatterns, qtbase)
|
||||||
addModule(qtdeclarative, qtbase, qtsvg qtxmlpatterns)
|
addModule(qtdeclarative, qtbase, qtsvg qtxmlpatterns)
|
||||||
addModule(qtquickcontrols, qtdeclarative)
|
addModule(qtquickcontrols, qtdeclarative)
|
||||||
addModule(qtmultimedia, qtdeclarative)
|
addModule(qtmultimedia, qtbase, qtdeclarative)
|
||||||
addModule(qtwinextras, qtbase, qtdeclarative qtmultimedia)
|
addModule(qtwinextras, qtbase, qtdeclarative qtmultimedia)
|
||||||
addModule(qtactiveqt, qtbase)
|
addModule(qtactiveqt, qtbase)
|
||||||
addModule(qt3d, qtdeclarative)
|
addModule(qt3d, qtdeclarative)
|
||||||
@@ -70,7 +73,7 @@ addModule(qtjsondb, qtdeclarative)
|
|||||||
addModule(qtsystems, qtbase, qtdeclarative)
|
addModule(qtsystems, qtbase, qtdeclarative)
|
||||||
addModule(qtlocation, qtbase, qt3d qtsystems qtmultimedia)
|
addModule(qtlocation, qtbase, qt3d qtsystems qtmultimedia)
|
||||||
addModule(qtsensors, qtbase, qtdeclarative)
|
addModule(qtsensors, qtbase, qtdeclarative)
|
||||||
addModule(qtconnectivity, qtbase, qtdeclarative)
|
addModule(qtconnectivity, qtbase $$ANDROID_EXTRAS, qtdeclarative)
|
||||||
addModule(qtfeedback, qtdeclarative, qtmultimedia)
|
addModule(qtfeedback, qtdeclarative, qtmultimedia)
|
||||||
addModule(qtpim, qtdeclarative, qtjsondb)
|
addModule(qtpim, qtdeclarative, qtjsondb)
|
||||||
addModule(qtwebkit, qtdeclarative, qtlocation qtmultimedia qtsensors, WebKit.pro)
|
addModule(qtwebkit, qtdeclarative, qtlocation qtmultimedia qtsensors, WebKit.pro)
|
||||||
@@ -84,6 +87,7 @@ addModule(qtdocgallery, qtdeclarative, qtjsondb)
|
|||||||
!win32:!mac:addModule(qtwayland, qtbase, qtdeclarative)
|
!win32:!mac:addModule(qtwayland, qtbase, qtdeclarative)
|
||||||
addModule(qtserialport, qtbase)
|
addModule(qtserialport, qtbase)
|
||||||
addModule(qtenginio, qtdeclarative)
|
addModule(qtenginio, qtdeclarative)
|
||||||
|
addModule(qtwebsockets, qtbase, qtdeclarative)
|
||||||
addModule(qttranslations, qttools)
|
addModule(qttranslations, qttools)
|
||||||
addModule(qtdoc, qtdeclarative)
|
addModule(qtdoc, qtdeclarative)
|
||||||
addModule(qtqa, qtbase)
|
addModule(qtqa, qtbase)
|
||||||
|
|||||||
Submodule qtactiveqt updated: cd3e1f5dd2...ace322643b
Submodule qtandroidextras updated: abdb387736...a441d816a0
2
qtbase
2
qtbase
Submodule qtbase updated: c819a89269...f1bce3bc17
Submodule qtconnectivity updated: 0910eb9a76...8a33a9b43d
Submodule qtdeclarative updated: 1738e4ee11...a67aa6abc6
2
qtdoc
2
qtdoc
Submodule qtdoc updated: b430aa8433...450060fac2
Submodule qtenginio updated: 136ee0aa5d...4ee5a2f13a
Submodule qtgraphicaleffects updated: c640a496d6...ca99f8c336
Submodule qtimageformats updated: d507c358b8...85e621e3ec
Submodule qtlocation updated: e3db0e405d...6e39a79010
Submodule qtmacextras updated: 1906da15d3...9af049f151
Submodule qtmultimedia updated: 99667804e1...20da381608
2
qtqa
2
qtqa
Submodule qtqa updated: 50d9961bc3...130c512d14
2
qtquick1
2
qtquick1
Submodule qtquick1 updated: 960afee2cf...3074a3a8fe
Submodule qtquickcontrols updated: 8c2e3601d7...45484e3f70
Submodule qtrepotools updated: f4a8911813...4f3bd722c8
2
qtscript
2
qtscript
Submodule qtscript updated: 78985c5c2c...11ca34818a
Submodule qtsensors updated: e3af89e263...f33363d292
Submodule qtserialport updated: 9128eddd57...286d64c202
2
qtsvg
2
qtsvg
Submodule qtsvg updated: b719b93770...66444e54dd
2
qttools
2
qttools
Submodule qttools updated: f0610b8b08...32bb805deb
Submodule qttranslations updated: 88e03d26ff...b9a22c997c
2
qtwebkit
2
qtwebkit
Submodule qtwebkit updated: 8c7a7606ac...bc8af0ec15
Submodule qtwebkit-examples updated: 89a3330783...9fc54596d8
1
qtwebsockets
Submodule
1
qtwebsockets
Submodule
Submodule qtwebsockets added at ca03374390
Submodule qtwinextras updated: 7317f4440a...b128803199
Submodule qtx11extras updated: 120c2267e1...61e0824f24
Submodule qtxmlpatterns updated: 97f266a006...10ddd5a745
Reference in New Issue
Block a user