Skip to content

Commit 36996e5

Browse files
committed
Merge branch '1.4.0'
2 parents 9b9ef7f + 0fd8405 commit 36996e5

File tree

228 files changed

+12548
-4254
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

228 files changed

+12548
-4254
lines changed

.appveyor.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
image: Visual Studio 2017
22

3+
environment:
4+
matrix:
5+
- NAME: MSI
6+
SCRIPT: msi/build.msi.bat
7+
ARTIFACT: scripts\win32\packages\msi\wix\bin\apk-editor-studio_win32_dev.msi
8+
- NAME: ZIP
9+
SCRIPT: zip/build.zip.bat
10+
ARTIFACT: scripts\win32\packages\zip\apk-editor-studio_win32_dev.zip
11+
312
install:
413
- set QTDIR=C:\Qt\5.13.2\msvc2017
514
- set MAKE=C:\Qt\Tools\QtCreator\bin\jom.exe
@@ -15,14 +24,11 @@ before_build:
1524
- cd scripts\win32\packages
1625

1726
build_script:
18-
- call msi/build.msi.bat
19-
- call zip/build.zip.bat
27+
- call %SCRIPT%
2028

2129
artifacts:
22-
- path: scripts\win32\packages\msi\wix\bin\apk-editor-studio_win32_dev.msi
23-
name: APK Editor Studio - Windows Installer (MSI)
24-
- path: scripts\win32\packages\zip\apk-editor-studio_win32_dev.zip
25-
name: APK Editor Studio - Windows Portable (ZIP)
30+
- path: $(ARTIFACT)
31+
name: $(NAME)
2632

2733
deploy:
2834
- provider: GitHub

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ Makefile*
3232
moc_*.cpp
3333
moc_*.h
3434
qrc_*.cpp
35-
!res/deploy/linux/bin/

.travis.yml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,33 @@ before_script:
66

77
matrix:
88
include:
9-
- os: linux
9+
- name: Linux (DEB)
10+
os: linux
11+
compiler: gcc
12+
install:
13+
- sudo apt-get install qt5-default qttools5-dev-tools libsecret-1-dev debhelper devscripts fakeroot
14+
script:
15+
- scripts/linux/packages/deb/build.deb.sh
16+
17+
- name: Linux (AppImage)
18+
os: linux
1019
compiler: gcc
1120
before_install:
1221
- sudo add-apt-repository ppa:beineri/opt-qt-5.10.1-xenial -y
1322
- sudo apt-get update -qq
1423
install:
15-
- sudo apt-get install qt5-default qttools5-dev-tools libsecret-1-dev dh-make devscripts fakeroot
16-
- sudo apt-get install qt510base qt510imageformats qt510svg qt510tools libgl1-mesa-dev
17-
script:
18-
- cd scripts/linux/packages
19-
- tar.xz/build.tar.xz.sh
20-
- deb/build.deb.sh
24+
- sudo apt-get install qt510base qt510imageformats qt510svg qt510tools libgl1-mesa-dev libsecret-1-dev adb zipalign
2125
- source /opt/qt510/bin/qt510-env.sh
22-
- appimage/build.appimage.sh
23-
- cd -
24-
- os: osx
26+
script:
27+
- scripts/linux/packages/appimage/build.appimage.sh
28+
29+
- name: macOS
30+
os: osx
31+
compiler: clang
2532
install:
26-
- brew update
27-
- brew install qt
33+
- brew uninstall --ignore-dependencies qt
34+
- brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/a3e89f6b3fcfd6f4240360053b0f730e8ce4a74d/Formula/qt.rb
2835
- brew link qt --force
29-
- brew upgrade python
3036
- nvm install node
3137
- npm i appdmg
3238
script:
@@ -43,7 +49,6 @@ deploy:
4349
api_key:
4450
secure: "WtUyLKiBPfQsGQo5Mg/SfdyPoUhsrx0bMMNOw21PO2I8GYeMrwq/SiWjS9kDdUaQ1rZ2EHq25nAiX5Ndcw3Am6ivrHvKpu9nbCeTZ+d5GQ9d2YjE3yHushpGbVZ5z1yy9dg4QBEN55Vo4OLTe5HsaYFW1QKIebHUCA3l0O7u/h8wdM3qtiNdb0I1RTsqvdARtZiUpY0843k1Mni4j2RIzrepEpZsv42/rcsomJ+8A/DoMss+AIv1eySyxD3uZuKVFpUEofCNOhU0ZR3B4MQlf6gtc290H4fOJpjYnEACI+ZM9XlLX2AououJbTSsDuJo1w7e/Pw6hNIp+7qEyS5zkGHrqVfP3LldMtPCf8EJymSUlIo1XeSjXAkJ8RHcHASP5u2N85mO0MibFPwB0zQwxReh1OYGM4aDF83LtKYJsDHjV8vv1EjpRcKOxfI0YBD9VaTjvY/ReYFKdTtN+hKh6pGF+1dRsWts9nId+r16ItiLCUE8k/97a2VCBpygDs7JhvuHperlD2dixnqw9YYZZ204hUVZPF+mImx3zEJXmkXsunmX174G1nEMQnAWHK+SVRX2MAE0PEJeuBlAPWVPZDmv08CV+e1qHvboFlEw5WrYqJcKfC1gyqyKipAer+6zH7Ke9iCsnqL9zRlpnXgIbXubgCLMOyLa5FXHb2RgkpE="
4551
file:
46-
- "scripts/linux/packages/tar.xz/apk-editor-studio_linux_dev.tar.xz"
4752
- "scripts/linux/packages/appimage/apk-editor-studio_linux_dev.AppImage"
4853
- "scripts/linux/packages/deb/apk-editor-studio_linux_dev.deb"
4954
- "scripts/macos/packages/app/apk-editor-studio_macos_dev.app.zip"
@@ -54,7 +59,5 @@ deploy:
5459
overwrite: true
5560
skip_cleanup: true
5661
on:
57-
branch:
58-
- master
59-
- /^\d+\.\d+\.\d+$/
60-
tags: false
62+
all_branches: true
63+
condition: $TRAVIS_BRANCH =~ ^(master|[0-9]+\.[0-9]+\.[0-9]+)$

