[Freeciv-Dev] [bug #17588] Cannot load default AI after compiling with AI modules enabled.

2011-01-28 Thread anonymous

Follow-up Comment #2, bug #17588 (project freeciv):

--enable-debug worked, at least.
Perhaps configure --help should mention something about this.


___

Reply to this item at:

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

___
  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] [patch #2431] Update and typo fix for doc/README.effects

2011-01-28 Thread Micke

URL:
  http://gna.org/patch/?2431

 Summary: Update and typo fix for doc/README.effects
 Project: Freeciv
Submitted by: someswede
Submitted on: Fri Jan 28 14:47:10 2011
Category: None
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 

___

Details:

* Clarifies Unit_Upkeep_Free_Per_City.
* Fixes two typoes for Shield2Gold_Factor.



___

File Attachments:


---
Date: Fri Jan 28 14:47:10 2011  Name: README.effects.diff  Size: 980B   By:
someswede

http://gna.org/patch/download.php?file_id=12144

___

Reply to this item at:

  http://gna.org/patch/?2431

___
  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 #17594] Wish: Fewer Pop-ups per Incompatible Ruleset Datafile

2011-01-28 Thread Micke

URL:
  http://gna.org/bugs/?17594

 Summary: Wish: Fewer Pop-ups per Incompatible Ruleset
Datafile 
 Project: Freeciv
Submitted by: someswede
Submitted on: Fri Jan 28 15:41:48 2011
Category: client-gtk-2.0
Severity: 1 - Wish
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 

___

Details:

The GTK client currently uses eight pop-ups to tell that datafile options are
incompatible - four of which display the same request to file a report here.





___

Reply to this item at:

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

___
  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] [patch #2432] Swedish Leader Update

2011-01-28 Thread Micke

URL:
  http://gna.org/patch/?2432

 Summary: Swedish Leader Update
 Project: Freeciv
Submitted by: someswede
Submitted on: Fri Jan 28 16:59:35 2011
Category: None
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 

___

Details:

1. Removes Anna Lindh - she has never ruled Sweden.
2. Adds the following:
 * Birger Jarl; consolidator of the united, Christian Sweden.
 * Margareta; known as Kung Byxlös in Sweden, founder of the Kalmar
Union.
 * Karl XIV Johan; born Jean Baptiste Bernadotte, founder of our current
royal house.
 * Tage Erlander; Prime Minister for 23 years and 3 days straight, the winner
of 7 general elections in a row.
3. Sorts them chronologically.




___

File Attachments:


---
Date: Fri Jan 28 16:59:35 2011  Name: swedish_leaders.diff  Size: 799B   By:
someswede

http://gna.org/patch/download.php?file_id=12145

___

Reply to this item at:

  http://gna.org/patch/?2432

___
  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] [patch #2415] Correct experimental ruleset descriptions to say they belong to experimental

2011-01-28 Thread Marko Lindqvist

Follow-up Comment #1, patch #2415 (project freeciv):

- Updated TRUNK version of patch against current svn

(file #12146)
___

Additional Item Attachment:

File name: ExperimentalDesc-TRUNK_2415-2.diff Size:3 KB


___

Reply to this item at:

  http://gna.org/patch/?2415

___
  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] [patch #2352] Move ferry statistics from adv data to default ai data

2011-01-28 Thread Marko Lindqvist

Follow-up Comment #1, patch #2352 (project freeciv):

THis patch should not change autogames, but it does. I have already slowly
debugged the problem for several days. It's quite likely that I end up
reorganizing patch series so that patches currently depending on this one can
be committed already when this patch is being debugged and fixed.
There might be similar autogame problem with patch #2389, though I have not
checked if addition of patch #2423 to earlier phase of the series has fixed
that.

___

Reply to this item at:

  http://gna.org/patch/?2352

___
  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] [patch #2433] add script to easily change capabilities

2011-01-28 Thread Matthias Pfafferodt

URL:
  http://gna.org/patch/?2433

 Summary: add script to easily change capabilities
 Project: Freeciv
Submitted by: syntron
Submitted on: Fr 28 Jan 2011 23:13:34 CET
Category: bootstrap
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: syntron
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

for the following capabilities:

* network
* tilespec
* spec
* ruleset

Redo some formation in tilespec.c



___

File Attachments:


---
Date: Fr 28 Jan 2011 23:13:34 CET  Name:
20110128-add-script-to-easily-change-capabilities.patch  Size: 7kB   By:
syntron

http://gna.org/patch/download.php?file_id=12147

___

Reply to this item at:

  http://gna.org/patch/?2433

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #17595] Odd code in client/gui-gtk-2.0/wldlg.c:refresh_worklist()

2011-01-28 Thread Jacob Nevins

URL:
  http://gna.org/bugs/?17595

 Summary: Odd code in
client/gui-gtk-2.0/wldlg.c:refresh_worklist()
 Project: Freeciv
Submitted by: jtn
Submitted on: Fri Jan 28 22:17:58 2011
Category: client-gtk-2.0
Severity: 2 - Minor
Priority: 1 - Later
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 

___

Details:

Raising a bug for an oddity I don't have time to look at this minute:

At the start of client/gui-gtk-2.0/wldlg.c:refresh_worklist() we have


  if (!ptr-pcity
   !(pgwl = global_worklist_by_id(ptr-global_worklist_id))) {
  }


Since global_worklist_by_id() doesn't appear to have side effects, I think
this has no effect.

My guess would be it's intended to be an assertion-type pattern. However,
it's not entirely obvious that the rest of the function will fall over if this
condition occurs. For instance, pgwl is checked by assertion later. So I'm not
sure.

I think this came in with r16285
http://svn.gna.org/viewcvs/freeciv?view=revrevision=16285, patch #1291.




___

Reply to this item at:

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

___
  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] [patch #2352] Move ferry statistics from adv data to default ai data

2011-01-28 Thread Marko Lindqvist

Follow-up Comment #2, patch #2352 (project freeciv):

- Replaced ai_plr_data_get() call with def_ai_player_data() call in
aiferry_init_stats(). As added comment says:

/* def_ai_player_data() instead of ai_plr_data_get() is deliberate.
   We are only initializing player data structures and ai_plre_data_get()
   would try to use it uninitialized. We are only setting values to
   data structure, not reading them, so we have no need for extra
   arrangements ai_plr_data_get() would do compared to def_ai_player_data()
*/

This resolves at least one autogame problem. I'm currently running tests to
see if there is more.

(file #12148)
___

Additional Item Attachment:

File name: AiDataFerryStat_2352-2.diffSize:7 KB


___

Reply to this item at:

  http://gna.org/patch/?2352

___
  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] [patch #2431] Update and typo fix for doc/README.effects

2011-01-28 Thread Marko Lindqvist

Update of patch #2431 (project freeciv):

Category:None = docs   
  Status:None = Ready For Test 
 Planned Release: = 2.3.0, 2.4.0   


___

Reply to this item at:

  http://gna.org/patch/?2431

___
  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] [patch #2434] Easy way to disable timing results from logs

2011-01-28 Thread Marko Lindqvist

URL:
  http://gna.org/patch/?2434

 Summary: Easy way to disable timing results from logs
 Project: Freeciv
Submitted by: cazfi
Submitted on: Sat 29 Jan 2011 02:26:35 AM EET
Category: general
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

___

Details:

I have been debugging problems with autogame that should result in identical
savegames, in fact resulting in different savegames.
I have to find out where exactly execution starts to diverge. For that I have
run autogames with full (-d 4) logging and then compared logs of the
different runs to find first difference. Number of attempts to do that
resulted in logs full of differences that were not about different results.
That is: diffs were full of noise (and by full I mean tens of thousands of
lines...)
Biggest category of such differences in log files are timing loggings. If
execution of autosettlers takes one millisecond longer in second run than
first one, it's in diff.

Attached patch puts all such timing loggings behind one macro: LOG_TIMERS.
To disable all timing loggings, and thus to get more comparable logs, one
needs only to undefine this one macro.



___

File Attachments:


---
Date: Sat 29 Jan 2011 02:26:35 AM EET  Name: LogTimers.diff  Size: 15kB   By:
cazfi

http://gna.org/patch/download.php?file_id=12149

___

Reply to this item at:

  http://gna.org/patch/?2434

___
  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 #17587] Unused variable in ai/aihand.c

2011-01-28 Thread Marko Lindqvist

Follow-up Comment #2, bug #17587 (project freeciv):

See also patch #2434. If accepted, it will also fix this bug.

___

Reply to this item at:

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

___
  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] [patch #2435] Qt-client color functions

2011-01-28 Thread Marko Lindqvist

URL:
  http://gna.org/patch/?2435

 Summary: Qt-client color functions
 Project: Freeciv
Submitted by: cazfi
Submitted on: Sat 29 Jan 2011 03:11:26 AM EET
Category: client-qt
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

___

Details:

In this patch is implemented Qt-client versions of create_sprite() and
related functions color_alloc() and color_free().



___

File Attachments:


---
Date: Sat 29 Jan 2011 03:11:26 AM EET  Name: QtColor.diff  Size: 10kB   By:
cazfi

http://gna.org/patch/download.php?file_id=12150

___

Reply to this item at:

  http://gna.org/patch/?2435

___
  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] [patch #2435] Qt-client color functions

2011-01-28 Thread Marko Lindqvist

Update of patch #2435 (project freeciv):

  Depends on: = patch #2407


___

Reply to this item at:

  http://gna.org/patch/?2435

___
  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] [patch #2436] Put some sprites on Qt-client mapview

2011-01-28 Thread Marko Lindqvist

URL:
  http://gna.org/patch/?2436

 Summary: Put some sprites on Qt-client mapview
 Project: Freeciv
Submitted by: cazfi
Submitted on: Sat 29 Jan 2011 06:11:27 AM EET
Category: client-qt
Priority: 5 - Normal
  Status: In Progress
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

This patch adds a bit miscellaneous set of function implementations to
Qt-client. I started out to implement some canvas functionality, but for
testing those I had to make drawing to mapview to work and of course that
didn't work until I fixed tileset loading.
I'll try to split this to smaller patches later, but now I backup it to this
ticket.



___

File Attachments:


---
Date: Sat 29 Jan 2011 06:11:27 AM EET  Name: QtCanvas.diff.bz2  Size: 4kB  
By: cazfi

http://gna.org/patch/download.php?file_id=12151

___

Reply to this item at:

  http://gna.org/patch/?2436

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


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