X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fgenerate_contributions.py;h=b4fc91533ad1f8a055b9d9ed34c5a23a34303ef1;hb=ad3a07c4f2925512611215dc653042855b2cae80;hp=f5a97ce3c052b53949e1ecb1948de6c42b321624;hpb=1fc0f73ef580a9cd7e67b6640c95ecd4a6c40908;p=lyx.git diff --git a/lib/generate_contributions.py b/lib/generate_contributions.py index f5a97ce3c0..b4fc91533a 100755 --- a/lib/generate_contributions.py +++ b/lib/generate_contributions.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python # -*- coding: utf-8 -*- ''' @@ -21,7 +21,7 @@ $ python generate_contributions.py \ where the arguments are the names of the generated files. ''' -import codecs, sys +import codecs, sys, textwrap def xml_escape(s): s = s.replace("&", "&") @@ -59,18 +59,18 @@ class contributer: address = address.replace(" ! ", ".") contact = "%s@%s" % (ename, address) result.append('@iE-mail: %s\n' % contact) - result.append(' %s\n' % self.credit) + result.append(' %s\n' % self.credit.replace('\n', '\n ')) return "".join(result) - def as_php_credits(self): + def as_php_credits(self, wrapper): return ''' contrib("%s", "%s", "%s"); ''' % ( xml_escape(self.name), xml_escape(self.contact), - xml_escape(self.credit) ) + "\n".join(wrapper.wrap(xml_escape(self.credit))) ) def as_php_blanket(self): @@ -94,7 +94,7 @@ def error(message): def usage(prog_name): - return "Usage: %s " % prog_name def collate_incomplete(contributers): @@ -108,7 +108,7 @@ def collate_incomplete(contributers): missing_licence.append(contributer.name) return '''WARNING! -The following contributers to not have a CREDITS entry: +The following contributers do not have a CREDITS entry: %s These ones have no explicit licence statement: @@ -146,7 +146,7 @@ $author="lyx-devel@lists.lyx.org"; // Full name of this file (relative path from LyX home page) $file_full="about/%s"; -include("start.php3"); +include("start.php"); ?> ''' % ( title, file ) @@ -154,7 +154,7 @@ include("start.php3"); def footer(): return ''' ''' @@ -170,11 +170,14 @@ function contrib($name, $email, $msg) { echo "
- ${name}"; + ${name} +"; if (isset($email) && $email != "") echo " <${email}>"; +$msg = ereg_replace("\\n *", "\\n ", ltrim($msg)); + echo "
@@ -194,9 +197,11 @@ echo "
@@ -285,6 +290,8 @@ def main(argv, contributers): .encode("latin1", "xmlcharrefreplace") # This is a fudge to give a 'reasonable' spelling of Matej's name. txt_credits_data = txt_credits_data.replace('ě', 'e') + # This is a fudge to give a 'reasonable' spelling of Tomasz' name. + txt_credits_data = txt_credits_data.replace('Ł', 'L') txt_credits = open(argv[1], "w") txt_credits.write(txt_credits_data) @@ -381,7 +388,7 @@ contributers = [ "Re: Licensing of tex2lyx (and perhaps LyX itself?)", "m=110907078027047", "22 February 2005", - u"Improvements to user interface (menus and keyhandling) including configurabletoolbar, and a few other (not so) minor things, like rewriting most of the LyX kernel. Also current source maintainer"), + u"Improvements to user interface (menus and keyhandling) including a configurable toolbar and a few other (not so) minor things, like rewriting most of the LyX kernel. Also current source maintainer"), contributer(u"Alfredo Braunstein", "abraunst () lyx ! org", @@ -405,7 +412,7 @@ contributers = [ "Re: The LyX licence", "m=110908472818670", "22 February 2005", - u"Ported John Levon's original 'change tracking' code to later versions of LyX.Numerous bug fixes thereof."), + u"Ported John Levon's original 'change tracking' code to later versions of LyX. Numerous bug fixes thereof."), contributer(u"Francesc Burrull i Mestres", "fburrull () mat ! upc ! es", @@ -415,6 +422,14 @@ contributers = [ "", u"Catalan translation"), + contributer(u"Humberto Nicolás Castejón", + "beconico () gmail ! com", + "GPL", + "Re: The LyX licence", + "m=111833854105023", + "9 June 2005", + u"Spanish translation of the Windows installer"), + contributer(u"Matěj Cepl", "matej () ceplovi ! cz", "GPL", @@ -432,13 +447,21 @@ contributers = [ u"Bug fixes"), contributer(u"Claudio Coco", - "lacocio () iol ! it", - "", - "", - "", - "", + "lacocio () libero ! it", + "GPL", + "Agreement to GNU General Public licence", + "m=113749629514591", + "17 January 2006", u"Italian translation"), + contributer(u"Jean-Pierre Chrétien", + "chretien () cert ! fr", + "GPL", + "Re: The LyX licence", + "m=111842518713710", + "10 June 2005", + u"French translation of the Windows installer"), + contributer(u"Matthias Kalle Dalheimer", "kalle () kdab ! net", "GPL", @@ -447,6 +470,14 @@ contributers = [ "22 February 2005", u"Qt2 port"), + contributer(u"Anders Ekberg", + "anek () chalmers ! se", + "GPL", + "License agreement", + "m=113725822602516", + "14 January 2006", + u"Improvements to the Swedish translation of the Windows Installer"), + contributer(u"Matthias Ettrich", "ettrich () trolltech ! com", "GPL", @@ -471,14 +502,6 @@ contributers = [ "31 March 2005", u"Maintainer of the OS X port(s)"), - contributer(u"Eitan Frachtenberg", - "sky8an () gmail ! com", - "GPL", - "Re: [PATCH] BibTeX annotation support", - "m=111130799028250", - "20 March 2005", - u""), - contributer(u"John Michael Floyd", "jmf () pwd ! nsw ! gov ! au", "", @@ -487,6 +510,22 @@ contributers = [ "", u"Bug fix to the spellchecker"), + contributer(u"Enrico Forestieri", + "forenr () tlc ! unipr ! it", + "GPL", + "Re: lyxpreview2ppm.py", + "m=111894292115287", + "16 June 2005", + u"Italian translation of the Windows installer"), + + contributer(u"Eitan Frachtenberg", + "sky8an () gmail ! com", + "GPL", + "Re: [PATCH] BibTeX annotation support", + "m=111130799028250", + "20 March 2005", + u"BibTeX annotation support"), + contributer(u"Edscott Wilson Garcia", "edscott () xfce ! org", "GPL", @@ -495,13 +534,21 @@ contributers = [ "30 March 2005", u"Bug fixes"), + contributer(u"Michael Gerz", + "michael.gerz () teststep ! org", + "GPL", + "Re: The LyX licence", + "m=110909251110103", + "22 February 2005", + u"lots of bug reports, German localization, bug fixes"), + contributer(u"Stefano Ghirlanda", "stefano.ghirlanda () unibo ! it", "GPL", "Re: The LyX licence", "m=110959835300777", "28 February 2005", - u"Improvements to lyxserver; LyX-Client perl package"), + u"Improvements to lyxserver"), contributer(u"Hartmut Goebel", "h.goebel () crazy-compilers ! com", @@ -621,7 +668,7 @@ contributers = [ "blanket-permission", "m=111054675600338", "11 March 2005", - u""), + u"Gtk reference insertion dialog"), contributer(u"Michael Koziarski", "koziarski () gmail ! com", @@ -639,6 +686,14 @@ contributers = [ "", u"Hungarian translation and bind file for menu shortcuts"), + contributer(u"Peter Kümmel", + "syntheticpp () gmx ! net", + "GPL", + "License", + "m=114968828021007", + "7 June 2006", + u"Testing, clean ups and profiling"), + contributer(u"Bernd Kümmerlen", "bkuemmer () gmx ! net", "GPL", @@ -693,7 +748,7 @@ contributers = [ "Re: Licensing of tex2lyx (and perhaps LyX itself?)", "m=110899657530749", "21 February 2005", - u"Qt2 frontend GUI-I-fication of several popups"), + u"Qt2 frontend GUI-I-fication of several popups.\nDutch translation of the Windows installer"), contributer(u"John Levon", "levon () movementarian ! org", @@ -711,6 +766,14 @@ contributers = [ "28 March 2005", u"Added native support for \makebox to mathed. Several bug fixes, both to the source code and to the llncs layout file"), + contributer(u"Tomasz Łuczak", + "tlu () technodat ! com ! pl", + "GPL", + "Re: [Cvslog] lyx-devel po/: ChangeLog pl.po lib/: CREDITS", + "m=113580483406067", + "28 December 2005", + u"Polish translation and mw* layouts files"), + contributer(u"José Matos", "jamatos () fc ! up ! pt", "GPL", @@ -729,10 +792,10 @@ contributers = [ contributer(u"Tino Meinen", "a.t.meinen () chello ! nl", - "", - "", - "", - "", + "GPL", + "Re: Licensing your contributions to LyX", + "m=113078277722316", + "31 October 2005", u"Dutch translation coordinator"), contributer(u"Iñaki Larrañaga Murgoitio", @@ -749,7 +812,7 @@ contributers = [ "Re: The LyX licence", "m=110911176213928", "22 February 2005", - u"Improvements to find&replace popup"), + u"Improvements to the find&replace dialog"), contributer(u"Pablo De Napoli", "pdenapo () mate ! dm ! uba ! ar", @@ -783,6 +846,14 @@ contributers = [ "25 February 2005", u"Support for kluwer and ijmpd document classes"), + contributer(u'Bo Peng', + "ben.bob () gmail ! com", + "GPL", + "Re: Python version of configure script (preview version)", + "m=112681895510418", + "15 September 2005", + u"Conversion of lib/configure to Python"), + contributer(u"Joacim Persson", "sp2joap1 () ida ! his ! se", "", @@ -829,7 +900,7 @@ contributers = [ "Re: The LyX licence", "m=111121553103800", "19 March 2005", - u"heavy mathed testing provided siamltex document class"), + u"heavy mathed testing; provided siamltex document class"), contributer(u"Bernhard Psaier", "", @@ -871,6 +942,14 @@ contributers = [ "22 February 2005", u"provided hollywood and broadway classes for writing screen scripts and plays"), + contributer(u"Bernhard Reiter", + "ockham () gmx ! net", + "GPL", + "Re: RFC: GThesaurus.C et al.", + "m=112912017013984", + "12 October 2005", + u"Gtk frontend"), + contributer(u"Ruurd Reitsma", "rareitsma () yahoo ! com", "GPL", @@ -880,11 +959,11 @@ contributers = [ u"Creator of the native port of LyX to Windows"), contributer(u"Bernd Rellermeyer", - "100.41728 () germanynet ! de", - "", - "", - "", - "", + "bernd.rellermeyer () arcor ! de", + "GPL", + "Re: The LyX licence", + "m=111317142419908", + "10 April 2005", u"Support for Koma-Script family of classes"), contributer(u"Michael Ressler", @@ -901,7 +980,23 @@ contributers = [ "Re: The LyX licence", "m=110910933124056", "22 February 2005", - u"The driving force behind, and maintainer of, the LyX wiki wiki."), + u"The driving force behind, and maintainer of, the LyX wiki wiki.\nSwedish translation of the Windows installer"), + + contributer(u"Szõke Sándor", + "alex () lyx ! hu", + "GPL", + "Contribution to LyX", + "m=113449408830523", + "13 December 2005", + u"Hungarian translation"), + + contributer(u"Janus Sandsgaard", + "janus () janus ! dk", + "GPL", + "Re: The LyX licence", + "m=111839355328045", + "10 June 2005", + u"Danish translation of the Windows installer"), contributer(u"Eulogio Serradilla Rodríguez", "eulogio.sr () terra ! es", @@ -911,14 +1006,6 @@ contributers = [ "23 February 2005", u"contribution to the spanish internationalization"), - contributer(u"Michael Schmitt", - "michael.schmitt () teststep ! org", - "GPL", - "Re: The LyX licence", - "m=110909251110103", - "22 February 2005", - u"lots of bug reports and purify runs"), - contributer(u"Hubert Schreier", "schreier () sc ! edu", "", @@ -991,6 +1078,14 @@ contributers = [ "24 February 2005", u"fix bugs with error insets placement"), + contributer(u"Uwe Stöhr", + "uwestoehr () web ! de", + "GPL", + "Re: The LyX licence", + "m=111833345825278", + "9 June 2005", + u"German translation of the Windows installer"), + contributer(u"David Suárez de Lis", "excalibor () iname ! com", "", @@ -1055,13 +1150,21 @@ contributers = [ "22 February 2005", u"Gnome frontend"), + contributer(u"Joost Verburg", + "joostverburg () users ! sourceforge ! net", + "GPL", + "Re: New Windows Installer", + "m=114957884100403", + "6 June 2006", + u"A new and improved Windows installer"), + contributer(u"Martin Vermeer", "martin.vermeer () hut ! fi", "GPL", "Re: The LyX licence", "m=110907543900367", "22 February 2005", - u"support for optional argument in sections/captions svjour/svjog, egs and llncs document classes Lot of bug hunting (and fixing!)"), + u"support for optional argument in sections/captions svjour/svjog, egs and llncs document classes. Lot of bug hunting (and fixing!)"), contributer(u"Jürgen Vigna", "jug () lyx ! org", @@ -1069,7 +1172,7 @@ contributers = [ "Re: Licensing of tex2lyx (and perhaps LyX itself?)", "m=110899839906262", "21 February 2005", - u"complete rewrite of the tabular, text inset fax- and Ascii-Export support iletter and dinbrief support"), + u"complete rewrite of the tabular, text inset; fax- and Ascii-Export support; iletter and dinbrief support"), contributer(u"Pauli Virtanen", "pauli.virtanen () hut ! fi", @@ -1143,6 +1246,14 @@ contributers = [ "28 February 2005", u"Gtk frontend"), + contributer(u"Abdelrazak Younes", + "younes.a () free ! fr", + "GPL", + "Re: [Patch] RFQ: ParagraphList Rewrite", + "m=113993670602439", + "14 February 2006", + u"Qt4 frontend, editing optimisations"), + contributer(u"Henner Zeller", "henner.zeller () freiheit ! com", "GPL", @@ -1159,6 +1270,5 @@ contributers = [ "", u"bug reports and small fixes") ] - if __name__ == "__main__": main(sys.argv, contributers)