Commit Graph

9498 Commits

Author SHA1 Message Date
Fabio Erculiani eee8beeaf6 [todo] update TODO 2012-08-01 22:40:42 +02:00
Fabio Erculiani 11d013094e [entropy.client] use bytestring when dealing with the os module functions
In Python 2.x, the os module only works with bytestring. Using unicode
with it causes errors with multibyte characters (test pkgs: aspell-es,
aspell-pt) resulting in leftover files when removing package content.
2012-08-01 22:37:55 +02:00
Fabio Erculiani c803b94533 [entropy.client] generate items_installed with unicode objects, not bytestring 2012-08-01 22:37:25 +02:00
Fabio Erculiani 0eec9cd4e9 [entropy.client] file_items_installed Set is no longer used, remove 2012-08-01 22:34:21 +02:00
Fabio Erculiani cf86ca664d [entropy.client.trigger] call environment_update() whenever ENV_DIRS have been touched 2012-08-01 18:48:12 +02:00
Fabio Erculiani 9c563f4bd6 [entropy.spm] expose the ENV_DIRS class variable, bump API 2012-08-01 18:47:45 +02:00
Fabio Erculiani 5338dc313e Tagging Entropy version 1.0_rc129 1.0_rc129 2012-07-31 19:37:36 +02:00
Fabio Erculiani d08a02cf71 Release Entropy 1.0_rc129 2012-07-31 19:37:35 +02:00
Fabio Erculiani 2136dab0bb [Rigo] update rigo.pot 2012-07-31 19:37:01 +02:00
Fabio Erculiani 2ddd3b4d0f [Rigo] implement a Bottom NotificationBox "Activity" button
This Button allows users to see the current Application management
queue by leveraging the new RigoDaemon API.
2012-07-31 19:35:35 +02:00
Fabio Erculiani 9859dc2e67 [equo] fix "equo repo <cmd> <args>" parsing 2012-07-31 18:19:41 +02:00
Fabio Erculiani b5b8d25297 [RigoDaemon] add support for Action Queue "introspection" (in a MVCC way)
The new action_queue_items() is able to return the internal
Action Queue status without blocking while returning a consistent
state. This method will be used by Rigo to list the Action Queue
activity on the bottom notification box.
2012-07-31 16:35:38 +02:00
Fabio Erculiani b35c01dda8 [client] update entropy.pot 2012-07-31 11:00:59 +02:00
Fabio Erculiani 3c57ec70c3 [entropy.client.interfaces.trigger] make "SPM" string translatable 2012-07-31 11:00:19 +02:00
Fabio Erculiani 88844b3cb5 [Rigo] enable fallback search only when in:installed and Set search are not triggered 2012-07-31 10:27:41 +02:00
Fabio Erculiani 7d5eb11c0c [Rigo] make "in:installed" queries case insensitive 2012-07-31 10:25:03 +02:00
Fabio Erculiani 62eef2d5d8 [Rigo] add "in:installed [<search arg 1> ...]" search key support 2012-07-31 10:20:59 +02:00
Fabio Erculiani d6d1e047ae [Rigo] add custom drive-harddisk icon 2012-07-31 09:27:01 +02:00
Fabio Erculiani 4fd54651c5 [Rigo] rename all the magic search keywords from "rigo:" to "in:" 2012-07-31 09:26:38 +02:00
Fabio Erculiani ad8574024b [Rigo] update rigo.pot 2012-07-31 09:23:42 +02:00
Fabio Erculiani f460cd2922 [Rigo] implement "Show Installed Applications" Preference object 2012-07-31 09:22:57 +02:00
Fabio Erculiani b1e3a27696 [Rigo] add "rigo:installed" magic search keyword that shows all the installed Apps 2012-07-31 09:11:39 +02:00
Fabio Erculiani 7aee5d56a1 [Rigo] correct indentation 2012-07-31 09:08:04 +02:00
Fabio Erculiani 8b8938116b Revert "[entropy.db] drop isPackageScopeAvailable(), unused"
This reverts commit 492ace12e8.
2012-07-30 22:19:05 +02:00
Fabio Erculiani 54a0093221 Tagging Entropy version 1.0_rc128 1.0_rc128 2012-07-28 20:24:36 +02:00
Fabio Erculiani a43c399901 Release Entropy 1.0_rc128 2012-07-28 20:24:35 +02:00
Fabio Erculiani 2bdddef33e [entropy.client] speedup dependencies_test() with a bit of memoization 2012-07-28 20:01:56 +02:00
Fabio Erculiani 10bf68d6ee [entropy.server] _deps_tester: use memoization with dependency strings 2012-07-28 19:54:38 +02:00
Fabio Erculiani 1977decccd [entropy.client.package] reduce memory consumption by writing "content_safety" to disk 2012-07-28 19:45:36 +02:00
Fabio Erculiani 89e7fcf949 [entropy.db] add "get_content_safety" keyword argument to getPackageData() 2012-07-28 19:38:59 +02:00
Fabio Erculiani 044365876b [entropy.db] add EntropyRepository.retrieveContentSafetyIter() 2012-07-28 18:07:46 +02:00
Fabio Erculiani 79b3e129f5 [entropy.client] reduce the memory footprint greatly when installing big packages
This commit introduces a file-based iterator that can be used for
storing package file content objects. For packages like kernel
sources, the actual memory consumption caused by holding the whole
metadata in memory was quite big and not really nice wrt memory
constrained systems (ARM?).
This commit handles most (retrieveContentSafety() is also a friend
of malloc()) of the memory hogs activities.
2012-07-28 17:05:32 +02:00
Fabio Erculiani ed5b2640ea [entropy.db] always commit() uncommitted transactions after _setSetting() 2012-07-28 16:37:42 +02:00
Fabio Erculiani 192bb79230 [entropy.db] always force unicode() on _setSettings() arguments
It looks like the "INSERT OR REPLACE" doesn't work when row elements
are non-unicode. It seems to be the "OR REPLACE" clause that is
flawed.
The outcome was that values didn't really get updated and a transaction
was left uncommitted. This commit fixes the unicode part of the
problem though.
2012-07-28 16:35:52 +02:00
Fabio Erculiani 5ece150aea [entropy.db] add "extended" keyword argument to contentDiff() 2012-07-28 15:32:45 +02:00
Fabio Erculiani 8f4b58b449 [entropy.db] EntropyRepository.retrieveContentIter: add reverse keyword argument 2012-07-28 10:48:52 +02:00
Fabio Erculiani 7058db3f0a [entropy.client] simplify content_file Trigger code by passing pre-made metadata 2012-07-28 10:40:29 +02:00
Fabio Erculiani 251d1afca3 [entropy.tools] use less memory when calling uncompress_tarball with huge tarballs 2012-07-28 10:14:20 +02:00
Fabio Erculiani 9c06a380f5 [entropy.client] use retrieveContentIter during Package install 2012-07-27 23:26:19 +02:00
Fabio Erculiani abb9e515ad [tests] fix EntropyCacher test 2012-07-27 22:30:07 +02:00
Fabio Erculiani 9e819f8083 [entropy.db] EntropyRepository: when migrating to the new schema, drop _doesColumnInTableExist cache 2012-07-27 22:21:56 +02:00
Fabio Erculiani df89b672f0 [Equo] make sure to always call Package.kill() 2012-07-27 21:38:24 +02:00
Fabio Erculiani e432a1c9f0 [RigoDaemon] make sure to always call Package.kill() 2012-07-27 21:37:48 +02:00
Fabio Erculiani a116bb7a92 [entropy.db] EntropyRepository.insertContent: improve memory consumption with iterators 2012-07-27 20:38:38 +02:00
Fabio Erculiani 8e5a062755 [entropy.db] reduce contentDiff() memory footprint by using retrieveContentIter() 2012-07-27 19:37:34 +02:00
Fabio Erculiani a8d01a482f [entropy.client.package] reduce installed_repository() calls 2012-07-27 17:36:34 +02:00
Fabio Erculiani ead457ef8d [entropy.qa] use retrieveContentIter() where possible 2012-07-27 17:05:35 +02:00
Fabio Erculiani 59aaafd3c3 [entropy.db] extend retrieveContentIter() docstring with important info 2012-07-27 16:34:43 +02:00
Fabio Erculiani 58912834eb [repo] ignore test scripts in lib/ 2012-07-27 16:34:27 +02:00
Fabio Erculiani 137e145d2d [equo] use EntropyRepository.retrieveContentIter() where possible 2012-07-27 16:32:56 +02:00