- 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
- __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
- 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
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
- 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
- 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
- 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