Commit Graph

274 Commits

Author SHA1 Message Date
Fabio Erculiani 7404ad9671 [Rigo] make TerminalWidget work with both Vte 0.30.x and 0.32.x
Say thanks to upstream (sarcastic)
2012-04-18 12:54:45 +02:00
Fabio Erculiani 77214cbddf [Rigo] update translations 2012-04-18 10:41:51 +02:00
Fabio Erculiani 8258a53f2c [Rigo] update entropy.pot 2012-04-18 10:40:38 +02:00
Fabio Erculiani ff3578321d [RigoDaemon] set allow_active=yes for org.sabayon.RigoDaemon.update 2012-04-17 20:36:52 +02:00
Fabio Erculiani 375ec06f60 [RigoDaemon] make the dbus service executable source /etc/profile 2012-04-17 20:31:24 +02:00
Fabio Erculiani 5400519abc [RigoDaemon] feed App Management notes to clients, bump API
Update Rigo as well and let it push the notes to the Terminal Widget
(they come from stdout and stderr, sorry)
2012-04-17 19:53:57 +02:00
Fabio Erculiani 5968ee99c4 [Rigo] be less nazi with the required Window size 2012-04-17 19:53:09 +02:00
Fabio Erculiani 96b410cab3 [Rigo] make "Show me" buttons in BottomNotificationBox resize Rigo height 2012-04-17 19:52:11 +02:00
Fabio Erculiani 2b8e60b0e6 [Rigo] WorkViewController: beautify VteTerminal and Progress Bar
Place the TerminalWidget inside a Gtk.Expander and hide it by default.
Hide the Progress Bar as well when no data is held by it.
2012-04-17 19:50:07 +02:00
Fabio Erculiani 496af68b50 [RigoDaemon] add deferred_shutdown() and shutdown() signals
Both can be used as replacement for the ping/pong protocol in order
to let RigoDaemon shutdown.
This is particularly useful for notification applets, in where holding
RigoDaemon instance is suboptimal.
On the other hand, letting RigoDaemon reload may then cause API
mismatches with these notification applets if they don't reload
as well.
2012-04-16 14:50:40 +02:00
Fabio Erculiani 32914b7f58 [RigoDaemon] always send updates_available, even when no updates are available 2012-04-16 10:26:46 +02:00
Fabio Erculiani 63682a7edb [RigoDaemon] use Gio file monitoring interface instead of plain dnotify 2012-04-16 10:25:39 +02:00
Fabio Erculiani 49361bb91e [Rigo] actually install .po files 2012-04-15 18:16:51 +02:00
Fabio Erculiani f47d538713 [Rigo] Application: fix two minor unicode decode issues 2012-04-15 17:57:53 +02:00
Fabio Erculiani c6d3ecfd56 [Rigo] install .desktop file and mimetype info 2012-04-15 08:58:31 +02:00
Fabio Erculiani 5fa2dd4780 [RigoDaemon] EINTR can be raised by both OSError and IOError 2012-04-14 13:49:37 +02:00
Fabio Erculiani 0173ea4d00 [Rigo] po: fix several markup bugs in the Italian translation 2012-04-14 13:48:57 +02:00
Fabio Erculiani c6aae48363 [Rigo] po: update rigo.pot 2012-04-14 13:42:08 +02:00
Fabio Erculiani 0b523fed0b [Rigo] po: update translations 2012-04-14 11:08:35 +02:00
Fabio Erculiani 49563c8206 [Rigo] ApplicationViewController: exit view when required
Exit view when Application shown is from installed packages repo
and it's being scheduled for removal
2012-04-14 11:06:45 +02:00
Fabio Erculiani d0d3a72d16 [Rigo] ApplicationsViewController: emit view-cleared
Emit view-cleared When model is empty and primary search button is
clicked.
2012-04-14 11:06:32 +02:00
Fabio Erculiani d59dfb92e4 [RigoDaemon] do not run automatic repositories update if on batteries 2012-04-12 19:44:28 +02:00
Fabio Erculiani a639e417d9 [RigoDaemon] extend updates_available() signal, bump daemon API 2012-04-12 19:38:38 +02:00
Fabio Erculiani d042c27d55 [Rigo] po: update translations 2012-04-12 18:13:07 +02:00
Fabio Erculiani 6368528357 [RigoDaemon] add automatic repositories update timer (running every 4 hours) 2012-04-12 18:04:17 +02:00
Fabio Erculiani dab7ea2702 [RigoDaemon] _update_repositories(): make possible to bypass authorization 2012-04-12 18:03:48 +02:00
Fabio Erculiani 0ea3fbf0d8 [RigoDaemon] add docstring to _start_package_cache_timer 2012-04-12 18:03:11 +02:00
Fabio Erculiani 44545691fe [RigoDaemon] add non-blocking, simpler version of _acquire_exclusive() for internal use 2012-04-12 18:00:47 +02:00
Fabio Erculiani 64b12d5f0c [Rigo] show please wait notification only when the same instance generated activity 2012-04-12 17:58:48 +02:00
Fabio Erculiani 8464be7576 [RigoDaemon] add package cache cleanup timer, running every 8 hours 2012-04-12 16:21:40 +02:00
Fabio Erculiani 890b447785 [RigoDaemon] implement directory monitor for both executable and repositories
This commit adds directory monitor for the Installed Packages
Repository in order to catch, through dnofity, repository change
events and signal repositories_updated() once locks are released.

