Commit graph

292 commits

Author SHA1 Message Date
7caa2d6956 Add missing (and needed) functions 2015-08-23 17:26:17 +02:00
9a3fd3819f Basic infrastructure for test tools to check that things are working 2015-08-23 15:31:18 +02:00
f088eb6948 Adapt build system to the newer files + libdanbooru version bump 2015-08-23 14:29:47 +02:00
5b25ad3e93 Merge branch 'master' into multiple_apis 2015-08-23 12:06:15 +02:00
2abc76e311 Make the file save dialog async
Too often I got hangs because of the nested event loop started by
exec(): therefore everything is moved to a QPointer-guarded QFileDialog
pointer which is then used asynchronously.
2015-08-23 12:04:52 +02:00
e998ad6882 Add missing methods to the Konachan API 2015-08-23 00:58:28 +02:00
f2ffeb8cc2 Re-enable debug for Konachan 2015-08-23 00:31:48 +02:00
ba79760a4b Merge branch 'master' into multiple_apis 2015-08-23 00:16:43 +02:00
bff3d33fc3 Don't detach and create temporary QLists when there's no need 2015-08-23 00:16:03 +02:00
22eeb0757d WIP: implementations of Konachan / yande.re posts 2015-08-23 00:15:23 +02:00
e3f8e5ff31 Add the right constructor for the service base class 2015-08-22 20:03:01 +02:00
08498f5ee2 WIP, Konachan API implementation 2015-08-22 20:02:17 +02:00
0c18e639a9 Implement all common methods 2015-08-22 18:21:50 +02:00
4547000491 Adjust virtual / non virtual for some methods 2015-08-22 18:21:28 +02:00
6fa8e1ae9e Document all APIs and reorganize methods for easier understanding 2015-08-22 17:58:43 +02:00
4c332d26b3 Revert "Remove files added by mistake in the wrong branch"
Those actually belong to this branch.

This reverts commit e6bb528074.
2015-08-22 16:37:42 +02:00
177e1d67ff Add a design document for multiple API support 2015-08-20 18:13:55 +02:00
b8cbb456ef libdanbooru is not a public library 2015-08-20 17:54:05 +02:00
bfe706968c Use the so-called "reverse DNS" notation for .desktop files 2015-08-20 17:41:43 +02:00
7cf61f60d4 Get rid of the syntax error 2015-08-12 16:13:12 +02:00
e6bb528074 Remove files added by mistake in the wrong branch 2015-08-11 22:39:26 +02:00
daf3e753d5 Use a static QFileDialog again
This allows setting the proper directory *without* pointing somewhere non-existent.
At the same time, the default is changed to the user's picture folder.
2015-08-11 22:38:23 +02:00
e764ba2c9d Merge branch 'master' into multiple_apis 2015-08-10 17:09:52 +02:00
b5153b00b1 Show a label when no posts are found 2015-08-10 12:42:17 +02:00
c740558ca4 Support pressing Return to search all posts
Add a placeholder text and a tool tip to clarify this.
2015-08-10 12:41:35 +02:00
4550f54f32 Return gracefully if posts are not found
This fixes the spinner going on forever when non-existent tags are added.
2015-08-10 12:40:55 +02:00
ef46a379a0 Fix typo in .desktop file 2015-05-31 17:07:05 +02:00
9b438c9edc Supported operations for various APIs 2015-05-31 17:06:02 +02:00
c3fc3ac6bf Merge branch 'master' into multiple_apis 2015-03-22 00:33:30 +01:00
f8986f5256 Add TODO 2015-03-22 00:33:13 +01:00
615e594e39 Initial experimental work for multiple Danbooru APIs 2015-03-22 00:32:48 +01:00
18e49e8388 Minor formatting changes 2015-03-21 23:28:41 +01:00
2a7f9a79d7 Minor changes to formatting 2015-03-21 23:10:57 +01:00
d965371d23 Use kdelibs coding style 2015-03-21 23:05:57 +01:00
0084798a2c Port to categorized logging 2015-03-20 00:15:04 +01:00
4021ccaf23 Add explicit dependency on Ki18n 2015-03-20 00:14:28 +01:00
341c51365f Prevent invalid characters to be used in save file names 2015-03-14 12:28:57 +01:00
ea84089687 Snap view to row 2015-03-02 07:48:14 +01:00
9c97711cd8 Use the default highlight range value
This prevents the view from "jumping" from side to side.
2015-03-01 23:54:58 +01:00
e5c4658e6b Use signals instead of touching the indicator directly 2015-03-01 23:52:37 +01:00
2ed24cf2d7 Don't spam stuff when we are loading the preview 2015-03-01 23:42:57 +01:00
1dbe2dcec1 Less verbose 2015-03-01 23:42:29 +01:00
c937f7707a Display tags when image is zoomed out
Next: try to display image info when one is clicked.
2015-03-01 23:17:10 +01:00
b97ef73677 Hook in the new pool page feature
I still need to fix the conflict between the pool and the post page...
2015-03-01 22:38:01 +01:00
feded2bdf3 Allow getting pool pages as well as posts
Currently this clashes, meaning that there will be problems if you get
pools and then posts...
2015-03-01 22:34:14 +01:00
786c8d1f44 Add Esc key support, but it's not working
I need to figure out why
2015-02-26 21:24:50 +01:00
29bcd516d7 Preview images by double-clicking them 2015-02-26 21:21:46 +01:00
74e3208549 Add a basic display of images when double clicked 2015-02-26 00:21:51 +01:00
adb33895fa Expose the sampleUrl to the model 2015-02-26 00:21:19 +01:00
a11bc79309 Add a sampleUrl function to get back the sample url of an image
The sample url is a mid-scaled version of the image, used for
previewing.
2015-02-26 00:20:21 +01:00