Re: [Freeciv-Dev] (PR#40489) animated png?

2008-09-17 Thread Jason Dorje Short

http://bugs.freeciv.org/Ticket/Display.html?id=40489 >

On Mon, Sep 15, 2008 at 6:58 PM, François Marlier <[EMAIL PROTECTED]> wrote:
>
> http://bugs.freeciv.org/Ticket/Display.html?id=40489 >
>
> Maybe some of you have already seen these
> http://labs.mozilla.com/2007/08/better-animations-in-firefox-3/
> http://littlesvr.ca/apng/
> apng extended libpng with backward compatibilty to allow animated png.
> It's just a matter of patching libpng.
> Maybe this could be of interrest to smoothly animate some tiles (like
> water) without eating too much CPU/GPU ressources?

Perhaps.  We still need the graphics to be made in the first place though.

-jason



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


[Freeciv-Dev] (PR#40466) [Patch] Do not allow positive timeout less than 30

2008-09-17 Thread Madeline Book

http://bugs.freeciv.org/Ticket/Display.html?id=40466 >

Version 2 disallows non-hack connections from setting
the timeout to less than 30 at any time.

This is achieved by adding a 'struct connection' parameter
to each of the setting validate callback definitions.
The access level of the set command caller is checked
in the timeout callback and if it is less than ALLOW_HACK,
then values less than 30 are disallowed.

This is to prevent abuse on public servers, where setting
-1 (the server burns CPU until the game ends), 0 (the server
blocks indefinitely) or a very low timeout value (clients
do not have time to react to packets sent by server), would
be undesirable.

Unfortunately this patch is somewhat bloated by having to
update all of the setting callback arguments to match the
new definitions of the validate function typedefs. 

The timeout setting help text is also updated.


--
社会なしでいいのだろう。
 server/report.c|4 +++-
 server/report.h|4 +++-
 server/settings.c  |   46 +-
 server/settings.h  |   16 +---
 server/stdinhand.c |   27 ++-
 5 files changed, 74 insertions(+), 23 deletions(-)

diff --git a/server/report.c b/server/report.c
index 6834cb0..7bb265e 100644
--- a/server/report.c
+++ b/server/report.c
@@ -663,7 +663,9 @@ static void dem_line_item(char *outptr, size_t out_size,
   Other settings callback functions are in settings.c, but this one uses
   static values from this file so it's done separately.
 */
-bool is_valid_demography(const char *demography, const char **error_string)
+bool is_valid_demography(const char *demography,
+ struct connection *caller,
+ const char **error_string)
 {
   int len = strlen(demography), i;
 
diff --git a/server/report.h b/server/report.h
index 4dc515f..7a94fd2 100644
--- a/server/report.h
+++ b/server/report.h
@@ -24,7 +24,9 @@ void page_conn(struct conn_list *dest, const char *caption, const char *headline
 void make_history_report(void);
 void report_wonders_of_the_world(struct conn_list *dest);
 void report_top_five_cities(struct conn_list *dest);
-bool is_valid_demography(const char *demography, const char **error_message);
+bool is_valid_demography(const char *demography,
+ struct connection *caller,
+ const char **error_message);
 void report_demographics(struct connection *pconn);
 void report_final_scores(void);
 
diff --git a/server/settings.c b/server/settings.c
index 3937593..197069b 100644
--- a/server/settings.c
+++ b/server/settings.c
@@ -50,7 +50,9 @@ const int OLEVELS_NUM = ARRAY_SIZE(sset_level_names);
   Verify that a given allowtake string is valid.  See
   game.allow_take.
 */
-static bool allowtake_callback(const char *value, const char **error_string)
+static bool allowtake_callback(const char *value,
+   struct connection *caller,
+   const char **error_string)
 {
   int len = strlen(value), i;
   bool havecharacter_state = FALSE;
@@ -92,7 +94,9 @@ static bool allowtake_callback(const char *value, const char **error_string)
   Verify that a given startunits string is valid.  See
   game.info.start_units.
 */
-static bool startunits_callback(const char *value, const char **error_string)
+static bool startunits_callback(const char *value,
+struct connection *caller,
+const char **error_string)
 {
   int len = strlen(value), i;
   bool have_founder = FALSE;
@@ -131,7 +135,9 @@ static bool startunits_callback(const char *value, const char **error_string)
 /*
   Verify that a given endyear is valid.
 */
-static bool endyear_callback(int value, const char **error_string)
+static bool endyear_callback(int value,
+ struct connection *caller,
+ const char **error_string)
 {
   if (value < game.info.year) {
 /* Tried to set endyear earlier than current year */
@@ -144,7 +150,9 @@ static bool endyear_callback(int value, const char **error_string)
 /*
   Verify that a given maxplayers string is valid.
 */
-static bool maxplayers_callback(int value, const char **error_string)
+static bool maxplayers_callback(int value,
+struct connection *caller,
+const char **error

[Freeciv-Dev] (PR#40483) [Editor] Game object type

2008-09-17 Thread Madeline Book

http://bugs.freeciv.org/Ticket/Display.html?id=40483 >

Committed to S2_2 (r15210) and trunk (r15211).


---
苦情は会社に全部お申し出下さい。
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#40465) [Patch] Remove hardcoded autotoggle=1 on savegame load

2008-09-17 Thread Madeline Book

http://bugs.freeciv.org/Ticket/Display.html?id=40465 >

Version 1 (simply removing the autotoggle) committed to
S2_1 (r15207), S2_2 (r15208) and trunk (r15209).


--
宇宙の最後の存在になるまで進化して繁殖する

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


[Freeciv-Dev] (PR#40493) RT displays wrong email address to submit bugs

2008-09-17 Thread Dennis d'Entremont

http://bugs.freeciv.org/Ticket/Display.html?id=40493 >

When I logged into RT (as guest) it displays the email address to submit
bugs as [EMAIL PROTECTED] after 2 unsuccessful attempts to submit a bug that
way I was informed via the forum that the correct address is
[EMAIL PROTECTED] It would be helpful to new users to either fix the
[EMAIL PROTECTED] address or change it to the proper one.
Cheers!
D

-- 
Dennis d'Entremont
IT Professional CNA, MCP, A+, ITIL
LinkedIn Profile - http://www.linkedin.com/in/dennisdentremont
http://www.techalpha.net - Tech Alpha Computer Forums
http://epcsolutions.ca - EasyPC Solutions
http://eComStation.ca - Your Canadian Source for eCS and OS/2 Software!
http://Haikuware.com - Software for Haiku
http://Haiku-OS.org - Haiku Operating System

When I logged into RT (as guest) it displays the email address to submit bugs as [EMAIL PROTECTED] after 2 unsuccessful attempts to submit a bug that way I was informed via the forum that the correct address is [EMAIL PROTECTED]. It would be helpful to new users to either fix the [EMAIL PROTECTED] address or change it to the proper one.
Cheers!D-- Dennis d'EntremontIT Professional CNA, MCP, A+, ITILLinkedIn Profile - http://www.linkedin.com/in/dennisdentremont
http://www.techalpha.net - Tech Alpha Computer Forumshttp://epcsolutions.ca - EasyPC Solutionshttp://eComStation.ca - Your Canadian Source for eCS and OS/2 Software!
http://Haikuware.com - Software for Haikuhttp://Haiku-OS.org - Haiku Operating System

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


[Freeciv-Dev] (PR#40492) Main menu items not staying open unless left mouse button is held down (Vista 64bit)

2008-09-17 Thread Dennis d'Entremont

http://bugs.freeciv.org/Ticket/Display.html?id=40492 >

I am running Windows Vista Ultimate and FreeCIV 2.1.6 GTK. When I click on
the main menu items (i.e File menu item) they will not remain open unless I
keep the left mouse button pressed down.
I even uninstalled the program and cleaned out all the files then
reinstalled to see if it was a problem with the installation but that did
not appear to help. I haven't tried on a 32bit Vista installation so it
could be a Vista specific problem rather than a 64/32 bit problem.

-- 
Dennis d'Entremont
IT Professional CNA, MCP, A+, ITIL
LinkedIn Profile - http://www.linkedin.com/in/dennisdentremont
http://www.techalpha.net - Tech Alpha Computer Forums
http://epcsolutions.ca - EasyPC Solutions
http://eComStation.ca - Your Canadian Source for eCS and OS/2 Software!
http://Haikuware.com - Software for Haiku
http://Haiku-OS.org - Haiku Operating System

I am running Windows Vista Ultimate and FreeCIV 2.1.6 GTK. When I click on the main menu items (i.e File menu item) they will not remain open unless I keep the left mouse button pressed down. 

I even uninstalled the program and cleaned out all the files then reinstalled to see if it was a problem with the installation but that did not appear to help. I haven't tried on a 32bit Vista installation so it could be a Vista specific problem rather than a 64/32 bit problem.

-- Dennis d'EntremontIT Professional CNA, MCP, A+, ITILLinkedIn Profile - http://www.linkedin.com/in/dennisdentremonthttp://www.techalpha.net - Tech Alpha Computer Forums
http://epcsolutions.ca - EasyPC Solutionshttp://eComStation.ca - Your Canadian Source for eCS and OS/2 Software!http://Haikuware.com - Software for Haiku
http://Haiku-OS.org - Haiku Operating System

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


[Freeciv-Dev] (PR#40491) sorry about last ticket (offline msg)

2008-09-17 Thread Tomasz Niemcewicz

http://bugs.freeciv.org/Ticket/Display.html?id=40491 >

Maho just told me that there is something like that ready in 2.0 server. So
i can only ask to upgrade it to 2.1 if it is not ready yet:)
sorry for bothering:)

elrik

Maho just told me that there is something like that ready in 2.0 server. So i can only ask to upgrade it to 2.1 if it is not ready yet:)sorry for bothering:)elrik
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev