]> git.lyx.org Git - lyx.git/blobdiff - lib/generate_contributions.py
update support for multicolumns
[lyx.git] / lib / generate_contributions.py
index d6e3b0c06879e9e5a6aee7dcfcbf1521451631c3..6efe84ef5816b54f965289261c7386239619cf54 100755 (executable)
@@ -13,12 +13,13 @@ This script both stores and manipulates the raw data needed to
 create CREDITS, credits.inc and blanket-permission.inc
 
 Usage:
+
 $ python generate_contributions.py \
   CREDITS \
   credits.inc \
   blanket-permission.inc
 
-where the arguments are the names of the generated files.
+where the arguments are the pathnames of the generated files.
 '''
 
 import codecs, sys, textwrap
@@ -91,7 +92,16 @@ def error(message):
 
 
 def usage(prog_name):
-     return "Usage: %s <CREDITS> <credits.inc> <blanket-permission.inc>" % prog_name
+     return '''
+Usage:
+
+$ python generate_contributions.py \\
+  CREDITS \\
+  credits.inc \\
+  blanket-permission.inc
+
+where the arguments are the pathnames of the generated files.
+'''
 
 
 def collate_incomplete(contributers):
@@ -122,9 +132,7 @@ def as_txt_credits(contributers):
 
      results.append('''
 