Given the current Python limitations in supporting dnotify without
getting dirt, DirectoryMonitor dispatches SIGIO to the callback
for both installed repository directory change and RigoDaemon
executable. It is up to the code determine what effectively changed.

Moreover, enabling DN_MULTISHOT causes the signal handler to be
kept alive until the dnotified file descriptors are explicitly closed
(DirectoryMonitor.close()). This is of course sub-optimal because
we get called more than needed, but still much better than polling.
2012-04-12 12:48:44 +02:00
Fabio Erculiani 5f8ca3c6aa [RigoDaemon] fixup several minor bugs 2012-04-12 12:48:44 +02:00
Fabio Erculiani 1fb54f5560 [Rigo] fix typo in i18n string 2012-04-12 07:19:04 +02:00
Fabio Erculiani 417e5720a8 [Rigo] update translations 2012-04-11 23:20:25 +02:00
Fabio Erculiani b95375d780 [Rigo] update rigo.pot 2012-04-11 23:19:27 +02:00
Fabio Erculiani f1ef6fbcbb [Rigo] add Preferences button 2012-04-11 23:18:23 +02:00
Fabio Erculiani fc81e6bb06 [Rigo] implement Preferences View, activatable through "rigo:config" for now 2012-04-11 23:03:47 +02:00
Fabio Erculiani 8a877bbc1b [RigoDaemon] add more debug output 2012-04-11 17:59:42 +02:00
Fabio Erculiani 5a15a0bbb8 [Rigo] update translations 2012-04-11 11:33:56 +02:00
Fabio Erculiani e0eb800ffc [Rigo] update rigo.pot 2012-04-11 11:32:31 +02:00
Fabio Erculiani 161f5205d8 [RigoDaemon/Rigo] implement Notice Board support (woot) 2012-04-10 23:37:22 +02:00
Fabio Erculiani 388cac9187 [Rigo] minor bugfixes to the configuration file updates UI 2012-04-10 18:07:29 +02:00
Fabio Erculiani c5b55f44c6 [RigoDaemon] if interrupt_activity signal is raised, interrupt both fetch and install phases 2012-04-10 16:29:12 +02:00
Fabio Erculiani 350544aa9f [Rigo] do not force repository update when not strictly needed 2012-04-10 13:28:16 +02:00
Fabio Erculiani 8285ca06ae [Rigo] send hello() again after repositories_updated() signal 2012-04-10 13:27:00 +02:00
Fabio Erculiani 325813243c [RigoDaemon] _send_greetings: keep one and only one thread running the calculation, discard multiple concurrent requests 2012-04-10 13:25:52 +02:00
Fabio Erculiani 7ab432458f [RigoDaemon] split enqueue_application_action() 2012-04-10 12:51:00 +02:00
Fabio Erculiani 065c57ea5b [RigoDaemon] add noticeboards_available() signal 2012-04-10 12:50:43 +02:00
Fabio Erculiani 1e807a7ed7 [Rigo] boost treeview performance, optimize several code paths and avoid duplicated calls 2012-04-10 12:08:13 +02:00
Fabio Erculiani 0af0c14b48 [Rigo] update translations, add es_AR 2012-04-10 10:57:58 +02:00