[Freeciv-Dev] [bug #18461] crash using lua function civil_war (in ai_plr_data_get() [aidata.c::310]: assertion 'ai-phase_initialized' failed.)

2011-08-09 Thread Matthias Pfafferodt

Follow-up Comment #1, bug #18461 (project freeciv):

civil_war() was designed to be called during turn change (ai phase for all
players). Now, it can be executed via a lua function at any time. Thus, the ai
phase does not have to be initialized. One possible solution would be to check
for this if a civil war occurs. Thus, the ai phase would be initialized for
all players, the civil war executed, and after that the ai phase would be
closed. Thoughts?

___

Reply to this item at:

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

___
  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 #18461] crash using lua function civil_war (in ai_plr_data_get() [aidata.c::310]: assertion 'ai-phase_initialized' failed.)

2011-08-09 Thread Jacob Nevins

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

Oh, rats.
(Doesn't civil_war() execute mid-turn when you trigger it by taking over a
city? Is that already dealt with?)

___

Reply to this item at:

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

___
  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 #18468] 2.3.0 does not compile on OpenBSD 4.9

2011-08-09 Thread Michal Mazurek

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

I compiled without debug. Freeciv crashes. I should have tested it while it
was in RC! note: I get Lan bind failed for any port.

System OpenBSD 4.9 on sparc64.

[11:22:ttypd][longturn@spock:~/src/freeciv-2.3.0:36]$ ./ser -p  
This is the server for Freeciv version 2.3.0
You can learn a lot about Freeciv at http://www.freeciv.org/
1: Lan bind failed: Address already in use
2: Loading rulesets.
Bus error (core dumped)

(gdb) bt
#0  0x002b4aa8 in secfile_lookup_int_vec (secfile=0x208be8000,
dim=0xb58d54, path=0x404bf8 civstyle.granary_food_ini)
at registry.c:1973
#1  0x00187324 in load_ruleset_game () at ruleset.c:3230
#2  0x001931b8 in load_rulesets () at ruleset.c:4019
#3  0x0010d420 in srv_main () at srv_main.c:2269
#4  0x001038d0 in main (argc=3, argv=0xfffc9668) at
civserver.c:375

___

Reply to this item at:

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

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


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


