X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fgenerate_contributions.py;h=ac6518ef3c232754bd97e2c4f05a9d4d180639a3;hb=7f1cb306f942709601314f3e396f0e01defdc45d;hp=351eec755bfcb9880ce18c8dca0b11927f59d428;hpb=67bb5a2bf16d79caa86c34bf60fb4e972c132b1c;p=lyx.git diff --git a/lib/generate_contributions.py b/lib/generate_contributions.py index 351eec755b..ac6518ef3c 100755 --- a/lib/generate_contributions.py +++ b/lib/generate_contributions.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 # -*- coding: utf-8 -*- ''' @@ -53,7 +53,7 @@ class contributor: def as_txt_credits(self): result = [ '@b%s\n' % self.name ] if len(self.contact) != 0: - if self.contact.find("http") != -1: + if self.contact.find("https") != -1: result.append('@i%s\n' % self.contact) else: result.append('@iE-mail: %s\n' % self.contact) @@ -163,7 +163,7 @@ $email = str_replace(' () ', '@', $email); $email = str_replace(' ! ', '.', $email); if (isset($email) && $email != "") { - if (strncasecmp($email,"http",4) == 0) + if (strncasecmp($email,"https",4) == 0) $output =$output. "
[[${email} | ${name}]]"; else $output=$output. "
[[mailto:${email} | ${name}]]"; @@ -234,7 +234,11 @@ $output=$output. " if (isset($msg_ref) && $msg_ref != "") { $msg_ref = htmlspecialchars("$msg_ref"); - $output=$output. "[[http://marc.info/?l=lyx-devel&" . ${msg_ref} . "|" . ${msg_title} . "]]"; + if (substr($msg_ref, 0, 2) == "m=") { + $output=$output. "[[https://marc.info/?l=lyx-devel&" . ${msg_ref} . "|" . ${msg_title} . "]]"; + } else { + $output=$output. "[[https://www.mail-archive.com/lyx-devel@lists.lyx.org/" . ${msg_ref} . ".html |" . ${msg_title} . "]]"; + } } else { $output=$output. "${msg_title}"; } @@ -251,7 +255,7 @@ function blanket_output() { $output=$output."

The following people hereby grant permission to license their contributions to LyX under the - [[http://www.opensource.org/licenses/gpl-license.php | + [[https://opensource.org/licenses/gpl-license | Gnu General Public License]], version 2 or later.

@@ -269,7 +273,7 @@ $output=$output."

The following people hereby grant permission to license their contributions to LyX under the - [[http://www.opensource.org/licenses/artistic-license-2.0.php | + [[https://opensource.org/licenses/Artistic-2.0 | Artistic License 2]].

@@ -300,31 +304,48 @@ def main(argv, contributors): txt_credits_data = unicode(as_txt_credits(contributors)).encode("utf-8") else: txt_credits_data = str(as_txt_credits(contributors)).encode("utf-8") - txt_credits = open(argv[1], "w") + txt_credits = open(argv[1], "wb") + txt_credits.write(b"# Do not edit this file. It is created by the " \ + b"script generate_contributions.py\n# and any direct change to " \ + b"this file will be overwritten.\n") txt_credits.write(txt_credits_data) if sys.version_info[0] < 3: php_credits_data = unicode(as_php_credits(contributors, argv[2])).encode("utf-8") else: php_credits_data = str(as_php_credits(contributors, argv[2])).encode("utf-8") - php_credits = open(argv[2], "w") + php_credits = open(argv[2], "wb") php_credits.write(php_credits_data) if sys.version_info[0] < 3: php_blanket_data = unicode(as_php_blanket(contributors, argv[3])).encode("utf-8") else: php_blanket_data = str(as_php_blanket(contributors, argv[3])).encode("utf-8") - php_blanket = open(argv[3], "w") + php_blanket = open(argv[3], "wb") php_blanket.write(php_blanket_data) if sys.version_info[0] < 3: warning_data = unicode(collate_incomplete(contributors) + '\n').encode("utf-8") else: warning_data = str(collate_incomplete(contributors) + '\n').encode("utf-8") - sys.stderr.write(warning_data) + sys.stderr.write(warning_data.decode('utf-8')) # Store the raw data. +# +# NOTE: syntax is +# contributor(u"Name", +# "Email [address () domain ! tld]", +# "GPL", +# "Message title", +# "Message ID", +# "Date of Message", +# u"Type of contribution"), +# +# Message ID can be either MARC [e.g., "m=1234567891011"] +# or mail-archive.com [e.g., "msg75510"] +# (note that MARC was used exclusively until 2019-10, when MARC stopped +# archieving lyx-devel) contributors = [ contributor(u"Ronen Abravanel", @@ -469,7 +490,15 @@ contributors = [ "The LyX licence", "m=123100818303101", "3 January 2009", - u"small bugfixes, CMake build system, Slovak translation"), + u"CMake build system, Slovak translation, Advanced search with format"), + + contributor(u"Lorenzo Bertini", + "lorenzobertini97 () gmail ! com", + "GPL", + "Contributions licensing", + "m=160829081615487", + "18 December 2020", + u"Bug fixes"), contributor(u"Jacob Bishop", "bishop.jacob () gmail ! com", @@ -511,6 +540,14 @@ contributors = [ "24 February 2005", u"A (pseudo) threaded graphics loader queue, lots of fixes, etc."), + contributor(u"Martin A. Brown", + "martin () linux-ip ! net", + "GPL", + "Re: public identifier for DocBook XML export", + "m=148391461928571", + "8 January 2017", + u"Docbook fixes"), + contributor(u"Christian Buescher", "christian.buescher () uni-bielefeld ! de", "", @@ -567,6 +604,30 @@ contributors = [ "30 March 2005", u"Bug fixes"), + contributor(u"Henry Chern", + "henrychern () yandex ! com", + "GPL", + "[no subject]", + "m=159048578028108", + "26 May 2020", + u"Russian translation of documentation"), + + contributor(u"Yuri Chornoivan", + "yurchor () ukr ! net", + "GPL", + "Permission grant", + "m=121681339315810", + "23 July 2008", + u"Ukrainian translation"), + + contributor(u"Eugene Chornyi", + "technikmagma () gmail ! com", + "GPL", + "Contribution license", + "m=157822065931930", + "5 January 2020", + u"Windows installation improvements"), + contributor(u"Jean-Pierre Chrétien", "jeanpierre.chretien () free ! fr", "GPL", @@ -583,22 +644,30 @@ contributors = [ "17 January 2006", u"Italian translation"), - contributor(u"Yuri Chornoivan", - "yurchor () ukr ! net", + contributor(u"Sam Crawley", + "sam () crawley ! nz", "GPL", - "Permission grant", - "m=121681339315810", - "23 July 2008", - u"Ukrainian translation"), + "Re: [Patch] Test suite for compare function", + "m=160506560831489", + "11 November 2020", + u"Compare-feature fixes"), contributor(u"Tommaso Cucinotta", - "cucinotta () sssup !it", + "cucinotta () sssup ! it", "GPL", "Re: View Menu proposal", "m=119030065212621", "20 Sep 2007", u"Advanced search feature"), + contributor(u"Thibaut Cuvelier", + "dourouc05 () gmail ! com", + "GPL", + "Re: Patches to improve compatibility with modern C++ standard", + "m=158862338815864", + "4 May 2020", + u"Windows compatibility patches, DocBook backend"), + contributor(u"Matthias Kalle Dalheimer", "kalle () kdab ! net", "GPL", @@ -639,6 +708,14 @@ contributors = [ "27 April 2014", u"Chinese (simplified) translations"), + contributor(u"Alexander Dunlap", + "alexander.dunlap () gmail ! com", + "GPL", + "licensing statement", + "m=151914230920804", + "20 February 2018", + u"Improvement to recent files support"), + contributor(u"Anders Ekberg", "anek () chalmers ! se", "GPL", @@ -727,6 +804,14 @@ contributors = [ "16 June 2005", u"Italian translations, many bug fixes and features"), + contributor(u"Gilbert J. M. Forkel", + "gilbert () erlangen ! ccc ! de", + "GPL", + "GPL", + "m=153286983821872", + "29 July 2018", + u"Bug fixes"), + contributor(u"Eitan Frachtenberg", "sky8an () gmail ! com", "GPL", @@ -791,6 +876,14 @@ contributors = [ "25 April 2016", u"Mingw-w64 build fixes"), + contributor(u"D. Gloger", + "2wochenurlaub () gloger ! biz", + "GPL", + "Re: external material template: SVG -> PDF/PS with LaTeX", + "m=151298047124676", + "11 December 2017", + u"Inkscape External Template"), + contributor(u"Hartmut Goebel", "h.goebel () crazy-compilers ! com", "GPL", @@ -847,8 +940,16 @@ contributors = [ "9 June 2015", u"Haiku OS support"), - contributor(u"Richard Heck", - "rgheck () comcast ! net", + contributor(u"Jan Niklas Hasse", + "jhasse () bixense ! com", + "GPL", + "Re: Patch to make it possible to open empty files", + "m=148163124122780", + "23 December 2016", + u"File opening enhancement"), + + contributor(u"Richard Kimberly Heck", + "rikiheck () lyx ! org", "GPL", "GPL Statement", "m=117501689204059", @@ -887,6 +988,14 @@ contributors = [ "19 July 2013", u"XHTML and ePub Improvements (GSOC Student)"), + contributor(u"Christopher Hillenbrand", + "chillenb.lists () gmail ! com", + "GPL", + "Re: Limit text width in the editor window (non-fullscreen mode)", + "m=166714427827929", + "30 October 2022", + u"User Interface Improvements"), + contributor(u"Claus Hindsgaul", "claus_h () image ! dk", "GPL", @@ -903,6 +1012,14 @@ contributors = [ "6 October 2013", u"Dialog usability fix"), + contributor(u"Winfred Huang", + "tone90999 () hotmail ! com", + "GPL", + "License for Chinese translation", + "m=153274007430136", + "28 July 2018", + u"Simplified Chinese Localization"), + contributor(u"John Hudson", "j.r.hudson () virginmedia ! com", "GPL", @@ -967,6 +1084,14 @@ contributors = [ "22 February 2005", u"Public relations, feedback, documentation and support"), + contributor(u"Joice Joseph", + "joicey () yandex ! com", + "GPL", + "Re: patch: added document language malayalam", + "m=155214496414909", + "9 March 2019", + u"Support for Malayalam"), + contributor(u"Robert van der Kamp", "robnet () wxs ! nl", "GPL", @@ -1000,7 +1125,7 @@ contributors = [ u"Original name that is now two characters shorter"), contributor(u"KDE Artists", - "http://artist.kde.org/", + "", "", "", "", @@ -1087,6 +1212,14 @@ contributors = [ "25 February 2005", u"Initial version of the koma-script textclasses"), + contributor(u"Joel Kulesza", + "jkulesza () gmail ! com", + "GPL", + "License to Publish Work", + "m=147735429207382", + "25 October 2016", + u"User interface improvements"), + contributor(u"Felix Kurth", "felix () fkurth ! de", "GPL", @@ -1149,10 +1282,10 @@ contributors = [ "Re: LyX 1.4cvs crash on Fedora Core 3", "m=111204368700246", "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"), + u"Added native support for \\makebox to mathed. Several bug fixes, both to the source code and to the llncs layout file"), contributor(u"LibreOffice Team", - "http://www.libreoffice.org/", + "https://www.libreoffice.org/", "LGPL", "", "", @@ -1176,7 +1309,7 @@ contributors = [ u"Bugfixes"), contributor(u"Mohamed Magdy", - "physicist2010 () gmail ! com>", + "physicist2010 () gmail ! com", "GPL", "A permission to use my Arabic-Translation for LyX?", "m=126877445318267", @@ -1311,6 +1444,14 @@ contributors = [ "22 February 2005", u"Math panel dialogs"), + contributor(u"Phillip Netro", + "hobbes () centurylink ! net", + "GPL", + "RE: GPL Statement", + "m=160532510203924", + "14 November 2020", + u"Review of Manuals"), + contributor(u"Dirk Niggemann", "dabn100 () cam ! ac ! uk", "", @@ -1320,7 +1461,7 @@ contributors = [ u"config. handling enhancements, bugfixes, printer enhancements path mingling"), contributor(u"Jens Nöckel", - "noeckel () uoregon !edu", + "noeckel () uoregon ! edu", "GPL", "GPL statement", "m=128485749516885", @@ -1328,7 +1469,7 @@ contributors = [ u"Mac OS X enhancements"), contributor(u"Rob Oakes", - "lyx-devel () oak-tree ! us>", + "lyx-devel () oak-tree ! us", "GPL", "Outline Contributions", "m=124615188102843", @@ -1336,7 +1477,7 @@ contributors = [ u"Improvements to the outliner."), contributor(u"Oxygen Team", - "http://www.oxygen-icons.org/", + "https://techbase.kde.org/Projects/Oxygen", "LGPL", "", "", @@ -1351,6 +1492,14 @@ contributors = [ "30 March 2005", u"Support for two-column figure (figure*) and table (table*) environments. Fixed minibuffer entry of floats."), + contributor(u"Isaac Oscar Gariano", + "IsaacOscar () live ! com ! au", + "GPL", + "Re: [PATCH] Make math autocorrrect work with more than 2 chars", + "m=155874284418501", + "25 May 2019", + u"Improvements to math autocorrect"), + contributor(u"Gilad Orr", "giladorr () gmail ! com", "GPL", @@ -1487,6 +1636,14 @@ contributors = [ "6 April 2005", u"initial configure script"), + contributor(u"Zheru Qiu", + "qzr () mail ! ustc ! edu ! cn", + "GPL", + "Fwd: Permission of using my translation under GPL", + "m=148702600212546", + "5 February 2017", + u"Chinese localisation"), + contributor(u"Allan Rae", "rae () itee ! uq ! edu ! au", "GPL", @@ -1599,6 +1756,14 @@ contributors = [ "29 January 2007", u"Various bug fixes"), + contributor(u"Michael Roitzsch", + "reactorcontrol () icloud ! com", + "GPL", + "Re: TeXFiles.py compatibility with Nix on macOS", + "m=156146891826580", + "25 June 2019", + u"Fixes for the Nix package manager"), + contributor(u"Jim Rotmalm", "jim.rotmalm () gmail ! com", "GPL", @@ -1679,6 +1844,14 @@ contributors = [ "12 January 2008", u"small fixes"), + contributor(u"Christoph Schmitz", + "chr.schmitz () web ! de", + "GPL", + "Re: German Translation of \"Additional Features\"", + "m=161899755219050", + "21 April 2021", + u"Contribution to German manuals"), + contributor(u"Hubert Schreier", "schreier () sc ! edu", "", @@ -1743,6 +1916,22 @@ contributors = [ "Mar 2 2009", u"Indonesian translation"), + contributor(u"Yuriy Skalko", + "yuriy.skalko () gmail ! com", + "GPL", + "Re: Updated Russian translation", + "m=151306079714476", + "12 December 2017", + u"Russian localization and documentation, bug reports and fixes, updating of code"), + + contributor(u"Hernán Gustavo Solari", + "hgsolari () gmail ! com", + "GPL", + "Re: Bug#1008257: lyx: bash-completion not working", + "m=164864464510820", + "30 March 2022", + u"bash-completion fixes"), + contributor(u"Giovanni Sora", "g.sora () tiscali ! it", "GPL", @@ -1760,12 +1949,12 @@ contributors = [ u"vertical spaces"), contributor(u"Jürgen Spitzmüller", - "juergen.sp () t-online ! de", + "spitz () lyx ! org", "GPL", "Re: The LyX licence", "m=110907530127164", "22 February 2005", - u"Qt frontend, bugfixes. Former stable branch maintainer."), + u"Many bugfixes and features. Former stable branch maintainer."), contributor(u"John Spray", "jcs116 () york ! ac ! uk", @@ -1791,6 +1980,14 @@ contributors = [ "9 June 2005", u"Current documentation maintainer, Windows installer, bug fixes"), + contributor(u"Niko Strijbol", + "strijbol ! niko () gmail ! com", + "GPL", + "License agreement (cf. Dutch translations)", + "m=156107304318577", + "20 June 2019", + u"Dutch translation of the user interface"), + contributor(u"David Suárez de Lis", "excalibor () iname ! com", "", @@ -1903,6 +2100,14 @@ contributors = [ "22 February 2005", u"support for optional argument in sections/captions svjour/svjog, egs and llncs document classes. Lot of bug hunting (and fixing!)"), + contributor(u"Veselin", + "vveesskkoo () gmail ! com", + "GPL", + "Re: po/bg.po update", + "m=155531922001223", + "15 April 2019", + u"Bulgarian localization"), + contributor(u"Jürgen Vigna", "jug () lyx ! org", "GPL", @@ -1923,10 +2128,18 @@ contributors = [ "rvishnampet () gmail ! com", "GPL", "Re: [Patch] -fobjc-exceptions for compiling linkback sources with g++ on Mac", - "", + "m=139265874002562", "17 February 2014", u"Support for g++ on 4.8 Mac"), + contributor(u"Patrick De Visschere", + "pdvisschere () edpnet ! be", + "GPL", + "Re: Blanket permission", + "m=157529692807608", + "2 December 2019", + u"Improvements to the CMake build scripts"), + contributor(u"Herbert Voß", "herbert.voss () alumni ! tu-berlin ! de", "GPL", @@ -1983,12 +2196,12 @@ contributors = [ "", u"Maintainer of the @lists.lyx.org mailing-lists"), - contributor(u"Serge Winitzki", - "winitzki () erebus ! phys ! cwru ! edu", - "", - "", - "", - "", + contributor(u"Sergei Winitzki", + "winitzki () gmail ! com", + "GPL", + "Re: patch to include latest supported programming languages in listings.tex", + "m=155530602429557", + "15 April 2019", u"updates to the Scientific Word bindings"), contributor(u"Stephan Witt", @@ -1999,6 +2212,14 @@ contributors = [ "22 February 2005", u"support for CVS revision control, native spell checker interface for Mac OS"), + contributor(u"Jürgen Womser-Schütz", + "jws1954 () gmx ! de", + "GPL", + "Re: Bug #11484", + "m=154990590319314", + "11 February 2019", + u"Improvements to the Include File dialog"), + contributor(u"Russ Woodroofe", "paranoia () math ! cornell ! edu", "GPL",