mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-24 08:56:16 +08:00
Compare commits
67 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 | ||
|
|
76e16b228e | ||
|
|
604f330cd2 | ||
|
|
b25883ebaa | ||
|
|
a968d5d531 | ||
|
|
5fd794ca6d | ||
|
|
4b256e249b | ||
|
|
f37564a749 | ||
|
|
baac9b5129 | ||
|
|
f7b7ff4f9f | ||
|
|
4c925babf9 | ||
|
|
d000023376 | ||
|
|
38b7c75f6b | ||
|
|
1aa3ccbc4c |
@@ -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
8
qt.pro
8
qt.pro
@@ -3,6 +3,7 @@ cache(, super)
|
||||
|
||||
CONFIG += build_pass # hack to disable the .qmake.super auto-add
|
||||
load(qt_build_config)
|
||||
CONFIG -= build_pass # unhack, as it confuses Qt Creator
|
||||
|
||||
TEMPLATE = subdirs
|
||||
|
||||
@@ -53,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)
|
||||
@@ -70,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)
|
||||
@@ -84,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: d6d1217473...eaf2383f13
Submodule qtandroidextras updated: f4e81f8ca5...585d3147c9
2
qtbase
2
qtbase
Submodule qtbase updated: 62feb088a3...4e9853139c
Submodule qtconnectivity updated: 44fd56d22e...5aee8f17fb
Submodule qtdeclarative updated: b433c4b5a7...073cde9d21
2
qtdoc
2
qtdoc
Submodule qtdoc updated: f308fb8a19...96a82f9c50
Submodule qtenginio updated: 136ee0aa5d...e5ae557f99
Submodule qtgraphicaleffects updated: e8c1b8423a...9b1883d2e9
Submodule qtimageformats updated: b742f21e41...554d617762
Submodule qtlocation updated: 959468ed1b...73c42e6ef7
Submodule qtmacextras updated: df23cbf333...ddbbc1f08c
Submodule qtmultimedia updated: d19bede8ad...82d96105ce
2
qtqa
2
qtqa
Submodule qtqa updated: afafbfafd9...9b8b16242b
2
qtquick1
2
qtquick1
Submodule qtquick1 updated: a4476cc12e...96c2c1aff1
Submodule qtquickcontrols updated: 08a32dff66...d1320d78c6
Submodule qtrepotools updated: 0f80e8a8fa...a4221488ce
2
qtscript
2
qtscript
Submodule qtscript updated: a2da34be84...08d9ef7152
Submodule qtsensors updated: 07d0e9d579...43e7f32c77
Submodule qtserialport updated: 84ec01711a...3d19812f74
2
qtsvg
2
qtsvg
Submodule qtsvg updated: 62c8144782...bbf16bd902
2
qttools
2
qttools
Submodule qttools updated: cc253a0469...16ee0c0f9e
Submodule qttranslations updated: f0283f70a3...56c55b5db6
2
qtwebkit
2
qtwebkit
Submodule qtwebkit updated: 99113b7cc7...251a3c50ca
Submodule qtwebkit-examples updated: 5c814406c6...5f0fbc683b
1
qtwebsockets
Submodule
1
qtwebsockets
Submodule
Submodule qtwebsockets added at 6419556a2b
Submodule qtwinextras updated: 8ddbbfd4c8...d33a455084
Submodule qtx11extras updated: 9131e081b9...947361a7dc
Submodule qtxmlpatterns updated: 831c6a4ec2...d25091bb8b
Reference in New Issue
Block a user