Version 284
windows
zip
exe
os x
app
tar.gz
linux
tar.gz
source
tar.gz
I had a great week. There are a bunch of different fixes and improvements, and one new thing for advanced users to play with.
subscription fixes
I fixed the 'new-queries-initialising-as-dead' issue! As well as fixing the problem for the future, any queries you have that died due to this will be reattempted.
Subscriptions now also consume bandwidth on a per-query basis, so subs with a lot of queries won't get throttled so easily.
misc stuff
The thumbnail 'select' menu now lists the number of files to be selected for the simpler selection types. This is small, but it is neat for inbox/archive.
Import folders will now catch if you put in an invalid path in the dialog, and they'll let you know if you try to manually run them while import folders are globally paused.
The weird issue where drag and drop events were sometimes not working if dropped on the top-left area of the main gui window is also fixed!
I added an experimental 'thumbnail fill' mode under options->gui. This takes the existing thumb and zooms it until it fills the whole thumbnail 'window'. It looks ugly at the moment due to the zoom (rather than generating larger clipped thumbnails), but it gives a decent idea of how thumbs appear under this fit style. If you are interested in this stuff, give it a go and let me know what you think. I am open to adding good options for this with higher quality thumbnails sometime in the future, but I suspect 100% fill is not desirable, and that we really want a compromise for extreme cases so that very tall or wide images produce thumbs that fill say 75% of the available space.
url class
This is only for advanced users who are interested in the new parsing system.
After making several small tools for the new parsing system, I now have a first version of a medium-sized tool--the 'url class'. This object defines a type of URL, like 'gelbooru post url', and how the client can recognise them. It will be used in the final downloader engine to connect URLs to appropriate parsers.
It can also do URL 'normalisation', which will let the client strip off redundant URL data and hence collapse URL dupes. For instance, e621 and some other boorus put user-managed metadata in the URL, which means the file post URL can change from time to time (and result in the client downloading it again, thinking it could be a new file). For example, the URLMatch can collapse this:
https://e621.net/post/show/1389870/-absurd_res-ambiguous_gender-bow-cheek_tuft-clothe
Down to this:
https://e621.net/post/show/1389870
Which is still valid!
I have thrown together a simple listctrl in the services->manage network rules dialog to hold a list of these for now. It doesn't do anything except editing atm. I expect to add a larger layer of options here to handle misc settings like 'show/hide these urls on the media viewer' and some stuff for retroactively collapsing duplicates at the db level, but please do play with this stuff and let me know if there are any types of URL this object cannot handle and normalise.
I also made some Hentai Foundry url classes as an example--just hit the button on the dialog to load them and see how it all works. If you need any more help, please send me a message or grab me on the discord.
full list
fixed subscription queries turning dead on the initial sync
all dead subscription queries have been set to check again in case they can revive
added query file velocity to edit subscription panel
subscription network contexts now reflect the new multiple subscription query system, and are named "sub_name: query_text". as every query now counts as its own separate subscription network context, this will stop query-heavy subscriptions from throttling so much on bandwidth limits
finished URLMatch object, which matches and normalises URLs into certain 'classes' like 'gelbooru post url'
expanded some URLMatch subdomain options
fixed some test logic in URLMatch
finished the last of the EditURLMatchPanel
split the 'manage network rules' dialog into two panels--it now has a 'url classes' tab
wrote a panel for managing url matches
added export/import/duplicate buttons to EditURLMatchesPanel
wrote some URLMatches for hentai-foundry as an initial test of the system and added a temp button to add them--please check them out to see how it all works
all, invert, inbox, and archive (and none, lol) thumbnail 'select' menu items now have counts
invert is now at the bottom
the thumbnail select menu now has local/remote entries if applicable (this typically is only true in 'all known files' file domain)
added png/clipboard export/import/duplicate code to the generic new listctrl button wrapper panel, which will save a bunch of time as the png/clipboard sharing system expands
added a human-facing serialisable name to all objects on the new serialisation system and tied the new import/export code into it for png presentation
the edit import folder dialog will now complain (but not veto) on an ok event if any of the entered paths do not exist
if you attempt to manually run an import folder while import folders are globally paused, you'll get a little popup telling you so
added an experimental 'thumbnail fill' setting to options->gui. it zooms the existing thumbnails so they fill the whole thumb space. feedback on this from those who would be interested in a prettier system would be appreciated
added 'paste tags' buttons to filename tagging options panel
the paths/urls in the file import cache are now their own object that holds the creation/modified/source times and current status and note. this object can also hold prospective urls, tags, and hashes for future use
a bunch of file import actions are faster
all the different importers now use this new file import object
fixed a screen position calculation in the new drag and drop filtering code that was accidentally including too many possible drop candidates on drops in the top-left corner of the main gui (if you had trouble moving tabs to the left, this should be it fixed!)
fixed a problem display volume/chapter/page tags that included unicode characters in thumbnail banners and media viewers
fixed a rare media display bug in the dupe filter
fixed some 'C++ part of panel has been deleted' bugs in review services if the frame is shut down before delayed db info is fetched
cleaned up some more 'C++ deleted' errors in import files selection dialog
fixed the network context custom header panel 'add' action, which wasn't saving the value of the panel
fixed a bunch of bugs in the newish QueueListBox class
SynchroniseRepositories daemon will be better about quitting early on application shutdown
cleaned up some pending pretty timestamp grammar
when the client cannot clean up a temporary file, it will print more error information
added pylzma to the 'running from source' library recommendations. this is not required, but if available it adds ZWS flash support
next week
Domain manager stuff to handle these new url classes, and maybe some parsing engine improvements.
0 notes