AUTHORS.md

Lines changed: 15 additions & 0 deletions

README.md

Lines changed: 2 additions & 3 deletions

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.1
1+
1.4.0

apk-editor-studio.pro

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ QT += core gui widgets xml network
44
CONFIG += c++11
55

66
TARGET = apk-editor-studio
7-
VERSION = 1.3.1
7+
VERSION = 1.4.0
88
CI = $$(CI)
99

1010
QMAKE_TARGET_PRODUCT = APK Editor Studio
1111
QMAKE_TARGET_COMPANY = Alexander Gorishnyak
1212
QMAKE_TARGET_DESCRIPTION = APK Editor Studio v$$VERSION
13-
QMAKE_TARGET_COPYRIGHT = Copyright (C) 2019
13+
QMAKE_TARGET_COPYRIGHT = Copyright (C) 2019-2020
1414

1515
DEFINES += APPLICATION='"\\\"$$QMAKE_TARGET_PRODUCT\\\""'
1616
DEFINES += VERSION=\\\"$$VERSION\\\"
@@ -21,14 +21,18 @@ include($$PWD/lib/qtkeychain/qt5keychain.pri)
2121
include($$PWD/lib/qtsingleapplication/src/qtsingleapplication.pri)
2222
include($$PWD/deploy.pri)
2323

24-
TRANSLATIONS += \
24+
EXTRA_TRANSLATIONS += \
2525
$$PWD/res/translations/apk-editor-studio.de.ts \
26+
$$PWD/res/translations/apk-editor-studio.el.ts \
2627
$$PWD/res/translations/apk-editor-studio.es.ts \
2728
$$PWD/res/translations/apk-editor-studio.ja.ts \
29+
$$PWD/res/translations/apk-editor-studio.pl.ts \
2830
$$PWD/res/translations/apk-editor-studio.pt.ts \
29-
$$PWD/res/translations/apk-editor-studio.ru.ts
31+
$$PWD/res/translations/apk-editor-studio.ro.ts \
32+
$$PWD/res/translations/apk-editor-studio.ru.ts \
33+
$$PWD/res/translations/apk-editor-studio.tr.ts
3034

31-
updateqm.input = TRANSLATIONS
35+
updateqm.input = EXTRA_TRANSLATIONS
3236
updateqm.output = $$PWD/res/deploy/all/resources/translations/${QMAKE_FILE_IN_BASE}.qm
3337
updateqm.commands = $$[QT_INSTALL_BINS]/lrelease ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT}
3438
updateqm.CONFIG += no_link target_predeps

deploy.pri

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,4 @@ macx {
5454
QMAKE_POST_LINK += $$executable($$DESTDIR/$${TARGET}.app/Contents/MacOS/adb)
5555
QMAKE_POST_LINK += $$executable($$DESTDIR/$${TARGET}.app/Contents/MacOS/zipalign)
5656
QMAKE_INFO_PLIST = $$PWD/res/deploy/macos/Info.plist
57-
!equals(CI, true) {
58-
QMAKE_MAC_SDK = macosx10.7
59-
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
60-
}
6157
}

lib/qtkeychain/ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
ChangeLog
22
=========
33

4+
version 0.10.0 (release 2019-12-17)
5+
6+
* Detect XFCE desktop correctly. (Sandro Knauß <hefee@debian.org>)
7+
* Windows Use CRED_PERSIST_ENTERPRISE (Olivier Goffart <ogoffart@woboq.com>)
8+
* Windows: Improve CredWrite() error handling (Christian Kamm <mail@ckamm.de>)
9+
* Fix build with Qt 5.12.x (Sergey Ilinykh <rion4ik@gmail.com>)
10+
* Fix Qt 4 build (Robert-André Mauchin <zebob.m@gmail.com>)
11+
* Translation: Mandarin (Taiwan) (Poren Chiang <ren.chiang@gmail.com>)
12+
* Translation: French (François Revol <revol@free.fr>)
13+
414
version 0.9.1 (release 2018-08-20)
515
* Windows Credential Store: Use CRED_PERSIST_ENTERPRISE (Olivier Goffart <ogoffart@woboq.com>)
616
* Secret: Don't match the schema name #114 (Christian Kamm <mail@ckamm.de>)

lib/qtkeychain/keychain_unix.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ static DesktopEnvironment detectDesktopEnvironment() {
5454
return DesktopEnv_Unity;
5555
} else if ( xdgCurrentDesktop == "KDE" ) {
5656
return getKdeVersion();
57+
} else if ( xdgCurrentDesktop == "XFCE" ) {
58+
return DesktopEnv_Xfce;
5759
}
5860

5961
QByteArray desktopSession = qgetenv("DESKTOP_SESSION");
@@ -91,7 +93,7 @@ static bool isKwallet5Available()
9193
// a wallet can be opened.
9294

9395
iface.setTimeout(500);
94-
QDBusMessage reply = iface.call(QStringLiteral("networkWallet"));
96+
QDBusMessage reply = iface.call(QLatin1String("networkWallet"));
9597
return reply.type() == QDBusMessage::ReplyMessage;
9698
}
9799

0 commit comments

Comments
 (0)