Luis Ángel San Martín
268bebbddd
Use nullptr instead of 0
2019-06-01 16:04:48 +02:00
Luis Ángel San Martín
bb334cfd50
Use auto to avoid duplicating the type name
2019-06-01 16:04:48 +02:00
Luis Ángel San Martín
e3ec56aa43
Format code using clang-format
2019-05-30 19:46:37 +02:00
Luis Ángel San Martín
8b54744723
Add .clang-format files
...
Third party code should be excluded from automatic formating: QsLog and QtWebApp
2019-05-30 18:58:54 +02:00
Luis Ángel San Martín
ca34e99ec4
Merge pull request #57 from vedgy/misc-code-fixes
...
Miscellaneous code fixes
2019-05-30 18:24:53 +02:00
Luis Ángel San Martín
6c628318fe
Merge pull request #54 from vedgy/fix-crash-at-exit
...
Library: fix a crash at exit when server is disabled
2019-05-30 18:22:06 +02:00
Luis Ángel San Martín
7b712e144a
Merge pull request #53 from selmf/light_gl_flow_refactoring
...
Light gl flow refactoring
2019-05-30 18:21:05 +02:00
Jeremy Douglass
6f2a4bf243
Add Up Down navigation to FlowView
...
Adds vertical navigation (up down) to FlowView. This corresponds visually to the File Name list display -- especially when the flow pane is hidden, pressing up-down is the intuitive way to navigate up-down in the list.
2019-05-30 18:15:33 +02:00
Igor Kushnir
c1810b9e54
Library: do not needlessly retrieve all comics from the DB
...
The siblings variable is unused. So the ComicModel::getAllComics() call
is redundant unless there is some unobvious side effect (I hope not).
2019-05-24 14:53:52 +03:00
Igor Kushnir
92cf54980c
Library: eliminate QPainter warnings
...
There were many run-time warnings in YACReaderLibrary built in Debug
mode with hardware acceleration disabled and with ClassicComicsView
as the active comics view:
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
The ComicFlowWidgetSW::paintEvent() implementation now corresponds to
ComicFlowWidgetGL::paintEvent(), which has been fixed earlier.
QWidget::repaint() calls paintEvent() immediately.
PictureFlow::paintEvent() calls d->renderer->paint(). So the
d->renderer->paint() call in PictureFlow::updateMarks() was redundant.
2019-05-22 17:37:04 +03:00
Igor Kushnir
8522b11e37
Library: fix a crash at exit when server is disabled
...
Startup::stop() called from LibraryWindow::closeEvent() crashes if
listener is not initialized.
2019-05-19 13:50:53 +03:00
Felix Kauselmann
caca3191f9
Flow: Remove glu dependency
2019-05-06 07:38:33 +02:00
Luis Ángel San Martín
eeb303a5c1
Avoid parsing non supported dates from comic vine
2019-04-28 09:30:15 +02:00
Luis Ángel San Martín
44db4397e8
Avoid parsing null values from comic vine
2019-04-28 09:28:50 +02:00
Luis Ángel San Martín
54a0610a06
Fix out of bounds crash
2019-04-28 09:28:15 +02:00
François Gannaz
8c8521a8dc
Library: reorder initialization of ResponseParser
2019-04-01 11:25:16 +02:00
François Gannaz
ebcb52bf16
Library: bugfix a 'switch case' that had no 'break'
2019-04-01 11:25:16 +02:00
François Gannaz
0453bf126a
Library: unused method parameter, so comment out the name
2019-04-01 11:25:16 +02:00
François Gannaz
9aff260f06
Library: unused method parameter, so comment out the name
2019-04-01 11:25:16 +02:00
François Gannaz
6467e2a510
Library: unused method parameter, so comment out the name
2019-04-01 11:25:16 +02:00
François Gannaz
3657745f8b
Library: reorder initialization of YACReaderHttpSession
2019-04-01 11:25:16 +02:00
François Gannaz
8fa62c3a20
Library: unused method parameter, so comment out the name
2019-04-01 11:25:16 +02:00
François Gannaz
7cb57d886a
Library: fix misleading indentation
2019-04-01 11:25:16 +02:00
François Gannaz
f351e41fa0
Library: add missing 'case' to a 'switch'
2019-04-01 11:25:16 +02:00
François Gannaz
11c99efa30
Library: explicit braces to avoid ambiguous 'else' (hidden in macro)
2019-04-01 11:25:16 +02:00
François Gannaz
62db328ab5
Library: explicit braces to avoid ambiguous 'else'
2019-04-01 11:25:16 +02:00
François Gannaz
20bcd2235a
Library: explicit braces to avoid ambiguous 'else'
2019-04-01 11:25:16 +02:00
François Gannaz
6f9d03847a
Library: typecast in comparison of int and long u int
2019-04-01 11:25:16 +02:00
François Gannaz
5927b1be45
Library: remove unused variables (shadowed by object attributes)
2019-04-01 11:25:16 +02:00
François Gannaz
6093e003e9
Library: add missing 'default' to non-exhaustive 'switch'
2019-04-01 11:25:16 +02:00
François Gannaz
b77eaf6d9c
Library: reorder initialization of FolderModel
2019-04-01 11:25:16 +02:00
François Gannaz
9c3720ceb9
Library: fix misleading indentation
2019-04-01 11:25:16 +02:00
François Gannaz
fb97cfa1dc
Library: explicit {} on ambiguous 'if if else'
2019-04-01 11:25:16 +02:00
François Gannaz
2189e19a91
Library: fix misleading indentation
2019-04-01 11:25:16 +02:00
François Gannaz
3babc0980e
Library: remove unused variable
2019-04-01 11:25:16 +02:00
François Gannaz
66941510f0
Library: fix misleading indentation
2019-04-01 11:25:16 +02:00
François Gannaz
2274e49ed0
Library: fix misleading indentation
2019-04-01 11:25:16 +02:00
François Gannaz
c044e93446
Library: typecast in comparison of int and quint64
2019-04-01 11:25:16 +02:00
François Gannaz
f7b4b7a5d1
Library: add missing 'case' to a 'switch'
2019-04-01 11:25:16 +02:00
François Gannaz
3062d8826e
Library: reorder initialization of LibraryWindow
2019-04-01 11:25:16 +02:00
Luis Ángel San Martín
c2fdcfde00
Merge pull request #30 from jlesage/fix-stack-overflow
...
Fixed potential stack overflow.
2019-02-18 17:19:50 +01:00
Luis Ángel San Martín
88f886078f
Merge pull request #4 from selmf/qquickwidget-port
...
Qquickwidget port
2019-02-18 17:18:00 +01:00
Jocelyn Le Sage
b3583b9bf3
Fixed potential stack overflow.
2018-09-01 08:10:18 -04:00
votagif
d13d85c6a4
Update yacreaderlibrary_ru.ts
...
Text correction, minor corrections.
2018-08-25 07:49:51 +03:00
Felix Kauselmann
097f4f1445
Fix qml qrc files
2018-08-15 14:43:14 +02:00
Felix Kauselmann
7bfb42be24
rating menu: Remove unneeded qml files
2018-08-11 11:34:12 +02:00
Felix Kauselmann
833e501d7c
Remove redundant MenuBar in GridComicsView.qml to avoid crashes on macOS
...
This fix was originally proposed by @ShawnCarnell on YACReader's old
Bitbucket repository.
2018-08-11 11:31:13 +02:00
Felix Kauselmann
02eda8eeb5
Use QQuickWidget instead of QQuickView to avoid displacement bugs on Windows and Linux
2018-08-11 11:26:12 +02:00
Felix Kauselmann
ab96056b0e
Normalize line endings
...
Normalize the line endings for a bunch of files previously not covered
by .gitattributes.
2018-08-07 11:09:02 +02:00
Felix Kauselmann
d3b8f4d5b8
Normalize line endings for .qml files
2018-08-05 13:14:30 +02:00
Felix Kauselmann
0e9a3a6407
Stop QtWebApp from eating out debug messages
...
QtWebapp installs a custom logger/message handler which reroutes all
debug messages to it's custom logger class.
As the default logging level for QtWebApp's logger is set to "critical"
this means that all debug messages are sent to nirvana. Solution:
Replace QtWebApp's messageHandler with our own (using QsLog).
2018-08-04 12:31:34 +02:00
Felix Kauselmann
3530528282
Add a commandline option to set YACReaderLibrary opengl renderer on windows.
2018-08-04 12:31:34 +02:00
Felix Kauselmann
afad6c7ab7
Add parser option for setting loglevel to YACReaderLibrary and YACReaderLibraryServer
2018-08-04 12:31:34 +02:00
Felix Kauselmann
d5a11fb16b
Add .gitattributes rules for text and binary handling
2018-07-30 15:04:04 +02:00
Luis Ángel San Martín
6538d418c7
Update translations.
2018-06-16 08:28:50 +02:00
toto
06246e34d3
ComicInfoView translation
...
Add translation to ComicInfoView.qml
2018-06-14 22:35:34 +02:00
toto
0b552bc726
Translate
...
French translation
2018-06-14 22:35:34 +02:00
Luis Ángel San Martín
8921b016a5
Avoid null values for issues' title coming from Comic Vine
2018-05-31 18:31:32 +02:00
Luis Ángel San Martín
1a91206a2d
Merge branch 'develop' into 9.5.0_bugfixes
2018-05-31 18:12:52 +02:00
Luis Ángel San Martín
229afbc9a9
Fix crash caused by accessing the UI thread from a background thread.
...
ComicVineDialog was calling close from background, plus accepted is emmited from a background thread, so it needs a QueuedConnection.
2018-05-31 18:09:41 +02:00
Luis Ángel San Martín
26c2226032
Change endpoints for getting comic info and opening a comic.
2018-05-30 19:23:39 +02:00
Luis Ángel San Martín
0100da5480
Make comicdownloadinfocontroller_v2 provide all the needed information.
2018-05-30 19:02:52 +02:00
Luis Ángel San Martín
dba264c31f
Remove old commented code.
2018-05-29 17:12:34 +02:00
Luis Ángel San Martín
79db01cffc
Do not close the connection in librariescontroller_v2
2018-05-29 17:12:22 +02:00
Luis Ángel San Martín
550795e418
Do not close the connection in covercontroller_v2
2018-05-29 17:12:09 +02:00
Luis Ángel San Martín
9cc4f65fc8
Use older api currentSecsSinceEpoch was introduced in Qt 5.8
2018-05-28 21:18:11 +02:00
Felix Kauselmann
1ccb40624c
Remove potential memleak in folder model code
2018-05-26 11:32:59 +02:00
Felix Kauselmann
ca3bc94f25
Fix potential memleak caused by unused QAction pointer in SortVolumeComics
2018-05-26 11:09:28 +02:00
Felix Kauselmann
9851884021
Backport two nullpointer reference fixes from QtWebApp 1.7.4
2018-05-26 10:30:14 +02:00
Luis Ángel San Martín
1c4eb4d1c6
Fix comicRating possition after context menu workaround
2018-05-25 19:31:32 +02:00
Luis Ángel San Martín
1cd33197cc
Set hasBeenOpened as true if currentPage > 1
...
I have seen comics opened with hasBeenOpened to false.
2018-05-25 19:28:20 +02:00
Luis Ángel San Martín
d909598732
Add missing include.
...
This fixes compilation windows debug.
2018-05-25 19:26:17 +02:00
Luis Ángel San Martín
786c28bba0
Add workaround for rating context menu crashing in macos
...
For now we will have two different versions of the rating component.
2018-05-24 19:02:01 +02:00
Luis Ángel San Martín
6faea2b5a7
Disabled minimize to system tray for now.
...
App icon needs some work to look ok in Windows 10 system tray and macos is not ready yet to fully support this.
2018-05-23 17:24:04 +02:00
Luis Ángel San Martín
a8655b1037
All lists should load the coverSizeRatio
2018-05-22 18:58:33 +02:00
Luis Ángel San Martín
450997762e
Current comic view only makes sense for folders and reading lists.
2018-05-22 18:45:12 +02:00
Luis Ángel San Martín
4be84c6845
Set TraceLevel for logging only in debug builds.
2018-05-22 18:16:55 +02:00
Luis Ángel San Martín
66d1bd1046
Merge branch 'server_2.0' into develop
2018-05-22 18:10:24 +02:00
Luis Ángel San Martín
317f2b839f
Remove setting last time opened.
...
The value should come from the client.
2018-05-21 23:14:51 +02:00
Luis Ángel San Martín
1b63dc01db
Remove comment.
2018-05-21 23:14:12 +02:00
Luis Ángel San Martín
66aa2c60c6
Fix comparison
2018-05-21 23:14:02 +02:00
Luis Ángel San Martín
8ea201ece9
Use usigned long long to fix compiler error
2018-05-21 23:13:47 +02:00
Luis Ángel San Martín
e77d613002
Update last time opened when updating reading progress from ios client.
2018-05-21 22:13:07 +02:00
Luis Ángel San Martín
38e3b40e8f
Process last time opened in sync controller
2018-05-21 22:10:53 +02:00
Luis Ángel San Martín
d6c563e881
If a comic doesn't have library and id info, then try to update the info in all the libraries.
2018-05-21 19:52:29 +02:00
Luis Ángel San Martín
6cfd09a8b8
Add method for updating reading comic information given a hash.
2018-05-21 19:51:30 +02:00
Luis Ángel San Martín
0e4ffb15a6
Fix update from remote client.
...
current page has to be set before checking for read.
2018-05-21 19:50:28 +02:00
Felix Kauselmann
15e5618454
Add a simple qml error logger to YACReaderLibrary
2018-05-21 15:16:20 +02:00
Luis Ángel San Martín
5c876e6785
Make YACReader send info for the next comic.
...
Now we can set the next comic as reading.
2018-05-20 17:43:28 +02:00
Luis Ángel San Martín
50c9238376
Only try to set the next comic as read if there is a next comic.
2018-05-20 17:42:49 +02:00
Luis Ángel San Martín
c93e86af12
Fix loading some missing fields from database
2018-05-20 15:33:11 +02:00
Luis Ángel San Martín
e405f14256
Set next comic as reading from update comic controller.
2018-05-20 14:49:32 +02:00
Luis Ángel San Martín
1503fe5383
Add method for marking a comic as reading without opening it first.
...
Usefull when closing the a comic in the last page to mark the next one and the next being readed.
2018-05-20 14:49:07 +02:00
Luis Ángel San Martín
45e44fa54f
Only set a comic as reading if it has been opened beyod the cover.
2018-05-20 14:48:08 +02:00
Luis Ángel San Martín
23823725ac
Fix how we consider a comic as being read.
...
Basically is this: it has been opened and not set as READ.
2018-05-20 14:41:55 +02:00
Luis Ángel San Martín
d3bb598a7d
Add controllers to provide comics information from reading lists and labels
2018-05-01 11:54:00 +02:00
Luis Ángel San Martín
0e45767e67
Check for comic opening failures before trying to serve a page.
2018-04-28 18:00:40 +02:00
Luis Ángel San Martín
618f6575b2
Fix error code in page controller
2018-04-28 17:57:06 +02:00
Luis Ángel San Martín
4e004f87af
Fix compilation in windows.
2018-04-27 22:40:36 +02:00
Luis Ángel San Martín
451c2ec688
Fix label content controller v2
2018-04-26 22:19:16 +02:00
Luis Ángel San Martín
b92b696458
Fix favorites controler v2
2018-04-26 22:18:56 +02:00
Luis Ángel San Martín
f3e8f1a6cd
Fix label to json
2018-04-26 22:18:25 +02:00
Luis Ángel San Martín
dc992edb55
Fix color loading for labels.
2018-04-26 22:18:12 +02:00
Luis Ángel San Martín
4deec13cff
Fix background color of the current comic list in macosx
2018-04-26 22:17:11 +02:00
Luis Ángel San Martín
505d54d8b4
Remove outdated comments.
2018-04-26 18:29:36 +02:00
Luis Ángel San Martín
e4b4f96369
Use better http status code to notify clientes about what is going on while loading comics.
2018-04-26 18:27:42 +02:00
Luis Ángel San Martín
30211233af
Use compact json in responses.
2018-04-26 18:26:44 +02:00
Luis Ángel San Martín
87b0e64b1a
Monitorize folder content controller performance in debug mode.
2018-04-26 18:24:35 +02:00
Luis Ángel San Martín
630a5c94a0
Move from session based state to client side tokens.
...
YACReaderHttpSession is still used, but it is not a http session anymore.
2018-04-25 22:20:03 +02:00
Luis Ángel San Martín
701817d76b
Update comic url to use v2.
...
This should be replaced with json and the url shouldl be built in the client side.
2018-04-25 22:17:51 +02:00
Luis Ángel San Martín
52c76d5482
Create unique database connections per thread and remove them using the database connection name from the QSqlDatabase instance being used.
2018-04-24 20:53:24 +02:00
Luis Ángel San Martín
0ff7da1d2c
boolean is not a standard c++ type
2018-04-24 16:53:47 +02:00
Luis Ángel San Martín
3cff8b59e7
Add some undefined values wrapping.
2018-04-24 16:32:21 +02:00
Luis Ángel San Martín
db66fe33f3
Merge
2018-04-24 14:44:23 +02:00
Luis Ángel San Martín
30c8cf180e
Fix loadComic not loading the comic file name.
2018-04-24 14:43:42 +02:00
Luis Ángel San Martín
0305377c28
Migrate some more controllers to json.
2018-04-24 14:42:30 +02:00
Luis Ángel San Martín
a9887a2d46
Add methods for getting json from reading lists and labels(tags)
2018-04-24 14:42:06 +02:00
Luis Ángel San Martín
a4072b956c
Merge
2018-04-23 19:26:00 +02:00
Luis Ángel San Martín
20c7ecadd4
Add new controller for requesting the "full" information for a comic.
...
For now it doesn't serve the full information, only the information shown in the current/next comic view in iOS. I will see if I create two separated controllers or just on sending all the information when more information is needed in another iOS view.
2018-04-23 19:24:56 +02:00
Luis Ángel San Martín
1f7ec3950f
ComicInfo.qml is now ComicInfoView.qml
2018-04-23 19:23:15 +02:00
Luis Ángel San Martín
f6d389ff35
Add current/next comic view to GridView.
2018-04-23 19:22:51 +02:00
Luis Ángel San Martín
b41884d5db
Merge
2018-04-14 10:24:19 +02:00
Luis Ángel San Martín
b3d4e4c11e
Include comics' hash in download information.
2018-04-14 10:02:08 +02:00
Luis Ángel San Martín
9a473ae214
Send the full cover for now. Clients will resize and cache them as needed.
2018-04-14 10:01:41 +02:00
Felix Kauselmann
39a626625d
MacOS: Replace qrencode executable with dynamically loaded libqrencode.
2018-03-30 14:40:54 +02:00
Felix Kauselmann
d9d94b103a
Fix YACReader launch on MacOS
2018-03-30 14:14:43 +02:00
Luis Ángel San Martín
9db998174f
Use an integer as num_childer in folder.
2018-03-30 10:15:49 +02:00
Luis Ángel San Martín
c1ba2fe77e
Use json in foldercontentcontoller_v2
2018-03-25 13:15:49 +02:00
Luis Ángel San Martín
c36d4501cc
Fix update remote reading query, a coma was missing.
2018-03-24 21:00:27 +01:00
Luis Ángel San Martín
2bb258df13
Load the coverSizeRatio from DB.
2018-03-24 08:20:29 +01:00
Luis Ángel San Martín
113cf341c0
Fix comic title and number json serialziation
2018-03-24 08:19:23 +01:00
Luis Ángel San Martín
1fc3c2eee7
Add title and number to comic information and fix file name field.
2018-03-22 20:11:42 +01:00
Luis Ángel San Martín
177e3ea3ba
Send the cover size ratio in the comic info json.
2018-03-13 19:08:39 +01:00
Luis Ángel San Martín
f8527b9a03
Add a new type of "look" to the import widget. It is going to be used as the "upgrading..." view while a library is being upgraded.
2018-03-12 21:43:24 +01:00
Luis Ángel San Martín
910ec62d30
Update the cover information if a different cover is selected.
2018-03-12 21:25:51 +01:00
Luis Ángel San Martín
062e8a1a8c
Fix orignalCoverSize initialization.
2018-03-12 21:25:05 +01:00
Luis Ángel San Martín
049081960f
Run the library upgrade in background.
2018-03-12 21:22:00 +01:00
Luis Ángel San Martín
d7c633cf3f
Fix data base management + include cover thumbnails scan to calculate coverSizeRatio.
2018-03-12 21:21:30 +01:00
Felix Kauselmann
827a76413b
Sanitize YACReader launch code
2018-03-11 20:13:19 +01:00
Luis Ángel San Martín
f0e1458576
Save and load the the new comic info fields in DBHelper.
2018-03-11 15:30:34 +01:00
Luis Ángel San Martín
ffd9631b72
Add original cover size to the comic_info table.
2018-03-11 15:29:01 +01:00
Luis Ángel San Martín
4c91da82a9
Fix reading comics controller
2018-03-11 15:27:50 +01:00
Luis Ángel San Martín
d7d741f87e
Fix comic to json conversion.
2018-03-11 15:26:28 +01:00
Luis Ángel San Martín
69395398e1
Partial support for storing the cover information in the DB. Work in progress.
2018-03-11 14:43:07 +01:00
Luis Ángel San Martín
0c303e6ea3
Reimplement ReadingComicsControllerV2 for serving JSON.
2018-03-11 11:29:17 +01:00
Luis Ángel San Martín
7e571c8ffe
Add a new method to serialize a comic remote information to json
2018-03-11 11:28:41 +01:00
Felix Kauselmann
6313df5407
Make BINDIR, DATADIR and LIBDIR fully configurable
2018-03-11 09:40:30 +01:00
Felix Kauselmann
e1af8fa35e
Merge develop
2018-03-10 11:49:29 +01:00
Felix Kauselmann
89ed9508ec
Replace qrencode with libqrencode (and do some code cleanup)
2018-03-10 11:22:03 +01:00
Luis Ángel San Martín
da5a4def96
Reimplement LibrariesControllerV2 for serving JSON.
2018-03-04 17:38:01 +01:00
Luis Ángel San Martín
555adc80bb
Use new separator tokens in YACReaderServerDataHelper.
2018-03-04 13:05:42 +01:00
Luis Ángel San Martín
68db72078f
Separate v1 and v2 server api classes and execution path.
2018-03-04 13:05:00 +01:00
Luis Ángel San Martín
aca67f2b2a
merged - develop
2018-03-03 23:36:29 +01:00
Luis Ángel San Martín
b14c6d4492
Merged in Anon789/yacreader-5/Anon789/yacreaderlibrary_ruts-minor-corrections--1519496099309 (pull request #67 )
...
yacreaderlibrary_ru.ts
Approved-by: Luis ?ngel San Mart?n <luisangelsm@gmail.com>
2018-03-03 14:53:33 +00:00
Luis Ángel San Martín
218742aafb
Merged in selmf/yacreader/default (pull request #64 )
...
9.0.1 fixes
2018-03-03 14:51:51 +00:00
Luis Ángel San Martín
310b9e602b
Trim comic vine api key to avoid problems with white spaces.
2018-02-26 14:51:38 +01:00
Anon789
bbeb6256a7
Translation into Russian is completed by 100% In the future there will be only correction of errors, inaccuracies of translation and other improvements in appearance.
2018-02-25 16:02:41 +00:00
Anon789
4f779f7e22
yacreaderlibrary_ru.ts
...
Minor corrections in Russian translation.
2018-02-24 18:15:09 +00:00
Felix Kauselmann
3654b6b527
Backed out changeset 84d6af62bc15, restore previously removed QProcess improvements for launching YACReader
2018-02-20 16:31:06 +01:00
Felix Kauselmann
251dede93d
Remove obsolete QGLWidget based cover flow
2018-02-19 14:36:58 +01:00
Felix Kauselmann
e6c4e92e01
YACReaderLibrary: Activate and rise window on tray icon clicks
2018-02-19 13:54:12 +01:00
Anon789
5a5563a234
Correction in the text, other inaccuracies in the translation, update of the Russian language. This version of translation now looks much better than the last one.
2018-02-19 12:10:29 +00:00
Felix Kauselmann
09c8125f87
Merge default branch
2018-02-18 17:17:14 +01:00
Felix Kauselmann
fc454a81a3
Fix builds with CONFIG+=no_opengl
2018-02-18 15:02:51 +01:00
Luis Ángel San Martín
2a136e3ea3
Merge - 9.0.0 release
2018-02-18 10:35:24 +01:00
Felix Kauselmann
1815ba64a1
YACReaderLibrary: Add a tray icon
2018-02-17 13:40:04 +01:00
Anon789
d3c8bd9349
Update russian translation.
2018-02-17 05:33:27 +00:00
Felix Kauselmann
9103ee0c0c
YACReaderLibrary: Add a barebone commandline parser
2018-02-16 15:26:33 +01:00
Luis Ángel San Martín
870b99d0a9
Update translation files.
2018-02-15 19:32:24 +01:00
Felix Kauselmann
f9ed9b19b5
Code cleanup for main.cpp files
...
Remove ancient OS detection code, unneeded includes and ugly workarounds.
2018-02-12 22:30:19 +01:00
Felix Kauselmann
2cbbf8d433
Headless server: simplify system config logger
2018-01-28 13:32:56 +01:00
apollo2k4
f2a356fc70
Update russian translation. Need to subtract and to bring the terminology to a common denominator
2018-01-08 16:32:56 +00:00
Felix Kauselmann
184cd43257
Set application icons for X11 based systems
2018-01-03 20:20:51 +01:00
Felix Kauselmann
1c232b0549
Merged luisangelsm/yacreader/develop into develop
2017-12-11 11:00:52 +01:00
Luis Ángel San Martín
e8c6f60c13
Merge
2017-11-26 07:39:08 +01:00
Felix Kauselmann
3f1b1f620b
Fix typo in icon path
2017-11-21 11:45:10 +01:00
Felix Kauselmann
28a6939a01
svg icons for Linux
2017-11-21 11:01:31 +01:00
Luis Ángel San Martín
a90528e579
Comic updates from a local client have to be processed in the main thread so the UI gets updated inmediatly.
2017-11-20 21:44:00 +01:00
Luis Ángel San Martín
b60c0e523c
Fix sorting in siblings calculation, it is the name (file name) not the title.
2017-11-20 21:38:07 +01:00
Luis Ángel San Martín
d5f167b670
Don't set the window icon, let windows use the app icon.
2017-11-20 21:37:26 +01:00
Luis Ángel San Martín
31ba1275d3
Update app icons for YACReader and YACReaderLibrary in Windows.
2017-11-20 19:43:48 +01:00
Luis Ángel San Martín
455509f2b8
Merged in selmf/yacreader/develop (pull request #56 )
...
Fixes for Qt 5.3 and Haiku
2017-11-19 09:10:46 +00:00
Luis Ángel San Martín
5c268217d3
Fix read flag calculation on progress read updated from the server.
2017-11-19 10:03:40 +01:00
Felix Kauselmann
c69499246d
Backed out changeset 2a88239c2640 (don't change critical stuff during a beta phase)
2017-11-14 18:05:17 +01:00
Felix Kauselmann
97cfff3ef2
QProcess: always use proper process arguments when opening YACReader from the library
2017-11-12 12:08:22 +01:00
Felix Kauselmann
caf53f0442
Fix spelling errors reported by stevepusser
2017-11-11 08:55:16 +01:00
Felix Kauselmann
6ccc78558f
Remove unneeded es.qm files.
2017-11-06 13:11:33 +01:00
Felix Kauselmann
2c914d6579
Support Haiku OS specific libs and compile flags in the build system.
2017-11-03 08:15:46 +01:00
Luis Ángel San Martín
8c4f167fb0
Merged in selmf/yacreader/develop (pull request #55 )
...
Buildsystem tweaks
Approved-by: Luis ?ngel San Mart?n <luisangelsm@gmail.com>
2017-10-24 16:31:54 +00:00
Felix Kauselmann
af59672204
Buildsystem: add folders for 64bit build and improve dependencies detection.
2017-10-21 21:49:00 +02:00
Luis Ángel San Martín
02e7caf5c5
Bug fix. Updates through the server didn't update the read field in the DB.
2017-10-20 17:42:25 +02:00
Luis Ángel San Martín
a1b37eb9cb
Fixed comic file path hidden by local declaration in macos. This fixes the comic not found error message.
2017-10-03 18:52:14 +02:00
Luis Ángel San Martín
82ad89b39e
Fixed typo.
2017-10-03 10:20:58 +02:00
Luis Ángel San Martín
980b92a27f
Fixed add label, begin/end insert rows used to fail in this case, probably it was a qt bug, not it works as intended.
2017-09-29 22:53:29 +02:00
Luis Ángel San Martín
9dc4c7a753
Updated translation resources files.
2017-09-29 11:51:04 +02:00
Felix Kauselmann
958003f52f
Fix problems with missing safety checks in Render::fillBuffer and pdfcomic
2017-09-27 22:00:00 +02:00
Luis Ángel San Martín
4d4556f7e2
Removed usage of QSqlRecoerd unless is totally necessary.
2017-08-28 19:02:18 +02:00
Luis Ángel San Martín
9ed1f0f306
Merge
2017-08-28 18:52:24 +02:00
Luis Ángel San Martín
1e74234dbf
Fixed data base info retrieving through DBHelper - values(QString) and QSqlRecord. Methods implemented before the fixes in the develop branch.
2017-08-26 17:03:18 +02:00
Luis Ángel San Martín
f149f314e0
Merge
2017-08-26 16:54:10 +02:00
Luis Ángel San Martín
8b20014cc8
Fixed data base info retrieving in ReadingListModel.
2017-08-26 16:17:54 +02:00
Luis Ángel San Martín
f5fda9b530
Fixed db Fixed data base info retrieving in FolderModel.
2017-08-26 16:17:17 +02:00
Luis Ángel San Martín
6de499e566
Fixed db Fixed data base info retrieving in ComicModel.
2017-08-26 16:16:54 +02:00
Luis Ángel San Martín
d6898e9a4e
Fixed data base info retrieving through DBHelper, value(QString)
should never be used because it is really slow. All items sorting should be done at db level or using std::sort.
2017-08-26 16:16:11 +02:00
Luis Ángel San Martín
f0d350a827
Use the new controllers.
2017-05-26 17:32:05 +02:00
Luis Ángel San Martín
d08740e32d
Added new server controller for providing the content of a reading list.
2017-05-26 17:29:28 +02:00
Luis Ángel San Martín
ac03d61f7d
Fixed TagsController.
2017-05-26 17:28:09 +02:00
Luis Ángel San Martín
6373d3660b
Implemented ReadingListsController.
2017-05-26 17:27:46 +02:00
Luis Ángel San Martín
85fba7e8f5
Added new methods for getting reading lists and comics in a reading list. Fixed DBHelper for not using GUI related classes (reading_list_item).
2017-05-26 17:27:08 +02:00
Luis Ángel San Martín
d20277736d
Added model classes for reading lists and labels.
2017-05-26 17:24:56 +02:00
Luis Ángel San Martín
6a6f983115
Merge
2017-05-25 18:04:29 +02:00
Luis Ángel San Martín
921f6654a2
Added QMAKE_TARGET_BUNDLE_PREFIX to .pro files.
2017-05-23 15:46:29 +02:00
Felix Kauselmann
b202ce0648
Merged develop into mac_build
2017-04-25 11:45:32 +02:00
Luis Ángel San Martín
d6582c05c3
Fixed osx compilation.
2017-04-24 22:18:47 +02:00
Luis Ángel San Martín
290e19aa4b
Added missing info view images for light theme.
2017-04-24 22:04:06 +02:00
Luis Ángel San Martín
689a782d5a
Enabled light theme for info views in osx.
2017-04-24 21:53:55 +02:00
Luis Ángel San Martín
22971c330c
Added info mode icon for osx
2017-04-24 21:52:52 +02:00
Felix Kauselmann
c537583365
Move pdf backend integration logic to seperate .pri file
2017-04-15 18:40:39 +02:00
Luis Ángel San Martín
1459ebb261
Fixed path encoding used for opening PDF files with pdfium.
2017-03-28 22:18:07 +02:00
Luis Ángel San Martín
c700f54673
Merged in selmf/yacreader/pdfium-win (pull request #48 )
...
Pdfium win
2017-03-28 19:45:18 +00:00
Luis Ángel San Martín
c1375abc90
Updated the default comic vine end point base URL. They have switched to SSL https://comicvine.gamespot.com/forums/api-developers-2334/notice-ssl-is-coming-be-ready-to-accept-ssl-video--1861940/#1
2017-03-28 19:01:13 +02:00
Luis Ángel San Martín
0f9396ea9e
Commented performance measuring code from folder content controller.
2017-03-28 18:44:52 +02:00
Luis Ángel San Martín
169c6c16dd
Fixed reading comics web controller.
2017-03-28 18:43:59 +02:00
Luis Ángel San Martín
30982be0a9
Updated the comic model for getting the reading comics properly sorted. //TODO This should be using the method in the DBHelper.
2017-03-28 18:43:15 +02:00
Luis Ángel San Martín
e2a8d520a9
Update the new lastTimeOpened value in the DB when it is needed in the DBHelper. Plus updated the getReading method for ordering the comics by the last time they were opened (descending order).
2017-03-28 18:42:25 +02:00
Luis Ángel San Martín
3a5415c335
Add new field to the comic info table in the DB and updated the migration process.
2017-03-28 18:39:59 +02:00
Felix Kauselmann
372531083c
Use dynamic pdfium library for linux builds. Keep static library parameters as comments for potential later usage.
2017-03-10 10:08:30 +01:00
Luis Ángel San Martín
6d23989a96
Fixed slot warning at startup
2017-02-18 09:17:37 +01:00
Luis Ángel San Martín
dfb6082294
merged
2017-02-18 08:26:53 +01:00
Felix Kauselmann
625b0967e5
add 64bit build support for pdfium on windows
2017-02-14 12:09:27 +01:00
Felix Kauselmann
d5f09872a4
Fix compilation with pdfium on windows
2017-02-05 16:41:11 +01:00
Felix Kauselmann
e452cc9a6d
Add qmake support for pdfium on windows
2017-02-04 16:15:57 +01:00
Luis Ángel San Martín
835a072e23
Usability fixes to Comic View scraper, now the dialog can be resized and once a volume is selected all the comics in that volume are fetched, so no more problems trying to scrap info for large numbers of comics.
2017-01-14 14:58:42 +01:00
Luis Ángel San Martín
27f9bff91b
Added tooltip to folder items in the folders' treeview, it will show the complete name of the folder, usefull when the name is clipped by the parent view, plus the number of children in that folder. Only the number of subfolders can be known when the tooltip is decorated
2017-01-13 20:05:56 +01:00
Luis Ángel San Martín
206365f027
Fixed .pro for working with the latest OS X development tools.
2017-01-13 19:00:23 +01:00
Luis Ángel San Martín
b1b91d5013
Merged in selmf/yacreader/pdf_refactoring (pull request #46 )
...
Compilation problem will be fixed once merged :(
Pdf refactoring
2017-01-13 18:54:09 +01:00
Luis Ángel San Martín
75502caa43
merged default
2016-12-12 21:27:59 +01:00
Felix Kauselmann
c48df74d53
Move headless stuff to YACReaderLibrarServer directory.
2016-11-27 15:15:14 +01:00
Felix Kauselmann
cea9933cc2
Cosmetic changes to make pdf flags look nicer in the .pro files
2016-11-23 22:09:34 +01:00
Felix Kauselmann
01218de82c
Add no_pdf config options to all builds
2016-11-22 19:41:00 +01:00
Felix Kauselmann
595ceecb62
Add cleanup function to mac pdf image buffer
2016-11-22 18:23:40 +01:00
Felix Kauselmann
46d06f441a
merge current develop branch
2016-11-06 16:01:29 +01:00
Luis Ángel San Martín
7598cafd5d
New quick navitation mode option for go to flow.
2016-10-30 09:52:03 +01:00
Luis Ángel San Martín
6d4ce1eabd
Added new regexps for matching requests related to reading lists.
2016-10-30 09:16:53 +01:00
Luis Ángel San Martín
42a16a273b
Added new class for serving a list of reading lists, service is not implemented yet.
2016-10-30 09:16:28 +01:00
Luis Ángel San Martín
ff4befb60e
Removed extraneous semicolon.
2016-10-30 09:15:16 +01:00
Felix Kauselmann
464a3b6649
Add no_pdf build option
2016-10-21 22:21:32 +02:00
Felix Kauselmann
ac6f96ab05
Add define for pdfkit support on mac to .pro files
2016-10-18 00:56:05 +02:00
Felix Kauselmann
c74934c822
Add support for pdfium
2016-10-18 00:48:56 +02:00
Felix Kauselmann
f05ac77fc2
Always include pdf_comic.h
2016-10-17 22:49:38 +02:00