mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-18 10:09:15 +08:00
Compare commits
83 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c93bd3195 | ||
|
|
95817eeeda | ||
|
|
098f2810c0 | ||
|
|
0f8bdff0c1 | ||
|
|
a18c90fec7 | ||
|
|
6d2795b287 | ||
|
|
d75c976860 | ||
|
|
65784f37f1 | ||
|
|
67a89ff55b | ||
|
|
17313c94ae | ||
|
|
fd66e42f0d | ||
|
|
390a93d73b | ||
|
|
7a6e062902 | ||
|
|
64e231b697 | ||
|
|
3b579bd45f | ||
|
|
0c111c681f | ||
|
|
500c2a725b | ||
|
|
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 | ||
|
|
e1cd7c130b | ||
|
|
a7dc6fd595 | ||
|
|
fe236cc44c | ||
|
|
b2385231c4 | ||
|
|
7befa70253 | ||
|
|
805c735b02 | ||
|
|
ae9c68d190 | ||
|
|
ef51fe0ebb | ||
|
|
3b525e1235 | ||
|
|
17e103bb5d | ||
|
|
76e16b228e | ||
|
|
cbb3e6068e | ||
|
|
a4f6e14fc2 | ||
|
|
e259fdadce | ||
|
|
44e7f5d2e3 | ||
|
|
9710c4f2d2 | ||
|
|
604f330cd2 | ||
|
|
1d94d5ec03 | ||
|
|
b25883ebaa | ||
|
|
a968d5d531 | ||
|
|
7f32937275 | ||
|
|
f92227236c | ||
|
|
5fd794ca6d | ||
|
|
563b32ee25 | ||
|
|
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
8
qt.pro
8
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,11 +54,13 @@ 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)
|
||||||
@@ -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...eaf2383f13
Submodule qtandroidextras updated: 4c93e932a5...585d3147c9
2
qtbase
2
qtbase
Submodule qtbase updated: 313a74cc4a...4e9853139c
Submodule qtconnectivity updated: 3016e7fb6d...5aee8f17fb
Submodule qtdeclarative updated: f95fdacb3a...073cde9d21
2
qtdoc
2
qtdoc
Submodule qtdoc updated: e4e366ef8a...96a82f9c50
Submodule qtenginio updated: 136ee0aa5d...e5ae557f99
Submodule qtgraphicaleffects updated: c640a496d6...9b1883d2e9
Submodule qtimageformats updated: d507c358b8...554d617762
Submodule qtlocation updated: c4d3b333a1...73c42e6ef7
Submodule qtmacextras updated: 77067ca74e...ddbbc1f08c
Submodule qtmultimedia updated: ea9f9788d5...82d96105ce
2
qtqa
2
qtqa
Submodule qtqa updated: 25851ea69e...9b8b16242b
2
qtquick1
2
qtquick1
Submodule qtquick1 updated: 2866c00375...96c2c1aff1
Submodule qtquickcontrols updated: 1d684b38a4...d1320d78c6
Submodule qtrepotools updated: afd55c79c9...a4221488ce
2
qtscript
2
qtscript
Submodule qtscript updated: 15bb30b0e9...08d9ef7152
Submodule qtsensors updated: 8b501195f6...43e7f32c77
Submodule qtserialport updated: 97bbe2acd8...3d19812f74
2
qtsvg
2
qtsvg
Submodule qtsvg updated: b719b93770...bbf16bd902
2
qttools
2
qttools
Submodule qttools updated: a60aa90f5c...16ee0c0f9e
Submodule qttranslations updated: 46718cc2c6...56c55b5db6
2
qtwebkit
2
qtwebkit
Submodule qtwebkit updated: 4c86230bfe...251a3c50ca
Submodule qtwebkit-examples updated: 634cddbfef...5f0fbc683b
1
qtwebsockets
Submodule
1
qtwebsockets
Submodule
Submodule qtwebsockets added at 6419556a2b
Submodule qtwinextras updated: c996740162...d33a455084
Submodule qtx11extras updated: 120c2267e1...947361a7dc
Submodule qtxmlpatterns updated: 97f266a006...d25091bb8b
Reference in New Issue
Block a user