Re: [Freeciv-Dev] Does anybody use those po/statistics.rb or .sh?

2008-04-30 Thread Egor Vyscrebentsov
On Tue, 29 Apr 2008 Jason Dorje Short wrote:

 Elmo Todurov wrote:
  A long time ago, I made those two scripts,
  po/statistics.rb
  po/statistics.sh
  They msgfmt --stat each language and then sort and display the
  languages according to their number of messages translated.
  They are in S2_1 branch right now.
 
  Seeing how 2.1 will soon be abandoned, should I drag those files to
  other branches/trunk as well?

Why not?

  If I'm the only one who uses them, I could just copy them over when I
  need it. However, if there is market for that feature, they should be
  dragged along.

I do not use these scripts, but I think it would be better to have them
in all new branches.

 What is the script that does/did generate similar statistics for the web 
 site?

/home/freeciv/bin/postat.pl at freeciv.f.o
 
 As I recall that was hosted purely on www.freeciv.org and is probably 
 obsolete now.  So it would be nice to have a similar thing in the 
 codebase.  But then how can we get the web site to automatically update 
 to show these statistics?

I can suggest only a page outside of wiki with link to it from wiki.
I already told that there is everyday update-po process at freeciv.f.o
(as part of 'make dist' for snapshots.)

-- 
Thanks, evyscr

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


[Freeciv-Dev] (PR#40221) Patch: Curved Connectors on tech tree

2008-04-30 Thread Stuart Hacking

URL: http://bugs.freeciv.org/Ticket/Display.html?id=40221 

Hi Guys,

This is my first patch, fairly simple new feature to get started with  
the system.  (I was directed to this mailing address, hope it's the  
right one)

Information:
Author: Stuart Hacking
Platform: Mac OSX 10.2 (GTK-2.0 X11 client)
Patch Description: To draw curved connectors on the technology tree  
instead of straight lines.

Files which have been modified are:
client/reqtree.c
client/include/canvas_g.h
client/gui-gtk-2.0/canvas.c

Caveat: At the minute this will only compile on GTK2.0 (I apologise  
for this.  I initially modified the original canvas_put_line  
function, however, it seemed neater to add a new prototype to the  
canvas header- 'canvas-put-bezier-line', this function is called in  
reqtree.c when drawing the outgoing edges)

This function hasn't been added to other gui implementations yet, so  
please only try this if you are testing against gtk2.0.

The patch is attached as: reqtree_bezier_connectors.diff

Regards
Stuart



...G The Gnome Lord swings a crude dagger
.GG. The Gnome Lord hits
[EMAIL PROTECTED] You die.
..G. Would you like your possessions identified?
Click '@' to find out more.



Hi Guys,This is my first patch, fairly simple new feature to get started with the system.  (I was directed to this mailing address, hope it's the right one)Information:Author: Stuart HackingPlatform: Mac OSX 10.2 (GTK-2.0 X11 client)Patch Description: To draw curved connectors on the technology tree instead of straight lines.Files which have been modified are:client/reqtree.cclient/include/canvas_g.hclient/gui-gtk-2.0/canvas.cCaveat: At the minute this will only compile on GTK2.0 (I apologise for this.  I initially modified the original canvas_put_line function, however, it seemed neater to add a new prototype to the canvas header- 'canvas-put-bezier-line', this function is called in reqtree.c when drawing the outgoing edges)This function hasn't been added to other gui implementations yet, so please only try this if you are testing against gtk2.0.The patch is attached as: reqtree_bezier_connectors.diffRegardsStuart

reqtree_bezier_connectors.diff
Description: Binary data
 ...G The Gnome Lord swings a crude dagger.GG. The Gnome Lord hits.@.h You die...G. Would you like your possessions identified?Click '@' to find out more. ___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#40221) Patch: Curved Connectors on tech tree

2008-04-30 Thread Madeline Book

URL: http://bugs.freeciv.org/Ticket/Display.html?id=40221 

When compiling with --enable-debug I get this warning/error:

canvas.c: In function `canvas_put_bezier_line':
canvas.c:301: warning: unused variable `end_x'

Hopefully it really is just unneeded and can be removed.

Otherwise, the curved lines look nice and work as expected.
Perhaps cairo could be used to make the lines anti-aliased? ;)


---
無差別大量殺人のすぐ後にお茶はやっぱり一番好きです。
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev