Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flatpak-qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
3286113e
Commit
3286113e
authored
Oct 07, 2015
by
Eike Ziller
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/3.5'
Change-Id: I4d74ad26046136ff2d38cfc1015b502009b2b344
parents
022a81da
e548635a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
53 additions
and
32 deletions
+53
-32
src/plugins/git/mergetool.cpp
src/plugins/git/mergetool.cpp
+29
-25
src/plugins/ios/iosconfigurations.cpp
src/plugins/ios/iosconfigurations.cpp
+18
-1
src/plugins/qtsupport/uicodemodelsupport.cpp
src/plugins/qtsupport/uicodemodelsupport.cpp
+5
-5
src/shared/qbs
src/shared/qbs
+1
-1
No files found.
src/plugins/git/mergetool.cpp
View file @
3286113e
...
...
@@ -119,31 +119,35 @@ bool MergeTool::start(const QString &workingDirectory, const QStringList &files)
MergeTool
::
FileState
MergeTool
::
waitAndReadStatus
(
QString
&
extraInfo
)
{
QByteArray
state
;
if
(
m_process
->
canReadLine
()
||
(
m_process
->
waitForReadyRead
(
500
)
&&
m_process
->
canReadLine
()))
{
state
=
m_process
->
readLine
().
trimmed
();
// " {local}: modified file"
// " {remote}: deleted"
if
(
!
state
.
isEmpty
())
{
state
=
state
.
mid
(
state
.
indexOf
(
':'
)
+
2
);
if
(
state
==
"deleted"
)
return
DeletedState
;
if
(
state
.
startsWith
(
"modified"
))
return
ModifiedState
;
if
(
state
.
startsWith
(
"created"
))
return
CreatedState
;
QByteArray
submodulePrefix
(
"submodule commit "
);
// " {local}: submodule commit <hash>"
if
(
state
.
startsWith
(
submodulePrefix
))
{
extraInfo
=
QString
::
fromLocal8Bit
(
state
.
mid
(
submodulePrefix
.
size
()));
return
SubmoduleState
;
}
// " {local}: a symbolic link -> 'foo.cpp'"
QByteArray
symlinkPrefix
(
"a symbolic link -> '"
);
if
(
state
.
startsWith
(
symlinkPrefix
))
{
extraInfo
=
QString
::
fromLocal8Bit
(
state
.
mid
(
symlinkPrefix
.
size
()));
extraInfo
.
chop
(
1
);
// remove last quote
return
SymbolicLinkState
;
}
for
(
int
i
=
0
;
i
<
5
;
++
i
)
{
if
(
m_process
->
canReadLine
())
{
state
=
m_process
->
readLine
().
trimmed
();
break
;
}
m_process
->
waitForReadyRead
(
500
);
}
// " {local}: modified file"
// " {remote}: deleted"
if
(
!
state
.
isEmpty
())
{
state
=
state
.
mid
(
state
.
indexOf
(
':'
)
+
2
);
if
(
state
==
"deleted"
)
return
DeletedState
;
if
(
state
.
startsWith
(
"modified"
))
return
ModifiedState
;
if
(
state
.
startsWith
(
"created"
))
return
CreatedState
;
QByteArray
submodulePrefix
(
"submodule commit "
);
// " {local}: submodule commit <hash>"
if
(
state
.
startsWith
(
submodulePrefix
))
{
extraInfo
=
QString
::
fromLocal8Bit
(
state
.
mid
(
submodulePrefix
.
size
()));
return
SubmoduleState
;
}
// " {local}: a symbolic link -> 'foo.cpp'"
QByteArray
symlinkPrefix
(
"a symbolic link -> '"
);
if
(
state
.
startsWith
(
symlinkPrefix
))
{
extraInfo
=
QString
::
fromLocal8Bit
(
state
.
mid
(
symlinkPrefix
.
size
()));
extraInfo
.
chop
(
1
);
// remove last quote
return
SymbolicLinkState
;
}
}
return
UnknownState
;
...
...
src/plugins/ios/iosconfigurations.cpp
View file @
3286113e
...
...
@@ -300,11 +300,28 @@ void IosConfigurations::updateAutomaticKitList()
}
if
(
kitExists
)
{
kitAtt
->
blockNotification
();
// TODO: this is just to fix up broken display names from before
QString
baseDisplayName
=
tr
(
"%1 %2"
).
arg
(
p
.
name
,
qt
->
unexpandedDisplayName
());
QString
displayName
=
baseDisplayName
;
for
(
int
iVers
=
1
;
iVers
<
100
;
++
iVers
)
{
bool
unique
=
true
;
foreach
(
const
Kit
*
k
,
existingKits
)
{
if
(
k
==
kitAtt
)
continue
;
if
(
k
->
displayName
()
==
displayName
)
{
unique
=
false
;
break
;
}
}
if
(
unique
)
break
;
displayName
=
baseDisplayName
+
QLatin1Char
(
'-'
)
+
QString
::
number
(
iVers
);
}
kitAtt
->
setUnexpandedDisplayName
(
displayName
);
}
else
{
qCDebug
(
kitSetupLog
)
<<
"setting up new kit for "
<<
p
.
name
;
kitAtt
=
new
Kit
;
kitAtt
->
setAutoDetected
(
true
);
QString
baseDisplayName
=
tr
(
"%1 %2"
).
arg
(
p
.
name
,
qt
->
d
isplayName
());
QString
baseDisplayName
=
tr
(
"%1 %2"
).
arg
(
p
.
name
,
qt
->
unexpandedD
isplayName
());
QString
displayName
=
baseDisplayName
;
for
(
int
iVers
=
1
;
iVers
<
100
;
++
iVers
)
{
bool
unique
=
true
;
...
...
src/plugins/qtsupport/uicodemodelsupport.cpp
View file @
3286113e
...
...
@@ -251,12 +251,12 @@ void UiCodeModelSupport::updateFromBuild()
QString
UiCodeModelSupport
::
uicCommand
()
const
{
QtSupport
::
BaseQtVersion
*
version
;
if
(
m_project
->
needsConfiguration
())
{
version
=
QtSupport
::
QtKitInformation
::
qtVersion
(
ProjectExplorer
::
KitManager
::
defaultKit
());
}
else
{
ProjectExplorer
::
Target
*
target
=
m_project
->
activeTarget
();
ProjectExplorer
::
Target
*
target
;
if
(
!
m_project
->
needsConfiguration
()
&&
(
target
=
m_project
->
activeTarget
()))
version
=
QtSupport
::
QtKitInformation
::
qtVersion
(
target
->
kit
());
}
else
version
=
QtSupport
::
QtKitInformation
::
qtVersion
(
ProjectExplorer
::
KitManager
::
defaultKit
());
return
version
?
version
->
uicCommand
()
:
QString
();
}
...
...
qbs
@
55ff3783
Compare
31881df0
...
55ff3783
Subproject commit
31881df00d0321f54b8f0d1865d8b16847befde0
Subproject commit
55ff3783ce27c87517ae4758fdaca0f16a86367b
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment