Commit Graph

2574 Commits

Author SHA1 Message Date
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
lxnay c53824ebd9 Entropy/dumpTools:
- also catch RuntimeError exceptions on dumpobj


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2879 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 23:42:56 +00:00
lxnay f45b8f8e16 Entropy/deptest:
- check if packages proposed for install can be updated

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2878 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 23:42:13 +00:00
lxnay 16cc327185 Entropy/Spritz:
- more debugging info on the queue processor


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2877 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 23:41:32 +00:00
lxnay 23e75cb12c Entropy/Spritz:
- libtest, initial implementation, more tomorrow

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2876 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 22:48:13 +00:00
lxnay 2ffb634db2 Entropy/Spritz:
- implement deptest feature
- stub implementation of libtest


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2875 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 22:45:52 +00:00
lxnay d06bd54864 Entropy/TODO:
- reorganize TODO list


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2874 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 22:45:24 +00:00
lxnay e5e0d6cc10 Entropy/dumpTools:
- 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
2009-01-08 22:42:56 +00:00
lxnay 77fcacda83 Entropy/Equo:
- deptest: improve reliability and dependencies match


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2872 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 22:40:50 +00:00
lxnay 9da61a6251 Entropy/translations:
- syncing translations


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2871 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 21:56:57 +00:00
lxnay e407217e37 Entropy/Notification Applet:
- change config file name
Entropy/TODO:
- updated TODO


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2870 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 20:13:43 +00:00
lxnay 272f80ee08 Entropy/Spritz:
- allow colors customization


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2869 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-08 20:02:43 +00:00
lxnay 4bf5d1d093 Entropy/entropyTools:
- 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
2009-01-08 15:56:43 +00:00
lxnay 5f72a95146 Entropy/ServerInterface:
- 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
2009-01-08 15:56:09 +00:00
lxnay 050370b0ee Entropy/Spritz:
- 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
2009-01-08 14:18:31 +00:00
lxnay 6124bcf10a Entropy/EquoInterface:
- atomMatch: some misc syntax adjustments
Entropy/RepoInterface:
- fix database download when Entropy API = 1


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2863 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-07 20:15:08 +00:00
lxnay d0ff5ba4a9 Entropy/EntropyDatabaseInterface:
- 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
2009-01-06 19:31:26 +00:00
lxnay 9a19a9f69c Entropy/TODO:
- update TODO
Entropy/Equo/Reagent/Activator:
- add short options (-p,-a,-v,-q,-pavq)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2861 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 19:24:25 +00:00
lxnay ecf484f529 Entropy/EquoInterface:
- retrieveInstallQueue: if treepackages doesn't contain 0 as key, return empty list


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2860 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 19:23:30 +00:00
lxnay 1eda423bd7 Entropy/EntropyCacher:
- introduce new cache management class, featuring async writes
Entropy/EquoInterface:
- make EquoInterface using EntropyCacher, gaining 15% more speed on non-cached atomMatch calls
- improve destroyer (destroy())
- atomMatch: reorganize cache hashing
Entropy/FileUpdatesInterface:
- improve scanfs method syntax
- improve load_cache reliability
Entropy/SecurityInterface:
- __set_advisories_cache: make it a public method (set_advisories_cache)
Entropy/ServerInterface:
- implement destroyer (destroy())
- ensure_paths: check if repository is in etpConst['server_repositories'] before spawning
Entropy/EntropyDatabaseInterface:
- fetchSearchCache: improve speed
- storeSearchCache: improve speed
- atomMatchFetchCache: improve speed
- atomMatchStoreCache: improve speed


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2859 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:56:27 +00:00
lxnay 98ed3fdc07 Entropy/entropyTools:
- TimeScheduled: add set_delay method
- TimeScheduled: remove try/except from do_delay, no longer needed
- lifobuffer: improve speed, add method clear and make it multithreading aware


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2858 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:48:56 +00:00
lxnay 357b2fe754 Entropy/outputTools:
- use SystemExit instead of sys.exit()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2857 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:47:06 +00:00
lxnay 36136c3a72 Entropy/Equo:
- use SystemExit instead of sys.exit()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2856 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:43:35 +00:00
lxnay 384cb91025 Entropy/Reagent:
- use SystemExit instead of sys.exit()
Entropy/Activator:
- use SystemExit instead of sys.exit()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2855 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:43:09 +00:00
lxnay e968c54eb6 Entropy/Spritz:
- spritz python executable: use SystemExit instead of sys.exit()


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2854 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-06 18:42:28 +00:00
lxnay b8e601c483 Entropy/Spritz:
- 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
2009-01-06 18:41:57 +00:00
lxnay 6ac41432c2 Entropy/EntropyDatabaseInterface:
- insertDependencies(): improve speed
- insertPackageSets(): improve reliability


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2852 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-05 22:25:11 +00:00
lxnay f083b686ca Entropy/EntropyDatabaseInterface:
- make insertPackageSets method working
- improve speed of listBranchPackagesTbz2


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2851 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-05 22:16:03 +00:00