Merged luisangelsm/yacreader/develop into develop

This commit is contained in:
Felix Kauselmann 2018-01-03 10:32:06 +01:00
parent 1c232b0549
commit 8f886661c6
7 changed files with 200 additions and 54 deletions

View File

@ -4,28 +4,38 @@ Please note: this is a work in progress. Keeping a changelog has been neglected
in the past so information is missing and older release information is in
spanish only. Sorry for the mess.
## 9.0.0 - (unreleased)
## 8.6.0 - (development release)
## 9.0.0 (WIP)
### Library and Reader
* Updated Qt to 5.8.0
* Faster (way faster) pdf backend based on pdfium
* Fixed fullscreen context menus (windows)
* Updated Qt to 5.9.1.
* Faster (way faster) pdf backend based on pdfium.
* unarr is used now for handling compressed files (there are some temporal side effects: f.e. 7z is not supported). YACReader can still be compiled using 7zip as decompresion library.
* Fixed fullscreen context menus (windows).
* Minor fixes.
* New app icons for Windows.
* Initial support for Haiku OS
### YACReaderLibrary
* New comics view in addition to flow and grid views: info view.
* New side view for showing current comic info in the grid view (it can be shown using the icon in the right bottom part of the window)
* New side view for showing current comic info in the grid view (it can be shown using the icon in the right bottom part of the window).
* Improved the look and feel of the grid view.
* Fixed Comic Vine integration (using the new https end point)
* Fixed Comic Vine integration (using the new https end point).
* Usability fixes to Comic View scraper.
* Fixed UI update when clients update comics status.
* New server setting for disabling covers on folders in the client's remote browser (iOS), this is a workaround to fix a performance issue in large libraries.
* Fixed YACReader not found in macos.
### YACReader
* Added an option to disable showing the go to flow on mouse over.
* New "Quick Navigation Mode" for the go to flow feature, full-wide + a scroll bar, it can be enabled in the settings dialog. (this was an user contribution, credits will be updated on the final release)
* Zig-zag autoscroll reading mode, please see the reading section in the shortcuts dialog for enabling this, by default there are no keys assigned to the scrolling actions (thanks to dcato, another contribution)
* New "Quick Navigation Mode" for the go to flow feature, full-wide + a scroll bar, it can be enabled in the settings dialog. (thanks to Yuu Mousou).
* Zig-zag autoscroll reading mode, please see the reading section in the shortcuts dialog for enabling this, by default there are no keys assigned to the scrolling actions (thanks to Daisuke Cato).
* Menu bar added for YACReader in macos (thanks to Daisuke Cato).
* "Go to flow" is now manga aware (thanks to Daisuke Cato).
* Added "Open recent" menu entry.
### YACReaderLibraryServer (headless version of YACReaderLibrary)
* Added a system*d* service file to run yacreaderlibraryserver in Linux based systems.
## 8.5.0 - 2016-03-28
* headless version of YACReaderLibrary's server (no gui)

161
YACReader/Info.plist Normal file
View File

@ -0,0 +1,161 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>CFBundleIconFile</key>
<string>YACReader.icns</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleGetInfoString</key>
<string>Created by Qt/QMake</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleExecutable</key>
<string>YACReader</string>
<key>CFBundleIdentifier</key>
<string>com.yacreader.YACReader</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>YACReader Comic rar</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.yacreader.yacreader.rar</string>
</array>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>YACReader Comic zip</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.yacreader.yacreader.zip</string>
</array>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>YACReader Comic cbr</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.yacreader.yacreader.cbr</string>
</array>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>YACReader Comic cbz</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.yacreader.yacreader.cbz</string>
</array>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>YACReader Comic pdf</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.yacreader.yacreader.pdf</string>
</array>
</dict>
</array>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeDescription</key>
<string>YACReader Comic</string>
<key>UTTypeIdentifier</key>
<string>com.yacreader.yacreader.rar</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<string>rar</string>
<key>public.mime-type</key>
<string>application/comic-rar</string>
</dict>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeDescription</key>
<string>YACReader Comic</string>
<key>UTTypeIdentifier</key>
<string>com.yacreader.yacreader.zip</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<string>zip</string>
<key>public.mime-type</key>
<string>application/comic-zip</string>
</dict>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeDescription</key>
<string>YACReader Comic</string>
<key>UTTypeIdentifier</key>
<string>com.yacreader.yacreader.cbr</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<string>cbr</string>
<key>public.mime-type</key>
<string>application/comic-cbr</string>
</dict>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeDescription</key>
<string>YACReader Comic</string>
<key>UTTypeIdentifier</key>
<string>com.yacreader.yacreader.cbz</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<string>cbz</string>
<key>public.mime-type</key>
<string>application/comic-cbz</string>
</dict>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeDescription</key>
<string>YACReader Comic</string>
<key>UTTypeIdentifier</key>
<string>com.yacreader.yacreader.pdf</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<string>pdf</string>
<key>public.mime-type</key>
<string>application/comic-pdf</string>
</dict>
</dict>
</array>
</dict>
</plist>

View File

@ -1,39 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>CFBundleIconFile</key>
<string>@ICON@</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleGetInfoString</key>
<string>Created by Qt/QMake</string>
<key>CFBundleSignature</key>
<string>@TYPEINFO@</string>
<key>CFBundleExecutable</key>
<string>@EXECUTABLE@</string>
<key>CFBundleIdentifier</key>
<string>@BUNDLEIDENTIFIER@</string>
<key>NOTE</key>
<string>This file was generated by Qt/QMake.</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string></string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>public.item</string>
</array>
</dict>
</array>
</dict>
</plist>

View File

@ -201,7 +201,7 @@ RC_FILE = icon.rc
macx {
ICON = YACReader.icns
QMAKE_INFO_PLIST = Info.plist.mac
QMAKE_INFO_PLIST = Info.plist
}
TRANSLATIONS = yacreader_es.ts \
@ -256,4 +256,4 @@ manpage.files = ../YACReader.1
#remove leftover doc files when 'make clean' is invoked
QMAKE_CLEAN += "../README"
}
}

View File

@ -165,6 +165,8 @@ int main(int argc, char * argv[])
int ret = app.exec();
delete mwv;
//Configuration::getConfiguration().save();
YACReader::exitCheck(ret);

View File

@ -1341,8 +1341,20 @@ YACReaderPageFlowGL::~YACReaderPageFlowGL()
this->killTimer(timerId);
//worker->deleteLater();
rawImages.clear();
for(int i = 0;i<numObjects;i++){
delete(images[i].texture);
//TODO: remove checking for a valid context
//checking is needed because of this bug this bug: https://bugreports.qt.io/browse/QTBUG-60148
if (this->context() != nullptr && this->context()->isValid())
{
for(int i = 0; i<numObjects; i++) {
if (images[i].texture != defaultTexture) {
delete(images[i].texture);
}
}
}
if (defaultTexture != nullptr) {
delete defaultTexture;
}
}

View File

@ -18,7 +18,7 @@ CONFIG(pdfium) {
LIBS += -L$$PWD/pdfium/macx/bin -lpdfium
INCLUDEPATH += $$PWD/pdfium/macx/include
}
!macx:packagesExist(libpdfium) {
else:!macx:packagesExist(libpdfium) {
message(Using system provided installation of libpdfium.)
CONFIG += link_pkgconfig
PKGCONFIG += libpdfium