Marek Marczykowski-Górecki
6ad6e7c661
Whitespace fixes.
2013-11-28 03:45:22 +01:00
Marek Marczykowski-Górecki
fa9d29075b
Merge remote-tracking branch 'oliv/master' into new-backups
2013-11-25 05:05:43 +01:00
Marek Marczykowski-Górecki
77cc22824b
Use Standalone/AppVM icon for HVM
...
Instead of separate HVM icon.
2013-11-22 16:39:19 +01:00
Marek Marczykowski-Górecki
80066c3f72
One more update for the new API
2013-11-21 04:21:47 +01:00
Marek Marczykowski-Górecki
c40beed213
Add warning about potential license issues with template HVM
2013-11-21 04:19:41 +01:00
Marek Marczykowski-Górecki
0d41abad90
Add support for template-based HVM
2013-11-21 04:19:30 +01:00
Marek Marczykowski-Górecki
9c1e2f496c
List only compatible templates
2013-11-21 04:17:59 +01:00
Marek Marczykowski-Górecki
4a7f3caee9
Update VM adding code for new API
...
No longer separate functions for each VM type.
2013-11-21 04:16:26 +01:00
Marek Marczykowski-Górecki
c11c42e2f7
Show the correct icon for HVM
...
Not standalone/template one.
2013-11-21 02:25:27 +01:00
Marek Marczykowski-Górecki
a2350481b9
Fix 'dont-use-shm' flagfile path in global settings window.
2013-11-09 00:24:45 +01:00
Marek Marczykowski-Górecki
8d38a948e5
settings: indentation fix
2013-10-29 13:41:46 +01:00
Marek Marczykowski-Górecki
56d7807fec
settings: gray out maxmem when qmemman is disabled
...
'Max memory' setting only makes sense for dynamic memory management.
2013-10-29 13:40:49 +01:00
Marek Marczykowski-Górecki
6e3e475bc2
Add tooltip with application command line in appmenu select window ( #747 )
...
Otherwise some entries are undistinguishable.
2013-10-19 06:14:58 +02:00
Marek Marczykowski-Górecki
0f28fc7855
Preserve VM selection during table update
2013-10-18 04:20:19 +02:00
Marek Marczykowski-Górecki
b1ad497579
Update log filenames - now qrexec and guid have VM name instead of XID
2013-10-18 03:40:21 +02:00
Marek Marczykowski-Górecki
dcec8b566f
Remove some debugging code
2013-10-18 03:37:22 +02:00
Marek Marczykowski-Górecki
fa61fceddd
Fix watching clipboard change when the file initially doesn't exists ( #749 )
...
When the file doesn't exists, adding a watch fails. So monitor directory
for IN_CREATE event and when file is created - add the modify watch.
This watch will miss the first update (rather: create), so fire it
in IN_CREATE handler.
2013-10-18 03:33:56 +02:00
Marek Marczykowski-Górecki
19b9ffefda
Catch the exception on device attach/detach
...
Take care to release lock before anything else, otherwise GUI will
be frozen...
2013-10-02 01:10:58 +02:00
Olivier MEDOC
baa3c6362c
backup: implemented backup functions using the new backup model
2013-09-28 12:33:56 +02:00
Olivier MEDOC
e8cec85874
backup: implemented restore functions using the new backup model
2013-09-27 09:19:38 +02:00
Marek Marczykowski
da0d0c29b8
Get current release from /etc/qubes-release for about window
2013-04-25 16:09:03 +02:00
Marek Marczykowski
0f175b5c92
Fix showing inactive VMs
...
Previously if Qubes Manager was started with inactive VMs hidden,
toggling "show inactive VMs" option wasn't enough to show them. This is
because we set RowHidden to False only when both show_inactive and
show_internal are set.
This commit fixes the issue.
2013-04-13 04:14:00 +02:00
Marek Marczykowski
3994038d76
Store various VM state in one dict, not random attributes
...
Storing some Qubes Manager specific properties in QubesVm object isn't
completely right, but if do so, try to keep them in one dict, not bunch
of attributes. Index this dict with named "enum" (implemented as class)
entries.
2013-04-13 04:10:13 +02:00
Marek Marczykowski
009782189c
Update button: expire cache before checking for updates
2013-04-13 03:13:37 +02:00
Marek Marczykowski
47669aac4e
Replace direct xl calls with proper QubesVM methods
2013-04-13 03:12:58 +02:00
Marek Marczykowski
e0a15c12d4
Replace dbus-python with QtDBus
...
dbus-python seems to be not thread safe. After "881ee76 Merge qclipd
into qubes-manager" this occasionally triggers SEGV.
QtDBus seems to be somehow less robust:
- doesn't automatically convert methods arguments to proper types based
on introspection data
- property access isn't working so must call
org.freedesktop.DBus.Properties methods manually
But besides those problems seems to work stable.
2013-04-13 02:54:24 +02:00
Marek Marczykowski
11bfea1118
Update function names for appmenus handling
2013-04-12 01:31:33 +02:00
Marek Marczykowski
59dcefefe1
The Underscores Revolution: qubes-clipboard filename
2013-03-19 13:22:31 +01:00
Marek Marczykowski
bc485d2928
Update imports to match new qubes global settings layout
2013-03-16 21:07:53 +01:00
Marek Marczykowski
ff15208e8f
Do not import qubes_guid_path (not used anywhere)
2013-03-16 20:53:47 +01:00
Marek Marczykowski
881ee76709
Merge qclipd into qubes-manager
...
Have all gui-notification code in one place.
TODO: Change python-dbus to QtDBus, which should better support threads
(current version occasionally gets SEGV...).
2013-03-12 15:56:40 +01:00
Olivier Medoc
cff51fdabd
mainui: Changed the showhide algorithm to handle internal VMs
...
Additionnally, the windows resizing algorithm has been changed to use the count of displayed internal VMs.
2013-03-09 00:07:48 +01:00
Olivier Medoc
268c9a9d94
mainui: implemented show/hide internal VMs
2013-03-09 00:07:48 +01:00
Olivier Medoc
70e0a2b97a
mainui: Added show/hide internal VMs in the view menu
2013-03-09 00:07:47 +01:00
Olivier Medoc
dded0ba510
mainui: hide the Internal column by default
2013-03-09 00:07:47 +01:00
Olivier Medoc
effe24b20e
mainui: added the Internal column to show if the VM is internal
2013-03-09 00:07:47 +01:00
Marek Marczykowski
987bdfc50d
Fix signal handling in backup window
...
The same issue as in multiselect widget.
2013-03-01 20:45:33 +01:00
Marek Marczykowski
7681864d81
Fix multiselect widget signal handling.
...
Apparently list isn't allowed type of argument.
Documentation says:
"It is possible to pass any Python object as a signal argument by specifying
PyQt_PyObject as the type of the argument in the signature."
"While this would normally be used for passing objects like lists and
dictionaries as signal arguments, it can be used for any Python type."
So do it.
2013-02-28 02:15:06 +01:00
Marek Marczykowski
d48ed3ca57
Use local time in shutdown monitor
...
vm.get_start_time() is in local time, so compare it also with local time, not
the UTC one.
2013-02-23 16:18:43 +01:00
Marek Marczykowski
4d9e30784e
settings apply: fix error message
2013-02-23 06:46:56 +01:00
Marek Marczykowski
34ea444a42
settings apply: catch exceptions and show them to the user
...
Settings are applied in separate thread, so when any exception occured there,
the user had no way to know it (besides hanging "applying settings" window).
2013-02-23 06:44:06 +01:00
Marek Marczykowski
74f9bcd6f7
Mark paused VMs with grey icon ( #707 )
2013-02-20 23:08:18 +01:00
Marek Marczykowski
ab5fca6e19
Dot allow to run command in paused VM
2013-02-19 03:33:01 +01:00
Marek Marczykowski
de27483948
Allow killing paused VM
2013-02-19 03:32:49 +01:00
Marek Marczykowski
1477c8e90c
Display memory size even if VM isn't running.
...
This covers the case of paused and halting VMs.
2013-02-19 03:32:03 +01:00
Marek Marczykowski
fd330c283d
Add menubar/toolbar context menu explicitly
...
Previously it was somehow automatically generated. Unfortunately it
caused SEGV in libQtCore (4.8).
2013-02-15 16:06:54 +01:00
Marek Marczykowski
6b03b6dd1b
Fix SIGHUP handler
2013-02-15 00:49:52 +01:00
Marek Marczykowski
73598b0344
Do not strictly depend on kdialog
...
Use QInputDialog where possible, fallback to zenity where not.
2013-02-12 01:57:17 +01:00
Marek Marczykowski
05de91293e
reconnect to notification daemon when it restarts
...
Notification daemon isn't running all the time (at least in xfce), it is
dbus-activated. So do not stick to one detected at program startup.
2013-02-07 12:46:39 +01:00
Marek Marczykowski
950fe9253c
fix race condition in get_selected_vm
...
Reported-by: Hakisho Nukama <nukama@gmail.com>
2013-02-06 14:57:09 +01:00