Commit Graph

2611 Commits

Author SHA1 Message Date
Cole Robinson dfaf00af4c Autogenerate POTFILES.in 2013-04-03 19:42:59 -04:00
Cole Robinson d5c9f62f36 Merge HACKING from virtinst 2013-04-03 19:42:59 -04:00
Cole Robinson 3e51aea7af Update INSTALL for the new world order
And add a todo.txt note about documenting the translation process, and
how to update translations.
2013-04-03 19:40:40 -04:00
Cole Robinson 69d2aa49e4 Update autobuild.sh for the new world order. 2013-04-03 19:40:40 -04:00
Cole Robinson dbb0bd7ead man: Fix type it's->its (bz 929437) 2013-04-03 19:40:40 -04:00
Tom Lanyon ef2bdc4722 virt-install: don't fail on storage pools without targets.
(crobinso: Add Tom to AUTHORS)
2013-04-03 19:40:39 -04:00
Cole Robinson ae0e151c8a tests: Add rbd pool example to testdriver 2013-04-03 19:40:39 -04:00
Cole Robinson 3ea2704281 Update todo 2013-04-03 19:40:39 -04:00
Cole Robinson 3c251d3d8b Make RPM build work
And wire up man page creation
2013-04-03 19:40:39 -04:00
Cole Robinson 7d29a4b18a Remove old TODO file 2013-04-03 18:22:05 -04:00
Cole Robinson 2031a358ca Merge in virtinst.git AUTHORS 2013-04-03 18:22:05 -04:00
Cole Robinson d6c8ad0297 Wire up python unit tests, unify gettext setup 2013-04-03 18:22:05 -04:00
Cole Robinson 88603e4fad Merge code from python-virtinst.git
As outlined here:

https://www.redhat.com/archives/virt-tools-list/2012-February/msg00040.html

For now this is just a direct import of the code from virtinst commit
dca5a4d6245f21d554f8853197a6a234bfc8e52c. History is not merged, so
please refer to original git for detailed commit histor:

http://git.fedorahosted.org/cgit/python-virtinst.git/
2013-04-03 18:22:05 -04:00
Cole Robinson 9d05583c26 Remove autotools, replace with distutils-extra
Despite being a known quantity, autotools is so overkill for our needs,
so let's drop it and replace it with a much simpler and easy to customize
system.
2013-04-03 18:20:51 -04:00
Cole Robinson b1bfc7ab85 Remove another TODO item fixed by Giuseppe's last patch 2013-04-03 18:14:02 -04:00
Giuseppe Scrivano 823c3b20b5 Fix a segfault when the connection is dropped
The error dialog window was created on the "tick" thread, causing a
crash in GTK.  Fix it by moving its invocation to the main thread.
2013-04-03 18:14:01 -04:00
Giuseppe Scrivano a6881c6ff1 Use override_background_color instead of modify_bg
override_background_color accepts a RGBA struct, use it directly.
2013-04-03 18:14:01 -04:00
Giuseppe Scrivano d2d759abb4 Fix exception with older gi versions
The method gi.check_version was defined in 3.3.5.  Prevent an exception
with older versions of the library.

(crobinso: Add Giuseppe to AUTHORS)
2013-04-03 18:14:01 -04:00
Cole Robinson 2d786a1ca9 todo: Add entry about wiki-ifying the website 2013-04-03 18:13:28 -04:00
Cole Robinson c6b4310f72 virt-manager: Just print bogus GTK errors 2013-04-03 18:13:28 -04:00
Cole Robinson 6cd6b1dad9 Add gtk3 todo.txt 2013-04-03 18:13:28 -04:00
Cole Robinson 976e6db68f details: Don't expand CPU model dropdown 2013-04-03 18:13:27 -04:00
Cole Robinson dfc6a37977 man: Mention that standard GTK args are also accepted. 2013-04-03 18:13:27 -04:00
Cole Robinson 6208d67129 Fix GObject deprecation warnings with latest pygobject 2013-04-03 18:13:27 -04:00
Cole Robinson 2787e0ba40 manager: Fix empty desc tooltip if pygobject is new enough 2013-04-03 18:13:27 -04:00
Cole Robinson bcfbbb2bc7 s/self.window/self.builder/g
Since 'window' is overloaded, let's not make it worse.
2013-04-03 18:13:27 -04:00
Cole Robinson abbdd1743a Fix some pylint 2013-04-03 18:13:27 -04:00
Cole Robinson 0ffa69e760 Fix serial consoles after gtk3 conversion 2013-04-03 18:13:27 -04:00
Cole Robinson eba8f6f7e9 Turn off leak debugging, since gtk3 is messing us up 2013-04-03 18:13:27 -04:00
Cole Robinson 8da021cf3a create: Fix OS autodetect for URLs 2013-04-03 18:13:27 -04:00
Cole Robinson 8c479dbdd3 progress: Fix label spacing 2013-04-03 18:13:27 -04:00
Cole Robinson c342b58b84 console: Fix send keys for spice and vnc
Unfortunately the bindings were both broken here, so patches are needed
to make this work:

https://bugs.freedesktop.org/show_bug.cgi?id=59444
https://bugzilla.gnome.org/show_bug.cgi?id=691821
2013-04-03 18:13:26 -04:00
Cole Robinson 9b2fd63480 console: Fix spice audio tunneling after conversion 2013-04-03 18:13:26 -04:00
Cole Robinson 2e4afccb07 Fix up a ton of UI regressions from gtk3 conversion 2013-04-03 18:13:26 -04:00
Cole Robinson 3de927d109 Remove rhel compat get_system_shutdown_icon 2013-04-03 18:13:26 -04:00
Cole Robinson cb512f61e7 Cleanup gnome-keyring code (still broken with introspection) 2013-04-03 18:13:26 -04:00
Cole Robinson 5df0a108f8 baseclass: Allow not passing a msg to _logtrace helper 2013-04-03 18:13:26 -04:00
Cole Robinson 12a4e34bad Remove unused gconf key console/grab_notify 2013-04-03 18:13:26 -04:00
Cole Robinson d9112f9d54 Remove all code and hidden UI for accessing help docs
Those docs were removed a few commits back
2013-04-03 18:13:26 -04:00
Cole Robinson eac0f93da7 Drop comboboxentry RHEL6 compat 2013-04-03 18:13:26 -04:00
Cole Robinson bdfd0d4143 Resave glade files to drop gtk2 bits 2013-04-03 18:13:25 -04:00
Cole Robinson 12fcac8268 s/get_property("sensitive")/get_sensitive()/g 2013-04-03 18:13:25 -04:00
Cole Robinson e741d9cab6 Clean up all pylint + pep8 violations 2013-04-03 18:13:25 -04:00
Cole Robinson 179e94fda5 engine: Don't rewrite connection list when we read stored URIs 2013-04-03 18:13:25 -04:00
Cole Robinson d057cce292 Remove local copy of IPy 2013-04-03 18:13:25 -04:00
Cole Robinson dc640d7506 configure: Don't drop so many files in topdir 2013-04-03 18:13:25 -04:00
Cole Robinson f872720d39 Add .mailmap 2013-04-03 18:13:25 -04:00
Cole Robinson 14485f2a08 Remove the docs/ dir
Release process doesn't need to be documented in the repo

Dbus interface is basically unused, I've got no problem with having people
look at the code to figure it out if they care that much.
2013-04-03 18:13:25 -04:00
Cole Robinson 53b12d82c5 Stop tracking old help files, they are long dead 2013-04-03 18:13:25 -04:00
Daniel P. Berrange 3c3237b951 Convert to use GTK3 and GObject Introspection bindings
Switch over to use GObject introspection bindings for all python
modules related to GObject/GTK3/etc. It is not possible to mix
and match old pyggtk/pygobject manual bindings with new introspection
based bindings so it must be all changed in one go.

Imports like

    import gtk

Change to

    from gi.repository import Gtk

The vmmGObject class is changed to always inherit from GObject.GObject
There is no compelling reason to avoid a GObject dep for the
virt-manager TUI & it horribly messed up the code.

Signal declarations are changed from

  vmmChooseCD.signal_new(vmmChooseCD, "cdrom-chosen", [object, str])

To

     __gsignals__ = {
        "cdrom-chosen": (GObject.SignalFlags.RUN_FIRST, None, [object, str])
    }

which is required by new GObject bindings

Most of the rest of the change is simply dealing with renamed
constants / classes.

Alot of legacy compat code was removed - ie helpers which
check to see if certain GTK2 methods are available are no
longer required since we're mandating GTK3 only.

The event loop is replaced with LibvirtGLib's event loop.

Still todo

 - Rip out all DBus stuff & make vmmEngine class inherit GtkApplication
   which provides unique support & DBus method handling
 - Switch to use LibvirtGConfig & LibvirtGObject for libvirt interaction
 - Possibly switch to Python 3 too ?
 - Figure out why GNOME keyring is missing Introspection support

My suggestion is that the standalone GIT repo for virt-install
only live on as a support branch for legacy platforms.

A stable-0.9 branch of virt-manager can be kept for legacy PyGtk2
based virt-manager releases.

The virt-manager master branch should exclusively use GObject
inspection and ideally Python3 and contain both the virt-manager
and virt-install codebases in one since they are intimately
related to each other & using separate GIT repos has needlessly
complicated life for everyone.

crobinso:
    Some locking fixes
    Misc cleanups and dropping now-useless code
    Fix dbus usage
    Fix graph cell renderer regression
    Fix a couple tooltip issues
2013-04-03 18:13:24 -04:00