Re: [Freeciv-Dev] [bug #18468] 2.3.0 does not compile on OpenBSD 4.9

2011-08-09 Thread Marko Lindqvist
On 9 August 2011 12:28, Michal Mazurek no-reply.invalid-addr...@gna.org wrote:

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

 I compiled without debug. Freeciv crashes. I should have tested it while it
 was in RC! note: I get Lan bind failed for any port.

 Port for listening client connections has nothing to do with this
error message, so it's quite natural that changing it doesn't affect
the outcome.
Lan here refers to broadcast messages to local network. It's always
on port 4555.
You probably have no real need to announce longturn servers on local
network (no player will find your server that way), so you can test
disabling it completely ./ser -A none as workaround.

What kind of setup you have in respect to IPv6 support? Dual stack /
IPv4 only / IPv6 support in kernel, but disabled in userland...


 - ML

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


Re: [Freeciv-Dev] [bug #18468] 2.3.0 does not compile on OpenBSD 4.9

2011-08-09 Thread Michal Mazurek
On Tue, Aug 09, 2011 at 02:02:30PM +0300, Marko Lindqvist wrote:
 On 9 August 2011 12:28, Michal Mazurek no-reply.invalid-addr...@gna.org 
 wrote:
 
  Follow-up Comment #2, bug #18468 (project freeciv):
 
  I compiled without debug. Freeciv crashes. I should have tested it while it
  was in RC! note: I get Lan bind failed for any port.
 
  Port for listening client connections has nothing to do with this
 error message, so it's quite natural that changing it doesn't affect
 the outcome.
 Lan here refers to broadcast messages to local network. It's always
 on port 4555.
 You probably have no real need to announce longturn servers on local
 network (no player will find your server that way), so you can test
 disabling it completely ./ser -A none as workaround.

Oh, thanks. I have another server running (2.2), so perhaps that's the
cause.

 What kind of setup you have in respect to IPv6 support? Dual stack /
 IPv4 only / IPv6 support in kernel, but disabled in userland...

I have both ipv4 and ipv6 fully functioning.

BTW. 2.3.0 works fine on OpenBSD 5.0 on i386, just tested (no bus error).

-- 
Michal Mazurek

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


Re: [Freeciv-Dev] [patch #2866] A different autosettler fix for 2.3.0-RC2

2011-08-09 Thread Marko Lindqvist
 Thank you for your patches. I'll look them as soon as I'm back on my
freeciv dev machine (and can login to gna).

 Please try to have one ticket / issue in the future for making
handling these easier. I think I need to split current one to several
separate ones so that each ticket can be closed when the issue has
been dealt with. Otherwise we have half-dealt tickets with some parts
committed and others not, and a lot of maintainer time gets wasted
when we try to figure out what parts still need our attention
(especially if one maintainer handles some part and then other one
remaining parts a lot later)
 Also, things related to bugs existing in freeciv should go to bug
tracker, and new features to patch tracker.


 - ML

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


[Freeciv-Dev] [bug #18461] crash using lua function civil_war (in ai_plr_data_get() [aidata.c::310]: assertion 'ai-phase_initialized' failed.)

2011-08-09 Thread Matthias Pfafferodt

Update of bug #18461 (project freeciv):

  Status:None = Ready For Test 

___

Follow-up Comment #3:

I did some tests and I do use a unique setting: civil_war() is called via the
lua signal 'turn_started'. At the time this signal is raised, neither the
advisor nor the AI are initialized. Thus the core dump. The attached patch
fixes the error by doing the initialization before ...

Please test ...

(file #13791)
___

Additional Item Attachment:

File name:
20110808-48-initialize-advisor-and-AI-code-before-lua-signal-tur.patch Size:1
KB


___

Reply to this item at:

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

___
  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 #18461] crash using lua function civil_war (in ai_plr_data_get() [aidata.c::310]: assertion 'ai-phase_initialized' failed.)

2011-08-09 Thread Marko Lindqvist

Follow-up Comment #4, bug #18461 (project freeciv):

Is civil war another case where phasemode != simultaneous would cause
problems as described in bug #18333?

___

Reply to this item at:

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

___
  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 #18461] crash using lua function civil_war (in ai_plr_data_get() [aidata.c::310]: assertion 'ai-phase_initialized' failed.)

2011-08-09 Thread Marko Lindqvist

Follow-up Comment #6, bug #18461 (project freeciv):

Are you sure about the patch? Just by reading it (without checking from
source code more context) I notice that you add initialization to one place,
but don't remove it from anywhere. Isn't this going to cause double
initialization? (If it is, and you have tested this patch without error
messages, we are missing important assert)
Also, I don't remember offhand what, but moving the initialization earlier
from where it is may cause other problems (I recall that when I last moved it,
I put it as early as possible) Some information that it uses is bogus earlier,
or something like that. Code comments or old tickets hopefully contain more
exact information.

___

Reply to this item at:

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

___
  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 #18464] AC_CONFIG_MACRO_DIR requires autoconf 2.59

2011-08-09 Thread Marko Lindqvist

Update of bug #18464 (project freeciv):

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


___

Reply to this item at:

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

___
  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 #2840] Autosettler tweak for 2.4 r 20006

2011-08-09 Thread Marko Lindqvist

Follow-up Comment #3, patch #2840 (project freeciv):

Current S2_3 versions of this patch are in attached to patch #2841. I'll
close that ticket as duplicate of this one, but one may still want to access
files from it.

___

Reply to this item at:

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

___
  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 #2841] Autosettler tweak for 2.3.0-RC1

2011-08-09 Thread Marko Lindqvist

Update of patch #2841 (project freeciv):

  Status:None = Duplicate  
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 

___

Follow-up Comment #5:

I'm closing this one as duplicate of patch #2840. New versions of the patch
should go to that ticket.

___

Reply to this item at:

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

___
  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 #2866] Autosettlers consider improving city center tiles

2011-08-09 Thread Marko Lindqvist

Update of patch #2866 (project freeciv):

  Status:None = Ready For Test 
 Assigned to:None = cazfi  
 Planned Release: = 2.3.1, 2.4.0   
 Summary: A different autosettler fix for 2.3.0-RC2 =
Autosettlers consider improving city center tiles


___

Reply to this item at:

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

___
  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 #2840] Make autosettlers consider improving resource tiles

2011-08-09 Thread Marko Lindqvist

Update of patch #2840 (project freeciv):

 Assigned to:None = cazfi  
 Planned Release: = 2.3.1, 2.4.0   
 Summary: Autosettler tweak for 2.4 r 20006 = Make
autosettlers consider improving resource tiles


___

Reply to this item at:

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

___
  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 #2513] [lua01] rename files (preparation for lua module rework)

2011-08-09 Thread Matthias Pfafferodt

Follow-up Comment #4, patch #2513 (project freeciv):

updated patch: it only moves files (see comment #0); on the svn server this
should be done with the corresponding commands. The changes are needed for the
following patches.

(file #13793)
___

Additional Item Attachment:

File name:
20110809-luascript01-rename-files-preparation-for-lua-module-rework.patch.bz2
Size:29 KB


___

Reply to this item at:

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

___
  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] [patch #2840] Make autosettlers consider improving resource tiles

2011-08-09 Thread Marko Lindqvist

Update of patch #2840 (project freeciv):

  Status:None = Ready For Test 

___

Follow-up Comment #4:

Attached patch is part relevant to this ticket from one of the patches Ryan
Riegel rriegs had attached to patch #2866.

(file #13794)
___

Additional Item Attachment:

File name: VTileResourceValid_2840.diff   Size:0 KB


___

Reply to this item at:

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

___
  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 #2514] [lua02] redo lua script

2011-08-09 Thread Matthias Pfafferodt

Follow-up Comment #3, patch #2514 (project freeciv):

updated patch (changes 20110809):

* lua script signals (destroy signal_callbacks correctly and use va_copy()
for signal callback, i.e. mor ethan one signal)
* fix spelling of API_TYPE_CON[N]ECTION (patch also by Marko Lindqvist
cazfi: gna patch #2868)
* redo server only functions and move them to the edit module
* add compatibility functions

___

Reply to this item at:

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

___
  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] [patch #2514] [lua02] redo lua script

2011-08-09 Thread Matthias Pfafferodt

Follow-up Comment #4, patch #2514 (project freeciv):

and here is the patch file ...

(file #13795)
___

Additional Item Attachment:

File name: 20110809-luascript02-redo-lua-script.patch.bz2 Size:37 KB


___

Reply to this item at:

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

___
  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] [patch #2869] [lua02a] merge lua and luafile commands

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua02a] merge lua and luafile commands
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:07:47 CEST
Category: None
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:

new command:

lua cmd script line
lua file script file
lua script line (compatibility)




___

File Attachments:


---
Date: Mi 10 Aug 2011 00:07:47 CEST  Name:
20110809-luascript03-merge-lua-and-luafile-commands.patch  Size: 9kB   By:
syntron

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

___

Reply to this item at:

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

___
  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] [patch #2869] [lua02a] merge lua and luafile commands

2011-08-09 Thread Matthias Pfafferodt

Update of patch #2869 (project freeciv):

  Depends on: = patch #2520


___

Reply to this item at:

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

___
  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] [patch #2870] [lua02b] signal interface in luascript_signal.(ch)

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua02b] signal interface in luascript_signal.(ch)
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:09:54 CEST
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:

* remove signal callbackss with 'signal.remove()'
* plot all signals (+ callbacks) with 'signal.list()'



___

File Attachments:


---
Date: Mi 10 Aug 2011 00:09:54 CEST  Name:
20110809-luascript04-signal-interface-in-luascript_signal.-ch.patch  Size: 2kB
  By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2866] Autosettlers consider improving city center tiles

2011-08-09 Thread Marko Lindqvist

Follow-up Comment #3, patch #2866 (project freeciv):

I've extracted parts from file #13764 to patch #2840.

This ticket is now about city center problem only, latest version is file
#13783 in comment #2.

___

Reply to this item at:

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

___
  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 #2871] [lua02c] print all lua variables

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua02c] print all lua variables
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:10:53 CEST
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:

new lua function listenv()



___

File Attachments:


---
Date: Mi 10 Aug 2011 00:10:53 CEST  Name:
20110809-luascript04-signal-interface-in-luascript_signal.-ch.patch  Size: 2kB
  By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2872] [lua02d] add implementation for lua constants

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua02d] add implementation for lua constants
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:11:57 CEST
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:

source:

Flexible constant implementation
source: http://developer.anscamobile.com/code/\
   universal-constants-module-very-easy-usage
written in 2010 by Hans Raaf - use as you wish!



___

File Attachments:


---
Date: Mi 10 Aug 2011 00:11:57 CEST  Name:
20110809-luascript06-add-implementation-for-lua-constants.patch  Size: 2kB  
By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2871] [lua02c] print all lua variables

2011-08-09 Thread Matthias Pfafferodt

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

wrong file (was for patch #2870); the right one is here

(file #13800)
___

Additional Item Attachment:

File name: 20110809-luascript05-print-all-lua-variables.patch Size:1 KB


___

Reply to this item at:

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

___
  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] [patch #2515] [lua03] client lua script

2011-08-09 Thread Matthias Pfafferodt

Update of patch #2515 (project freeciv):

Category:  client = client-gtk-2.0 

___

Follow-up Comment #1:

rebased patch

* it prepares a lua script console on the client
* gtk-2.0 files included

(file #13801)
___

Additional Item Attachment:

File name: 20110809-luascript07-basic-files-for-client-lua-script.patch.bz2
Size:10 KB


___

Reply to this item at:

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

___
  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] [patch #2873] [lua03a] lient lua script console (gtk3)

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua03a] lient lua script console (gtk3)
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:16:14 CEST
Category: client-gtk-3.0
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

untested patch (a copy of gtk2 version)



___

File Attachments:


---
Date: Mi 10 Aug 2011 00:16:14 CEST  Name:
20110809-luascript08-client-lua-script-gtk3.patch.bz2  Size: 5kB   By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2874] [lua03b] files needed for the ftwl client if client lua script is added

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua03b] files needed for the ftwl client if client
lua script is added
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:17:44 CEST
Category: client-ftwl
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

untested patch

is the ftwml client still supported or is it to be removed?



___

File Attachments:


---
Date: Mi 10 Aug 2011 00:17:44 CEST  Name:
20110809-luascript09-files-needed-for-the-ftwl-client-if-client-lua-scrip.patch
 Size: 4kB   By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2875] [lua03c] files needed for the xaw client if client lua script is added

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua03c] files needed for the xaw client if client
lua script is added
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:18:22 CEST
Category: client-xaw
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

untested



___

File Attachments:


---
Date: Mi 10 Aug 2011 00:18:22 CEST  Name:
20110809-luascript10-files-needed-for-the-xaw-client-if-client-lua-script.patch
 Size: 4kB   By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2876] [lua03c] files needed for the win32 client if client lua script is added

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua03c] files needed for the win32 client if
client lua script is added
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:19:00 CEST
Category: client-win32
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

