Commit Graph

2472 Commits

Author SHA1 Message Date
Luis Ángel San Martín
30fd5491a4
Merge pull request #154 from selmf/database_leaks
Fix object leaks in database code
2020-08-25 18:57:54 +02:00
Felix Kauselmann
4b3042def4 Fix object leaks in database code
Qt's database and query model requires that both the queries and the database
objects are out of scope before a database connection can safely be removed.

Solution: Properly encapsulate databases and queries in "{ }" and use a string
to cache the connection name for out-of-scope removal.
2020-08-25 17:34:46 +02:00
Felix Kauselmann
48a0d64837 Add QtWebApp to third party readme 2020-08-20 18:22:57 +02:00
Felix Kauselmann
1b344d70e5 Update server code integration for QtWebApp 1.7.11
- Adapt server code for QtWebapp namespace 'stefanfrings'
- Implement custom modifications needed by v1 controller
  via template engine
- Unify iphone and ipad templates
2020-08-20 18:22:57 +02:00
Felix Kauselmann
f8a00605c5 Remove unused QtWebApp logging code
We're using QsLog, so there is no need for another logger.
2020-08-20 18:22:57 +02:00
Felix Kauselmann
b9c48cc4b6 Update QtWebapp to 1.7.11 2020-08-20 18:22:57 +02:00
Felix Kauselmann
3de099491f Move QtWebApp sources to third_party 2020-08-20 18:22:57 +02:00
Felix Kauselmann
fc8c1080da Add a message handler
This ensures that Qt debug messages actually end up in our logfiles,
even if we didn't use QsLog to create them.
2020-08-20 17:41:56 +02:00
Felix Kauselmann
56e6f8fdcc Allow setting YACReader loglevel from console 2020-08-20 17:41:56 +02:00
Felix Kauselmann
ac4d2f4804 Fix QsLog integration in reader too. 2020-08-20 17:41:56 +02:00
Felix Kauselmann
2f9db87f9b Document QsLog update 2020-08-20 17:41:56 +02:00
Felix Kauselmann
1af613663c Fix QsLog setup in Library and LibraryServer
The calls changed, so we need to adapt them.
2020-08-20 17:41:56 +02:00
Felix Kauselmann
1568a5f253 Update QsLog to 2.1 snapshot 46b643d5bcbc 2020-08-20 17:41:56 +02:00
Felix Kauselmann
c13ec618d0 Move QsLog to third_party directory 2020-08-20 17:41:56 +02:00
Felix Kauselmann
b9acd13120
Fix code format errors due to changes in default coding style. (#150) 2020-07-24 21:17:49 +02:00
Felix Kauselmann
41ccef1060
Fix possible memleaks occuring when passing nonexistent dirs to console library creator. (#132) 2020-07-02 20:28:53 +02:00
Daniel Dennerkrans
868843df37
fix spelling error in readme.md (#142) 2020-07-02 20:23:44 +02:00
Luis Ángel San Martín
092611f0cd Send read status for imported comics 2020-05-09 22:19:00 +02:00
Felix Kauselmann
75e71a434c
Add badges for our Azure CI jobs. (#131)
* Add badges for our Azure CI jobs.
2020-04-14 10:22:51 +02:00
Luis Ángel San Martín
e6bc8f38a0
Merge pull request #106 from selmf/export-ignore-update
Update export-ignore
2020-04-11 22:02:00 +02:00
Felix Kauselmann
45899b6835 Exclude openssl an 7zip from git export so they don't pollute our source tarballs 2020-04-11 21:26:19 +02:00
Luis Ángel San Martín
60441c3c4a
Merge pull request #130 from YACReader/fix/skip_macos_sign_on_prs
Skip macos sign on PRs
2020-04-11 20:29:56 +02:00
Luis Ángel San Martín
3a3c6277ab Skip macos sign on prs 2020-04-11 19:40:52 +02:00
Luis Ángel San Martín
5688303999
Merge pull request #129 from YACReader/feature/azure-update
Update azure pipelines to work on forked repos
2020-04-09 20:22:23 +02:00
Luis Ángel San Martín
4aefd4283d Install QtScript in Windows 2020-04-09 18:35:01 +02:00
Luis Ángel San Martín
7e19dc8e6a Update azure pipelines to work on forked repos
Use macos catalina too
2020-04-09 18:17:17 +02:00
Jeremy Douglass
15c126fda5
Enable unarr 7z support. Closes #113 (#115)
* Enable unarr 7z support. Closes #113
2020-02-12 08:38:03 +01:00
Jan Beich
65a77daa75 Explicitly include <sys/socket.h>
server_config_dialog.cpp:57:30: error: member access into incomplete type 'struct sockaddr'
            if (ifa->ifa_addr->sa_family == AF_INET) { // check it is IP4
                             ^
/usr/local/include/qt5/QtNetwork/qhostaddress.h:50:8: note: forward declaration of 'sockaddr'
struct sockaddr;
       ^
server_config_dialog.cpp:61:27: error: use of undeclared identifier 'AF_INET'
                inet_ntop(AF_INET, tmpAddrPtr, addressBuffer, INET_ADDRSTRLEN);
                          ^
server_config_dialog.cpp:64:37: error: member access into incomplete type 'struct sockaddr'
            } else if (ifa->ifa_addr->sa_family == AF_INET6) { // check it is IP6
                                    ^
/usr/local/include/qt5/QtNetwork/qhostaddress.h:50:8: note: forward declaration of 'sockaddr'
struct sockaddr;
       ^
server_config_dialog.cpp:68:27: error: use of undeclared identifier 'AF_INET6'
                inet_ntop(AF_INET6, tmpAddrPtr, addressBuffer, INET6_ADDRSTRLEN);
                          ^
2019-11-26 19:03:34 +00:00
Felix Kauselmann
27f52df15c Azure Pipelines: Fix path environment 2019-11-20 15:57:35 +00:00
Felix Kauselmann
d74d1c52ef Windows: Use Qt 5.12.6 for CI builds 2019-11-20 15:57:35 +00:00
Felix Kauselmann
0ccdc8073a Azure Pipelines: Fix Qt path for Windows builds 2019-11-20 15:57:35 +00:00
Felix Kauselmann
bc34ff0448 Azure pipelines: rename 'arquitecture' to 'architecture' 2019-11-20 15:57:35 +00:00
Luis Ángel San Martín
36c1cdd2da
Merge pull request #95 from YACReader/feature/improve_file_association_in_macos
Improve file association in YACReader Info.plist
2019-10-20 09:49:39 +02:00
Luis Ángel San Martín
eea96f6fa2 Improve file association in YACReader Info.plist 2019-10-20 09:19:49 +02:00
Luis Ángel San Martín
88ccae7280
Merge pull request #93 from selmf/server_default
Fix headless server build defaults
2019-10-06 20:47:59 +02:00
Felix Kauselmann
704a12d6a9 YACReaderLibraryServer: Don't disable Qt debug output. 2019-10-06 16:02:20 +02:00
Felix Kauselmann
e0cce99be0 YACReaderLibraryServer: Default to bundled build.
As the headless server is now part of the default build, we need to
default to a bundled build to avoid packaging problems and confusion
on Linux and other systems using make install.
2019-10-06 16:01:00 +02:00
Luis Ángel San Martín
e5f59ae93f
Merge pull request #91 from prantlf/fix-link-to-releases
Fix the hyperlink to project releases in README
2019-10-04 12:10:50 +02:00
Ferdinand Prantl
f834be094e Fix the hyperlink to project releases in README
When clicking on the hyperlink at https://github.com/YACReader/yacreader, it leads to a 404.
2019-10-02 09:26:30 +02:00
Luis Ángel San Martín
1f8be886ec Add new action to create a new instance of the viewer in macos 2019-09-28 16:55:28 +02:00
Luis Ángel San Martín
f65395c11d Bump version number 2019-09-28 10:15:17 +02:00
Luis Ángel San Martín
e1b0e7c96f Fix full screen mode in windows with qt 5.12.4+ 2019-09-28 10:11:44 +02:00
Luis Ángel San Martín
d49c8895ff Bump version number 2019-09-27 18:33:08 +02:00
Luis Ángel San Martín
ba690dcd4e Use pdfkit by default in macos
pdfium seems to be broken, I couldn't investigate where the problem is yet
2019-09-27 18:32:34 +02:00
Luis Ángel San Martín
c9dd62de47 Remove TODO 2019-09-27 10:44:39 +02:00
Luis Ángel San Martín
f3937b6e20
Merge pull request #85 from ivanvranjic/story-arcs-parsing
Fix for story arcs not being parsed from comicvine.
2019-09-25 21:23:31 +02:00
ivanvranjic
346bcdaf75 Clang format fix. 2019-09-25 17:38:59 +02:00
Ivan Vranjic
cfb4e31af9 Fix for story arcs not being parsed from comicvine. 2019-09-25 17:38:59 +02:00
Luis Ángel San Martín
d154e89311 Update openssl binaries
Qt 5.12.4 and higher uses openssl v1.1.1, after v1.1 binaries are no longer compatible, so we need to ship the new version. Names of the dlls also changed, so win packaging had to be updated.
2019-09-25 16:22:15 +02:00
Luis Ángel San Martín
82dce8ab25
Merge pull request #84 from YACReader/revert-5-thread_ping_pong
Revert "Thread ping pong"
2019-09-24 12:03:38 +02:00