Commit Graph

386 Commits

Author SHA1 Message Date
Fabio Erculiani
20c4a55984 [Rigo] fixup Application View rendering when window is maximized 2013-02-06 07:44:33 +00:00
Fabio Erculiani
d339fc8208 [Rigo] make possible to disable the updates notification box 2013-02-06 07:44:32 +00:00
Fabio Erculiani
c2c6c51703 [Rigo] fix Application View rendering when window is maximized 2013-02-06 07:44:32 +00:00
Fabio Erculiani
2839e9c03d [Rigo] change startup view to Groups 2013-01-27 10:41:34 +00:00
Fabio Erculiani
cd71308eb8 [Rigo] fixup TreeView initialization that could lead to race condition in calculating widget size 2013-01-24 22:12:15 +00:00
Fabio Erculiani
321eb030c5 [Rigo] GenericTreeView: fixup row height calculation during TV initialization 2013-01-24 00:39:07 +00:00
Fabio Erculiani
18d89599de [Rigo] cellrenderers: cleanup the code a bit 2013-01-24 00:34:27 +00:00
Fabio Erculiani
4f5acbfb44 [Rigo] AppTreeView: reorder initialization, fixes a race in rendering cells
This addresses a potential race that caused the row size to be calculated
incorrectly.
2013-01-24 00:32:26 +00:00
Fabio Erculiani
550e8aad3b [Rigo] preload the EntropyWebService instances by calling EntropyWebService.preload() 2013-01-24 00:18:44 +00:00
Fabio Erculiani
170b0635d8 [Rigo] use new-style classes and super() in cellrenderers 2013-01-24 00:18:16 +00:00
Fabio Erculiani
77196a0b79 [Rigo] add preload() to EntropyWebService. It can be called to preload objects in cache 2013-01-24 00:17:20 +00:00
Fabio Erculiani
d4545d0da8 [Rigo] use ETP_DEBUG=1 in debug_rigo.sh 2013-01-24 00:16:59 +00:00
Fabio Erculiani
466e89cf8f [Rigo] update translations 2013-01-20 12:02:06 +00:00
Fabio Erculiani
1600c49887 [Rigo] always use units in rigo.css, clears warnings 2013-01-17 19:25:51 +00:00
Fabio Erculiani
ec4c84294f [Rigo] add download/disk size info in the search element list, fixes bug 3852 2012-12-17 00:32:27 +01:00
Fabio Erculiani
4b38e262cd [Rigo] provide emblem-system icon by default, fixes bug #3822 2012-12-03 00:56:05 +01:00
Fabio Erculiani
a39e44f93c [rigo] update translations, add tr and hr 2012-12-01 19:29:41 +01:00
Fabio Erculiani
d42003ba94 Merge remote-tracking branch 'origin/solo'
Conflicts:
	client/po/bg.po
	client/po/ca.po
	client/po/cs.po
	client/po/da.po
	client/po/de.po
	client/po/entropy.pot
	client/po/es.po
	client/po/es_CL.po
	client/po/fr.po
	client/po/fr_CA.po
	client/po/it.po
	client/po/nl.po
	client/po/pl.po
	client/po/pt.po
	client/po/pt_BR.po
	client/po/ru.po
	client/po/sk.po
	client/po/sv.po
	client/po/uk.po
	client/po/zh_TW.po
	client/revision
	docs/ChangeLog
	docs/TODO
	lib/entropy/cache.py
	lib/entropy/client/interfaces/db.py
	lib/entropy/const.py
	lib/entropy/revision
	lib/entropy/spm/plugins/interfaces/portage_plugin/__init__.py
	server/revision
2012-11-06 22:35:01 +01:00
Fabio Erculiani
f32ddb95e5 [RigoDaemon] drop any reference to etpUi['debug'] 2012-11-06 20:50:47 +01:00
Fabio Erculiani
280a7067b3 [entropy.cli] drop module, move code to client/ and server/
Even though it is a small code duplication, entropy.cli does make
much less sense.
2012-11-04 21:11:56 +01:00
Fabio Erculiani
68ae30e5ba [Rigo] fix infinite loop in _vanished_callback() 2012-09-17 12:40:46 +02:00
Fabio Erculiani
97aeed94be [Rigo] always validate repositories after update
On a fresh install, with no downloaded repositories, users were forced
to restart Rigo in order to have the search function fully functional.
If a local repository is configured but not downloaded (thus, not
available) the same bug happens.

It turned out to be Entropy._enabled_repos, returned by Entropy.repositories()
which didn't get re-initialized after a repository update. This commit adds
a _validate_repositories() call inside _repositories_updated_signal().
2012-09-08 20:11:23 +02:00
Fabio Erculiani
8df6964462 [Rigo] Application: escape _("N/A")
Application.get_markup() and Application.get_extended_markup() must
always return bytestring (decoded) data to make Gtk3 libs and code
happy. It happened that _("N/A") was returned without passing through
prepare_markup() or escape_markup(). This commit fixes it.
2012-09-08 20:11:22 +02:00
Fabio Erculiani
c9ed841e75 [Rigo] RigoServiceController: convert app_name=_("Application") to rawstring
If app_name is unicode decoded, the following code will fail (in pl_PL):

  >>> prepare_markup(_("<b>%s</b>, internal error")) % (_("Application"),)

