- add SpritzApplication argument to EntropyPackageView __init__
- spawnUgcUpdate: filter out SystemExit exceptions
- addPackages: improve speed, avoid to trash cache on every call
- preliminary implementation of the package re-masking feature
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2896 cd1c1023-2f26-0410-ae45-c471fc1f0318
- is_match_unmasked_by_user, is_match_masked_by_user: change returning result and check if match passed is valid
- mask_match: remove EntropyCacher sync from the function, move it to clear_dump_cache
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2895 cd1c1023-2f26-0410-ae45-c471fc1f0318
- properly initialize EntropyCacher during EquoInterface.__init__ to avoid entering in a cache cleanup loop that causes it to be always cleared up
Entropy/EntropyCacher:
- add async argument to the push method to choose if to write the cache directly to disk or queue it into the CacheBuffer
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2894 cd1c1023-2f26-0410-ae45-c471fc1f0318
- move cache files extension string to etpConst
- fix the Entropy code accordingly
Entropy/EntropyCacher:
- add sync method to force a cache flush
- implement a thread lock to be thread-safe
Entropy/EquoInterface:
- fix a bug with cache cleaning after masking/unmasking packages
- scan PackageSettings at every instance load to ensure proper settings reads
- get_masked_packages_tree: some speed improvements
- is_match_masked_by_user: new method, makes easy to check if a package has been masked by the user
- is_match_unmasked_by_user: same as above, new method
- mask_match, unmask_match: rewrite the management of package masking and make possible to mask a package from the interface too (only unmask was previously implemented)
- mask_match, unmask_match: make possible to mask/unmask by key + slot coupling (app-foo/foo:2)
Entropy/EntropyDatabaseInterface:
- improve speed of idpackageValidator child methods
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2886 cd1c1023-2f26-0410-ae45-c471fc1f0318
- fix possible hangs when output string is longer than the maximum terminal width
- create common method gtkLoop to be used as GUI refresher
- improve add_atoms_to_queue speed and add matches parameter to provide already matched packages directly
- implement deptest and libtest features
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2883 cd1c1023-2f26-0410-ae45-c471fc1f0318
- when removing items from sets, use their discard()
Entropy/EquoInterface:
- libraries_test: add an abort hook
- clear_dump_cache: catch OSError exceptions on os.remove
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2881 cd1c1023-2f26-0410-ae45-c471fc1f0318
- loadobj: since we are multithreaded, a file can be removed between the availability check and the open() call, so, trap IOError and why not, also OSError exceptions
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2873 cd1c1023-2f26-0410-ae45-c471fc1f0318
- add two new methods to convert dictionaries to XML and vice versa: xml_from_dict_extended, dict_from_xml_extended
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2868 cd1c1023-2f26-0410-ae45-c471fc1f0318
- openServerDatabase: add is_new parameter to allow skipping critical checks for new databases
Entropy/EquoInterface:
- list_repo_packages_in_category: return list instead of set
Entropy/EntropyDatabaseInterface:
- searchPackagesByCategory: improve code syntax
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2867 cd1c1023-2f26-0410-ae45-c471fc1f0318
- move all the colors variable to SpritzConf
- improve speed on the per-category packages view and enable rubber banding
- other misc changes to improve speed
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2866 cd1c1023-2f26-0410-ae45-c471fc1f0318
- createCountersTable: do not drop table
- retrievePackageSets: if packagesets table is not available, return {}
- databaseStructureUpdates: - re-add counters and packagesets table check
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2862 cd1c1023-2f26-0410-ae45-c471fc1f0318
- remove killThreads, no longer needed thanks to SystemExit exceptions
- make rubber banding and package actions menu working the right way(TM)
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2853 cd1c1023-2f26-0410-ae45-c471fc1f0318