mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-24 08:56:16 +08:00
Compare commits
23 Commits
v5.4.0-bet
...
v5.4.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3439140073 | ||
|
|
1998742cea | ||
|
|
b1885ea725 | ||
|
|
338ee26271 | ||
|
|
77f387bc89 | ||
|
|
7c0bc23056 | ||
|
|
4b19950128 | ||
|
|
96d903eec0 | ||
|
|
38cfc8ec95 | ||
|
|
402bf7aec2 | ||
|
|
8f35cb2886 | ||
|
|
d5946d420f | ||
|
|
e8053418e4 | ||
|
|
201b4c135a | ||
|
|
00a3c36bc1 | ||
|
|
ca7018cd4f | ||
|
|
00e3f00b79 | ||
|
|
a87766e218 | ||
|
|
b54838f4a5 | ||
|
|
18cc387deb | ||
|
|
86f7d9ce98 | ||
|
|
cd12d1f202 | ||
|
|
3f0739b279 |
36
.gitmodules
vendored
36
.gitmodules
vendored
@@ -1,139 +1,175 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtsvg"]
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtdeclarative"]
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtactiveqt"]
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtscript"]
|
||||
path = qtscript
|
||||
url = ../qtscript.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtmultimedia"]
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qttools"]
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtxmlpatterns"]
|
||||
path = qtxmlpatterns
|
||||
url = ../qtxmlpatterns.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qttranslations"]
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtdoc"]
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtrepotools"]
|
||||
path = qtrepotools
|
||||
url = ../qtrepotools.git
|
||||
branch = master
|
||||
initrepo = true
|
||||
[submodule "qtwebkit"]
|
||||
path = qtwebkit
|
||||
url = ../qtwebkit.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtwebkit-examples"]
|
||||
path = qtwebkit-examples
|
||||
url = ../qtwebkit-examples.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtqa"]
|
||||
path = qtqa
|
||||
url = ../qtqa.git
|
||||
branch = master
|
||||
initrepo = true
|
||||
[submodule "qtlocation"]
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtsensors"]
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtsystems"]
|
||||
path = qtsystems
|
||||
url = ../qtsystems.git
|
||||
branch = dev
|
||||
[submodule "qtfeedback"]
|
||||
path = qtfeedback
|
||||
url = ../qtfeedback.git
|
||||
branch = master
|
||||
[submodule "qtdocgallery"]
|
||||
path = qtdocgallery
|
||||
url = ../qtdocgallery.git
|
||||
branch = master
|
||||
[submodule "qtpim"]
|
||||
path = qtpim
|
||||
url = ../qtpim.git
|
||||
branch = dev
|
||||
[submodule "qtconnectivity"]
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtwayland"]
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qt3d"]
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = dev
|
||||
[submodule "qtimageformats"]
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtquick1"]
|
||||
path = qtquick1
|
||||
url = ../qtquick1.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtgraphicaleffects"]
|
||||
path = qtgraphicaleffects
|
||||
url = ../qtgraphicaleffects.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtquickcontrols"]
|
||||
path = qtquickcontrols
|
||||
url = ../qtquickcontrols.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtserialport"]
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtx11extras"]
|
||||
path = qtx11extras
|
||||
url = ../qtx11extras.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtmacextras"]
|
||||
path = qtmacextras
|
||||
url = ../qtmacextras.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtwinextras"]
|
||||
path = qtwinextras
|
||||
url = ../qtwinextras.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtandroidextras"]
|
||||
path = qtandroidextras
|
||||
url = ../qtandroidextras.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtenginio"]
|
||||
path = qtenginio
|
||||
url = ../qtenginio.git
|
||||
branch = 1.1.0
|
||||
initrepo = true
|
||||
[submodule "qtwebsockets"]
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtwebchannel"]
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
[submodule "qtwebengine"]
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = 5.4.0
|
||||
initrepo = true
|
||||
|
||||
@@ -105,6 +105,12 @@ Module names may be prefixed with a dash to exclude them from a bigger set.
|
||||
|
||||
Skip the `git submodule update' command.
|
||||
|
||||
=item --branch
|
||||
|
||||
Instead of checking out specific SHA1s, check out the submodule branches that
|
||||
correspond with the current supermodule commit.
|
||||
By default, this option will cause local commits in the submodules to be rebased.
|
||||
With --no-update, the branches will be checked out, but their heads will not move.
|
||||
|
||||
=item --ignore-submodules
|
||||
|
||||
@@ -172,7 +178,7 @@ Uses <url-base> as the base URL for submodule git mirrors.
|
||||
|
||||
For example:
|
||||
|
||||
--mirror user@machine:/foo/bar
|
||||
--mirror user@machine:/foo/bar/
|
||||
|
||||
...will use the following as a mirror for qtbase:
|
||||
|
||||
@@ -233,6 +239,7 @@ sub parse_arguments
|
||||
|
||||
%{$self} = (%{$self},
|
||||
'alternates' => "",
|
||||
'branch' => 0,
|
||||
'codereview-username' => "",
|
||||
'detach-alternates' => 0 ,
|
||||
'force' => 0 ,
|
||||
@@ -246,6 +253,7 @@ sub parse_arguments
|
||||
|
||||
GetOptionsFromArray(\@args,
|
||||
'alternates=s' => \$self->{qw{ alternates }},
|
||||
'branch' => \$self->{qw{ branch }},
|
||||
'codereview-username=s' => \$self->{qw{ codereview-username }},
|
||||
'copy-objects' => \$self->{qw{ detach-alternates }},
|
||||
'force|f' => \$self->{qw{ force }},
|
||||
@@ -313,9 +321,10 @@ sub git_submodule_init
|
||||
|
||||
sub git_clone_all_submodules
|
||||
{
|
||||
my ($self, $my_repo_base, @subset) = @_;
|
||||
my ($self, $my_repo_base, $co_branch, @subset) = @_;
|
||||
|
||||
my %subdirs = ();
|
||||
my %subbranches = ();
|
||||
my %subbases = ();
|
||||
my %subinits = ();
|
||||
my @submodconfig = qx(git config -l -f .gitmodules);
|
||||
@@ -324,6 +333,8 @@ sub git_clone_all_submodules
|
||||
next if ($line !~ /^submodule\.([^.=]+)\.([^.=]+)=(.*)$/);
|
||||
if ($2 eq "path") {
|
||||
$subdirs{$1} = $3;
|
||||
} elsif ($2 eq "branch") {
|
||||
$subbranches{$1} = $3;
|
||||
} elsif ($2 eq "url") {
|
||||
my ($mod, $base) = ($1, $3);
|
||||
next if ($base !~ /^\.\.\//);
|
||||
@@ -376,16 +387,30 @@ sub git_clone_all_submodules
|
||||
}
|
||||
|
||||
if ($self->{update}) {
|
||||
$self->exe('git', 'submodule', 'update');
|
||||
$self->exe('git', 'submodule', 'update', ($co_branch ? ('--remote', '--rebase') : ()));
|
||||
|
||||
foreach my $module (@modules) {
|
||||
if (-f $module.'/.gitmodules') {
|
||||
my $orig_cwd = getcwd();
|
||||
chdir($module) or confess "chdir $module: $OS_ERROR";
|
||||
$self->git_clone_all_submodules($subbases{$module}, "all");
|
||||
$self->git_clone_all_submodules($subbases{$module}, 0, "all");
|
||||
chdir("$orig_cwd") or confess "chdir $orig_cwd: $OS_ERROR";
|
||||
}
|
||||
}
|
||||
} elsif ($co_branch) {
|
||||
foreach my $module (@modules) {
|
||||
my $branch = $subbranches{$module};
|
||||
die("No branch defined for submodule $module.\n") if (!defined($branch));
|
||||
my $orig_cwd = getcwd();
|
||||
chdir($module) or confess "chdir $module: $OS_ERROR";
|
||||
my $br = qx(git rev-parse -q --verify $branch);
|
||||
if (!$br) {
|
||||
$self->exe('git', 'checkout', '-b', $branch, "origin/$branch");
|
||||
} else {
|
||||
$self->exe('git', 'checkout', $branch);
|
||||
}
|
||||
chdir("$orig_cwd") or confess "chdir $orig_cwd: $OS_ERROR";
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
@@ -423,7 +448,7 @@ sub git_clone_one_submodule
|
||||
|
||||
if ($alternates) {
|
||||
# alternates is a qt5 repo, so the submodule will be under that.
|
||||
if (-d "$alternates/$submodule") {
|
||||
if (-e "$alternates/$submodule/.git") {
|
||||
@reference_args = ('--reference', "$alternates/$submodule");
|
||||
}
|
||||
else {
|
||||
@@ -435,7 +460,6 @@ sub git_clone_one_submodule
|
||||
my $mirror;
|
||||
if ($mirror_url) {
|
||||
$mirror = $mirror_url.$repo_basename;
|
||||
$mirror .= ".git" unless (-d $mirror); # Support local disk mirror
|
||||
}
|
||||
|
||||
if ($mirror) {
|
||||
@@ -461,7 +485,7 @@ sub git_clone_one_submodule
|
||||
$self->exe('git', 'config', 'remote.mirror.fetch', '+refs/heads/*:refs/remotes/mirror/*');
|
||||
}
|
||||
|
||||
if (!$do_clone) {
|
||||
if (!$do_clone && $self->{update}) {
|
||||
$self->exe('git', 'fetch', ($mirror ? $mirror : $url));
|
||||
}
|
||||
|
||||
@@ -506,6 +530,8 @@ sub git_install_hooks
|
||||
|
||||
return if (!-d 'qtrepotools/git-hooks');
|
||||
|
||||
# Force C locale as git submodule returns the localized string "Entering"
|
||||
local $ENV{LC_ALL} = 'C';
|
||||
chomp(my @modules = `git submodule foreach :`);
|
||||
push @modules, "";
|
||||
for my $module (@modules) {
|
||||
@@ -530,7 +556,7 @@ sub run
|
||||
$url =~ s,qt/qt5$,,;
|
||||
$self->{'base-url'} = $url;
|
||||
|
||||
$self->git_clone_all_submodules('qt/qt5', @{$self->{'module-subset'}});
|
||||
$self->git_clone_all_submodules('qt/qt5', $self->{branch}, @{$self->{'module-subset'}});
|
||||
|
||||
$self->git_add_remotes('qt/qt5');
|
||||
|
||||
|
||||
Submodule qtactiveqt updated: 21b122f106...ae5216a58b
Submodule qtandroidextras updated: 82902577ba...b2880ad127
2
qtbase
2
qtbase
Submodule qtbase updated: e3bfd9bea6...5367fa3562
Submodule qtconnectivity updated: 0a3b017711...5d405d07fb
Submodule qtdeclarative updated: 099ae0597d...fdf004803d
2
qtdoc
2
qtdoc
Submodule qtdoc updated: e65928a5b6...251f5eaa2d
Submodule qtenginio updated: bfb460fa31...f8ad37de2d
Submodule qtimageformats updated: 08f40bc0f0...fdc7026fb7
Submodule qtlocation updated: bbb2aa81c4...7791dd790d
Submodule qtmacextras updated: c62647e11f...a208e923c2
Submodule qtmultimedia updated: ca94dc79b6...8b1ee17240
2
qtqa
2
qtqa
Submodule qtqa updated: 1a1212f84c...6ded39926b
2
qtquick1
2
qtquick1
Submodule qtquick1 updated: af503cb801...1f92491bd9
Submodule qtquickcontrols updated: 045c1c9c2b...ea099e341b
Submodule qtrepotools updated: 2c2b3aa5ad...620da34f0a
2
qtscript
2
qtscript
Submodule qtscript updated: db84d1737c...1371263991
Submodule qtsensors updated: ff98a9a27a...10702cfa8c
Submodule qtserialport updated: 14fe584d2a...9aef6c3c8f
2
qtsvg
2
qtsvg
Submodule qtsvg updated: 2f0fabdfc3...eece19e626
2
qttools
2
qttools
Submodule qttools updated: 8f03d0b45b...5060a0ec7d
Submodule qttranslations updated: b9481cffeb...3aad4ab471
Submodule qtwayland updated: 5558b42ff8...7882407bb6
Submodule qtwebchannel updated: e8c280a15f...86d77a9008
Submodule qtwebengine updated: d44b90f9fd...b292fd17bf
2
qtwebkit
2
qtwebkit
Submodule qtwebkit updated: 2b23baa766...5d43584bab
Submodule qtwebsockets updated: f6175568bb...d1c9ede199
Submodule qtwinextras updated: 3d24906394...654231e3da
Submodule qtxmlpatterns updated: 045028f951...2e8b90b33d
Reference in New Issue
Block a user