-If your name doesn't appear here although you've done
-something for LyX, or your entry is wrong or incomplete,
-just drop some e-mail to lyx@lyx.org. Thanks.
+If your name doesn't appear here although you've done something for LyX, or your entry is wrong or incomplete, just drop some e-mail to lyx@lyx.org. Thanks.
 ''')
 
      return "".join(results)
@@ -154,12 +162,15 @@ function credits_contrib($name, $email, $msg) {
 $email = str_replace(' () ', '@', $email);
 $email = str_replace(' ! ', '.', $email);
 
-if (isset($email) && $email != "")
-        $output=$output. "<dt><b>[[mailto:${email} | ${name}]]</b>";
-else
+if (isset($email) && $email != "") {
+        if (strncasecmp($email,"http",4) == 0)
+            $output =$output. "<dt><b>[[${email} | ${name}]]</b>";
+         else
+            $output=$output. "<dt><b>[[mailto:${email} | ${name}]]</b>";
+} else
         $output=$output. "<dt><b>${name}</b>";
 
-$msg = ereg_replace("\\n *", "\\n  ", ltrim($msg));
+$msg = preg_replace("/\\n */", "\\n  ", ltrim($msg));
 
 $output=$output. "
  </dt>
@@ -336,6 +347,14 @@ contributers = [
                  "21 February 2005",
                  u"General hacking of user interface stuff and those other bits and pieces"),
 
+     contributer(u"Jesper Stemann Andersen",
+                 "jesper () sait ! dk",
+                 "GPL",
+                 "Contributions GPLed",
+                 "m=130336947315984",
+                 "21 April 2011",
+                 u"Danish translation"),
+
      contributer(u"Pascal André",
                  "andre () via ! ecp ! fr",
                  "GPL",
@@ -360,6 +379,22 @@ contributers = [
                  "23 February 2005",
                  u"Added support for unix sockets and thence the 'inverse DVI' feature"),
 
+     contributer(u"Patrick Atamaniuk",
+                 "atamaniuk () frobs ! net",
+                 "GPL",
+                 "License for my contributions",
+                 "m=129594232112957",
+                 "28 January 2011",
+                 u"fix-cm module"),
+
+     contributer(u"Gioele Barabucci",
+                 "gioele () svario ! it",
+                 "GPL",
+                 "Contribution license",
+                 "m=136933235620262",
+                 "23 May 2013",
+                 u"ACM-SIGS layouts"),
+
      contributer(u"Özgür Uğraş Baran",
                  "ugras.baran () gmail ! com",
                  "GPL",
@@ -416,6 +451,14 @@ contributers = [
                  "3 January 2009",
                  u"small bugfixes, CMake build system, Slovak translation"),
 
+     contributer(u"Jacob Bishop",
+                 "bishop.jacob () gmail ! com",
+                 "GPL",
+                 "Contributions...APA 6 Layout",
+                 "m=135654106502977",
+                 "26 December 2012",
+                 u"APA 6 Layout"),
+
      contributer(u"Punyashloka Biswal",
                  "punya.biswal () gmail ! com",
                  "GPL",
@@ -528,6 +571,14 @@ contributers = [
                  "23 July 2008",
                  u"Ukrainian translation"),
 
+     contributer(u"Tommaso Cucinotta",
+                 "cucinotta () sssup !it",
+                 "GPL",
+                 "Re: View Menu proposal",
+                 "m=119030065212621",
+                 "20 Sep 2007",
+                 u"Advanced search feature"),
+
      contributer(u"Matthias Kalle Dalheimer",
                  "kalle () kdab ! net",
                  "GPL",
@@ -664,6 +715,14 @@ contributers = [
                  "3 August 2007",
                  u"Improvements to mouse wheel scrolling; many bug reports"),
 
+     contributer(u"Max Funk",
+                 "maxkhfunk () gmx ! net",
+                 "GPL",
+                 "GPL",
+                 "m=130659936521230",
+                 "28 May 2011",
+                 u"Bug fixes"),
+
      contributer(u"Edscott Wilson Garcia",
                  "edscott () xfce ! org",
                  "GPL",
@@ -673,7 +732,7 @@ contributers = [
                  u"Bug fixes"),
 
      contributer(u"Ignacio García",
-                 "ignacio.garcia () tele2 ! es",
+                 "ignacio.gmorales () gmail ! com",
                  "GPL",
                  "Re: es_EmbeddedObjects",
                  "m=117079592919653",
@@ -750,7 +809,7 @@ contributers = [
                  "GPL Statement",
                  "m=117501689204059",
                  "27 March 2007",
-                 u"Bug fixes, layout modules, BibTeX code, XHTML export"),
+                 u"Bug fixes, layout modules, BibTeX code, XHTML export. Current stable branch maintainer."),
 
      contributer(u"Bennett Helm",
                  "bennett.helm () fandm ! edu",
@@ -856,13 +915,21 @@ contributers = [
                  "23 February 2005",
                  u"Tutorial, reLyX: the LaTeX to LyX translator"),
 
+     contributer(u"Zahari Dmitrov Kassabov",
+                 "zaharid () gmail ! com",
+                 "GPL",
+                 "GPL Statement",
+                 "m=135540059615508",
+                 "13 December 2012",
+                 u"Bug fixes"),
+
      contributer(u"Carmen Kauffmann",
                  "",
                  "",
                  "",
                  "",
                  "",
-                 u"Original name that is now two character shorter"),
+                 u"Original name that is now two characters shorter"),
 
      contributer(u"KDE Artists",
                  "http://artist.kde.org/",
@@ -880,6 +947,14 @@ contributers = [
                  "11 March 2005",
                  u"Gtk reference insertion dialog"),
 
+     contributer(u"Timo Kluck",
+                 "tkluck () gmail ! com",
+                 "GPL",
+                 "license statement",
+                 "m=132334049317495",
+                 "8 December 2011",
+                 u"Dutch translation, icon fixes"),
+
      contributer(u"Kostantino",
                  "ciclope10 () alice ! it",
                  "GPL",
@@ -888,6 +963,14 @@ contributers = [
                  "9 August 2006",
                  u"Italian localization of the interface"),
 
+     contributer(u"Scott Kostyshak",
+                 "skostysh@princeton.edu",
+                 "GPL",
+                 "GPL Statement",
+                 "m=133076234031944",
+                 "3 March 2012",
+                 u"Small UI fixes"),
+
      contributer(u"Michael Koziarski",
                  "koziarski () gmail ! com",
                  "GPL",
@@ -904,6 +987,14 @@ contributers = [
                  "",
                  u"Hungarian translation and bind file for menu shortcuts"),
 
+     contributer(u'Marcus Kriele',
+                 "mkriele () me ! com",
+                 "GPL",
+                 "License permission",
+                 "m=130384781027177",
+                 "26 April 2011",
+                 u"Fixing various sv* layouts"),
+
      contributer(u'Valeriy Kruchko',
                  "lerkru () gmail ! com",
                  "GPL",
@@ -969,12 +1060,12 @@ contributers = [
                  u"GUI-I-fication of insets and more"),
 
      contributer(u"Edwin Leuven",
-                 "e.leuven () uva ! nl",
+                 "e.leuven () gmail ! com",
                  "GPL",
                  "Re: Licensing of tex2lyx (and perhaps LyX itself?)",
                  "m=110899657530749",
                  "21 February 2005",
-                 u"Qt2 frontend GUI-I-fication of several popups.\nDutch translation of the Windows installer"),
+                 u"Tabular and misc UI stuff"),
 
      contributer(u"John Levon",
                  "levon () movementarian ! org",
@@ -992,6 +1083,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"LibreOffice Team",
+                 "http://www.libreoffice.org/",
+                 "LGPL",
+                 "",
+                 "",
+                 "",
+                 u"Libreoffice Icon Theme"),
+
      contributer(u"Tomasz Łuczak",
                  "tlu () technodat ! com ! pl",
                  "GPL",
@@ -1030,7 +1129,7 @@ contributers = [
                  "Re: The LyX licence",
                  "m=110907762926766",
                  "22 February 2005",
-                 u"linuxdoc sgml support. Current release manager."),
+                 u"linuxdoc sgml support. Previous release manager."),
 
      contributer(u"Roman Maurer",
                  "roman.maurer () amis ! net",
@@ -1136,6 +1235,14 @@ contributers = [
                  "27 June 2009",
                  u"Improvements to the outliner."),
 
+     contributer(u"Oxygen Team",
+                 "http://www.oxygen-icons.org/",
+                 "LGPL",
+                 "",
+                 "",
+                 "",
+                 u"Oxygen Icon Theme"),
+
      contributer(u"Carl Ollivier-Gooch",
                  "cfog () mech ! ubc ! ca",
                  "GPL",
@@ -1200,6 +1307,14 @@ contributers = [
                  "",
                  u"Mathematica backend for mathed"),
 
+     contributer(u"Benjamin Piwowarski",
+                 "benjamin ! piwowarski () lip6 ! fr",
+                 "GPL",
+                 "GPL statement",
+                 "m=133958334631163",
+                 "13 June 2012",
+                 u"AppleScript, integration with bibliography managers"),
+
      contributer(u"Neoklis Polyzotis",
                  "alkis () soe ! ucsc ! edu",
                  "GPL",
@@ -1312,6 +1427,14 @@ contributers = [
                  "24 February 2005",
                  u"documentation maintainer, AASTeX support"),
 
+     contributer(u"Richman Reuven",
+                 "richman.reuven () gmail ! com",
+                 "GPL",
+                 "gpl 2+ ok :)",
+                 "m=130368087529359",
+                 "24 April 2011",
+                 u"Hebrew localisation"),
+
      contributer(u"Christian Ridderström",
                  "christian.ridderstrom () gmail ! com",
                  "GPL",
@@ -1321,12 +1444,12 @@ contributers = [
                  u"The driving force behind, and maintainer of, the LyX wiki wiki.\nSwedish translation of the Windows installer"),
 
      contributer(u"Julien Rioux",
-                 "jrioux () physics ! utoronto ! ca",
+                 "jrioux () lyx ! org",
                  "GPL",
                  "Re: #6361: configure.py ignores packages required by user-defined modules",
                  "m=125986505101722",
                  "3 December 2009",
-                 u"Bug fixes, lilypond support"),
+                 u"Bug fixes, lilypond and revtex support, citation modules."),
 
      contributer(u"Bernhard Roider",
                  "bernhard.roider () sonnenkinder ! org",
@@ -1336,6 +1459,14 @@ contributers = [
                  "29 January 2007",
                  u"Various bug fixes"),
 
+     contributer(u"Jim Rotmalm",
+                 "jim.rotmalm () gmail ! com",
+                 "GPL",
+                 "License for my contributions.",
+                 "m=129582352017079",
+                 "24 January 2011",
+                 u"Swedish translation"),
+
      contributer(u"Paul A. Rubin",
                  "rubin () msu ! edu",
                  "GPL",
@@ -1358,7 +1489,7 @@ contributers = [
                  "Re: czech translation",
                  "m=115522417204086",
                  "10 August 2006",
-                 u"Czech translation, support for the LaTeX package hyperref, fullscreen support, lfuns docs/review"),
+                 u"Czech translation, added various features, lfuns docs/review. Current release manager."),
 
      contributer(u"Szõke Sándor",
                  "alex () lyx ! hu",
@@ -1416,6 +1547,14 @@ contributers = [
                  "23 February 2005",
                  u"contribution to the spanish internationalization"),
 
+     contributer(u"Nickolay Shashkin",
+                 "mecareful () gmail ! com",
+                 "GPL",
+                 "GPL statement",
+                 "m=134026564400578",
+                 "21 June 2012",
+                 u"bugfixes"),
+
      contributer(u"Miyata Shigeru",
                  "miyata () kusm ! kyoto-u ! ac ! jp",
                  "",
@@ -1448,6 +1587,14 @@ contributers = [
                  "Mar 2 2009",
                  u"Indonesian translation"),
 
+     contributer(u"Giovanni Sora",
+                 "g.sora () tiscali ! it",
+                 "GPL",
+                 "License ia.po",
+                 "m=129968786830788",
+                 "9 March 2011",
+                 u"Interlingua translation"),
+
      contributer(u"Andre Spiegel",
                  "spiegel () gnu ! org",
                  "GPL",
@@ -1462,7 +1609,7 @@ contributers = [
                  "Re: The LyX licence",
                  "m=110907530127164",
                  "22 February 2005",
-                 u"Qt frontend, bugfixes. Current stable branch maintainer."),
+                 u"Qt frontend, bugfixes. Former stable branch maintainer."),
 
      contributer(u"John Spray",
                  "jcs116 () york ! ac ! uk",
@@ -1624,6 +1771,14 @@ contributers = [
                  "22 February 2005",
                  u"Bug fixes, feedback on LyX behaviour on the Mac, and improvements to DocBook export"),
 
+     contributer(u"venom00 (c/o J-M Lasgouttes)",
+                 "venom00 () arcadiaclub ! com",
+                 "GPL",
+                 "I love GPL, what about you?",
+                 "m=129098897014967",
+                 "29 November 2010",
+                 u"Bug fixing"),
+
      contributer(u"Jason Waskiewicz",
                  "jason.waskiewicz () sendit ! nodak ! edu",
                  "GPL",
@@ -1670,7 +1825,7 @@ contributers = [
                  "Re: The LyX licence",
                  "m=110909031824764",
                  "22 February 2005",
-                 u"support for page selection for printing support for number of copies"),
+                 u"support for CVS revision control, native spell checker interface for Mac OS"),
 
      contributer(u"Russ Woodroofe",
                  "paranoia () math ! cornell ! edu",
@@ -1680,6 +1835,14 @@ contributers = [
                  "1 January 2009",
                  u"question layout environment"),
 
+     contributer(u"Yihui Xie",
+                 "xie () yihui ! name",
+                 "GPL",
+                 "GPL Statement",
+                 "m=130523685427995",
+                 "3 June 2011",
+                 u"Bugfixing, Chinese translation, Sweave support"),
+
      contributer(u"Huang Ying",
                  "huangy () sh ! necas ! nec ! com ! cn",
                  "GPL",