[Freeciv-Dev] [bug #22209] Start Scenario Game lists all savegames, not only scenarios

2014-06-19 Thread Marko Lindqvist
Update of bug #22209 (project freeciv):

  Status:  Ready For Test = Fixed  
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?22209

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #22209] Start Scenario Game lists all savegames, not only scenarios

2014-06-17 Thread Marko Lindqvist
Update of bug #22209 (project freeciv):

 Planned Release: 2.4.3, 2.5.0, 2.6.0 = 2.5.0, 2.6.0   

___

Follow-up Comment #2:

Dropping S2_4 from the targets as there might be savegames that are not
technically scenarios in the sense that they have [scenario] -section but
people have always considered them scenarios. Invalidating them in the stable
branch after several releases would not be a good idea. For S2_5 such scenario
-files should be fixed.

___

Reply to this item at:

  http://gna.org/bugs/?22209

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #22209] Start Scenario Game lists all savegames, not only scenarios

2014-06-16 Thread Marko Lindqvist
URL:
  http://gna.org/bugs/?22209

 Summary: Start Scenario Game lists all savegames, not only
scenarios
 Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 17 Jun 2014 04:15:27 AM EEST
Category: client-gtk-2.0
Severity: 3 - Normal
Priority: 5 - Normal
  Status: In Progress
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.4.3, 2.5.0, 2.6.0

___

Details:

Only those savegames that have [scenario] (and in the future, when I introduce
another patch to this series; only those which do not have
scenario.is_scenario=FALSE) should be listed in scenario listing.





___

Reply to this item at:

  http://gna.org/bugs/?22209

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #22209] Start Scenario Game lists all savegames, not only scenarios

2014-06-16 Thread Marko Lindqvist
Update of bug #22209 (project freeciv):

  Status: In Progress = Ready For Test 

___

Follow-up Comment #1:

Patch

- secfile_load_section() returns NULL if requested section is not found.
Earlier the section parameter was just a hint that there's no need to load
further once that section is found. If the section was not found at all, full
file was returned
- secfile_load_section() returns only the requested section. Earlier it
returned all the sections found before the requested section
- gtk-clients add to scenario list only those files for which
secfile_lokad_section() finds [scenario]. Fur future compatibility it has
additional check that there's no scenario.is_scenario=FALSE

(file #21060, file #21061)
___

Additional Item Attachment:

File name: ScenariosOnly.patchSize:4 KB
File name: ScenariosOnly-S2_4.patch   Size:4 KB


___

Reply to this item at:

  http://gna.org/bugs/?22209

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev