]> git.lyx.org Git - lyx.git/blobdiff - lib/generate_contributions.py
update support for multicolumns
[lyx.git] / lib / generate_contributions.py
index 642291ed5ebad21c42a2ad5ed45bea5c06d906e0..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):
@@ -152,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>
@@ -334,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",
@@ -366,6 +387,14 @@ contributers = [
                  "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",
@@ -422,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",
@@ -678,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",
@@ -687,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",
@@ -764,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",
@@ -870,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/",
@@ -894,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",
@@ -902,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",
@@ -918,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",
@@ -1006,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",
@@ -1150,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",
@@ -1214,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",
@@ -1326,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",
@@ -1335,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",
@@ -1438,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",
                  "",
@@ -1492,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",
@@ -1654,7 +1771,7 @@ contributers = [
                  "22 February 2005",
                  u"Bug fixes, feedback on LyX behaviour on the Mac, and improvements to DocBook export"),
 
-     contributer(u"venom00",
+     contributer(u"venom00 (c/o J-M Lasgouttes)",
                  "venom00 () arcadiaclub ! com",
                  "GPL",
                  "I love GPL, what about you?",
@@ -1718,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",