Commit Graph

109 Commits

Author SHA1 Message Date
Fabio Erculiani 87fd48eafe [Rigo] introduce SharedLocker to avoid reentrancy of Entropy Resources Lock
There are two issues with Entropy Resources Lock when used in Rigo.
1. Reentrancy: this property is unwanted in Rigo due to the amount
   of time Entropy Resources Lock is acquired and released.
   It is always wanted to acquire once and release once.
2. Re-acquiring it is costly, this lock should be relased only when
   we are really forced to do so.
2012-03-20 07:58:13 +01:00
Fabio Erculiani b400b4bfea [RigoDaemon] rename is_exclusive() to exclusive() 2012-03-19 21:32:26 +01:00
Fabio Erculiani 9d5c88abce [Rigo] move RigoAuthenticationController to separate module 2012-03-19 18:54:25 +01:00
Fabio Erculiani 339b8a7417 [Rigo] Add Application Info to App Box in Work View Area 2012-03-19 10:25:02 +01:00
Fabio Erculiani 767bd7eb2a [Rigo] implement Application Information Box in Work Area 2012-03-18 23:14:52 +01:00
Fabio Erculiani 5f63057c05 [Rigo/RigoDaemon] first chunk of code related to Application Management, WIP 2012-03-18 18:32:26 +01:00
Fabio Erculiani efde0c2ec3 [Rigo/RigoDaemon] greatly simplify resource passing rendezvous
Completely move the arbitration to RigoDaemon, making Rigo passively
accepting the former requests.
Moreover, complete support for bottom notification area and start
implementing app management events.
2012-03-18 07:57:57 +01:00
Fabio Erculiani 4da1bd7a5c [Rigo] move LocalActivityStates to rigo.enums 2012-03-17 17:11:31 +01:00
Fabio Erculiani e7d22c33fe [Rigo] notify User in case of unavailable repositories 2012-03-16 16:05:08 +01:00
Fabio Erculiani 56fc484432 [Rigo] explicitly notify User when repositories have been updated 2012-03-16 14:58:43 +01:00
Fabio Erculiani 33175e3895 [Rigo] consolidate previous work
- Add User notifications before blocking on semaphores
- Fix several minor glitches related to features introduced the
  past week
- Cleanup rigo.enums from Software Center crapcode
- Improve Progress Bar interaction with User
2012-03-16 14:29:45 +01:00
Fabio Erculiani ab0e36a313 [RigoDaemon] move PolicyKit actions to RigoDaemon 2012-03-15 17:42:57 +01:00
Fabio Erculiani 9fc23256e9 [Rigo] use PolicyKit to authenticate Repository Update 2012-03-15 17:30:42 +01:00
Fabio Erculiani d04e7de070 [Rigo] move completed Rigo View Controllers to separate modules 2012-03-15 15:54:07 +01:00
Fabio Erculiani 1affa249ca [RigoDaemon] move dbus configuration to separate module 2012-03-15 15:20:49 +01:00
Fabio Erculiani 99cf283a94 [Rigo] force Gtk 3.0 by the beginning 2012-03-14 18:00:28 +01:00
Fabio Erculiani b2f3bd5b8c [Rigo*] fifth daemon architectural design
- Introduce Activity states and busy(), unbusy() methods to allocate
and deallocate Daemon activities from the Clients, concurrently.

- Tokenize acquire_resources() and release_resources() to filter out
older events. The same token is returned to Clients via signals whenever
it makes sense (repositories_updated() is one of them).

- Implement Repositories Update Activity resume functionality in Rigo.
It is possible to close Rigo during a repo update and reopen it afterwards.
Multiple Rigo instances are allowed as well.

- Implement the ability for RigoDaemon to kindly request Rigo Clients
to release their locks (either shared or exclusive) due to new activity
being scheduled.

