[Freeciv-Dev] [patch #1281] add server setting for the number of turns offline events are saved

2009-10-30 Thread pepeto

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

I wish also have an option to control if the day/time the event occurred
would be printed or not (like it is on longturn).

Maybe we should make a new structure in game.server:

struct {
  int turns;
  int max_size;
  bool chat;
  bool print_time;
} event_cache;



___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1352] save event cache in savegame

2009-10-30 Thread pepeto

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

I don't like saving enum as integers, it makes big compatibility problems for
save games.  They should be saved as strings with function accessors.  Maybe
it's time to apply patch #1309 to simplify that?

target_type and target could be merged into:
* All
* Global observers
* 01110 _A suite of players able to see that, got with_:

char target[256];
char *p = target;

players_iterate(pplayer) {
  *p++ = (BV_ISSET(pdata-target), player_index(pplayer))
  ? '1' : '0');
} players_iterate_end;
*p = '\0'


To learn how use bit vectors, you can look at utility/shared.h.


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1281] add server setting for the number of turns offline events are saved

2009-10-30 Thread Matthias Pfafferodt

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

To print the time this value needs to be saved for each event ... I will
create a patch.

___

Reply to this item at:

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

___
  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 #1352] save event cache in savegame

2009-10-30 Thread Matthias Pfafferodt

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

 I don't like saving enum as integers, it makes big
 compatibility problems for save games. They should be saved as
 strings with function accessors. Maybe it's time to apply
 patch #1309 to simplify that? 

Yes, this would help in the conversion enum = string (and back)
 
 target_type and target could be merged into: 

You mean within the savegame?

 To learn how use bit vectors, you can look at
 utility/shared.h. 

I read the file but your example helps more than me trying to understand the
different BV_* macros ;-)

___

Reply to this item at:

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

___
  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 #1352] save event cache in savegame

2009-10-30 Thread pepeto

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

 target_type and target could be merged into:

 You mean within the savegame?

Yes

 To learn how use bit vectors, you can look at
 utility/shared.h.


 I read the file but your example helps more than me trying to
 understand the different BV_* macros ;-)

BV_CL_ALL(bv) - set all to 0, (about like FD_ZERO, see man page).
BV_CLR(bv, bit) - set the bit 'bit' to 0 (See also FD_CLR).
BV_SET(bv, bit) - set the bit 'bit' to 1 (See also FD_SET).
BV_ISSET(bv, bit) - returns if the bit 'bit' is set or not (See also
FD_ISSET).


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14625] civclient man page

2009-10-30 Thread pepeto

Update of bug #14625 (project freeciv):

  Status:None = Ready For Test 

___

Follow-up Comment #1:

Fix attached:
* freeciv-gtk2, freeciv-sdl, freeciv-xaw, freeciv-win32 and freeciv-ftwl are
redirected to the freeciv-client page.

After applying this patch, one need to rename civclient.6 freeciv-client.6


(file #7170)
___

Additional Item Attachment:

File name: trunk_S2_2_freeciv_client_man.diff Size:9 KB


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1309] specenum.h

2009-10-30 Thread pepeto

Update of patch #1309 (project freeciv):

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


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1351] Add 'const' flags to predefined ft_color

2009-10-30 Thread pepeto

Update of patch #1351 (project freeciv):

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


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1352] save event cache in savegame

2009-10-30 Thread pepeto

Update of patch #1352 (project freeciv):

 Assigned to:None = pepeto 


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1349] Rework (+fix) auto-settler code

2009-10-30 Thread pepeto

Update of patch #1349 (project freeciv):

 Assigned to:None = pepeto 


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1291] Use genlist for global worklists

2009-10-30 Thread pepeto

Update of patch #1291 (project freeciv):

 Assigned to:   cazfi = pepeto 


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1280] add offline events

2009-10-30 Thread pepeto

Update of patch #1280 (project freeciv):

  Status:None = Done   
 Assigned to:   cazfi = pepeto 
 Open/Closed:Open = Closed 

___

Follow-up Comment #27:

As nobody complained, I assume this is done.


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1281] add server setting for the number of turns offline events are saved

2009-10-30 Thread pepeto

Update of patch #1281 (project freeciv):

 Assigned to:None = pepeto 


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14603] Error autosaving on trunk revision 16210 over Ubuntu 9.04

2009-10-30 Thread pepeto

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

Of course file #7163 is not for this ticket but for bug #14624.


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14624] Server saves games and scenarios where the client search them when forked

2009-10-30 Thread pepeto

Follow-up Comment #3, bug #14624 (project freeciv):

Attached some potential fix at file #7163 in a wrong ticket (bug #14603).

___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14637] Trunk server infinite loop

2009-10-30 Thread pepeto

Update of bug #14637 (project freeciv):

  Status:None = Fixed  
 Assigned to:None = pepeto 
 Open/Closed:Open = Closed 


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14631] --identity argument is not documented in server man page

2009-10-30 Thread pepeto

Update of bug #14631 (project freeciv):

  Status:None = Fixed  
 Assigned to:None = pepeto 
 Open/Closed:Open = Closed 


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14603] Error autosaving on trunk revision 16210 over Ubuntu 9.04

2009-10-30 Thread pepeto

Update of bug #14603 (project freeciv):

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


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14641] Get control back when autogame is over

2009-10-30 Thread pepeto

Update of bug #14641 (project freeciv):

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


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1351] Add 'const' flags to predefined ft_color

2009-10-30 Thread pepeto

Update of patch #1351 (project freeciv):

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


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1349] Rework (+fix) auto-settler code

2009-10-30 Thread pepeto

Update of patch #1349 (project freeciv):

Category:None = ai 
  Status:None = In Progress

___

Follow-up Comment #1:

Your patch doesn't apply to current svn, could you update it?


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1291] Use genlist for global worklists

2009-10-30 Thread pepeto

Update of patch #1291 (project freeciv):

  Status:None = Ready For Test 


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #1210] Prevents client goto infinite recursions

2009-10-30 Thread pepeto

Update of patch #1210 (project freeciv):

  Status:None = Ready For Test 
 Assigned to:   cazfi = pepeto 


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14617] CMA runs while adding multiple settlers

2009-10-30 Thread pepeto

Update of bug #14617 (project freeciv):

Category:  client-gtk-2.0 = agents 
  Status:None = Ready For Test 
 Assigned to:None = pepeto 
 Planned Release:None = 2.1.10 

___

Follow-up Comment #3:

I attach a patch which could poorly fix that problem...  Needs more
investigation in trunk for future.


(file #7173)
___

Additional Item Attachment:

File name: trunk_S2_2_S2_1_freeze.diffSize:0 KB


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14106] civserver should use --bind= address when connecting to the metaserver, too

2009-10-30 Thread pepeto

Update of bug #14106 (project freeciv):

 Assigned to:None = pepeto 


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14083] city resets resource use without governor enabled

2009-10-30 Thread pepeto

Update of bug #14083 (project freeciv):

  Status:None = Need Info  


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14099] wish: save global worklists

2009-10-30 Thread pepeto

Update of bug #14099 (project freeciv):

  Depends on: = bugs #13841


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #13945] saving game creation options before starting a game deletes all stored in-game options

2009-10-30 Thread pepeto

Update of bug #13945 (project freeciv):

  Depends on: = bugs #13841


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14620] worklists are lost on client restart

2009-10-30 Thread pepeto

Update of bug #14620 (project freeciv):

  Depends on: = bugs #13841


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14285] Wish : Store Current Turn's Messages in the Save Game

2009-10-30 Thread pepeto

Update of bug #14285 (project freeciv):

  Depends on: = patch #1352


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #14646] [Buildifx] Systems without SIGHUP or SIGPIPE

2009-10-30 Thread Marko Lindqvist

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

 Summary: [Buildifx] Systems without SIGHUP or SIGPIPE
 Project: Freeciv
Submitted by: cazfi
Submitted on: Friday 10/30/2009 at 21:24
Category: general
Severity: 3 - Normal
Priority: 9 - Immediate
  Status: None
 Assigned to: cazfi
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.2.0

___

Details:

To be committed immediately



___

File Attachments:


---
Date: Friday 10/30/2009 at 21:24  Name: CondSIGHUP.diff  Size: 2kB   By:
cazfi

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

___

Reply to this item at:

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

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


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