mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Merge remote-tracking branch 'gerrit/stable' into release
This commit is contained in:
@@ -12,9 +12,6 @@
|
||||
# One task per entry. Remember space after colon.
|
||||
#Task-number:
|
||||
#
|
||||
# Solicit reviewers. They still need to use the Gerrit frontend.
|
||||
#Reviewed-by:
|
||||
#
|
||||
# ==[ Please wrap at 72 characters ]===================================|
|
||||
#
|
||||
# Remember to read http://wiki.qt-project.org/Commit_Policy
|
||||
|
||||
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -28,9 +28,6 @@
|
||||
[submodule "qtdoc"]
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
[submodule "qlalr"]
|
||||
path = qlalr
|
||||
url = ../qlalr.git
|
||||
[submodule "qtrepotools"]
|
||||
path = qtrepotools
|
||||
url = ../qtrepotools.git
|
||||
@@ -103,3 +100,6 @@
|
||||
[submodule "qtenginio"]
|
||||
path = qtenginio
|
||||
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).
|
||||
|
||||
|
||||
=item --force-hooks
|
||||
|
||||
Force initialization of hooks (even if there are already hooks in checked out
|
||||
submodules).
|
||||
|
||||
|
||||
=item --quiet, -q
|
||||
|
||||
Be quiet. Will exit cleanly if the repository is already initialized.
|
||||
@@ -200,7 +206,6 @@ my %PROTOCOLS = (
|
||||
my %GERRIT_REPOS = map { $_ => "qt/$_" } qw(
|
||||
qt3d
|
||||
qt5
|
||||
qlalr
|
||||
qtactiveqt
|
||||
qtandroidextras
|
||||
qtbase
|
||||
@@ -231,6 +236,7 @@ my %GERRIT_REPOS = map { $_ => "qt/$_" } qw(
|
||||
qtwayland
|
||||
qtwebkit
|
||||
qtwebkit-examples
|
||||
qtwebsockets
|
||||
qtwinextras
|
||||
qtx11extras
|
||||
qtxmlpatterns
|
||||
@@ -243,6 +249,7 @@ my @DEFAULT_REPOS = qw(
|
||||
qtconnectivity
|
||||
qtdeclarative
|
||||
qtdoc
|
||||
qtenginio
|
||||
qtgraphicaleffects
|
||||
qtimageformats
|
||||
qtmacextras
|
||||
@@ -258,6 +265,7 @@ my @DEFAULT_REPOS = qw(
|
||||
qtsvg
|
||||
qttools
|
||||
qttranslations
|
||||
qtwebsockets
|
||||
qtwebkit
|
||||
qtwebkit-examples
|
||||
qtwinextras
|
||||
@@ -310,6 +318,7 @@ sub parse_arguments
|
||||
'codereview-username' => "",
|
||||
'detach-alternates' => 0 ,
|
||||
'force' => 0 ,
|
||||
'force-hooks' => 0 ,
|
||||
'ignore-submodules' => 0 ,
|
||||
'mirror-url' => "",
|
||||
'protocol' => "",
|
||||
@@ -322,7 +331,8 @@ sub parse_arguments
|
||||
'alternates=s' => \$self->{qw{ alternates }},
|
||||
'codereview-username=s' => \$self->{qw{ codereview-username }},
|
||||
'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 }},
|
||||
'mirror=s' => \$self->{qw{ mirror-url }},
|
||||
'quiet' => \$self->{qw{ quiet }},
|
||||
@@ -574,6 +584,38 @@ sub git_clone_one_submodule
|
||||
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
|
||||
{
|
||||
my ($self) = @_;
|
||||
@@ -595,6 +637,8 @@ sub run
|
||||
|
||||
$self->git_add_remotes('qt5');
|
||||
|
||||
$self->git_install_hooks;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
1
qlalr
1
qlalr
Submodule qlalr deleted from a803a5c214
7
qt.pro
7
qt.pro
@@ -54,11 +54,13 @@ defineTest(addModule) {
|
||||
# users responsibility to ensure that all needed dependencies exist, or
|
||||
# it may not build.
|
||||
|
||||
ANDROID_EXTRAS =
|
||||
android: ANDROID_EXTRAS = qtandroidextras
|
||||
|
||||
addModule(qtbase)
|
||||
addModule(qtandroidextras, qtbase)
|
||||
addModule(qtmacextras, qtbase)
|
||||
addModule(qtx11extras, qtbase)
|
||||
addModule(qlalr, qtbase)
|
||||
addModule(qtsvg, qtbase)
|
||||
addModule(qtxmlpatterns, qtbase)
|
||||
addModule(qtdeclarative, qtbase, qtsvg qtxmlpatterns)
|
||||
@@ -71,7 +73,7 @@ addModule(qtjsondb, qtdeclarative)
|
||||
addModule(qtsystems, qtbase, qtdeclarative)
|
||||
addModule(qtlocation, qtbase, qt3d qtsystems qtmultimedia)
|
||||
addModule(qtsensors, qtbase, qtdeclarative)
|
||||
addModule(qtconnectivity, qtbase, qtdeclarative)
|
||||
addModule(qtconnectivity, qtbase $$ANDROID_EXTRAS, qtdeclarative)
|
||||
addModule(qtfeedback, qtdeclarative, qtmultimedia)
|
||||
addModule(qtpim, qtdeclarative, qtjsondb)
|
||||
addModule(qtwebkit, qtdeclarative, qtlocation qtmultimedia qtsensors, WebKit.pro)
|
||||
@@ -85,6 +87,7 @@ addModule(qtdocgallery, qtdeclarative, qtjsondb)
|
||||
!win32:!mac:addModule(qtwayland, qtbase, qtdeclarative)
|
||||
addModule(qtserialport, qtbase)
|
||||
addModule(qtenginio, qtdeclarative)
|
||||
addModule(qtwebsockets, qtbase, qtdeclarative)
|
||||
addModule(qttranslations, qttools)
|
||||
addModule(qtdoc, qtdeclarative)
|
||||
addModule(qtqa, qtbase)
|
||||
|
||||
Submodule qtactiveqt updated: b21d397336...eaf2383f13
Submodule qtandroidextras updated: 09c0570ce7...743ca4560f
2
qtbase
2
qtbase
Submodule qtbase updated: 2b0f02aa5c...c92fead433
Submodule qtconnectivity updated: 9902dfdbc4...2e0f7adbe4
Submodule qtdeclarative updated: 60d66bea87...fc5314f969
2
qtdoc
2
qtdoc
Submodule qtdoc updated: 19245e88ba...bd11d74a66
Submodule qtenginio updated: 136ee0aa5d...85f3fd0456
Submodule qtgraphicaleffects updated: 1fbbe87e6d...9b1883d2e9
Submodule qtimageformats updated: dde6daeccd...554d617762
Submodule qtlocation updated: 2ba9fd5550...400c7fa8e7
Submodule qtmacextras updated: 39ccd598cd...3d7f132db4
Submodule qtmultimedia updated: db7f7cc565...a7b8872cd5
2
qtqa
2
qtqa
Submodule qtqa updated: afafbfafd9...e4fe8a254c
2
qtquick1
2
qtquick1
Submodule qtquick1 updated: 07d8ce32b1...c56f5d8848
Submodule qtquickcontrols updated: 1c54d411ad...59a6cb0b5e
Submodule qtrepotools updated: 0f80e8a8fa...dc282c7db7
2
qtscript
2
qtscript
Submodule qtscript updated: f89d64ca72...08d9ef7152
Submodule qtsensors updated: 9a8319a39a...2a503c28e4
Submodule qtserialport updated: 336fbee2e3...4a634dde17
2
qtsvg
2
qtsvg
Submodule qtsvg updated: ae68091e0d...bacf4858ce
2
qttools
2
qttools
Submodule qttools updated: 80c6a5ea7f...8e55ee3f61
Submodule qttranslations updated: b26b3e6c71...df32d92086
2
qtwebkit
2
qtwebkit
Submodule qtwebkit updated: a1b801fc98...0546c8656a
Submodule qtwebkit-examples updated: cb8ed9694b...c9d13139b6
1
qtwebsockets
Submodule
1
qtwebsockets
Submodule
Submodule qtwebsockets added at a69877e8c6
Submodule qtwinextras updated: 8e497a7fc6...d33a455084
Submodule qtx11extras updated: dd7eec92e7...947361a7dc
Submodule qtxmlpatterns updated: eaf0a92dcb...d25091bb8b
Reference in New Issue
Block a user