Compare commits
5 Commits
471a3b15ef
...
0.8.2.1
Author | SHA1 | Date | |
---|---|---|---|
fad7a668e3 | |||
c68e82c7c8 | |||
7e04ba84eb | |||
29355c7fc1 | |||
95f85374cf |
10
.github/workflows/windows.yml
vendored
10
.github/workflows/windows.yml
vendored
@ -82,6 +82,16 @@ jobs:
|
||||
cmake ./dependencies_src/zlib -Bbuild_dependencies/zlib -DCMAKE_INSTALL_PREFIX="dependencies_bin" || goto :error
|
||||
cmake --build build_dependencies/zlib --config Release --target=install || goto :error
|
||||
curl -fsSL -o expat_src.zip https://github.com/libexpat/libexpat/archive/R_2_6_2.zip
|
||||
:: ===== AOM for libavif AVI decoding support =====
|
||||
git clone -q -b v3.10.0 --depth 1 https://aomedia.googlesource.com/aom dependencies_src/aom
|
||||
cmake ./dependencies_src/aom -Bbuild_dependencies/aom -DCMAKE_INSTALL_PREFIX="dependencies_bin" -DENABLE_DOCS=OFF -DBUILD_SHARED_LIBS=ON -DAOM_TARGET_CPU=generic -DENABLE_TESTS=OFF -DENABLE_TESTDATA=OFF -DENABLE_TOOLS=OFF -DENABLE_EXAMPLES=0 || goto :error
|
||||
cmake --build build_dependencies/aom --config Release --target=install || goto :error
|
||||
:: ===== libavif =====
|
||||
curl -fsSL -o libavif-v1_1_1.zip https://github.com/AOMediaCodec/libavif/archive/v1.1.1.zip
|
||||
7z x libavif-v1_1_1.zip -y -o"dependencies_src"
|
||||
ren .\dependencies_src\libavif-1.1.1 libavif || goto :error
|
||||
cmake ./dependencies_src/libavif -Bbuild_dependencies/libavif -DCMAKE_INSTALL_PREFIX="dependencies_bin" -DAVIF_CODEC_AOM=ON -DAVIF_LOCAL_LIBYUV=ON
|
||||
cmake --build build_dependencies/libavif --config Release --target=install || goto :error
|
||||
:: ===== expat =====
|
||||
7z x expat_src.zip -y -o"dependencies_src"
|
||||
ren .\dependencies_src\libexpat-R_2_6_2 expat || goto :error
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
cmake_minimum_required (VERSION 3.9.5)
|
||||
|
||||
project(pineapple-pictures VERSION 0.8.1) # don't forget to update NEWS file and AppStream metadata.
|
||||
project(pineapple-pictures VERSION 0.8.2.1) # don't forget to update NEWS file and AppStream metadata.
|
||||
|
||||
include (GNUInstallDirs)
|
||||
include (FeatureSummary)
|
||||
|
17
NEWS
17
NEWS
@ -1,3 +1,20 @@
|
||||
Version 0.8.2.1
|
||||
~~~~~~~~~~~~~
|
||||
Released: 2024-10-27
|
||||
|
||||
Bugfixes:
|
||||
* Cannot load translations caused by a change in 0.8.2
|
||||
|
||||
Version 0.8.2
|
||||
~~~~~~~~~~~~~
|
||||
Released: 2024-10-26
|
||||
|
||||
Features:
|
||||
* New option to allow use light-color checkerboard by default
|
||||
|
||||
Contributors:
|
||||
albanobattistella, mmahhi, gallegonovato
|
||||
|
||||
Version 0.8.1
|
||||
~~~~~~~~~~~~~
|
||||
Released: 2024-08-25
|
||||
|
11
app/main.cpp
11
app/main.cpp
@ -20,6 +20,8 @@
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QCoreApplication::setApplicationName("Pineapple Pictures");
|
||||
QCoreApplication::setApplicationVersion(PPIC_VERSION_STRING);
|
||||
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Settings::instance()->hiDpiScaleFactorBehavior());
|
||||
|
||||
QApplication a(argc, argv);
|
||||
@ -35,11 +37,10 @@ int main(int argc, char *argv[])
|
||||
qmDir = QT_STRINGIFY(QM_FILE_INSTALL_DIR);
|
||||
#endif
|
||||
if (translator.load(QLocale(), QLatin1String("PineapplePictures"), QLatin1String("_"), qmDir)) {
|
||||
a.installTranslator(&translator);
|
||||
QCoreApplication::installTranslator(&translator);
|
||||
}
|
||||
a.setApplicationName("Pineapple Pictures");
|
||||
a.setApplicationDisplayName(QCoreApplication::translate("main", "Pineapple Pictures"));
|
||||
a.setApplicationVersion(PPIC_VERSION_STRING);
|
||||
|
||||
QGuiApplication::setApplicationDisplayName(QCoreApplication::translate("main", "Pineapple Pictures"));
|
||||
|
||||
// commandline options
|
||||
QCommandLineOption supportedImageFormats(QStringLiteral("supported-image-formats"), QCoreApplication::translate("main", "List supported image format suffixes, and quit program."));
|
||||
@ -67,5 +68,5 @@ int main(int argc, char *argv[])
|
||||
|
||||
w.initWindowSize();
|
||||
|
||||
return a.exec();
|
||||
return QApplication::exec();
|
||||
}
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include <QStandardPaths>
|
||||
#include <QStringBuilder>
|
||||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QMetaEnum>
|
||||
@ -151,10 +150,7 @@ Settings::Settings()
|
||||
|
||||
if (configPath.isEmpty()) {
|
||||
// Should be %LOCALAPPDATA%\<APPNAME> under Windows, ~/.config/<APPNAME> under Linux.
|
||||
// Sadly <APPNAME> is unknown when Settings object is created (it's before the creation
|
||||
// of QApplication), so we'll need to append the app name manually.
|
||||
configPath = QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation) %
|
||||
QDir::separator() % QLatin1String("Pineapple Pictures");
|
||||
configPath = QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation);
|
||||
}
|
||||
|
||||
m_qsettings = new QSettings(QDir(configPath).absoluteFilePath("config.ini"), QSettings::IniFormat, this);
|
||||
|
@ -782,7 +782,7 @@
|
||||
<message>
|
||||
<location filename="../settingsdialog.cpp" line="71"/>
|
||||
<source>Use light-color checkerboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Utilice un tablero de ajedrez de color claro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog.cpp" line="72"/>
|
||||
|
@ -778,7 +778,7 @@
|
||||
<message>
|
||||
<location filename="../settingsdialog.cpp" line="71"/>
|
||||
<source>Use light-color checkerboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Utilizzare scacchiera di colore chiaro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog.cpp" line="72"/>
|
||||
|
@ -301,7 +301,7 @@
|
||||
<message>
|
||||
<location filename="../actionmanager.cpp" line="107"/>
|
||||
<source>Fit to width</source>
|
||||
<translation>横幅に合わせる</translation>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../actionmanager.cpp" line="110"/>
|
||||
@ -336,7 +336,7 @@
|
||||
<message>
|
||||
<location filename="../actionmanager.cpp" line="100"/>
|
||||
<source>Rotate left</source>
|
||||
<translation>左向きに回転する</translation>
|
||||
<translation>左に回転</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../actionmanager.cpp" line="102"/>
|
||||
|
@ -74,6 +74,24 @@
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<releases>
|
||||
<release type="stable" version="0.8.2.1" date="2024-10-27T00:00:00Z">
|
||||
<description>
|
||||
<p>This release fixes the following bug:</p>
|
||||
<ul>
|
||||
<li>Cannot load translations caused by a change in 0.8.2</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release type="stable" version="0.8.2" date="2024-10-26T00:00:00Z">
|
||||
<description>
|
||||
<p>This release adds the following feature:</p>
|
||||
<ul>
|
||||
<li>New option to allow use light-color checkerboard by default</li>
|
||||
</ul>
|
||||
<p>With contributions from:</p>
|
||||
<p>albanobattistella, mmahhi, gallegonovato</p>
|
||||
</description>
|
||||
</release>
|
||||
<release type="stable" version="0.8.1" date="2024-08-25T00:00:00Z">
|
||||
<description>
|
||||
<p>This release adds the following feature:</p>
|
||||
|
Reference in New Issue
Block a user