Commit Graph

3141 Commits

Author SHA1 Message Date
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
lxnay
9a7243351b Entropy/ServerInterface:
- add parameter dbconn to update_database_package_sets


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2850 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-05 21:38:12 +00:00
lxnay
cb5f2a8bbb Entropy/EntropyDatabaseInterface:
- addPackageToInstalledTable(): code style update
- insertPackageSets(): do not use an iter function


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2849 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-05 21:22:33 +00:00
lxnay
031045bca5 Entropy/EntropyDatabaseInterface:
- improve insertPackageSets


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2848 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-05 21:04:47 +00:00
lxnay
315453ef4c Entropy/Spritz:
- fix rubber banding feature


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2847 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-05 15:07:43 +00:00
lxnay
b6341b436c Entropy/PortageInterface:
- fix package sets retrieval


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2846 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-04 22:56:05 +00:00
lxnay
4162925768 Entropy/PortageInterface:
- fix package sets retrieval


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2845 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-04 22:51:17 +00:00
lxnay
684f0da008 Entropy/translations:
- update Spanish translation
- update Italian translation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2844 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-04 21:07:04 +00:00
lxnay
bf90788585 Entropy/translations:
- sync and update,
svn ci -m Entropy/translations:

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2843 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-04 14:10:57 +00:00
lxnay
d4b919f1fa Entropy/TODO:
- update TODO
Entropy/EntropyDatabaseInterface:
- new method retrieveUnusedIdpackages
Entropy/EquoInterface:
- new method unused_packages_test(), self explanatory
Entropy/Equo:
- new command 'unusedpackages', useful to search unused dependencies/packages


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2842 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-04 14:10:08 +00:00
lxnay
f876e7909e Entropy/PackageInterface:
- __move_image_to_system: consider systemroot when generating my_remove_content


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2840 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-03 22:03:53 +00:00
lxnay
30661a5ae6 Entropy/PackageInterface:
- __move_image_to_system(): improve reliability of items_installed generation by forcing elements to their real path

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2838 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-03 21:50:40 +00:00
lxnay
d872ecedf1 Entropy/PackageInterface:
- fix differential packages removal when files are moved to a symlinked subdir to another while the real path is the same
- other speed improvements
Entropy/misc:
- misc syntax improvements


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2836 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-03 21:37:19 +00:00
lxnay
a3f3f01c67 Entropy/matchContainer: bye bye class
Entropy/EquoInterface:
- get_package_action(): improve speed
- get_masked_packages_tree(): improve speed and reliability
- generate_dependency_tree(): improve speed
- _lookup_inverse_dependencies(): improve speed through caching
- get_required_packages(): slightly improve speed
- retrieveInstallQueue(): disable some useless output if quiet == True
Entropy/PackageInterface:
- use database method getVersioningData in __generate_install_metadata()
Entropy/ServerInterface:
- revert undefined symbols check on libtest since there can be a LOT of false positive
Entropy/EntropyDatabaseInterface:
- searchKeySlot(): split key and change SQL to improve speed by 15 times


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2833 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-02 21:57:13 +00:00
lxnay
4b4a2a668f Entropy/Spritz:
- improve speed on calls involving queue add/remove methods


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2832 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-02 21:34:11 +00:00
lxnay
9ba980b877 Entropy/translations:
- sync template and translations


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2831 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-02 16:53:41 +00:00
lxnay
074bd3d9aa Entropy/entropyTools:
- some optimizations to the elf metadata reading/parsing functions
- new function read_elf_broken_symbols
Entropy/QAInterface:
- libraries_test: implement broken symbols check, optional
Entropy/ServerInterface:
- always enable broken symbols check on libtest


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2830 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-02 13:10:57 +00:00
lxnay
79a6e17d06 Entropy/Spritz:
- always lock main window when showing a wait window

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2829 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-02 13:09:32 +00:00
lxnay
562b4c4bb9 Entropy/Spritz:
- lock UI components during queue processing
- tweak urlFetcher a bit


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2828 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-01 20:48:11 +00:00
lxnay
7aad9d8494 Entropy/Spritz:
- urlFetcher: do not flood the X server (through GTK) with gazillions of redraws


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2827 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-01 17:38:42 +00:00
lxnay
7634165d50 Entropy/Spritz:
- do not corrupt the package queue when saving it through the relative button
- catch processPackageQueue exceptions if in debug mode
- fix set_subLabel() markups handling


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2826 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-01 17:37:40 +00:00
lxnay
dbb61f4cef Entropy/Spritz:
- every time we enter the queue add/remove functions show a nice please wait dialog


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2825 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-01 17:32:40 +00:00
lxnay
19f9ed6274 Entropy/TriggerInterface:
- fix subprocess.call function call


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2824 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-01 17:31:32 +00:00
lxnay
ff606ff438 Entropy/entropyTools:
- bye bye old uncompressTarBz2 function


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2823 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-01 17:31:10 +00:00
lxnay
b23d900424 Entropy/EquoInterface:
- move __del__ calls to a new destroy method and call it inside __del__


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2822 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-01 10:36:14 +00:00
lxnay
674c59fd2e Entropy/LogFile:
- improve code quality
Entropy/EquoInterface:
- close clientLog file on object deletion


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2821 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-01-01 08:44:09 +00:00
lxnay
5789467a93 Entropy/l10n:
- update translations
- sync translations
- update NL translation


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2820 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-31 17:42:31 +00:00
lxnay
93176ad2ca Entropy/entropyTools:
- applicationLockCheck: raise SystemExit exception instead of sys.exit
Entropy/EquoInterface:
- changed dependencies calculation results, always pull in updated dependencies, deep_deps now works with revisions, disabled 'needed' check
Entropy/entropyConstants:
- fix a small bug in const_setupEntropyPid: that caused to report entropy as locked if entropy.pid is found but empty


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2819 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-31 08:33:18 +00:00
lxnay
4bf56a99c3 Entropy/TODO:
- update TODO
Entropy/entropyConstants:
- say goodbye to etpRSSMessages
- other cosmetical fixes
Entropy/EquoInterface:
- close LogFile instance's file on instance delete
- wipe os.system() calls
- rewrite get_meant_packages() to use SOUNDEX features of SQLITE3
- replace old and slow filterSatisfiedDependencies with get_unsatisfied_dependencies, which is faster and more reliable (added NEEDED check by default)
- improve speed of generate_dependency_tree
- improve speed of get_required_packages
- fix get_world_update_cache_hash()
- improve speed of retrieveInstallQueue
- make __unpack_package reporting the right error on uncompressTarBz2 if this crashes
- remove Python 2.4/2.5 workarounds since they are not needed anymore, being entropyTools.uncompressTarBz2 fixed forever (handling UTF-8 filenames correctly)
- adjust __move_image_to_system for the changes above
- __move_image_to_system, if an error is caught on shutil.move, do not crash but report it to user instead
Entropy/TriggerInterface:
- replace os.system() with subprocess.call()
- remove unused nspluginwrapper trigger
Entropy/ErrorReportInterface:
- add locale output
- get the full content of ps auxf, not just the first 80 chars
- update handler accordingly (handlers/)
Entropy/LogFile:
- close log file on object deletion
Entropy:
- import subprocess by default
Entropy/EntropyDatabaseInterface:
- remove etpRSSMessages and use a ServerInterface variable instead
- add new method getVersioningData, useful to speed up other Entropy areas
- improving speed of other functions adding more one-liners conditionals
- add new method retrieveNeededRaw, useful to speed up other Entropy areas
- improve speed of retrieveDependenciesList, everything can be done at SQL level
- new method searchSimilarPackages that uses SOUNDEX to retrieve similar package/atom names
- improve speed of listAllCategories
- shrink databaseStructureUpdates
- remove old and dusted method
- improve speed of doDatabaseImport
- improve speed of database_checksum
- group multiple .cursor.execute using .cursor.executescript
- improve speed of __filterSlotTagUse
Entropy/entropyTools:
- improve speed and reliability of uncompressTarBz2


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2818 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-30 18:43:16 +00:00
lxnay
4466907e2b Entropy/conf:
- disable files backup by default


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2817 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-30 09:37:24 +00:00
lxnay
3588f90e10 Entropy/EntropyDatabaseInterface:
- remove updatePackage: not needed anymore
- improve handlePackage execution speed
- improve addPackage execution speed
- improve removePackage execution speed (dropping backward compat with ancient databases)
- move rss handling to their own functions
- improve speed of regenerateDependsTable
- add method addDependsRelationToDependsTable
- add method clearDependsTable
- improve isDependsTableSane reliability
- reduce length of removeDependencyFromDependsTable
- improve speed and reliability of clearCache
- improve speed of insertContent by using map()
- update retrieve_packages_to_remove
Entropy/PackageInterface:
- improve speed of _install_package_into_database
Entropy/EquoInterface:
- optimize get_world_update_cache_hash
- optimize get_available_packages_chash


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2816 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-22 21:29:29 +00:00
lxnay
20632c7e27 Entropy/entropyConstants:
- add dependstable to the SQL db generation string


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2815 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-22 21:23:03 +00:00
lxnay
7df9cb7379 Entropy/Spritz:
- improve packages treeview population speed by optimizing objects retrieval functions (15% faster)


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2814 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-22 21:22:22 +00:00
lxnay
9dc8cb7a80 Entropy/client:
- re-add kdmrc to configprotectskip


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2813 cd1c1023-2f26-0410-ae45-c471fc1f0318
2008-12-22 21:20:36 +00:00