X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fgenerate_contributions.py;h=7f9fa23155c9a0c5ef8462480f0e16942d5497cd;hb=dc8bba7918d81e22197d88753e1b9acffd43af07;hp=c72cb417b2cf274335de486fad194956a5592cd1;hpb=929bc8adad73cba5ed6c61892ef99087768cfdb0;p=lyx.git diff --git a/lib/generate_contributions.py b/lib/generate_contributions.py index c72cb417b2..7f9fa23155 100755 --- a/lib/generate_contributions.py +++ b/lib/generate_contributions.py @@ -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 "
@@ -281,10 +286,7 @@ def main(argv, contributers): if len(argv) != 4: error(usage(argv[0])) - txt_credits_data = unicode(as_txt_credits(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') + txt_credits_data = unicode(as_txt_credits(contributers)).encode("utf-8") txt_credits = open(argv[1], "w") txt_credits.write(txt_credits_data) @@ -335,6 +337,14 @@ contributers = [ "23 February 2005", u"Added support for unix sockets and thence the 'inverse DVI' feature"), + contributer(u"Özgür Uğraş Baran", + "ugras.baran () gmail ! com", + "GPL", + "Re: [patch] new InsetCommandParams", + "m=116124030512963", + "19 October 2006", + u"New commandparams structure, Nomenclature inset"), + contributer(u"Yves Bastide", "yves.bastide () irisa ! fr", "GPL", @@ -381,7 +391,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 +415,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 +425,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", @@ -431,12 +449,20 @@ contributers = [ "30 March 2005", u"Bug fixes"), + 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"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"Matthias Kalle Dalheimer", @@ -447,6 +473,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,13 +505,13 @@ contributers = [ "31 March 2005", u"Maintainer of the OS X port(s)"), - contributer(u"Eitan Frachtenberg", - "sky8an () gmail ! com", + contributer(u"José Ramom Flores d'as Seixas", + "fa2ramon () usc ! es", "GPL", - "Re: [PATCH] BibTeX annotation support", - "m=111130799028250", - "20 March 2005", - u""), + "Re: Galician translation", + "m=116136920230072", + "20 October 2006", + u"Galician documentation and localization"), contributer(u"John Michael Floyd", "jmf () pwd ! nsw ! gov ! au", @@ -487,6 +521,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 +545,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"Change tracking, 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", @@ -559,6 +617,14 @@ contributers = [ "30 March 2005", u"Fixes to literate programming support"), + contributer(u"Marius Ionescu", + "felijohn () gmail ! com", + "GPL", + "permission to licence", + "m=115935958330941", + "27 September 2006", + u"Romanian localization"), + contributer(u"Bernhard Iselborn", "bernhard.iselborn () sap ! com", "GPL", @@ -621,7 +687,15 @@ contributers = [ "blanket-permission", "m=111054675600338", "11 March 2005", - u""), + u"Gtk reference insertion dialog"), + + contributer(u"Kostantino", + "ciclope10 () alice ! it", + "GPL", + "Permission granted", + "m=115513400621782", + "9 August 2006", + u"Italian localization of the interface"), contributer(u"Michael Koziarski", "koziarski () gmail ! com", @@ -639,6 +713,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"Qt4 coding, CMake build system, bug fixing, testing, clean ups, and profiling"), + contributer(u"Bernd Kümmerlen", "bkuemmer () gmx ! net", "GPL", @@ -664,7 +746,7 @@ contributers = [ u"Xforms dialogs and GUI related code"), contributer(u"Jean-Marc Lasgouttes", - "jean-marc.lasgouttes () inria ! fr", + "lasgouttes () lyx ! org", "GPL", "Re: Licensing of tex2lyx (and perhaps LyX itself?)", "m=110899928510452", @@ -693,7 +775,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 +793,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 +819,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 +839,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 +873,22 @@ contributers = [ "25 February 2005", u"Support for kluwer and ijmpd document classes"), + contributer(u'Sanda Pavel', + "ps () ucw !cz", + "GPL", + "Re: czech translation", + "m=115522417204086", + "10 august 2006", + u"Czech translation"), + + 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 all shell scripts to Python, session, view-source, auto-view features and scons build system."), + contributer(u"Joacim Persson", "sp2joap1 () ida ! his ! se", "", @@ -829,7 +935,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 +977,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", @@ -901,7 +1015,31 @@ 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"Ran Rutenberg", + "ran.rutenberg () gmail ! com", + "GPL", + "The New Hebrew Translation of the Introduction", + "m=116172457024967", + "24 October 2006", + u"Hebrew translation"), + + 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 +1049,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 +1121,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 +1193,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 +1215,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 +1289,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 +1313,5 @@ contributers = [ "", u"bug reports and small fixes") ] - if __name__ == "__main__": main(sys.argv, contributers)