Skip to content

Commit

Permalink
Version 154
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrusnetwork committed Apr 22, 2015
1 parent 7f0b82e commit 7e2e215
Show file tree
Hide file tree
Showing 81 changed files with 3,070 additions and 13,627 deletions.
2,308 changes: 0 additions & 2,308 deletions help/Database Diagrams - Old.svg

This file was deleted.

3,107 changes: 0 additions & 3,107 deletions help/Database Diagrams.svg

This file was deleted.

Binary file removed help/account_registration.png
Binary file not shown.
53 changes: 53 additions & 0 deletions help/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,59 @@
<div class="content">
<h3>changelog</h3>
<ul>
<li><h3>version 154</h3></li>
<ul>
<li>managed to completely break my linux and os x dev environments trying to update python--their release will come soon, once I've cleaned them up</li>
<li>removed some old cv code</li>
<li>updated to opencv 2.4.11 on windows</li>
<li>fixed a bug in trying to upload a small number of tag petitions</li>
<li>hover command buttons are now shrunk to exact fit size</li>
<li>added zoom buttons to command button hover window</li>
<li>added navigation buttons to command button hover window</li>
<li>added fullscreen switch button to command button hover window</li>
<li>added archive/inbox button to command button hover window</li>
<li>added delete button to command button hover window</li>
<li>added generic close window button to command button hover window</li>
<li>added tooltips to all the command buttons</li>
<li>cleaned some misc canvas code</li>
<li>hover windows now fit better, without overlap</li>
<li>moved media info strings to top of media canvas, so they hide behind hover header</li>
<li>hover windows will now not cover webms or gifs when the mouse is over the media container</li>
<li>hover command buttons now work for inbox filter, including back/skip buttons</li>
<li>inbox/archive button feels and works correctly for the inbox filter</li>
<li>updated manage options dialog's 'default file system predicates' mess to use the new cleaner predicate panels</li>
<li>all file system predicate defaults have been reset to default</li>
<li>added system:num_pixels to file system predicates default panel</li>
<li>fixed the system:num_pixels predicate being broken on options save</li>
<li>removed the ratings system predicates from file system predicates default panel</li>
<li>fixed misc system predicate bugs</li>
<li>moved yaml->json conversion forward:</li>
<li>settled on object code</li>
<li>added built-in compression to serialisation</li>
<li>added db tables and access code to support it</li>
<li>fixed a little layout mess in the edit custom filter action dialog</li>
<li>created a rich 'shortcuts' class for storing shortcut->action information that can be easily expanded to handle mouse events as well</li>
<li>new shortcuts class works on new json storage rather than yaml</li>
<li>moved custom filter shortcut action storage and general handling to new shortcuts object</li>
<li>moved old favourite_shortcuts tests to new code</li>
<li>cleaned a lot of the custom filter dialog code</li>
<li>rewrote the custom filter setup dialog to work more like other dialogs--now all changes are saved on ok, and save/save as/delete is replaced with add/delete</li>
<li>auto-creation of 'previous' shortcuts is removed, as all changes are saved to shortcut sets anyway</li>
<li>removed the ratings filters--the numerical filter may make a return in another form, your thoughts would be appreciated</li>
<li>fixed a cache counting bug when archiving redundant files during import</li>
<li>sped up file deletion a little bit</li>
<li>added an inbox cache to reduce laggy inbox checking, particularly search result fetching on dbs with large inboxes</li>
<li>fixed subscriptions that have no initial file limit, please reset your sub url caches to fix in these cases</li>
<li>did a lot of server/client database merging and refactoring</li>
<li>improved some database error handling</li>
<li>fixed an error in file repository superbans</li>
<li>optimised some critical db code</li>
<li>sped up tag censorship filtering</li>
<li>added a db profiling mode, accessed from the help menu, that will dump copious db profiling info to the log</li>
<li>misc code cleaning</li>
<li>improved some popup mesage print sync timing</li>
<li>rewrote some server auto-setup code to deal with slowly-starting server</li>
</ul>
<li><h3>version 153</h3></li>
<ul>
<li>cut out some out of date stuff from help</li>
Expand Down
Binary file removed help/client_autism.png
Binary file not shown.
Binary file removed help/client_autism_small.png
Binary file not shown.
Binary file removed help/client_auto.png
Binary file not shown.
Binary file removed help/client_auto_small.png
Binary file not shown.
Binary file removed help/client_database_diagram.dia
Binary file not shown.
Binary file removed help/client_database_diagram.dia~
Binary file not shown.
Binary file removed help/client_database_diagram.png
Binary file not shown.
Binary file removed help/client_empty.png
Binary file not shown.
Binary file removed help/client_empty_small.png
Binary file not shown.
Binary file removed help/client_fullscreen.png
Binary file not shown.
Binary file removed help/client_fullscreen_small.png
Binary file not shown.
16 changes: 0 additions & 16 deletions help/db_diagrams.html

This file was deleted.

Binary file removed help/example_lib.png
Binary file not shown.
50 changes: 0 additions & 50 deletions help/future.html

This file was deleted.

Binary file removed help/lib_gc.png
Binary file not shown.
Binary file removed help/lib_gc_small.png
Binary file not shown.
Binary file removed help/lib_party_hard.png
Binary file not shown.
Binary file removed help/lib_party_hard_small.png
Binary file not shown.
Binary file removed help/lib_rec.png
Binary file not shown.
Binary file removed help/lib_rec_small.png
Binary file not shown.
33 changes: 0 additions & 33 deletions help/linux.html

This file was deleted.

20 changes: 0 additions & 20 deletions help/registration_keys.html

This file was deleted.

2 changes: 1 addition & 1 deletion help/running_from_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h3>what you will need</h3>
<p>YMMV. Feel free to email me if you run into trouble or discover any neat tricks.</p>
<p>OS X 10.9 requires a similar pattern to above, though wx is simpler. I use the cocoa package <a href="http://wxpython.org/download.php#osx">straight from wxPython's site</a>. One user reports that this worked for 10.7:</p>
<p><ul>
<li>sudo pip install beautifulsoup4 pyyaml python-potr hsaudiotag PyPDF2 flvlib pafy numpy pil lxml lz4</li>
<li>sudo pip install beautifulsoup4 pyyaml python-potr hsaudiotag PyPDF2 twisted flvlib pafy numpy Pillow lxml lz4</li>
<li>brew tap homebrew/homebrew-science</li>
<li>brew install opencv</li>
<li>export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH</li>
Expand Down
Binary file removed help/server_database_diagram.dia
Binary file not shown.
Binary file removed help/server_database_diagram.dia~
Binary file not shown.
Binary file removed help/server_database_diagram.png
Binary file not shown.
Binary file removed help/tag_example_five_star.png
Binary file not shown.
Binary file removed help/tag_example_five_star_small.png
Binary file not shown.
15 changes: 5 additions & 10 deletions include/ClientController.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,19 +501,10 @@ def THREADDoFileQuery( self, query_key, search_context ):

media_results = []

i = 0

base = 256

while i < len( query_hash_ids ):
for sub_query_hash_ids in HydrusData.SplitListIntoChunks( query_hash_ids, 256 ):

if query_key.IsCancelled(): return

if i == 0: ( last_i, i ) = ( 0, base )
else: ( last_i, i ) = ( i, i + base )

sub_query_hash_ids = query_hash_ids[ last_i : i ]

more_media_results = self.Read( 'media_results_from_ids', service_key, sub_query_hash_ids )

media_results.extend( more_media_results )
Expand Down Expand Up @@ -548,6 +539,8 @@ def THREADBootEverything( self ):
except HydrusExceptions.PermissionException as e: pass
except:

traceback.print_exc()

text = 'A serious error occured while trying to start the program. Its traceback has been written to client.log.'

print( text )
Expand Down Expand Up @@ -582,6 +575,8 @@ def THREADExitEverything( self ):
except HydrusExceptions.PermissionException as e: pass
except:

traceback.print_exc()

text = 'A serious error occured while trying to exit the program. Its traceback has been written to client.log. You may need to quit the program from task manager.'

print( text )
Expand Down
Loading

0 comments on commit 7e2e215

Please sign in to comment.