Commit Graph

2601 Commits

Author SHA1 Message Date
lxnay 955514a672 Entropy/Spritz:
- Package Unmask dialog: make sure to only enable valid treeview elements and filter out garbage like parent categories


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2929 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 17:02:49 +00:00
lxnay b7d763ec82 Entropy/Spritz:
- fix Undo Remove feature, should work as expected now


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2928 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 16:56:14 +00:00
lxnay 3f912a1b42 Entropy/*:
- do not use mapping objects in function arguments but default them to None and use isinstance instead. Mapping objects can be really b*stards

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2927 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 16:55:47 +00:00
lxnay 26aa683cf6 Entropy/Spritz:
- move the exception window to its own dialogs.py class
- make every Spritz-based app to use ExceptionDialog directly to reduce code duplication
- remove gtkEventThread since it's not needed anymore
- fix traceback string reported by Spritz, which was a bit confusing


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2926 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 15:13:06 +00:00
lxnay d3580c2ab9 Entropy/Equo:
- always destroy EquoInterface when required at the end of the processing


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2925 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 15:10:36 +00:00
lxnay 11df5aa314 Entropy/SecurityInterface:
- generate advisories cache on every new fetch if xcache is enabled
Entropy/EntropyCacher:
- fine tune while loops


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2924 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 15:10:01 +00:00
lxnay f75ae7e975 Entropy/dumpTools: improve module speed by pre-allocating global variables
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2923 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 15:08:45 +00:00
lxnay ccea15cbe1 Entropy/Spritz:
- when aborting the queue processing, do not tell the user that there's been an error, PEBKAC is always behind the corner


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2922 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 13:13:29 +00:00
lxnay c660b43ae7 Entropy/TODO:
- update TODO
Entropy/LogFile:
- standardize time stamp in log files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2921 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 13:05:36 +00:00
lxnay 3c76a90f17 Entropy/Spritz:
- in confirmation dialogs and queue view, show packages marked for removal at the top


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2920 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 11:15:16 +00:00
lxnay bb3f7cf44d Entropy/Spritz:
- Queue tab: add Clean button to reset the current package queue
- improve package search speed (string.find is ways faster)
- enable list search in the Advisories tab


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2919 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-17 09:26:17 +00:00
lxnay f002fbd6dc Entropy/Spritz:
- remove regular exceptions from package search and use simple string matching instead, average users will appreciate


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2918 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 21:38:04 +00:00
lxnay 66972dd778 Entropy/entropyTools:
- lifobuffer: improve reliability

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2917 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 21:14:20 +00:00
lxnay e0eda1afbd Entropy/Spritz:
- improve reliability when dealing with repository changes, always clear all caches and queues


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2916 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 21:09:52 +00:00
lxnay 02f2b17bba Entropy/EquoInterface:
- reorder __init__ calls to avoid possible dumpTools lock under certain circumstances
Entropy/EntropyCacher:
- improve reliability
Entropy/entropyTools/lifobuffer:
- improve reliability


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2915 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 20:23:40 +00:00
lxnay 8af814a0ae Entropy/Spritz:
- implement settings validator map, to avoid loading invalid settings from the xml file


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2914 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 20:19:29 +00:00
lxnay ca700989f1 Entropy/Spritz:
- when saving preferences to config file, trap IOError and OSError exceptions and return the error message back for further handling (in this case, a simple okDialog call)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2913 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 16:26:32 +00:00
lxnay 13d2fea80b Entropy/translations:
- sync translations


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2912 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 15:52:08 +00:00
lxnay 582eab8eae Entropy/TODO:
- update TODO
Entropy/entropyConstants:
- remove conflicting_tagged_packages from etpConst and move to a 'per-repo' config file
Entropy/SystemSettings:
- handle new conflicting tagged packages file per-repo
Entropy/RepoInterface:
- when syncing the repo, download the new conflicting tagged packages file
Entropy/ServerInterface:
- handle the new conflicting tagged packages file (upload/download)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2911 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 15:36:54 +00:00
lxnay 83b5030e40 Entropy/ServerInterface:
- when checking if a repository is valid, spawn openServerDatabase with is_new = True


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2910 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 13:50:50 +00:00
lxnay 141241a1ec Entropy/SystemSettings:
- before bugging the Entropy client database on scan() check if it's valid and initialized


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2909 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 13:45:01 +00:00
lxnay 2f7c6b8e94 Entropy/TODO:
- update TODO
Entropy/PackageSettings class:
- rename to SystemSettings
- add filesystem directories and its mask parsers
Entropy/*:
- rename PackageSettings to SystemSettings
Entropy/SystemSettings:
- improve parsers code and speed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2908 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 13:40:41 +00:00
lxnay 5f102d28c8 Entropy/Spritz:
- add entropy-repo-manager split executable and desktop file


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2907 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 13:37:04 +00:00
lxnay 6764c067e3 Entropy/conf:
- move etpConst filesystem info settings to config files


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2906 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-16 12:17:07 +00:00
lxnay 4b03355003 Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2905 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-15 17:31:22 +00:00
lxnay 5fcbef3115 Entropy/EquoInterface:
- generate_dependency_tree: added support for PDEPENDs, which will be sorted correctly now, after the package itself
Entropy/EntropyDatabaseInterface:
- new method retrievePostDependencies, useful to retrieve PDEPENDs


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2904 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-15 17:31:06 +00:00
lxnay fa51b1576c Entropy/Reagent/Community Repos/ServerInterface:
- implement server-side database backup and restore tool
Entropy/EquoInterface:
- list_backedup_client_databases: add client_dbdir parameter


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2903 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-15 10:46:55 +00:00
lxnay ce069e52a3 Entropy/translations:
- sync translations


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2902 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 23:54:23 +00:00
lxnay aa307fe4b8 Entropy/Spritz:
- implement package sets add/removal feature
- InputDialog: implement ListStore/TreeView for EquoInterface.inputBox()
Entropy/TODO:
- update TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2901 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 22:39:39 +00:00
lxnay 7c1623dfc9 Entropy/EquoInterface:
- remove_user_package_set, add_user_package_set: also return a message description of the action taken


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2900 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 22:38:20 +00:00
lxnay b7a6c7abb4 Entropy/Spritz:
- improve package sets support
- update code to reflect API changes in EquoInterface on packageSetMatch


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2899 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 15:32:20 +00:00
lxnay de6d8e7aac Entropy/Spritz:
- elaborateUndoremove: verify that dep_tree dict contains a 0 key before popping it out


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2898 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 15:31:28 +00:00
lxnay 854595f6cf Entropy/EquoInterface:
- new method add_user_package_set
- new method remove_user_package_set
- change API on packageSetMatch


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2897 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-14 15:30:35 +00:00
lxnay 93d8e990b1 Entropy/Spritz:
- 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
2009-01-14 12:41:53 +00:00
lxnay 927e10b652 Entropy/EquoInterface:
- 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
2009-01-14 12:36:44 +00:00
lxnay adac2e6dbf Entropy/EquoInterface:
- 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
2009-01-13 11:05:44 +00:00
lxnay 595488824f Entropy/Spritz:
- fix 'review for install' button style


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2893 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-13 10:53:16 +00:00
lxnay f5c18873fa Entropy/Equo:
- when restoring a database backup, check if the choice selected by the users is valid


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2892 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-13 10:49:36 +00:00
lxnay 78bb31fed8 Entropy/Equo:
- do not use text_configuration module but load EquoInterface instead when caching on exit
- small syntax updates


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2891 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-13 10:47:13 +00:00
lxnay 91bee1c1c7 Entropy/EquoInterface:
- some code style updates
- fix packageSetMatch for repository-based package sets


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2890 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-12 08:51:05 +00:00
lxnay bb1da44206 Entropy/Spritz:
- make package sets menu popping up correctly


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2889 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-12 08:49:04 +00:00
lxnay 189daebd37 Entropy/translations:
- update Catalan


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2888 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-12 08:48:21 +00:00
lxnay 9912dee8c8 Entropy/translations:
- final sync


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2887 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-12 08:47:35 +00:00
lxnay f5fb4a768a Entropy/entropyConstants:
- 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
2009-01-11 21:27:32 +00:00
lxnay 30ed52ccc7 Entropy:
- move etpConst['packagemaskingreasons'] to EquoInterface.PackageSettings dict
- add reverse dict in EquoInterface.PackageSettings to standardize the package masking identifiers


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2885 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-11 10:30:56 +00:00
rogerc 5452d87beb update ca.po
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2884 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-11 10:06:50 +00:00
lxnay d70fca2121 Entropy/Spritz:
- 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
2009-01-11 00:03:56 +00:00
lxnay 7de3b90137 Entropy/EquoInterface:
- libraries_test: return dict as first tuple element if ldconfig is not found


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2882 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-11 00:01:16 +00:00
lxnay 8775fb28b8 Entropy:
- 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
2009-01-10 22:38:18 +00:00
lxnay 9d3277e00a Entropy:
- when using EntropyCacher, always try to pass it a shadow copy of the object


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2880 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 23:43:29 +00:00