untested



___

File Attachments:


---
Date: Mi 10 Aug 2011 00:19:00 CEST  Name:
20110809-luascript11-files-needed-for-the-win32-client-if-client-lua-scri.patch
 Size: 4kB   By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2876] [lua03d] files needed for the win32 client if client lua script is added

2011-08-09 Thread Matthias Pfafferodt

Update of patch #2876 (project freeciv):

 Summary: [lua03c] files needed for the win32 client if
client lua script is added = [lua03d] files needed for the win32 client if
client lua script is added


___

Reply to this item at:

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

___
  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] [patch #2877] [lua03e] files needed for the stub client if client lua script is added

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua03e] files needed for the stub client if client
lua script is added
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:19:59 CEST
Category: client-sdl
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

untested



___

File Attachments:


---
Date: Mi 10 Aug 2011 00:19:59 CEST  Name:
20110809-luascript12-files-needed-for-the-stub-client-if-client-lua-scrip.patch
 Size: 4kB   By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2873] [lua03a] client lua script console (gtk3)

2011-08-09 Thread Matthias Pfafferodt

Update of patch #2873 (project freeciv):

 Summary: [lua03a] lient lua script console (gtk3) =
[lua03a] client lua script console (gtk3)


___

Reply to this item at:

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

___
  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] [patch #2878] [lua03f] files needed for the sdl client if client lua script is added

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua03f] files needed for the sdl client if client
lua script is added
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:20:58 CEST
Category: client-sdl
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

