[Freeciv-Dev] [bug #13928] Don't navigate through unaccessible territorial waters

2009-07-10 Thread David Ja¨a

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

 Summary: Don't navigate through unaccessible territorial
waters
 Project: Freeciv
Submitted by: jasad
Submitted on: Friday 07/10/2009 at 12:54
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 
Operating System: None

___

Details:

When giving Go To order to ship, it choses shortest route without taking
presence of territorial waters of nations in armistice/peace into account.
The ship then tries to enter these tiles and gets error that i can't move
there. The path finder should be changed to avoid these tiles (probably treat
them as land).




___

Reply to this item at:

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

___
  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 #13865] iterator.h doesn't include the definition of type 'bool'

2009-07-10 Thread Marko Lindqvist

Update of bug #13865 (project freeciv):

  Status:None = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

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

___
  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 #13846] recursion checking for the read command

2009-07-10 Thread Marko Lindqvist

Follow-up Comment #7, bug #13846 (project freeciv):

I think book's comment about wrappers asked for something like this:

bool handle_stdin_input(...)
{
  return handle_stdin_input_real(... , 0);
}

bool read_init_script(...)
{
  return read_init_script_real(... , 0);
}

static bool handle_stdin_input_real(... , int recursion)
{
  ...
}

static bool read_init_script_real(..., int recursion)
{
  ...
  handle_stdin_input_real(... , recursion + 1);
  ...
}


___

Reply to this item at:

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

___
  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 #13846] recursion checking for the read command

2009-07-10 Thread Matthias Pfafferodt

Follow-up Comment #8, bug #13846 (project freeciv):

OK; after a _long_ time looking at the code I
think I see what you mean. I will prepare an
updated patch ...

___

Reply to this item at:

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

___
  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 #13851] [Patch] Update wish list URL in TODO

2009-07-10 Thread Marko Lindqvist

Update of bug #13851 (project freeciv):

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


___

Reply to this item at:

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

___
  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 #13930] insert #undef GEN_*

2009-07-10 Thread Matthias Pfafferodt

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

 Summary: insert #undef GEN_*
 Project: Freeciv
Submitted by: syntron
Submitted on: Freitag 10.07.2009 um 20:57
Category: general
Severity: 2 - Minor
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 
Operating System: None

___

Details:

see summary



___

File Attachments:


---
Date: Freitag 10.07.2009 um 20:57  Name: 0001-insert-undef-GEN_.patch  Size:
701B   By: syntron

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

___

Reply to this item at:

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

___
  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 #13930] insert #undef GEN_*

2009-07-10 Thread Marko Lindqvist

Update of bug #13930 (project freeciv):

 Assigned to:None = cazfi  


___

Reply to this item at:

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

___
  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 #13931] implement reset command

2009-07-10 Thread Matthias Pfafferodt

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

 Summary: implement reset command
 Project: Freeciv
Submitted by: syntron
Submitted on: Freitag 10.07.2009 um 21:10
Category: general
Severity: 2 - Minor
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 
Operating System: None

___

Details:

implement reset command

* modified patch from warclient
* the extra code for aifill and autotoggle
  will be removed by the action functions
  patch (gna13871)



___

File Attachments:


---
Date: Freitag 10.07.2009 um 21:10  Name: 0001-implement-reset-command.patch 
Size: 7kB   By: syntron

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

___

Reply to this item at:

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

___
  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 #13932] Shared libfreeciv to debian packet

2009-07-10 Thread Marko Lindqvist

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

 Summary: Shared libfreeciv to debian packet
 Project: Freeciv
Submitted by: cazfi
Submitted on: Saturday 07/11/2009 at 00:34
Category: bootstrap
Severity: 3 - Normal
Priority: 1 - Later
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 
Operating System: None

___

Details:

Build debian packets with shared libfreeciv.



___

File Attachments:


---
Date: Saturday 07/11/2009 at 00:34  Name: SharedDebLibs.diff  Size: 1kB   By:
cazfi

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

___

Reply to this item at:

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

___
  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 #13867] [patch 01/07] get game settings via wrapper functions

2009-07-10 Thread Matthias Pfafferodt

Follow-up Comment #5, bug #13867 (project freeciv):

updated patch

changes:
- add more function comments

(file #6190)
___

Additional Item Attachment:

File name: 0001-get-game-settings-via-wrapper-functions.patch Size:39 KB


___

Reply to this item at:

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

___
  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 #13869] [patch 03/07] simplify validation functions

2009-07-10 Thread Matthias Pfafferodt

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

updated patch

changes:
- add 'const' flag
- use a pointer for the variable pbisval

(file #6191)
___

Additional Item Attachment:

File name: 0003-simplify-validation-functions.patch Size:21 KB


___

Reply to this item at:

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

___
  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 #13870] [patch 04/07] extra functions to check and update settings

2009-07-10 Thread Matthias Pfafferodt

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

updated patch

changes:

- split setting_update into a function
  in settings.c and a function in stdinhand.c
  (set_command_parse_arg())

Is the use of the variable buffer correct (in
setting_check() and setting_update())?

___

Reply to this item at:

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

___
  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 #13931] implement reset command

2009-07-10 Thread Matthias Pfafferodt

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

add patch based on the settings changes
(gna13867 to gna13871)

again the question if the use of 'char sval[1024]'
in setting_set_to_default() is correct.


if the recursive read patch is added, the check
path can include read_ini_script():

static bool reset_command(struct connection *caller, bool check)
{
  if (srvarg.script_filename 
  !read_init_script(NULL, srvarg.script_filename, TRUE, check)) {
freelog(LOG_ERROR, _(Cannot load the script file '%s'),
srvarg.script_filename);
return FALSE;
  }

  if (!check) {
settings_reset();

send_server_settings(NULL);
notify_conn(NULL, NULL, E_SETTING, _(Server: Settings
re-initialized.));
  }

  return TRUE;
}


(file #6192)
___

Additional Item Attachment:

File name: gna13931-implement-reset-command-with-settings.patch Size:7 KB


___

Reply to this item at:

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

___
  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 #13873] [patch 07/07] load game settings from ruleset file

2009-07-10 Thread Matthias Pfafferodt

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

loading game settings from the ruleset and the reset
command are exclusive at the moment. For both to work,
an additional variable ([b|i|s]val_ruleset) would be
needed for each setting to restore the corresponding
value.

So I would like a discussion about the pro and cons
of loading game settings from the ruleset file.

pro
- all settings in one file (scenarios!)

contra
- two ways to set the values; confusion?

more arguments?

___

Reply to this item at:

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

___
  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 #13933] [Bugfix] Client assert failure when pillaging base from tile with multiple units

2009-07-10 Thread Marko Lindqvist

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

 Summary: [Bugfix] Client assert failure when pillaging base
from tile with multiple units
 Project: Freeciv
Submitted by: cazfi
Submitted on: Saturday 07/11/2009 at 02:00
Category: client
Severity: 3 - Normal
Priority: 1 - Later
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 
Operating System: None

___

Details:

Fix to $subject




___

File Attachments:


---
Date: Saturday 07/11/2009 at 02:00  Name: BasePlgSensitivFix.diff  Size: 574B
  By: cazfi

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

___

Reply to this item at:

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

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


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