Commit 39f702b4 authored by Guido Günther's avatar Guido Günther

Merge branch 'upstream'

parents 9d34678a d1a5b480
^.*~$
^build
Makefile\.in$
^install-sh$
^missing$
^configure$
^aclocal\.m4$
^autom4te\.cache
.*\.gladep$
.*\.bak$
.*\.pyc$
^compile$
^depcomp$
^ltmain\.sh$
^config\..*$
^mkinstalldirs
^libtool
^intltool-.*\.in$
^m4/.*\.m4$
po/Makefile\.in\.in
po/Rules-quot
po/boldquot\.sed
po/en@boldquot\.header
po/en@quot\.header
po/insert-header\.sin
po/quot\.sed
po/remove-potcdate\.sin
86487f54181a94acf6e7ca8fc99a9f66daae7b1a RELEASE-0.1.2-1
aa2d2a7a856b6a2f5b11760ad22a404f5ea80ba7 RELEASE-0.1.2-2
189d414f9fe41333bbb768f2070f4f5656fa2da5 RELEASE-0.1.2-3
667c1e792acceaefed8e3d25d0b1028850211ad6 RELEASE-0.1.3-1
263881a07fa4addc6314fad90a2fa745211116bd RELEASE-0.1.4-1
a5976d3f807f516d06b8890e754f9b0265f2bd52 RELEASE-0.1.5-1
869707b48d518080f877bace387fa43458e197e0 RELEASE-0.2.0-1
4aba9106462877a7df2bf1211bc41eb5321af1ee RELEASE-0.2.1-1
37220522ba6d379d0ea140c2960e688cdb375927 RELEASE-0.2.2-1
408e703e0a36d1f601b7038e3ee633236c5a5a28 RELEASE-0.2.3-1
a72f4fcfc37be3ccca9c966d8d62c1c95212bdbc RELEASE-0.2.4-1
f026bca68967ffcbf61ac60f2c653b3fba243785 RELEASE-0.2.5-1
912d53a50279d9c6e05d263b54837ad001a0ccb3 RELEASE-0.2.6-1
aab1b39dae04d051c2f7073ff9bcc74c55ff704a RELEASE-0.3.0-1
a671c435f0c6cb78ec10980ad5d4fb71adc1a622 RELEASE-0.3.2-1
225ff0619562f046101d6fc4f90371051367f850 RELEASE-0.3.1-1
bee4afe144ec72d1afe38833f4e62af8ab48cc2b RELEASE-0.4.0-1
380af83bb51b3c79ccd0e18992ce3942a5146664 RELEASE-0.5.0-1
038ba1ea0e3395e39c8a2ac0d596dbad7369b7e0 RELEASE-0.5.1-1
a0902e8de8d1b97eccabc7d177052eefe3a837b8 RELEASE-0.5.2-1
2008-01-10 "Daniel P. Berrange <berrange@redhat.com>
* po/bg.po, po/bn_IN.po, po/bs.po, po/ca.po, po/cs.po, po/da.po,
po/de.po, po/es.po, po/fi.po, po/fr.po, po/gu.po, po/hi.po,
po/hr.po, po/hu.po, po/is.po, po/it.po, po/ja.po, po/kn.po,
po/ko.po, po/ml.po, po/mr.po, po/ms.po, po/nb.po, po/nl.po,
po/or.po, po/pa.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po,
po/ru.po, po/sr.po, po/sr@Latn.po, po/sv.po, po/ta.po, po/te.po,
po/tr.po, po/uk.po, po/virt-manager.pot, po/zh_CN.po, po/zh_TW.po:
Refresh po files
[c95c688762cf] [tip]
* configure.ac, virt-manager.spec.in:
Update in prep for new release
[25b17c225e15]
* src/virtManager/manager.py:
Fix delete button sensitivity
[8beadee56a19]
2008-01-10 "Cole Robinson <crobinso@redhat.com>
* src/virtManager/create.py:
Don't send empty disk/nic lists to virtinst. Fixes usermode
installs, rhbz #378991
[f11ccb3e5264]
2008-01-09 "Cole Robinson <crobinso@redhat.com>
* src/virtManager/engine.py:
Show error if trying to save machine over remote connection.
[bcebfff9c3cb]
* src/virtManager/manager.py:
Hook up 'restore saved machine', show error if trying to restore
over remote connection.
[7c9a757ba5af]
2008-01-09 "Daniel P. Berrange <berrange@redhat.com>
* src/virtManager/console.py:
Don't set crazy window size if guest is larger than screen
[a788538bf93a]
* src/virtManager/console.py:
Must realize widget before setting hooks
[8ab75129d00c]
* src/virtManager/console.py, src/vmm-console.glade:
Added menu to send Ctrl+Alt+XXXX special sequences
[d8845136ae00]
2008-01-02 "Daniel P. Berrange <berrange@redhat.com>
* src/virtManager/manager.py, src/vmm-manager.glade:
Reinstate new & delete buttons in UI
[2376b77d5778]
2007-12-17 "Cole Robinson <crobinso@redhat.com>
* src/virtManager/details.py, src/virtManager/domain.py, src/vmm-
details.glade:
Add 'permissions' field to details section for a disk.
[594dbf22bc89]
2007-12-11 "Daniel P. Berrange <berrange@redhat.com>
* Merge heads
[e96a36605e70]
2007-12-05 "Cole Robinson <crobinso@redhat.com>
* src/virtManager/details.py, src/virtManager/domain.py:
Remove disks by directly parsing guest xml, rather than recreate the
disk with virtinst. Fixes bug 371621.
[e6aa376bc327]
* src/virtManager/opticalhelper.py:
Import logging in opticalhelper
[543d6031d963]
* src/virtManager/domain.py:
Fix for cdrom connect/disconnect to not readd disk to xml on
restart.
[54a06a584e7a]
2007-11-30 "Cole Robinson <crobinso@redhat.com>
* src/virtManager/addhardware.py:
Fixed validation message in Add Hardware wizard.
[ebdfc8e3e06e]
2007-12-11 "Daniel P. Berrange <berrange@redhat.com>
* AUTHORS, src/vmm-create.glade:
Fix label alignment (Dan Hork)
[e1f8d926c4a9]
2007-11-28 "Cole Robinson <crobinso@redhat.com>
* src/virtManager/choosecd.py, src/virtManager/domain.py:
Add error catching and reporting to the choosecd dialog.
[562150b337ba]
* src/vmm-details.glade:
Set disk path to fully expand in 'details' section to prevent a long
cdrom path from pushing the connect/disconnect button off the
screen.
[32bf73070872]
2007-11-16 root <root@crobinso1.boston.redhat.com>
* src/virtManager/addhardware.py:
Enable adding nics for xen guests.
[12122301b60d]
2007-11-28 "Cole Robinson <crobinso@redhat.com>
* src/virtManager/addhardware.py, src/virtManager/details.py,
src/virtManager/domain.py:
Fix cdrom connect/disconnect. Fixes an error catching issue for
connect as well.
[110464ed517a]
* src/virtManager/manager.py:
Revert accidentally enabling domain restore.
[9dca17b2868f]
2007-11-27 "Cole Robinson <crobinso@redhat.com>
* src/virtManager/addhardware.py, src/virtManager/create.py:
Fix my obviously busted disksize change.
[42a959f20ab2]
* src/virtManager/details.py:
Fix a few broken error catching calls.
[91d8674224d1]
* src/virtManager/addhardware.py, src/virtManager/create.py:
Return disksize = None if creating a disk from an already existing
file.
[b8ea95b4841a]
2007-11-16 root <root@crobinso1.boston.redhat.com>
* src/virtManager/addhardware.py:
Fix harmless TypeError exceptions from being raised while opening
the addhardware wizard.
[b7b55eb30fb6]
2007-11-27 "Cole Robinson <crobinso@redhat.com>
* src/virtManager/console.py, src/virtManager/details.py,
src/virtManager/engine.py, src/virtManager/manager.py:
Rework shutdown, pause, unpause, and run commands to call central
routine. Add error catching and reporting for these, as well as save
and destory.
[a52007787308]
2007-11-20 "Daniel P. Berrange <berrange@redhat.com>
* COPYING, src/virt-manager.py.in, src/virtManager/__init__.py,
src/virtManager/about.py, src/virtManager/addhardware.py,
src/virtManager/asyncjob.py, src/virtManager/choosecd.py,
src/virtManager/config.py, src/virtManager/connect.py,
src/virtManager/connection.py, src/virtManager/console.py,
src/virtManager/create.py, src/virtManager/createmeter.py,
src/virtManager/createnet.py, src/virtManager/details.py,
src/virtManager/domain.py, src/virtManager/engine.py,
src/virtManager/error.py, src/virtManager/host.py,
src/virtManager/keyring.py, src/virtManager/manager.py,
src/virtManager/netdev.py, src/virtManager/network.py,
src/virtManager/opticalhelper.py, src/virtManager/preferences.py,
src/virtManager/remote.py, src/virtManager/secret.py,
src/virtManager/serialcon.py, virt-manager.spec.in:
Refresh GPL text with latest FSF address & fix spec file license tag
[30260e2c3a37]
2007-11-16 "Cole Robinson <crobinso@redhat.com>
* src/virtManager/addhardware.py, src/virtManager/create.py,
src/virtManager/details.py:
Add better error catching and reporting for add/remove hardware.
The particulars:
1) Build virtinst VirtualDisk and VirtualNics as we go through
creation wizards to reuse present validation. 2) Added a few cases
of using the "install_error" infrastructure if we fail when at the
end of the wizard. 3) Added error checking for removing hardware in
the 'details' screen. 4) A small cleanup in create.py
[632472746706]
2007-11-14 "Cole Robinson <crobinso@redhat.com>
* autogen.sh:
Build fix that allows autogen.sh to work right out of the repo.
[b2718c0c023c]
* src/virt-manager.py.in:
Log all uncaught exceptions.
[9da820df4011]
2007-11-12 "Cole Robinson <crobinso@redhat.com>
* src/virtManager/create.py:
Overwrite, do not append, to guest device lists before create. Also
no need to catch exception as virtinst doesn't throw one in this
case.
[27780aa800d5]
2007-11-07 "Daniel P. Berrange <berrange@redhat.com>
* merge heads
[9ba899abb73f]
* src/virtManager/console.py:
Switch TLS credential to libvirt-vnc
[0938dbeac0d7]
2007-10-17 Andy Grover <andy.grover@oracle.com>
* src/virtManager/domain.py:
virt-manager: small exception handling fix Hi,
This patch fixes exception handling slightly in virt-manager.
Thanks -- Andy
[58c46220f2df]
2007-11-07 "Daniel P. Berrange <berrange@redhat.com>
* src/virtManager/create.py, src/vmm-create.glade:
Switch to 512 MB default memory to keep jeremy happy
[19a82a3c5b8a]
2007-10-10 "Daniel P. Berrange <berrange@redhat.com>
* src/virtManager/keytable.py:
Added mapping for br-abnt2 keyboard
[4983533b800c]
2007-10-06 "Daniel P. Berrange <berrange@redhat.com>
* po/ja.po:
Update ja translation from Hyu_gabaru Ryu_ichi
[334e563e54c9]
2007-10-04 "Daniel P. Berrange <berrange@redhat.com>
* .hgtags:
Added tag RELEASE-0.5.2-1 for changeset a0902e8de8d1
[813f640bb5a8]
* ChangeLog, NEWS, configure.ac, virt-manager.spec.in:
Update for 0.5.2 release
[a0902e8de8d1] [RELEASE-0.5.2-1]
* src/virtManager/addhardware.py:
Populate hardware options based on VM type
[6cf93e00e4d8] [tip]
[6cf93e00e4d8]
* po/pl.po:
Refresh polish translation again
......
This diff is collapsed.
This diff is collapsed.
#!/bin/sh
set -e
# Make things clean.
make -k distclean ||:
rm -rf MANIFEST blib
# Make makefiles.
./autogen.sh --prefix=$AUTOBUILD_INSTALL_ROOT
cd build
make
make install
rm -f *.tar.gz
make dist
if [ -f /usr/bin/rpmbuild ]; then
if [ -n "$AUTOBUILD_COUNTER" ]; then
EXTRA_RELEASE=".auto$AUTOBUILD_COUNTER"
else
NOW=`date +"%s"`
EXTRA_RELEASE=".$USER$NOW"
fi
rpmbuild --nodeps --define "extra_release $EXTRA_RELEASE" -ta --clean *.tar.gz
fi
#!/bin/sh
set -e
# Hack around autoconf wierdness. Need to figure out what's really wrong
touch config.rpath
# Make makefiles.
intltoolize --automake --copy --force
perl -i -p -e 's,^DATADIRNAME.*$,DATADIRNAME = share,' po/Makefile.in.in
perl -i -p -e 's,^GETTEXT_PACKAGE.*$,GETTEXT_PACKAGE = virt-manager,' po/Makefile.in.in
aclocal -I m4
libtoolize
automake -a
autoconf
test -d build && rm -rf build
mkdir build
cd build
../configure $@
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
AC_INIT(virt-manager.spec.in)
AM_INIT_AUTOMAKE(virt-manager, 0.5.2)
AM_INIT_AUTOMAKE(virt-manager, 0.5.3)
ALL_LINGUAS="bg bn_IN bs ca cs da de es fi fr gu hi hr hu is it ja kn ko ml mr ms nb nl or pa pl pt_BR pt ro ru sr@Latn sr sv ta te tr uk zh_CN zh_TW"
IT_PROG_INTLTOOL([0.35.0], [no-xml])
......
This diff is collapsed.
Procedure for doing new releases
=================================
Preparing the source tree:
1. Sync up latest translations - see po/README.txt
2. Change release number in configure.ac
3. Update NEWS file
4. Re-generate ChangeLog with 'hg log --style changelog > ChangeLog'
6. Update virt-manager.spec.in changelog & reset Release to '1'
5. Checkin changes
6. Run 'hg tag RELEASE-X.Y.Z-1'
Preparing the build:
1. Get a fresh checkout from http://hg.et.redhat.com/virt/applications/virt-manager--devel
2. Run 'autobuild.sh'
3. Upload build/virt-manager-X.Y.Z.tar.gz to website download area
4. Update the website download.html page
5. Mail fedora-xen and libvirt mailing lists
6. Update freshmeat record
7. Mail lwn.net release announcement
danpb_ltop: going back to the applet/manager thing - if you email
me a list of tasks / actions you'd like to be able to trigger from the
applet, I'll se about added the capabilities to the manger
kzak: four actions:
1/ define (configure) new domain,
2/ re-configure domain,
3/ domain details (your cool plots),
4/ go to the manager...
5/ ???
DBus Remote Control
===================
The GNOME virt manager provides the ability to control its high level
UI actions via a DBus service.
Interface description
---------------------
The service is intended to run on the session bus, and when launched
will register a well known bus name of 'com.redhat.virt.manager'.
Within this service, a single object is to be exported under the
path of '/com/redhat/virt/manager'.
This object implements a single interface 'com.redhat.virt.manager'
which contains the following methods:
- show_domain_performance(string:uri, string:uuid)
Takes a domain's UUID in printable string format and displays
the window showing detailed performance data
- show_domain_editor(string:uri, string:uuid)
Takes a domain's UUID in printable string format and displays
the window for configuring the VM hardware resources
- show_domain_console(string:uri, string:uuid)
Takes a domain's UUID in printable string format and displays
the window for accessing the graphical framebuffer associated
with the VM.
- show_domain_serial_console(string:uri, string:uuid)
Takes a domain's UUID in printable string format and displays
the window for accessing the serial console connected to the
guest VM. NB, not all domains have a serial console activated,
and it is only typically accessible as root.
- show_domain_creator(string:uri)
Displays the window for creating & configuring a new domain.
NB. the domain creator is only accessible as root.
- show_host_summary(string:uri)
Displays the window showing a summary of all active domains
on the host
- show_connect()
Displays the dialog for connecting to a hypervisor
In all these methods the 'uri' parameter is the URI for the hypervisor,
typically either 'Xen', or 'test://default'.
Example usage from shell
------------------------
To display the performance window for the domain with a UUID of
'349025e8-ad34-34ff-239a-12ae095249f3', one would use the dbus-send
command as follows:
# First ensure the application is running
$ dbus-send --print-reply --session --dest="org.freedesktop.DBus" \
"/org/freedesktop/DBus" \
"org.freedesktop.DBus.StartServiceByName" \
"string:com.redhat.virt.manager"
# Now call the show_domain_performance method
$dbus-send --print-reply --session --dest="com.redhat.virt.manager" \
"/com/redhat/virt/manager"
"com.redhat.virt.manager.show_domain_performance" \
"string:xen" \
"string:349025e8-ad34-34ff-239a-12ae095249f3"
Example usage from python
-------------------------
import dbus
bus = dbus.SessionBus()
bus_object = bus.get_object("org.freedesktop.DBus", "/org/freedesktop/DBus")
bus_iface = dbus.Interface(bus_object, "org.freedesktop.DBus")
bus_iface.StartServiceByName("com.redhat.virt.manager")
virt_object = bus.get_object("com.redhat.virt.manager",
"/com/redhat/virt/manager")
virt_iface = dbus.Interface(virt_object, "com.redhat.virt.manager")
virt_iface.show_domain_performance("xen", "349025e8-ad34-34ff-239a-12ae095249f3")
This diff is collapsed.
This diff is collapsed.
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
DOMAIN = $(PACKAGE)
DATADIRNAME = $(DOMAIN)
# These two variables depend on the location of this directory.
subdir = po
top_builddir = ..
# These options get passed to xgettext.
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
# package. (Note that the msgstr strings, extracted from the package's
# sources, belong to the copyright holder of the package.) Translators are
# expected to transfer the copyright for their translations to this person
# or entity, or to disclaim their copyright. The empty string stands for
# the public domain; in this case the translators are expected to disclaim
# their copyright.
COPYRIGHT_HOLDER = Free Software Foundation, Inc.
# This is the email address or URL to which the translators shall report
# bugs in the untranslated strings:
# - Strings which are not entire sentences, see the maintainer guidelines
# in the GNU gettext documentation, section 'Preparing Strings'.
# - Strings which use unclear terms or require additional context to be
# understood.
# - Strings which make invalid assumptions about notation of date, time or
# money.
# - Pluralisation problems.
# - Incorrect English spelling.
# - Incorrect formatting.
# It can be your email address, or a mailing list address where translators
# can write to without being subscribed, or the URL of a web page through
# which the translators can contact you.
MSGID_BUGS_ADDRESS =
# This is the list of locale categories, beyond LC_MESSAGES, for which the
# message catalogs shall be used. It is usually empty.
EXTRA_LOCALE_CATEGORIES =
Notes on translation process
============================
The translations for virt-manager are currently handled by the Fedora translations
team. Thus the translators work on .po files which are in the master Fedora CVS
repo for i18n stuff. Before each new release, the latest translated .po files are
pulled back into the master HG repo for virt-manager, and a new virt-manager.pot
file pushed out.
The process for updates is this:
- Get checkout of 'virt-manager' from hg.et.redhat.com/virt/ repo
- Get checkout of 'virt-manager' from elvis.redhat.com:/usr/local/CVS repo
- Copy all the .po files from CVS repo into the po/ directory from HG
- Run 'make update-po'. This
- Rebuilds the virt-manager.pot to pull in latest strings from source
code files
- Runs 'msgmerge' on each .po file to add entries for new messages
and disable old ones, etc
- Commit this to HG repo
- Copy the virt-manager.pot & msgmerge'd .po files back to CVS repo
- Commit the CVS repo
Running this only at time of release isn't entirely ideal since translators
will always be one release behind the latest source strings. Thus ideally
the sync-up should be done on a weekly basis, as well as immediately before
release.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -521,8 +521,10 @@ class vmmCreate(gobject.GObject):
except ValueError, E:
self._validation_error_box(_("UUID Error"), str(e))
guest.disks = [self._disk]
guest.nics = [self._net]
if self._disk is not None:
guest.disks = [self._disk]
if self._net is not None:
guest.nics = [self._net]
# set up the graphics to use SDL
import keytable
......
......@@ -358,6 +358,16 @@ class vmmEngine(gobject.GObject):
def save_domain(self, src, uri, uuid):
con = self.get_connection(uri, False)
if con.is_remote():
warn = gtk.MessageDialog(src.window.get_widget("vmm-details"),
gtk.DIALOG_DESTROY_WITH_PARENT,
gtk.MESSAGE_WARNING,
gtk.BUTTONS_OK,
_("Saving virtual machines over remote connections is not yet supported."))
result = warn.run()
warn.destroy()
return
vm = con.get_vm(uuid)
status = vm.status()
if status in [ libvirt.VIR_DOMAIN_SHUTDOWN,
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.