untested



___

File Attachments:


---
Date: Mi 10 Aug 2011 00:20:58 CEST  Name:
20110809-luascript13-files-needed-for-the-sdl-client-if-client-lua-script.patch
 Size: 4kB   By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2879] [lua03g] files needed for the qt client if client lua script is added

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua03g] files needed for the qt client if client
lua script is added
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:21:34 CEST
Category: client-qt
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

untested



___

File Attachments:


---
Date: Mi 10 Aug 2011 00:21:34 CEST  Name:
20110809-luascript14-files-needed-for-the-qt-client-if-client-lua-script-.patch
 Size: 4kB   By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2513] [lua01] rename files (preparation for lua module rework)

2011-08-09 Thread Marko Lindqvist

Follow-up Comment #5, patch #2513 (project freeciv):

Can you attach Makfile.am  configure.ac changes as separate patch. You
shouldn't commit just file renames meaning freeciv wouldn't compile. At the
same commit that you move files, you have to update Makefile.ams and
configure.ac at least.

If you want me to commit this (you say in comment #3 that you don't want to
commit this yourself) I'd like to have:
1) List of files to rename, both old and new name.
2) Patch to apply after renames have been made to make freeciv compile



___

Reply to this item at:

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

___
  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 #2516] [lua04] add the client lua console

