[Freeciv-Dev] [patch #2935] UNIX domain socket for freeciv.

2011-08-19 Thread Michal Mazurek

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

 Summary: UNIX domain socket for freeciv.
 Project: Freeciv
Submitted by: akfaew
Submitted on: Fri Aug 19 07:25:30 2011
Category: None
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 

___

Details:

In longturn it's desirable to automate certain tasks. Until now this is how
the server was started:
tail -f $GAMENAME/.civinput | $CMD 21 | tee $GAMENAME/.civoutput | logger
-t $GAMENAME 
I've written preliminary UNIX domain socket support, just for input. Diff and
example remote program attached. Most of the code comes from xxxterm.



___

File Attachments:


---
Date: Fri Aug 19 07:25:30 2011  Name: remote.c  Size: 1kB   By: akfaew

http://gna.org/patch/download.php?file_id=13914
---
Date: Fri Aug 19 07:25:30 2011  Name: freeciv_sock.diff  Size: 5kB   By:
akfaew

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

___

Reply to this item at:

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

___
  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] Development tasks

2011-08-19 Thread Marko Lindqvist
On 16 August 2011 10:52, patrick kelle patrick.kell...@gmail.com wrote:
 Is there any other task that needs to be done and helps to understand
 the code better? If you have nothing specific in mind
 I will look more into the qt client.

 Good documentation would make it easier for newcomers to understand
the code. We don't have that yet, but we have discussed about
improving the situation. That's task for someone, and one who writes
the documentation certainly learns even more than those later using
the documentation.

 Some links:

http://gna.org/patch/?2509
http://gna.org/task/?7327
https://mail.gna.org/public/freeciv-dev/2011-02/msg00675.html


 - ML

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


[Freeciv-Dev] [patch #2609] Polish localization for S2_3

2011-08-19 Thread Hubert Kowalewski

Additional Item Attachment, patch #2609 (project freeciv):

File name: pl.po.bz2  Size:330 KB


___

Reply to this item at:

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

___
  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] [task #7426] Mac packages for 2.2.7

2011-08-19 Thread David Lowe
On 17 Aug, 2011, at 11:47 PM, Nathan Brazil wrote:

 Hi.  I don't have a Snow Leopard system that would allow me to test whether 
 the binaries I produced on Lion will run on the older OS or not, so I am 
 choosing to err on the safer side of not.  If someone were able to test it 
 out, that'd be great.
 
 However, I have no reason to believe that Freeciv won't run on Snow Leopard 
 or Leopard via MacPorts.

Actually, that is questionable.  XCode 4 [the one that comes with Lion] 
no longer includes SDKs or other support for 10.5 or indeed anything that might 
be able to run on a PowerPC.  There are how-tos on the web to pull that 
material out of XCode 3 and install it on Lion, but it won't natively be able 
to target those earlier versions.  Unless MacPorts has their own headers, i 
don't see how they can work around this problem.  I am also involved with Fink, 
and we are wrestling with this issue as well.  This won't affect 
self-compilation, only cross-compilation.  Therefore, MacPorts and Fink users 
who use their respective system to locally build a binary won't notice a 
problem.

Anyway, i do have both 10.5 and 10.6 systems i can try this on in a few 
days...

Sent from my MacBookPro

Next time buy the two-ply kind, said Tom roughly.
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2936] Darfuri nation

2011-08-19 Thread Daniel Markstedt

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

 Summary: Darfuri nation
 Project: Freeciv
Submitted by: dmarks
Submitted on: Fri 19 Aug 2011 01:29:36 PM PDT
Category: rulesets
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: mixcoatl
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 

___

Details:

Sultanate of Darfur

Flag as described at http://www.fotw.net/flags/sd}.html#fur



___

File Attachments:


---
Date: Fri 19 Aug 2011 01:29:36 PM PDT  Name: darfuri.ruleset  Size: 1kB   By:
dmarks

http://gna.org/patch/download.php?file_id=13918
---
Date: Fri 19 Aug 2011 01:29:36 PM PDT  Name: darfur.svg  Size: 2kB   By:
dmarks

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

___

Reply to this item at:

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

___
  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 #18500] Keyboard shortcut clash with messages

2011-08-19 Thread Jacob Nevins

Update of bug #18500 (project freeciv):

  Status:None = Ready For Test 
 Assigned to:None = jtn
 Planned Release: = 2.3.1,2.4.0

___

Additional Item Attachment:

File name: trunk-gtk-messages-shortcut-clash.diff Size:2 KB
File name: S2_3-gtk-messages-shortcut-clash.diff Size:1 KB


___

Reply to this item at:

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

___
  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 #18467] Client fails to get hack access to spawned server

2011-08-19 Thread Jacob Nevins

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

Additional info from thread: it works for this person if they install Freeciv
as Administrator, but not if they don't.

___

Reply to this item at:

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

___
  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 #2477] [transport09] use pointer for transported units (server/common)

2011-08-19 Thread Matthias Pfafferodt

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

rebased patch; changes:

* move cleanup of unit_move() to another patch
* add unit_transported() function as simplified unit_transport_get()

(file #13922)
___

Additional Item Attachment:

File name:
20110819-transport01-use-pointer-for-transported-units-server-common.patch
Size:52 KB


___

Reply to this item at:

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

___
  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 #2547] [transport19] cleanup unit_move()

2011-08-19 Thread Matthias Pfafferodt

Update of patch #2547 (project freeciv):

 Summary: [transport19]  first move the transporter, then the
transported unit(s) = [transport19]  cleanup unit_move()

___

Follow-up Comment #1:

highjacked this patch for the cleanup of unit_move():

* move moving of transported units into unit_move_transported() which is
called recursively:

- first move the transporter, then the transported units; the right way to
go: if the transporter dies all transported units are dead
- this changes autogame results, i.e. no identical games for the same
settings (seeds)


(file #13923)
___

Additional Item Attachment:

File name: 20110819-transport02-cleanup-unit_move.patch Size:17 KB


___

Reply to this item at:

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

___
  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 #2478] [transport10] use pointer for transported units (client)

2011-08-19 Thread Matthias Pfafferodt

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

rebased patch; also adapted to changes to previous patches

(file #13924)
___

Additional Item Attachment:

File name:
20110819-transport03-use-pointer-for-transported-units-client.patch Size:19 KB


___

Reply to this item at:

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

___
  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 #2479] [transport11] clean up network (occupied information of transporters)

2011-08-19 Thread Matthias Pfafferodt

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

rebased patch

(file #13925)
___

Additional Item Attachment:

File name:
20110819-transport04-clean-up-network-occupied-information-of-transporter.patch
Size:5 KB


___

Reply to this item at:

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

___
  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 #2482] [transport14] redo location selection

2011-08-19 Thread Matthias Pfafferodt

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

rebased patch

(file #13926)
___

Additional Item Attachment:

File name: 20110819-transport05-redo-location-selection.patch Size:2 KB


___

Reply to this item at:

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

___
  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 #2483] [transport15] add function to create unit type sprite

2011-08-19 Thread Matthias Pfafferodt

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

rebased patch; also includes changes due to facing information

(file #13927)
___

Additional Item Attachment:

File name: 20110819-transport06-add-function-to-create-unit-type-sprite.patch
Size:13 KB


___

Reply to this item at:

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

___
  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 #17236] [transport18] unit selection dialog

2011-08-19 Thread Matthias Pfafferodt

Follow-up Comment #12, bug #17236 (project freeciv):

rebased patch; changes:

- simplify usdlg_cmd

With the patch you can focus/center/sentry/ready units with different
selections. Please test!

(file #13928, file #13929)
___

Additional Item Attachment:

File name: unit_selection.jpg Size:88 KB
File name: 20110819-transport07-unit-selection-dialog.patch Size:70 KB


___

Reply to this item at:

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

___
  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 #2247] simplify gtk/menu.c

2011-08-19 Thread Matthias Pfafferodt

Update of patch #2247 (project freeciv):

  Status:None = Duplicate  
 Open/Closed:Open = Closed 

___

Follow-up Comment #1:

this patch is included in the unit selection dialog changes (bug #17236)

___

Reply to this item at:

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

___
  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 #2480] [transport12] allow recursive transports

2011-08-19 Thread Matthias Pfafferodt

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

rebased patch

(file #13930)
___

Additional Item Attachment:

File name: 20110819-transport08-allow-recursive-transports.patch Size:6 KB


___

Reply to this item at:

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

___
  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 #2483] [transport15] add function to create unit type sprite

2011-08-19 Thread Matthias Pfafferodt

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

updated patch; the last one missed one important change - the sprites were
not displayed at all ...

(file #13931)
___

Additional Item Attachment:

File name:
20110819-transport06a-add-function-to-create-unit-type-sprite.patch Size:13 KB


___

Reply to this item at:

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

___
  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 #18472] onsetbarbs in pre-2.3 savegames/scenarios is reset to 0 on load

2011-08-19 Thread Jacob Nevins

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

 A better fix would try to convert negative values (which must be 
 in years) to the equivalent number of turns.
...but since the whole timeline is effects-based, and not entirely
predictable in advance, it's not worth the hassle. This solution, ugly as it
is, will produce an adequate result for old savegames created with the default
settings: 2.2 savegames will have their onsetbarbs preserved. Pre-2.2
savegames with onsetbarbs=-1000 will suddenly turn into onsetbarbs=0 (turn 0,
i.e. immediate), but chances are that a savegame that old that someone still
wants to play has got past the onsetbarbs stage.

Current patch applies cleanly to trunk.

___

Reply to this item at:

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

___
  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 #2270] [metaticket] allow recursive transports

2011-08-19 Thread Matthias Pfafferodt

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

I did update the entire patch series. It is working but tests are still
running. Due to changes in unit_move() autogames differ (transported units are
moved after it is sure that the transporter survives). I'm working on an
(optional) patch which will restore the old behaviour.

Order of the patches:

- [01/09] patch #2477 [transport09] use pointer for transported units
(server/common)
- [02/09] patch #2547 [transport19] cleanup unit_move()
- [03/09] patch #2478 [transport10] use pointer for transported units
(client)
- patch [04/09] patch #2479 [transport11] clean up network (occupied
information of transporters)
- [05/09] patch #2482 [transport14] redo location selection
- [06/09] patch #2483 [transport15] add function to create unit type sprite
- [07/09] bug #17236 [transport18] unit selection dialog
- [08/09] patch #2480 [transport12] allow recursive transports
- [09/09] patch #2481 [transport13] allow Missiles on Mech. Inf.
(experimental ruleset) - optional

An image of the new unit selection dialog (only gtk2 at the moment) can be
found in file #13928 (experimental ruleset with patch #2481)

___

Reply to this item at:

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

___
  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 #17470] set qt as maintained client

2011-08-19 Thread Matthias Pfafferodt

Update of bug #17470 (project freeciv):

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

___

Follow-up Comment #3:

fixed - qt has now in-development state (see patch #2809)

___

Reply to this item at:

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

___
  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 #18472] onsetbarbs in pre-2.3 savegames/scenarios is reset to 0 on load

2011-08-19 Thread Jacob Nevins

Update of bug #18472 (project freeciv):

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


___

Reply to this item at:

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

___
  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] [task #7426] Mac packages for 2.2.7

2011-08-19 Thread David Lowe
On 17 Aug, 2011, at 11:47 PM, Nathan Brazil wrote:

 However, I have no reason to believe that Freeciv won't run on Snow Leopard 
 or Leopard via MacPorts.

The provided binary does not run on SL; i didn't bother checking 
Leopard.

Do we have a policy on which versions of OSX we support?  If not, maybe 
we should have a conversation toward that end.  As a starting position i'd like 
to suggest that our binaries should be able to run on OSX versions that are 
officially supported by Apple [10.7, 10.6], as well as the previous version 
[10.5].  Yes, that does mean continuing to supply PPC binaries for a few years 
more.

Sent from my MacBookPro

One for the money, two for the money, three for the money.
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2270] [metaticket] allow recursive transports

2011-08-19 Thread Matthias Pfafferodt

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

and an all-in-one patch

(file #13932)
___

Additional Item Attachment:

File name: 20110819-transport.patch   Size:170 KB


___

Reply to this item at:

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

___
  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 #2813] Xaw: [partially rewritten] connect dialog

2011-08-19 Thread Jacob Nevins

Update of patch #2813 (project freeciv):

 Planned Release: = 2.3.1,2.4.0

___

Follow-up Comment #6:

I've no objection...

___

Reply to this item at:

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

___
  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 #18346] Start position allocation not deterministic

2011-08-19 Thread Jacob Nevins

Update of bug #18346 (project freeciv):

  Status:None = Ready For Test 
 Assigned to:None = jtn

___

Follow-up Comment #3:

Attached an S2_3 based version of the trunk patch (there was a minor conflict
but it was trivial to resolve).
I intend to commit this soon (if you don't get there first).

(file #13933)
___

Additional Item Attachment:

File name: S2_3-TileHashKey.diff  Size:2 KB


___

Reply to this item at:

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

___
  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 #2897] Morocco files

2011-08-19 Thread Daniel Markstedt

Update of patch #2897 (project freeciv):

  Status:None = Duplicate  
 Assigned to:None = mixcoatl   

___

Follow-up Comment #1:

Hi Karim,

Thank you for the contribution.

However, we have actually added a Moroccan nation already in the latest
version of Freeciv, 2.3.0. Go to www.freeciv.org and download the new version
to play as the Moroccans.

Duplicate with patch #1244

___

Reply to this item at:

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

___
  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 #2897] Morocco files

2011-08-19 Thread Daniel Markstedt

Update of patch #2897 (project freeciv):

 Open/Closed:Open = Closed 


___

Reply to this item at:

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

___
  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 #2912] Update of the Filipino nation

2011-08-19 Thread Daniel Markstedt

Update of patch #2912 (project freeciv):

Category:None = rulesets   
 Assigned to:None = mixcoatl   

___

Follow-up Comment #1:

Patch looks good.

Just one comment: The two added leaders are both living persons as well as
active politicians. We have a history in the Freeciv project to try to limit
the inclusion of such leaders. Would it make sense to add someone like say
Corazon Aquino instead?

___

Reply to this item at:

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

___
  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 #2921] [lua] prepare for common lua script (1)

2011-08-19 Thread Marko Lindqvist

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

This (and patch #2922) looks good.

We agreed that I'll eventually commit the actual files rename (patch #2513),
but we've not explicitly stated anything about these preparatory patches. Do
you want me to commit these too?

___

Reply to this item at:

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

___
  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-19 Thread Marko Lindqvist

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

You make both server and client directly link in libscriptcore. It should be
instead linked to libfreeciv only (just like libaicore). That affects
especially building with shared libraries enabled.

___

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 #2923] [lua] include libscriptcore in libfreeciv.la

2011-08-19 Thread Marko Lindqvist

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

Once patch #2513 does the right thing and includes libscriptcore to
libfreeciv (which, incidentally, is what subject of this ticket claims this to
do, though patch does completely different thing) most of this patch can be
discarded as client links in libscriptcore as part of libfreeciv.

___

Reply to this item at:

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

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


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