windows
zip: https://github.com/hydrusnetwork/hydrus/releases/download/v198/Hydrus.Network.198.-.Windows.-.Extract.only.zip
exe: https://github.com/hydrusnetwork/hydrus/releases/download/v198/Hydrus.Network.198.-.Windows.-.Installer.exe
os x
app: https://github.com/hydrusnetwork/hydrus/releases/download/v198/Hydrus.Network.198.-.OS.X.-.App.dmg
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v198/Hydrus.Network.198.-.OS.X.-.Extract.only.tar.gz
linux
tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v198/Hydrus.Network.198.-.Linux.-.Executable.tar.gz
source
tar.gz: https://github.com/hydrusnetwork/hydrus/archive/v198.tar.gz
I had a good week. I added IPFS directory downloads and sped up file search result generation.
IPFS directories
If the IPFS downloader receives a directory multihash, it now asks IPFS for the full nested directory listing and throws that up on a new checkbox tree dialog. You select the files and folders you want to download, hit ok, and the IPFS downloader should attempt to get them all.
The new tree dialog is something new, and I do not know if it renders well on all platforms, so let me know if you have any problems. The overall workflow of this is also fairly rough–I expect I might eventually move this to a traditional queued download page, to support resumes, retries and better error reporting and so on.
The last thing I would like to do to round off 'IPFS plugin v1.0' is adding directory upload. Assuming I can figure out a nice way to do it, preferably with the API at port 5001, then I assume that will be done in the next few weeks.
faster file search results
One particular query inside file search result generation (where it says '256 of 2,000 files…' in the status bar) had become incredibly slow. I am not sure when it got so bad, nor exactly what the problem was (the sqlite query optimiser reported no problems, as far as I understand it), but I have slightly reworded it and the lag has disappeared. On my dev machine, the query went from taking 2.5 seconds per 256 files to 9 milliseconds! Anyone with a lot of tags will see a similar boost in speed when loading files or opening the manage tags dialog, which happens to use the same routine.
full list
- ipfs download now parses directory multihashes
- ipfs directory trees are thrown up on a new checkbox tree dialog for selection/filtering
- created a new download_urls (i.e. multiple urls in one popup) popup call, which the new ipfs directory downloader uses
- improved a very inefficient line of sql in the mappings fetch stage of query result building that was also used in the manage tags dialog. on my dev machine, fetching 256 files' mappings dropped from 2.5s to 9ms!
- regular gallery pages and 'page of images' pages now have a 'paste input' button to mass-add newline-separated queries from the clipboard
- fixed a typo in new txt_tags import folder code
- fixed bad autocomplete predicate sorting
- fixed some sibling autocomplete search_text matching logic
- some byte-based value/range presentation will now correctly convert to bytes, rather than regular decimal numbers
- improved linesep splitting code across the program
- fixed get/setlabel calls across the program to get/setlabeltext, so ampersand characters are handled properly
- wrote an 'all known files' autocomplete cache db and prepped a bunch of code for it–it should be easy to finish next week
- added a new regex practise link to the regex dialogs
- os x app release should display better on retina displays
- misc cleanup
next week
I wrote most of the 'all known files' autocomplete cache this week, so I will polish that off and then focus on some smaller stuff, which has been piling up.