2011-08-09 Thread Matthias Pfafferodt

Update of patch #2516 (project freeciv):

  Status:  Ready For Test = Duplicate  
 Open/Closed:Open = Closed 

___

Follow-up Comment #1:

included in patch #2515

___

Reply to this item at:

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

___
  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] [patch #2520] [metaticket] common lua interface

2011-08-09 Thread Matthias Pfafferodt

Update of patch #2520 (project freeciv):

  Depends on: = patch #2513


___

Reply to this item at:

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

___
  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] [patch #2517] [lua05] fix luaconsole for all other clients

2011-08-09 Thread Matthias Pfafferodt

Update of patch #2517 (project freeciv):

  Status:  Ready For Test = Duplicate  
 Open/Closed:Open = Closed 

___

Follow-up Comment #1:

see the following patches:

* [lua03a] client lua script console (gtk3) (patch #2873)
* [lua03b] files needed for the ftwl client if client lua script is added
(patch #2874)
* [lua03c] files needed for the xaw client if client lua script is added
(patch #2875)
* [lua03d] files needed for the win32 client if client lua script is added
(patch #2876)
* [lua03e] files needed for the stub client if client lua script is added
(patch #2877)
* [lua03f] files needed for the sdl client if client lua script is added
(patch #2878)
* [lua03g] files needed for the qt client if client lua script is added
(patch #2879)


___

Reply to this item at:

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

___
  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] [patch #2518] [lua06] add function to print from lua into the chat console

2011-08-09 Thread Matthias Pfafferodt

Update of patch #2518 (project freeciv):

  Status: In Progress = Duplicate  
 Open/Closed:Open = Closed 

___

Follow-up Comment #1:

included in patch #2515

___

Reply to this item at:

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

___
  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] [patch #2519] [lua07][lua08] add first signal to the client

2011-08-09 Thread Matthias Pfafferodt

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

rebased version of this example

(file #13809)
___

Additional Item Attachment:

File name: 20110809-luascript24-client-lua-script-test-patch.patch Size:1 KB


___

Reply to this item at:

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

___
  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] [patch #2880] [lua08] lua functions to get the freeciv version

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua08] lua functions to get the freeciv version
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:29:02 CEST
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:





___

File Attachments:


---
Date: Mi 10 Aug 2011 00:29:02 CEST  Name:
20110809-luascript15-a-luascript-function-freeciv_version.patch  Size: 2kB  
By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2881] [lua09]add Player.is_alive and Player:exists()

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua09]add Player.is_alive and Player:exists()
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:29:53 CEST
Category: general
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:





___

File Attachments:


---
Date: Mi 10 Aug 2011 00:29:53 CEST  Name:
20110809-luascript16-add-Player.is_alive-and-Player-exists.patch  Size: 818B  
By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2866] Autosettlers consider improving city center tiles

2011-08-09 Thread Marko Lindqvist

Follow-up Comment #4, patch #2866 (project freeciv):

Ryan: Can you resubmit other parts of your patches to new tickets, one issue
/ ticket?

___

Reply to this item at:

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

___
  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 #2882] [lua10] lua function to check if the game was started

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua10] lua function to check if the game was
started
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:30:51 CEST
Category: general
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:





___

File Attachments:


---
Date: Mi 10 Aug 2011 00:30:51 CEST  Name:
20110809-luascript17-new-lua-function-to-check-if-the-game-was-started.patch 
Size: 2kB   By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2883] [lua11] lua function to save a game (as 'manual' save)

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua11] lua function to save a game (as 'manual'
save)
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:31:31 CEST
Category: general
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:





___

File Attachments:


---
Date: Mi 10 Aug 2011 00:31:31 CEST  Name:
20110809-luascript18-add-lua-function-to-save-a-game-as-manual-save.patch 
Size: 2kB   By: syntron

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

___

Reply to this item at:

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

___
  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] [patch #2840] Make autosettlers consider improving resource tiles

2011-08-09 Thread Marko Lindqvist

Follow-up Comment #5, patch #2840 (project freeciv):

Micke: Can you resubmit parts of your patch not relevant to this ticket to
new ticket(s), one issue / ticket, but all code branches handled in same
ticket?

___

Reply to this item at:

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

___
  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 #2884] [lua12] lua test game

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: [lua12] lua test game
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:33:18 CEST
Category: general
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

only basic functionallity; the test game should be a point to validate all
lua functions



___

File Attachments:


---
Date: Mi 10 Aug 2011 00:33:18 CEST  Name:
20110809-luascript20-lua-test-script.patch.bz2  Size: 5kB   By: syntron

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

___

Reply to this item at:

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

___
  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 #18476] allow to load games without a map (i.e. tutorial)

2011-08-09 Thread Matthias Pfafferodt

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

 Summary: allow to load games without a map (i.e. tutorial)
 Project: Freeciv
Submitted by: syntron
Submitted on: Mi 10 Aug 2011 00:34:42 CEST
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.4.0

___

Details:

needed for the lua test game and for a possible tutorial using the new
savegame format



___

File Attachments:


---
Date: Mi 10 Aug 2011 00:34:42 CEST  Name:
20110809-luascript19-allow-to-load-games-without-a-map.patch  Size: 1kB   By:
syntron

http://gna.org/bugs/download.php?file_id=13815

___

Reply to this item at:

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

___
  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] [patch #2520] [metaticket] common lua interface

2011-08-09 Thread Matthias Pfafferodt

Update of patch #2520 (project freeciv):

  Depends on: = patch #2880


___

Reply to this item at:

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

___
  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] [patch #2520] [metaticket] common lua interface

2011-08-09 Thread Matthias Pfafferodt

Follow-up Comment #8, patch #2520 (project freeciv):

updated patch series; a summary of the old/new functions and structure can be
found on the wiki page mentioned in comment #7

___

Reply to this item at:

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

___
  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] [patch #2830] ser - fcser, civ - fcgui

2011-08-09 Thread Marko Lindqvist

Follow-up Comment #3, patch #2830 (project freeciv):

- Updated against current svn

(file #13816)
___

Additional Item Attachment:

File name: fcser_2830-3.diff  Size:2 KB


___

Reply to this item at:

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

___
  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 #2513] [lua01] rename files (preparation for lua module rework)

2011-08-09 Thread Matthias Pfafferodt

Follow-up Comment #6, patch #2513 (project freeciv):

all changes you request are included in patch #2514; a list of files are
given in comment #0. If you need it in another format, please tell me, so that
I can try to provide it.

___

Reply to this item at:

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

___
  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] [patch #2513] [lua01] rename files (preparation for lua module rework)

2011-08-09 Thread Marko Lindqvist

Follow-up Comment #7, patch #2513 (project freeciv):

patch #2514 is hardly the minimum change to get freeciv compile after files
are moved.
That patch I'm after clearly should be part of this ticket, as it *must* be
part of the same commit as actual file renames. Oh well, I can make that patch
myself.

___

Reply to this item at:

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

___
  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 #2513] [lua01] rename files (preparation for lua module rework)

2011-08-09 Thread Marko Lindqvist

Update of patch #2513 (project freeciv):

  Status:  Ready For Test = In Progress
 Assigned to:None = cazfi  

___

Follow-up Comment #8:

Attached is development version of the patch. But it turns out that we need
to do some preparations *before* this file rename ticket. More specifically,
api_common_intl.c (previous api_intl.c) to be moved to common/(scriptcore)
includes script_game.h that remains in server/(scripting). We cannot have such
dependency from common to server direction.

So, first we should remove any dependencies from files to be moved to common
to files remaining in server. Only after that we can proceed with this file
moving ticket.

(file #13817)
___

Additional Item Attachment:

File name: LuaFileRename_2513.diffSize:7 KB


___

Reply to this item at:

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

___
  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 #2885] Fix autosettler to use rail connectivity bonus when planning for railroads

2011-08-09 Thread anonymous

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

 Summary: Fix autosettler to use rail connectivity bonus when
planning for railroads
 Project: Freeciv
Submitted by: None
Submitted on: Wed 10 Aug 2011 04:28:51 AM UTC
Category: ai
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 

___

Details:

When thinking about building a road, autosettlers also consider building the
road for the sole purpose of later building a railroad.  Both road and rail
building are subject to a connectivity bonus, so that autosettlers prefers to
build roads/rail on tiles that help connect the nation even when the
(rail)road otherwise has no benefit (e.g. to trade).

The code presently uses the road connectivity bonus (which favors building
regular roads on certain tiles adjacent to other regular roads) even when
building the road strictly as a prerequisite for building a railroad.  It
seems more appropriate, however, to use the rail connectivity bonus (which is
similar, but for railroads) in this situation.

This patch changes the code to use the rail connectivity bonus in this
situation and also cleans up the code a bit to remove a confusing (and
incorrectly named) duplicated variable.

TODO: The road/rail connectivity bonus computations need to be revisited. 
Their logic is difficult to follow and seems a bit buggy, plus the bonus may
not be enough (autosettlers will mine hills for ages before putting much
effort into roads, which can be much more useful to an early nation). 
Regardless, this patch will pave the way for more precise future adjustments.



___

File Attachments:


---
Date: Wed 10 Aug 2011 04:28:51 AM UTC  Name:
fix-autosettler-road-to-rail-extra.patch  Size: 2kB   By: None

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

___

Reply to this item at:

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

___
  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 #2885] Fix autosettler to use rail connectivity bonus when planning for railroads

2011-08-09 Thread Ryan Riegel

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

Sorry, forgot to log in.  The following is my submission and upload.

___

Reply to this item at:

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

___
  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 #2886] Fix set but unused variable warning from scripting

2011-08-09 Thread Marko Lindqvist

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

 Summary: Fix set but unused variable warning from
scripting
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 10 Aug 2011 07:56:48 AM EEST
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:

Attached patch removes set but unused variable status from
api_actions_create_player().



___

File Attachments:


---
Date: Wed 10 Aug 2011 07:56:48 AM EEST  Name: UuSetScripting.diff  Size: 1kB 
 By: cazfi

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

___

Reply to this item at:

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

___
  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 #2887] Build dependencies first

2011-08-09 Thread Marko Lindqvist

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

 Summary: Build dependencies first
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 10 Aug 2011 08:00:03 AM EEST
Category: bootstrap
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 preparation to patch #2513 attached patch makes dependencies to be built
before any other code.



___

File Attachments:


---
Date: Wed 10 Aug 2011 08:00:03 AM EEST  Name: DepFirst.diff  Size: 709B   By:
cazfi

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

___

Reply to this item at:

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

___
  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 #2888] Use city_list_size() instead of counting units in cityrepdata.c

2011-08-09 Thread Marko Lindqvist

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

 Summary: Use city_list_size() instead of counting units in
cityrepdata.c
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 10 Aug 2011 08:06:25 AM 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

___

Details:

Attahced patch changes cityrepdata.c to simply use unit_list_size() instead
of iterating over unit list and counting elements.



___

File Attachments:


---
Date: Wed 10 Aug 2011 08:06:25 AM EEST  Name: CRDListSize.diff  Size: 866B  
By: cazfi

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

___

Reply to this item at:

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

___
  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 #2889] Allow autosettlers to plan for farmland

2011-08-09 Thread Ryan Riegel

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

 Summary: Allow autosettlers to plan for farmland
 Project: Freeciv
Submitted by: rriegs
Submitted on: Wed 10 Aug 2011 05:07:51 AM GMT
Category: ai
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 

___

Details:

Already, autosettlers will build roads even when all they really want to do
is build a railroad.  This patch enables autosettlers to build irrigation
solely for the purpose of later building farmland.

This patch (in conjunction with https://gna.org/patch/?2840) will result in
autosettlers prioritizing the irrigation of tiles such as wheat and oases over
other improvements, as farmed wheat/oases yield a whopping 6 food for an
improvement of 3.  Looking just one step ahead (at mere irrigation) will only
notice one extra food, and thus might not result in these tiles being
irrigated until after improvements are finished elsewhere.

This patch would also have an impact if (somehow) a despotism obtains
refrigeration.  Irrigation may not provide any benefit at all for some tiles,
but farmland still will.  This effect may also be the case in alternate
rule-sets.

TODO: It would be nice if autosettlers could think ahead for other terrain
modifications, as well.  For instance, autosettlers usually convert jungle
(1/0/0) to forest (1/2/0) instead of grassland (2/0/0) even though grassland
can ultimately be improved to 4/0/1 but forest offers no further improvement.



___

File Attachments:


---
Date: Wed 10 Aug 2011 05:07:51 AM GMT  Name:
add-autosettler-farmland-planning.patch  Size: 2kB   By: rriegs

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

___

Reply to this item at:

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

___
  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 #2889] Allow autosettlers to plan for farmland

2011-08-09 Thread Marko Lindqvist

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

From code comment:
 farmland takes twice as long, so make it look half as good.

Is that always true? Or is it possible that tile already has irrigation, so
we are just one step away from farmland benefit?

___

Reply to this item at:

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

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


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