All the races and possible deadlocks should be handled correctly,
but due to the actual complexity, only time will tell.
2012-03-14 17:47:34 +01:00
Fabio Erculiani 7d262a71e2 [Rigo] implement resume support on Repositories Update 2012-03-13 23:35:50 +01:00
Fabio Erculiani 6a4da6c261 [rigo] fifth architectural design iteration, things should work now 2012-03-13 16:05:40 +01:00
Fabio Erculiani 4816c90e80 [rigo] trivial comment fix 2012-03-13 14:31:20 +01:00
Fabio Erculiani 40343d0719 [rigo] fifth RigoDaemon architecture iteration, let's see... 2012-03-12 23:47:29 +01:00
Fabio Erculiani cd9a2b1220 [rigo] only connect signals when needed, fix YES/NO dialog on exit during activity 2012-03-12 17:05:53 +01:00
Fabio Erculiani 1270c28fd9 [rigo] first chunk of RigoDaemon integration code, still WIP 2012-03-12 00:36:16 +01:00
Fabio Erculiani 912bf15702 [rigo] emphasize the App View exit button 2012-03-09 18:00:21 +01:00
Fabio Erculiani 6ba23248ff [rigo] properly clean ImageBoxes from app view on hide 2012-03-07 18:10:29 +01:00
Fabio Erculiani 9659ce6633 [rigo] fix misc, trivial bugs 2012-03-07 17:12:55 +01:00
Fabio Erculiani ed37f776c4 [rigo] add Install/Update/Remove/Reinstall buttons to AppView and config signals 2012-03-07 08:13:57 +01:00
Fabio Erculiani 72d326c35a [rigo] enable filtering support in Application View TreeView 2012-03-05 23:37:20 +01:00
Fabio Erculiani 234907f606 [rigo] use prepare_markup() and escape_markup() when needed 2012-03-04 21:43:39 +01:00
Fabio Erculiani fcf07b0d59 [rigo] beautify download stats in Application View 2012-03-04 17:31:21 +01:00
Fabio Erculiani 5d04371ddf [rigo] make sure to call queue_draw() when answering to redraw-request event 2012-03-04 16:37:03 +01:00
Fabio Erculiani ee37e90de4 [rigo] implement comment removal support 2012-03-03 18:04:55 +01:00
Fabio Erculiani 8019a86eb1 [rigo] add context_id to LoginNotificationBox constructor 2012-03-03 15:20:33 +01:00
Fabio Erculiani 0a91618f46 [rigo] search bar: also search through descriptions 2012-03-02 08:36:50 +01:00
Fabio Erculiani 154c5c3010 [rigo] implement "not found + did you mean" message when search returns 0 results 2012-03-01 08:16:47 +01:00
Fabio Erculiani bfa9215295 [rigo] notify user when connectivity is absent (via Entropy Web Services) 2012-02-29 10:22:31 +01:00
Fabio Erculiani 71308d09de [rigo] implement loading of Application Images
At the end of the App View, load images bound to App.
2012-02-28 21:58:04 +01:00
Fabio Erculiani 59c24a4c6b [rigo] UTF-8 fixes in Application() 2012-02-28 12:32:00 +01:00
Fabio Erculiani 8a5575a6b0 [rigo] fix UTF-8 markup escaping wrt GObject idiotic escape function 2012-02-28 12:05:10 +01:00
Fabio Erculiani 7c97d9db7b [rigo] uniform file header 2012-02-28 11:28:10 +01:00
Fabio Erculiani 24fbdc5f56 [rigo] App Rating integration, NotificationBox Context support, a lot of other improvements 2012-02-28 11:15:00 +01:00
Fabio Erculiani ba805a528f [rigo] more UI work for Application View Pane (comments handling) 2012-02-27 10:33:07 +01:00
Fabio Erculiani 4e2882ef26 [rigo] another chunk of Application View code 2012-02-26 22:36:47 +01:00
Fabio Erculiani 6b3f214f6f [rigo] another set of code update, still UI work 2012-02-22 12:46:49 +01:00
Fabio Erculiani ac8de69970 [rigo] rework some code paths to be more signal-centric, more work on the app details pane 2012-02-19 23:07:34 +01:00
Fabio Erculiani 66b05a32a5 [rigo] start implementing Application View UI mode 2012-02-18 17:28:42 +01:00
Fabio Erculiani eb65e05410 [rigo] implement UpdatesNotification "Show" button action 2012-02-18 14:30:00 +01:00
Fabio Erculiani d38cc2befd [rigo] implement UI view changes as a Finite State Machine 2012-02-18 14:22:45 +01:00
Fabio Erculiani 064f18b719 [rigo] start moving code to separate packages, enforce signals usage 2012-02-18 14:06:21 +01:00
Fabio Erculiani 31cfd410ab [rigo] add custom ApplicationView (Gtk.VBox) supporting package related signals 2012-02-18 12:04:58 +01:00