summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-07-16Release 3.5.4HEADmasterZeeshan Ali (Khattak)1-0/+98
2012-07-16Regenerate icon cache after icons (un)installChristophe Fergeau1-2/+4
Move generation of the icon cache to an (un)install hook, which should ensure that it's done after all needed files are in place. This should fix make distcheck which otherwise errors out with: ERROR: files left after uninstall: ./share/icons/hicolor/icon-theme.cache
2012-07-16Updated Telugu TranslationPraveen Illa1-130/+190
2012-07-15Updated Belarusian translation.Ihar Hrachyshka1-106/+156
2012-07-15util: Simplify run()Zeeshan Ali (Khattak)1-25/+2
Basically it now just launches run_sync() through run_in_thread(). https://bugzilla.gnome.org/show_bug.cgi?id=679896
2012-07-15util: Add optional cancellable arg to run_in_threadZeeshan Ali (Khattak)1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=679896
2012-07-14Remove non-free logo filesZeeshan Ali (Khattak)7-463/+0
Lets put the non-free logos into a separate package/repository: http://git.gnome.org/browse/gnome-boxes-nonfree https://bugzilla.gnome.org/show_bug.cgi?id=671251
2012-07-14InstallerMedia tells if setup is neededZeeshan Ali (Khattak)3-7/+15
No need to use 'is UnattendedInstaller' check for this now. https://bugzilla.gnome.org/show_bug.cgi?id=679706
2012-07-13Mark CDROM device as block-based/file-based earlyChristophe Fergeau1-5/+6
The type of the libvirt disk config object is needed to generate proper XML for the 'source' element, so we need to set it as early as possible. https://bugzilla.gnome.org/show_bug.cgi?id=679646
2012-07-12Updated Galician translationsFran Diéguez1-105/+126
2012-07-11Raise min libvirt-gconfig versionChristophe Fergeau1-1/+1
The CPU topology work needs libvirt-gconfig >= 0.1.0 https://bugzilla.gnome.org/show_bug.cgi?id=676029
2012-07-11wizard: Simplify setup page skipping logic a bitZeeshan Ali (Khattak)1-7/+9
This also fixes the regression of 'SETUP' not being skipped for live medias when going backwords in wizard. https://bugzilla.gnome.org/show_bug.cgi?id=678849
2012-07-11Add InstallerMedia.get_vm_properties()Zeeshan Ali (Khattak)3-9/+21
Let InstallerMedia and its subclasses provide list of VM properties. https://bugzilla.gnome.org/show_bug.cgi?id=679706
2012-07-11UnattendedInstaller.check_needed_info -> InstallerMediaZeeshan Ali (Khattak)3-3/+3
Move check_needed_info from UnattendedInstaller to parent InstallerMedia so that users of this function don't need type checks and casting to be able to use it. https://bugzilla.gnome.org/show_bug.cgi?id=679706
2012-07-11UnattendedInstaller.populate_setup_vbox -> InstallerMediaZeeshan Ali (Khattak)3-13/+8
Move populate_setup_vbox from UnattendedInstaller to parent InstallerMedia so that users of this function don't need type checks and casting to be able to use it. https://bugzilla.gnome.org/show_bug.cgi?id=679706
2012-07-11Move SPICE password setup to InstallerMediaZeeshan Ali (Khattak)3-9/+10
Let InstallerMedia and its subclasses handle setup of SPICE password in the domain config. https://bugzilla.gnome.org/show_bug.cgi?id=679706
2012-07-11Move installer disks setup to InstallerMediaZeeshan Ali (Khattak)4-44/+45
Let InstallerMedia and its subclasses handle setup of source and unattended disk configuration in the domain config. https://bugzilla.gnome.org/show_bug.cgi?id=679706
2012-07-11UnattendedInstaller.setup -> InstallerMedia.prepare_for_installationZeeshan Ali (Khattak)3-3/+3
Move setup from UnattendedInstaller to parent InstallerMedia as a virtual function so that users of this function don't need type checks and casting to be able to use it. Also give it a more specific/descriptive name. https://bugzilla.gnome.org/show_bug.cgi?id=679706
2012-07-11UnattendedInstaller.set_direct_boot_params -> InstallerMediaZeeshan Ali (Khattak)3-10/+5
Move set_direct_boot_params from UnattendedInstaller to parent InstallerMedia so that users of this function don't need type checks and casting to be able to use it. https://bugzilla.gnome.org/show_bug.cgi?id=679706
2012-07-11InstallerMedia.from_iso_info doesn't have nullable paramsZeeshan Ali (Khattak)1-5/+5
None of the parameters of InstallerMedia.from_iso_info() have to be nullable. Marking a non-nullable parameters as nullable could easily lead to issues later. https://bugzilla.gnome.org/show_bug.cgi?id=679657
2012-07-10vm-creator: Append '-live' to live domains' namesZeeshan Ali (Khattak)1-0/+2
Without this change, we end-up appending redundant numbers to titles of live boxes, e.g 'Fedora (live) 2' even though there is no box by the title 'Fedora (live)' but only 'Fedora'. Besides its better to be consistent and keep name and title creation logic as close as possible. https://bugzilla.gnome.org/show_bug.cgi?id=679657
2012-07-10installer-media: Refactor label setup codeZeeshan Ali (Khattak)1-12/+20
https://bugzilla.gnome.org/show_bug.cgi?id=679657
2012-07-10Improve git diff output for vala filesMarc-André Lureau1-0/+1
Telling git that .vala files should be diff'ed as if they are java files makes the output more readable since the current method name appears in the hunk header. For some reason, using diff=csharp gives worse results than diff=java, that's why the latter is used. https://bugzilla.gnome.org/show_bug.cgi?id=679666
2012-07-10Sort media in ascending order, not descendingZeeshan Ali (Khattak)1-1/+1
2012-07-09Assign best possible guest CPU configuration to VMsZeeshan Ali (Khattak)1-1/+12
- VM's guest CPU topology should match that of host. - Let libvirt choose best possible guest CPU for us on domain launch. https://bugzilla.gnome.org/show_bug.cgi?id=676029
2012-07-09Remove exclamation mark from error messagesChristophe Fergeau1-2/+2
They are not needed, and such marks in messages are generally not recommended. https://bugzilla.gnome.org/show_bug.cgi?id=679645
2012-07-09Don't shutdown guest after win7/win2k8 autoinstallChristophe Fergeau2-12/+0
The unattended XML file was telling the installer to call the shutdown command once the installation is done https://bugzilla.gnome.org/show_bug.cgi?id=679028
2012-07-09Updated Norwegian bokmål translationKjartan Maraas1-96/+113
2012-07-09Updated Traditional Chinese translation(Hong Kong and Taiwan)Cheng-Chia Tseng2-192/+257
2012-07-08Updated French translationBruno Brouard1-74/+64
2012-07-07express: Create uniquely named unattended filesZeeshan Ali (Khattak)2-40/+29
Create uniquely named unattended files (disk image, kernel, initrd and other temporary files/directories) for each VM installation. Also, put all the unattended files under XDG_CACHE_HOME directory. https://bugzilla.gnome.org/show_bug.cgi?id=678900
2012-07-07vm-creator: Don't start the domain twiceZeeshan Ali (Khattak)1-6/+5
This gets rid of the annoying error on the console: (gnome-boxes:30293): Boxes-WARNING **: libvirt-machine.vala:47: Unable to start domain: Requested operation is not valid: domain is already running https://bugzilla.gnome.org/show_bug.cgi?id=679482
2012-07-07wizard: Friendlier error in the UI on review failureZeeshan Ali (Khattak)1-1/+2
The error string is based on the one we display when create() fails. https://bugzilla.gnome.org/show_bug.cgi?id=678902
2012-07-07wizard: Turn a check into return_val_if_failZeeshan Ali (Khattak)1-2/+1
https://bugzilla.gnome.org/show_bug.cgi?id=678902
2012-07-06Updated Spanish translationDaniel Mustieles1-25/+33
2012-07-06vm-creator: No need to fetch domain configurationZeeshan Ali (Khattak)1-25/+22
LibvirtMachine keeps domain configuration cached for us so no need for potentially slow blocking call to GVir.Domain.get_config (). https://bugzilla.gnome.org/show_bug.cgi?id=678894
2012-07-05vm-creator: Automatically start saved installationsZeeshan Ali (Khattak)1-0/+3
If Boxes was quit while a domain was under installation, we should awake the domain from the saved state next time Boxes is launched. https://bugzilla.gnome.org/show_bug.cgi?id=678894
2012-07-05wizard: Do create VM for non-unattended installersZeeshan Ali (Khattak)1-2/+3
This fixes another critical regression from commit 13bca42. https://bugzilla.gnome.org/show_bug.cgi?id=678894
2012-07-05vm-creator: Unhook from state-changed signal on machine deletionZeeshan Ali (Khattak)1-0/+1
No point in keeping track of machine's state and (keep a ref to it as a side-effect) if its deleted. https://bugzilla.gnome.org/show_bug.cgi?id=679430
2012-07-05Remove a redundant checkZeeshan Ali (Khattak)1-2/+1
We don't need to check if machine is running before stopping it, libvirt will take care of that: http://libvirt.org/html/libvirt-libvirt.html#virDomainDestroy https://bugzilla.gnome.org/show_bug.cgi?id=679429
2012-07-05Updated Bulgarian translationAlexander Shopov1-102/+145
2012-07-05Micro coding-style fixZeeshan Ali (Khattak)1-1/+5
2012-07-04Give credits to Alex and ChristopheZeeshan Ali (Khattak)2-2/+6
2012-07-04vm-creator: Tag installed status only after installationZeeshan Ali (Khattak)2-3/+18
While rest of the configuration really should be set after launch of domain, we should not tag the domain as 'installed' before installation is actually finished. This fixes the regression of live domains not getting automatically deleted. https://bugzilla.gnome.org/show_bug.cgi?id=678894
2012-07-04vm-creator: More reliable post-installation setupZeeshan Ali (Khattak)3-33/+39
We need to make sure that post-installation setup is only done once. App.add_domain() gets called twice (assuming libvirt events are working) at domain creation time. Then we have the case of this function being called for existing domains when Boxes starts-up. This function adds the new machine to collection, that emits 'item_added' signal and ultimately that trigered the post_installation setup. We no longer listen to the 'item_added' signal on the collection but launch the post-installation setup (or hook it to domain shutdown) where/when its appropriate. This fixes the recent regression of live VMs failing on first launch. It also re-adds the launch of post-installation setup for existing domains on boxes startup. https://bugzilla.gnome.org/show_bug.cgi?id=678894
2012-07-04vm-creator: Rename post_install_setup to set_post_install_configZeeshan Ali (Khattak)1-4/+4
Since we also do some other post-installation setup, its better to make it clear that this function only sets post-install configuration on the new domain and nothing else. https://bugzilla.gnome.org/show_bug.cgi?id=678894
2012-07-04vm-creator: Separate instances for each VM creationZeeshan Ali (Khattak)2-29/+30
This breaks first-shutdown setup in case of boxes exiting before installation/live session is finished but it will be fixed in the subsequent patches along with other race-conditions/issues in that code. https://bugzilla.gnome.org/show_bug.cgi?id=678894
2012-07-04Make all VMConfigurator methods staticZeeshan Ali (Khattak)2-27/+25
This class doesn't have any state and we'll need to call its methods from different contexts in future so it'll be nice to call those methods without having to instantiate needlessly. https://bugzilla.gnome.org/show_bug.cgi?id=678894
2012-07-04Unset mount_point field *after* last useZeeshan Ali (Khattak)1-1/+1
2012-07-03Pass UnattendedFile to add_unattended_fileChristophe Fergeau2-7/+6
This makes add_unattended_file usable with any class inheriting from UnattendedFile, not only with UnattendedTextFile instances. https://bugzilla.gnome.org/show_bug.cgi?id=677038