Commit Graph

9487 Commits

Author SHA1 Message Date
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
Fabio Erculiani d75ce83086 [entropy.db] restructure indexes
This commits improves the sqlite3 db indexes used optimizing them
both in terms of quantity (dropping duplicate indexes) and in terms
of quality (add missing indexes)
2012-07-27 13:26:18 +02:00
Fabio Erculiani 12efc718c0 [entropy.db] add whitespaces, remove trailing whitespaces 2012-07-26 23:07:01 +02:00
Fabio Erculiani c8178b3cd6 [entropy.db] kill more >80 columns rows 2012-07-26 23:05:41 +02:00
Fabio Erculiani 492ace12e8 [entropy.db] drop isPackageScopeAvailable(), unused 2012-07-26 22:57:09 +02:00
Fabio Erculiani 6b95cecfdb [entropy.db] uniform _createCompileFlagsIndex to others (catch OperationalError) 2012-07-26 22:05:05 +02:00
Fabio Erculiani 1de32aba7d [entropy.db] kill >80 columns rows 2012-07-26 22:04:34 +02:00
Fabio Erculiani 90458f80b6 [entropy.client.services,Rigo] add support for the new get_documents() WS API
The new WebService get_documents() is more efficient in terms of
server resources consumption since it doesn't force the WS engine
to calculate the full result set length, which had little use anyway
in Rigo.
This commit switches entropy.client.services' DocumentList to and
reverse dependencies to use the new WS API. The older WS API will be
kept alive for a while (6 months, roughly).
2012-07-25 22:30:38 +02:00
Fabio Erculiani 57535a32da [scripts] update tag-version.sh, provide tag to script 2012-07-23 19:27:56 +02:00
Fabio Erculiani 75e7fd7213 Tagging Entropy version 1.0_rc127 1.0_rc127 2012-07-23 19:23:14 +02:00
Fabio Erculiani 4b5c06177f Release Entropy 1.0_rc127 2012-07-23 19:23:12 +02:00
Fabio Erculiani 254c866702 [Rigo] update translations 2012-07-23 19:22:53 +02:00