Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use gettext.ldngettext when necessary (#467603) | David Cantrell | 2009-06-03 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The i18n people have suggested using ngettext when we need to have singular and plural forms of strings, where the count will vary as to what we are reporting to the user. I've made the changes they have suggested. I created a new lambda function called P_() to use for the plural cases. P_() takes in three parameters: 1) The singular form of the string. 2) The plural form of the string. 3) A count. Here's an example: ....some loop runs doing stuff bytesWritten = 47 msg = P_("Wrote %d byte.", "Wrote %d bytes.", bytesWritten) % (bytesWritten,) print msg The % substitution is correct at the end because P_() returns a single string, so we only need the format string to account for that. Some strings have been changed slightly to make it easier for translations to other languages, particularly when choosing plural forms. | ||||
* | Offer VNC by default, not text mode. | Chris Lumens | 2009-02-09 | 1 | -2/+2 |
| | |||||
* | Do not import unused modules. | David Cantrell | 2008-12-23 | 1 | -1/+0 |
| | |||||
* | Make sure we look up the IP address for the correct device (#469439) | David Cantrell | 2008-11-03 | 1 | -40/+25 |
| | | | | | | | | | | | | | | | | | | | The VNC launch code in vnc.py needed an update to work better with NetworkManager. When collecting the hostname and IP address, it was assuming the first device in the netdevices list is our active NIC, which may or may not be true. Added getActiveNetDevs() in network.py to ask NetworkManager for a list of all currently configured interfaces. Return a list of device names. A list seems a bit pointless, but I'd like to have this in place now for future improvements where we might need to handle more than one active NIC during installation. After all, NM can do that. The message reported by anaconda once VNC is ready will contain the FQDN:DISPLAY_NUMBER (IP ADDRESS), if it can. If it can't find your IP address, it leaves that out. If it can't find your hostname, it also leaves that out. | ||||
* | Correctly display the IP address a vnc viewer should connect to (#465353). | Chris Lumens | 2008-10-03 | 1 | -3/+3 |
| | |||||
* | If there's an error running Xvnc, also print it to the console. | Chris Lumens | 2008-10-01 | 1 | -1/+2 |
| | | | | | This is only "helpful" in the weird case where you try to run anaconda in vnc mode on the livecd or similar environment, where there is no Xvnc. | ||||
* | Get rid of firstnetdevice in Network | David Cantrell | 2008-09-24 | 1 | -1/+4 |
| | | | | | | At least for now, I see no need for firstnetdevice in the same way before we started using NetworkManager. Might have to come back for specific cases, but I don't think it's necessary. | ||||
* | Correct the message telling you to use a VNC password. | Chris Lumens | 2008-09-10 | 1 | -1/+1 |
| | |||||
* | Remove references to /tmp/netinfo | David Cantrell | 2008-08-27 | 1 | -1/+1 |
| | |||||
* | Ask the user if he wants to use VNC instead of text mode (#453551) | Martin Sivak | 2008-07-15 | 1 | -9/+13 |
| | |||||
* | 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org) | Ján ONDREJ | 2008-06-04 | 1 | -5/+5 |
| | | | | * po/sk.po: Typo fix. | ||||
* | Clean up typos and other things for GPLv2+ changes. | David Cantrell | 2007-12-17 | 1 | -1/+1 |
| | | | | | | | Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually we'll get an AUTHORS file and will just remove author names from the individual files. Also fixed a type in scripts/dumphdrlist.py where Author was listed twice. | ||||
* | Common GPLv2+ boilerplate on toplevel python source files. | David Cantrell | 2007-12-17 | 1 | -6/+12 |
| | | | | | | Updated all *.py files to have a uniform GPL boilerplate. Expanded copyright year ranges and listed authors (if they were in the comment section) under the Red Hat Author(s) section. | ||||
* | Fix traceback when starting up vnc mode due to undefined attribute. | Chris Lumens | 2007-11-28 | 1 | -1/+1 |
| | |||||
* | Fix the vncconnectport var in vnc.py. | jgranado | 2007-10-30 | 1 | -4/+4 |
| | |||||
* | Fix various typos that were causing exceptions. | Chris Lumens | 2007-10-30 | 1 | -2/+1 |
| | |||||
* | Use classes with the vnc stuff. Fix vnc behavior (#264841). | jgranado | 2007-10-30 | 1 | -230/+303 |
| | |||||
* | Lots of minor pychecker error fixes. Some of these are even real problems. | Chris Lumens | 2007-09-19 | 1 | -2/+1 |
| | |||||
* | If the vnc server fails to start, log it and quit instead of silently | Chris Lumens | 2007-09-07 | 1 | -2/+19 |
| | | | | continuing. | ||||
* | Pass -br to the X server so there's no more hatch (#195919). | Chris Lumens | 2007-06-05 | 1 | -1/+1 |
| | |||||
* | * vnc.py (askVncWindow): Check for an executable Xvnc. | David Cantrell | 2007-05-17 | 1 | -1/+1 |
| | |||||
* | Fix vncconnect mode (#238827). | Chris Lumens | 2007-05-03 | 1 | -8/+10 |
| | |||||
* | Invert logic (#237194). | Chris Lumens | 2007-04-20 | 1 | -1/+1 |
| | |||||
* | Must import socket. | David Cantrell | 2007-04-18 | 1 | -0/+1 |
| | |||||
* | * vnc.py (startVNCServer): Better fix (#234747) | David Cantrell | 2007-04-02 | 1 | -23/+22 |
| | |||||
* | * vnc.py (startVNCServer): Display the IP address of the VNC server | David Cantrell | 2007-04-02 | 1 | -2/+14 |
| | | | | | when telling the user what to connect to. During DHCP install scenarios, users might not know the address they are assigned (#234747) | ||||
* | If we've got an IP address, display it (#231934). | Chris Lumens | 2007-03-23 | 1 | -33/+35 |
| | |||||
* | * vnc.py (askVncWindow): Only ask the user to run VNC if Xvnc is | David Cantrell | 2007-01-09 | 1 | -0/+3 |
| | | | | present. | ||||
* | Look for the right string to indicate failure. | Chris Lumens | 2006-08-11 | 1 | -1/+2 |
| | |||||
* | Use subprocess instead of our own code. Fix all calls to execWith* so | Chris Lumens | 2006-07-12 | 1 | -2/+2 |
| | | | | | the command is no longer the first argument, since subprocess doesn't work that way. Remove unneeded /proc/e820info cruft. Remove iutil.rmrf. | ||||
* | On behalf of all of us here at anaconda, we wish Chris the best of luck | David Cantrell | 2006-07-06 | 1 | -18/+16 |
| | | | | getting his workstation back online. | ||||
* | If we don't have a valid hostname, tell the user to connect to the IP address | Chris Lumens | 2006-06-02 | 1 | -8/+18 |
| | | | | | | | instead (#191561). Try really hard to display a valid thing the user can connect to. Also make the logic a little clearer (to me, at least). Now if only VNC installs worked... | ||||
* | Import iutil (#191548). | Chris Lumens | 2006-05-15 | 1 | -0/+1 |
| | |||||
* | Refactor into functions. Hmm, I wonder what the next step is. | Chris Lumens | 2006-05-01 | 1 | -0/+23 |
| | |||||
* | Move startVNCServer to vnc.py. | Chris Lumens | 2006-05-01 | 1 | -0/+167 |
| | |||||
* | Move hasActiveNetDev frmo vnc to network. | Chris Lumens | 2006-02-14 | 1 | -17/+1 |
| | |||||
* | Use new logging system. | Chris Lumens | 2005-08-12 | 1 | -2/+5 |
| | |||||
* | only ask about doing vnc if we have an active network device (#132833) | Jeremy Katz | 2004-09-21 | 1 | -2/+20 |
| | |||||
* | * move vnc initialization a little bit later | Jeremy Katz | 2004-05-28 | 1 | -0/+118 |
* if we can't figure out how to start X and text mode hasn't been explicitly asked for, prompt for if the user would prefer to do a VNC installation |