with a nice UnicodeDecodeError due to implicit bytestring decode.
prepare_markup() output is bytestring, _() output is unicode.
Thanks to Enlik for reporting.
2012-09-08 20:11:22 +02:00
Sławomir Nizio
6c96c7608e [magneto,rigo] modernize .desktop files 2012-09-08 20:11:22 +02:00
Fabio Erculiani
d9bfa7f11f [RigoDaemon] half the timer frequency and add some randomization in _auto_repositories_update()
When sabayon-weekly is updated, the web service is hit by a huge amount of
requests. This commits add a bit more entropy on the execution of
_auto_repositories_update() (random between 30mins to 2 hours) and reduces
the timer frequency to 8hrs (from 4).
2012-09-08 20:11:22 +02:00
Fabio Erculiani
2092303f55 [Rigo] always validate repositories after update
On a fresh install, with no downloaded repositories, users were forced
to restart Rigo in order to have the search function fully functional.
If a local repository is configured but not downloaded (thus, not
available) the same bug happens.

It turned out to be Entropy._enabled_repos, returned by Entropy.repositories()
which didn't get re-initialized after a repository update. This commit adds
a _validate_repositories() call inside _repositories_updated_signal().
2012-09-03 19:21:56 +02:00
Fabio Erculiani
6f137d758d [Rigo] Application: escape _("N/A")
Application.get_markup() and Application.get_extended_markup() must
always return bytestring (decoded) data to make Gtk3 libs and code
happy. It happened that _("N/A") was returned without passing through
prepare_markup() or escape_markup(). This commit fixes it.
2012-09-02 21:03:19 +02:00
Fabio Erculiani
763ece862e [Rigo] RigoServiceController: convert app_name=_("Application") to rawstring
If app_name is unicode decoded, the following code will fail (in pl_PL):

  >>> prepare_markup(_("<b>%s</b>, internal error")) % (_("Application"),)

with a nice UnicodeDecodeError due to implicit bytestring decode.
prepare_markup() output is bytestring, _() output is unicode.
Thanks to Enlik for reporting.
2012-09-02 21:00:26 +02:00
Sławomir Nizio
918a388252 [magneto,rigo] modernize .desktop files 2012-09-02 20:49:31 +02:00
Fabio Erculiani
fa0eb83df4 [RigoDaemon] half the timer frequency and add some randomization in _auto_repositories_update()
When sabayon-weekly is updated, the web service is hit by a huge amount of
requests. This commits add a bit more entropy on the execution of
_auto_repositories_update() (random between 30mins to 2 hours) and reduces
the timer frequency to 8hrs (from 4).
2012-09-02 17:00:03 +02:00
Fabio Erculiani
796e71e9ac [repo] migrate shebangs to /usr/bin/python 2012-08-18 16:53:32 +02:00
Fabio Erculiani
d56cd777c8 [RigoDaemon] some minor Python 3.x related fixes 2012-08-18 09:53:18 +02:00
Fabio Erculiani
e2c0ddb526 [Rigo] Python 3.x compatibility fixes 2012-08-18 09:44:26 +02:00
Fabio Erculiani
96976374fe [RigoDaemon] rewrite Installed Repository I/O event handler
Rewrite the serialization code of the I/O events coming in when
the Installed Packages Repository is modified (at filesystem level)
to better deal with bursts of events.
The new code uses a "baton" Semaphore as mutex that can be passed
through threads. The MainThread event handler function tries to
acquire the Semaphore in NB mode, if it does, it spawns a thread
that executes all the operations (acquire locks in blocking mode,
calculate updates, etc) and releases the Semaphore once done.

Olympic win!
2012-08-17 12:27:55 +02:00
Fabio Erculiani
c5cf96ace0 [RigoDaemon] delay updates calculation by 20 seconds after locks are released 2012-08-17 11:03:58 +02:00
Fabio Erculiani
3679fa966a [Rigo] increase search bar maximum entry length to 512 chars. 2012-08-12 12:05:50 +02:00
Fabio Erculiani
34d464e7c6 [Rigo] PreferencesTreeView: add explicit "_" import 2012-08-08 21:42:10 +02:00
Fabio Erculiani
c9a5f2481d [Rigo] implement Application Groups support (in:groups keyword) 2012-08-08 21:41:41 +02:00
Fabio Erculiani
aa6edfccdc [Rigo] update translations 2012-08-05 22:32:50 +02:00
Fabio Erculiani
122396705d [Rigo] update translations 2012-08-03 16:31:46 +02:00
Fabio Erculiani
2b40390983 [Rigo] update rigo.pot 2012-08-03 16:31:01 +02:00
Fabio Erculiani
89b114f005 [Rigo*] implement mirrors optimization feature, see bug #3438 2012-08-03 16:26:52 +02:00
Fabio Erculiani
107e55a029 [RigoDaemon] fix polkit "Manage Configuration" message field (gnome-polkit guys are idiot!) 2012-08-03 16:17:21 +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
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