Summary: Client displays latest stable release information
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sun 19 Jun 2011 04:43:50 PM EEST
                Category: client
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.4.0



My plan is to make metaserver to send information about latest stable release
to connecting clients (but not to servers in this phase).

Attached patch makes client to compare that latest release version string to
its own, and to output message if there seems to be new version available.
There obviously is room for improvement in how the version comparison check is
done, but I'm not writing any required version comparison functions now. If
version strings differ, one from metaserver is always considered to be newer
one -> output message about possible newer version.

Nobody can really test this patch without modified metaserver. It has worked
perfectly on my own testing with my own metaserver. If this is allowed to go
forward, I'll first upgrade metaserver, then inform here that patch can be
tested, and then still give some time for people to test it before committing.


File Attachments:

Date: Sun 19 Jun 2011 04:43:50 PM EEST  Name: LatestVersionOutput.diff  Size:
1kB   By: cazfi



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to