Commit Graph

9514 Commits

Author SHA1 Message Date
Fabio Erculiani
4a77fd59dd [entropy.client.methods] fix typos in docstring 2012-08-03 14:17:58 +02:00
Fabio Erculiani
5a24d2c174 [entropy.fetchers] make possible to override the default timeout 2012-08-03 14:15:42 +02:00
Fabio Erculiani
a7358e63eb [entropy.client.methods] split internal add/remove repository functions 2012-08-03 13:50:11 +02:00
Fabio Erculiani
76e045d7b6 [entropy.client.methods] add "commit" keyword arg to reorder_mirrors() 2012-08-03 13:28:27 +02:00
Fabio Erculiani
da334ec92e [Rigo] always convert dbus.Int and dbus.String into native Python object types 2012-08-03 06:30:05 +02:00
Fabio Erculiani
b98e219bcb [kernel-switcher] migrate to argparse 2012-08-02 20:56:11 +02:00
Fabio Erculiani
1c7ec96ed9 [kernel-switcher] add --from-running switch support
If this switch is provided, kernel-switcher tries to look for
reverse dependencies of the currently running kernel (uname -r)
during the selection of external package modules that require to
be installed for the new kernel.
2012-08-02 20:15:00 +02:00
Fabio Erculiani
f6ccf316e3 [Rigo] speedup recent searches ListStore (using a set()) and avoid duplicates 2012-08-02 12:30:53 +02:00
Fabio Erculiani
429c1f6be5 [Rigo] set a custom window title for each Rigo View SM State 2012-08-02 12:18:53 +02:00
Fabio Erculiani
57021922ed [Rigo] s:transactions:transitions 2012-08-02 12:09:43 +02:00
Fabio Erculiani
c6829f479a [Rigo] enable (eventually) the search entry text completion 2012-08-02 12:01:46 +02:00
Fabio Erculiani
0683d9d38c [Rigo] rework special search keywords, make them more intuitive 2012-08-02 11:58:43 +02:00
Fabio Erculiani
d0c367ba88 [Rigo] rewrite special search functions lookup using a hash table 2012-08-02 11:47:14 +02:00
Fabio Erculiani
eb71741246 [entropy.client.package] remove tmp_file_content in the finally statement
Doing so in the Exception "handler" code messes up the traceback
information useful for debugging other possible issues.
2012-08-02 00:36:19 +02:00
Fabio Erculiani
5042023481 Tagging Entropy version 1.0_rc130 1.0_rc130 2012-08-01 22:41:09 +02:00
Fabio Erculiani
8dc597c19d Release Entropy 1.0_rc130 2012-08-01 22:41:09 +02:00
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