Compare commits
No commits in common. "088066197f60f59ed38b918cd6a9d0efe2ffd564" and "ff4f71c1e61727999799184854b35bd3c99e63c5" have entirely different histories.
088066197f
...
ff4f71c1e6
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
project(pineapple-pictures VERSION 0.9.1) # don't forget to update NEWS file and AppStream metadata.
|
project(pineapple-pictures VERSION 0.9.0) # don't forget to update NEWS file and AppStream metadata.
|
||||||
|
|
||||||
include (GNUInstallDirs)
|
include (GNUInstallDirs)
|
||||||
include (FeatureSummary)
|
include (FeatureSummary)
|
||||||
|
19
NEWS
19
NEWS
@ -1,22 +1,3 @@
|
|||||||
Version 0.9.1
|
|
||||||
~~~~~~~~~~~~~
|
|
||||||
Released: 2025-01-25
|
|
||||||
|
|
||||||
Features:
|
|
||||||
* Option to double-click to fullscreen
|
|
||||||
* Build-time option to embed translation resources
|
|
||||||
|
|
||||||
Bugfixes:
|
|
||||||
* Fix window size not adjusted when open file on macOS
|
|
||||||
* Should center window according to available screen geometry
|
|
||||||
|
|
||||||
Miscellaneous:
|
|
||||||
* Change close window bahavior on macOS
|
|
||||||
* Update translations
|
|
||||||
|
|
||||||
Contributors:
|
|
||||||
albanobattistella, Sabri Ünal
|
|
||||||
|
|
||||||
Version 0.9.0
|
Version 0.9.0
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
Released: 2024-12-08
|
Released: 2024-12-08
|
||||||
|
@ -21,7 +21,7 @@ Pineapple Pictures is a lightweight image viewer that allows you view JPEG, PNG,
|
|||||||
- Archlinux AUR: [pineapple-pictures](https://aur.archlinux.org/packages/pineapple-pictures/) | [pineapple-pictures-git](https://aur.archlinux.org/packages/pineapple-pictures-git/)
|
- Archlinux AUR: [pineapple-pictures](https://aur.archlinux.org/packages/pineapple-pictures/) | [pineapple-pictures-git](https://aur.archlinux.org/packages/pineapple-pictures-git/)
|
||||||
- [Itch.io Store](https://blumia.itch.io/pineapple-pictures)
|
- [Itch.io Store](https://blumia.itch.io/pineapple-pictures)
|
||||||
|
|
||||||
### Maintained by contributors / certain distro's package maintainers
|
### Maintained by contributors / curtain distro's package maintainers
|
||||||
|
|
||||||
- Debian (since bullseye) or Ubuntu (since 21.04): `sudo apt install pineapple-pictures`
|
- Debian (since bullseye) or Ubuntu (since 21.04): `sudo apt install pineapple-pictures`
|
||||||
- Nix / NixOS: [pineapple-pictures](https://search.nixos.org/packages?channel=unstable&show=pineapple-pictures&from=0&size=50&sort=relevance&type=packages&query=pineapple-pictures) (maintained by @wineee)
|
- Nix / NixOS: [pineapple-pictures](https://search.nixos.org/packages?channel=unstable&show=pineapple-pictures&from=0&size=50&sort=relevance&type=packages&query=pineapple-pictures) (maintained by @wineee)
|
||||||
|
@ -63,12 +63,7 @@ int main(int argc, char *argv[])
|
|||||||
FileOpenEventHandler * fileOpenEventHandler = new FileOpenEventHandler(&a);
|
FileOpenEventHandler * fileOpenEventHandler = new FileOpenEventHandler(&a);
|
||||||
a.installEventFilter(fileOpenEventHandler);
|
a.installEventFilter(fileOpenEventHandler);
|
||||||
a.connect(fileOpenEventHandler, &FileOpenEventHandler::fileOpen, [&w](const QUrl & url){
|
a.connect(fileOpenEventHandler, &FileOpenEventHandler::fileOpen, [&w](const QUrl & url){
|
||||||
if (w.isHidden()) {
|
if (w.isHidden()) w.showNormal();
|
||||||
w.setWindowOpacity(1);
|
|
||||||
w.showNormal();
|
|
||||||
} else {
|
|
||||||
w.activateWindow();
|
|
||||||
}
|
|
||||||
w.showUrls({url});
|
w.showUrls({url});
|
||||||
w.initWindowSize();
|
w.initWindowSize();
|
||||||
});
|
});
|
||||||
|
@ -71,11 +71,7 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
m_exitAnimationGroup->addAnimation(m_fadeOutAnimation);
|
m_exitAnimationGroup->addAnimation(m_fadeOutAnimation);
|
||||||
m_exitAnimationGroup->addAnimation(m_floatUpAnimation);
|
m_exitAnimationGroup->addAnimation(m_floatUpAnimation);
|
||||||
connect(m_exitAnimationGroup, &QParallelAnimationGroup::finished,
|
connect(m_exitAnimationGroup, &QParallelAnimationGroup::finished,
|
||||||
#ifdef Q_OS_MAC
|
|
||||||
this, &QWidget::hide);
|
|
||||||
#else
|
|
||||||
this, &QWidget::close);
|
this, &QWidget::close);
|
||||||
#endif
|
|
||||||
|
|
||||||
GraphicsScene * scene = new GraphicsScene(this);
|
GraphicsScene * scene = new GraphicsScene(this);
|
||||||
|
|
||||||
@ -563,7 +559,7 @@ void MainWindow::centerWindow()
|
|||||||
Qt::LeftToRight,
|
Qt::LeftToRight,
|
||||||
Qt::AlignCenter,
|
Qt::AlignCenter,
|
||||||
this->size(),
|
this->size(),
|
||||||
qApp->screenAt(QCursor::pos())->availableGeometry()
|
qApp->screenAt(QCursor::pos())->geometry()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -764,7 +764,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../settingsdialog.cpp" line="79"/>
|
<location filename="../settingsdialog.cpp" line="79"/>
|
||||||
<source>Toggle fullscreen</source>
|
<source>Toggle fullscreen</source>
|
||||||
<translation>Attiva schermo intero</translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../settingsdialog.cpp" line="83"/>
|
<location filename="../settingsdialog.cpp" line="83"/>
|
||||||
|
@ -295,12 +295,12 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../actionmanager.cpp" line="108"/>
|
<location filename="../actionmanager.cpp" line="108"/>
|
||||||
<source>Pause/Resume Animation</source>
|
<source>Pause/Resume Animation</source>
|
||||||
<translation>Canlandırmayı Duraklat/Sürdür</translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../actionmanager.cpp" line="109"/>
|
<location filename="../actionmanager.cpp" line="109"/>
|
||||||
<source>Animation Go to Next Frame</source>
|
<source>Animation Go to Next Frame</source>
|
||||||
<translation>Canlandırma Sonraki Kareye Git</translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../actionmanager.cpp" line="111"/>
|
<location filename="../actionmanager.cpp" line="111"/>
|
||||||
@ -743,7 +743,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../settingsdialog.cpp" line="68"/>
|
<location filename="../settingsdialog.cpp" line="68"/>
|
||||||
<source>Failed to set shortcuts</source>
|
<source>Failed to set shortcuts</source>
|
||||||
<translation>Kısayollar ayarlanamadı</translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../settingsdialog.cpp" line="69"/>
|
<location filename="../settingsdialog.cpp" line="69"/>
|
||||||
@ -768,7 +768,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../settingsdialog.cpp" line="79"/>
|
<location filename="../settingsdialog.cpp" line="79"/>
|
||||||
<source>Toggle fullscreen</source>
|
<source>Toggle fullscreen</source>
|
||||||
<translation>Tam ekranı aç/kapat</translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../settingsdialog.cpp" line="83"/>
|
<location filename="../settingsdialog.cpp" line="83"/>
|
||||||
|
@ -74,27 +74,6 @@
|
|||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
<releases>
|
<releases>
|
||||||
<release type="stable" version="0.9.1" date="2025-01-25T00:00:00Z">
|
|
||||||
<description>
|
|
||||||
<p>This release adds the following features:</p>
|
|
||||||
<ul>
|
|
||||||
<li>Option to double-click to fullscreen</li>
|
|
||||||
<li>Build-time option to embed translation resources</li>
|
|
||||||
</ul>
|
|
||||||
<p>This release fixes the following bugs:</p>
|
|
||||||
<ul>
|
|
||||||
<li>Fix window size not adjusted when open file on macOS</li>
|
|
||||||
<li>Should center window according to available screen geometry</li>
|
|
||||||
</ul>
|
|
||||||
<p>This release includes the following changes:</p>
|
|
||||||
<ul>
|
|
||||||
<li>Change close window bahavior on macOS</li>
|
|
||||||
<li>Update translations</li>
|
|
||||||
</ul>
|
|
||||||
<p>With contributions from:</p>
|
|
||||||
<p>albanobattistella, Sabri Ünal</p>
|
|
||||||
</description>
|
|
||||||
</release>
|
|
||||||
<release type="stable" version="0.9.0" date="2024-12-08T00:00:00Z">
|
<release type="stable" version="0.9.0" date="2024-12-08T00:00:00Z">
|
||||||
<description>
|
<description>
|
||||||
<p>This release adds the following features:</p>
|
<p>This release adds the following features:</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user