From 4d3eb3d5788be2de16c3d605502dbc86412835f2 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 20 Dec 2023 10:05:52 +0100 Subject: [PATCH] KSyntaxHighlighting: Remove highlighting files with unclear license Makefiles are less relevant nowadays with CMake and Ninja, and the Python plugin does highlighting on its own. And users will still be prompted for downloading the highlighting files anyway. Change-Id: If80f1e8215375ed3985d9327c031f0c69fc15654 Reviewed-by: Reviewed-by: Orgad Shaneh Reviewed-by: David Schulz --- qt_attributions.json | 38 - .../data/syntax/makefile.xml | 515 ---------- .../data/syntax/python.xml | 929 ------------------ 3 files changed, 1482 deletions(-) delete mode 100644 src/libs/3rdparty/syntax-highlighting/data/syntax/makefile.xml delete mode 100644 src/libs/3rdparty/syntax-highlighting/data/syntax/python.xml diff --git a/qt_attributions.json b/qt_attributions.json index 60b1487c5b2..7c23639d83b 100644 --- a/qt_attributions.json +++ b/qt_attributions.json @@ -184,25 +184,6 @@ "LicenseFile": "doc/qtcreator/src/overview/license-LGPLv2.1.txt", "Copyright": "Author: Sebastian Pipping (sebastian@pipping.org)." }, - { - "Id": "ksyntaxhighlighting-makefile", - "Name": "KSyntaxHighlighting: makefile.xml", - "QDocModule": "qtcreator", - "QtParts": ["tools"], - "QtUsage": "Used for the generic highlighter for text files.", - "Path": "src/libs/3rdparty/syntax-highlighting/data/syntax", - "Description": "Syntax highlighting definition makefile.xml", - "Homepage": "https://invent.kde.org/frameworks/syntax-highlighting/-/tree/master/data/syntax", - "License": "MIT License", - "LicenseFile": "src/libs/3rdparty/syntax-highlighting/COPYING", - "Copyright": [ - "Author: v0.9 by Per Wigren (wigren@home.se).", - "Changes: Joseph Wenninger (jowenn@kde.org),", - "Rui Santana (santana.rui@gmail.com),", - "v2.0 by Andreas Nordal (andreas.nordal@gmail.com),", - "v2.1 by Alex Turbov (i.zaufi@gmail.com),", - "v4 by Alex Richardson (arichardson.kde@gmail.com)."] - }, { "Id": "ksyntaxhighlighting-markdown", "Name": "KSyntaxHighlighting: markdown.xml", @@ -274,25 +255,6 @@ "Authors: Motoki Kashihara (motoki8791@gmail.com),", "Michael Lombardi (Michael.T.Lombardi@outlook.com)."] }, - { - "Id": "ksyntaxhighlighting-python", - "Name": "KSyntaxHighlighting: python.xml", - "QDocModule": "qtcreator", - "QtParts": ["tools"], - "QtUsage": "Used for the generic highlighter for text files.", - "Path": "src/libs/3rdparty/syntax-highlighting/data/syntax", - "Description": "Syntax highlighting definition python.xml", - "Homepage": "https://invent.kde.org/frameworks/syntax-highlighting/-/tree/master/data/syntax", - "License": "MIT License", - "LicenseFile": "src/libs/3rdparty/syntax-highlighting/COPYING", - "Copyright": [ - "Author: Michael Bueker", - "Changes: v0.9 by Per Wigren,", - "v1.9 by Michael Bueker,", - "v1.97 by Paul Giannaros,", - "v1.99 by Primoz Anzur,", - "v2.01 by Paul Giannaros."] - }, { "Id": "ksyntaxhighlighting-qdocconf", "Name": "KSyntaxHighlighting: qdocconf.xml", diff --git a/src/libs/3rdparty/syntax-highlighting/data/syntax/makefile.xml b/src/libs/3rdparty/syntax-highlighting/data/syntax/makefile.xml deleted file mode 100644 index 257aac57410..00000000000 --- a/src/libs/3rdparty/syntax-highlighting/data/syntax/makefile.xml +++ /dev/null @@ -1,515 +0,0 @@ - - - - - - - - - - - - - - include - -include - define - endef - - - - if - ifeq - ifneq - ifdef - ifndef - - else - endif - - - .if - .ifdef - .ifndef - .ifmake - .ifnmake - - - .elif - .elifdef - .elifndef - .elifmake - .elifnmake - .else - - .endif - - - defined - empty - exists - target - commands - - - - .include - .-include - .sinclude - - - - .info - .warning - .error - - - .for - .endfor - - - - .BEGIN - .DEFAULT - .END - .ERROR - .IGNORE - .INTERRUPT - .MAIN - .MAKEFLAGS - .NOPATH - .NOTPARALLEL - .NO_PARALLEL - .OBJDIR - .ORDER - .PATH - .PHONY - .PRECIOUS - .SHELL - .SILENT - .STALE - .SUFFIXES - - - - .EXEC - .IGNORE - .MADE - .MAKE - .META - .NOMETA - .NOMETA_CMP - .NOPATH - .NOTMAIN - .OPTIONAL - .PHONY - .PRECIOUS - .RECURSIVE - .SILENT - .USE - .USEBEFORE - .WAIT - - - - .unexport-env - .unexport - .undef - .export-env - .export - - - - call - subst - patsubst - strip - findstring - filter - filter-out - sort - word - wordlist - words - firstword - lastword - dir - notdir - suffix - basename - addsuffix - addprefix - join - wildcard - realpath - abspath - if - or - and - foreach - value - eval - origin - flavor - shell - error - warning - info - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/libs/3rdparty/syntax-highlighting/data/syntax/python.xml b/src/libs/3rdparty/syntax-highlighting/data/syntax/python.xml deleted file mode 100644 index f962189d4c6..00000000000 --- a/src/libs/3rdparty/syntax-highlighting/data/syntax/python.xml +++ /dev/null @@ -1,929 +0,0 @@ - - - - - - - - - - - - - -]> - - - - - - - - - - - - - - - - import - from - as - - - class - def - del - global - lambda - nonlocal - - - and - in - is - not - or - - - assert - break - continue - elif - else - except - finally - for - if - pass - raise - return - try - while - with - async - await - - - yield - - yield from - - - match - case - - - - __import__ - abs - aiter - all - anext - any - apply - ascii - basestring - bin - breakpoint - bool - buffer - bytearray - bytes - callable - chr - classmethod - cmp - coerce - compile - complex - delattr - dict - dir - divmod - enumerate - eval - exec - execfile - file - filter - float - format - frozenset - getattr - globals - hasattr - hash - help - hex - id - input - int - intern - isinstance - issubclass - iter - len - list - locals - long - map - max - memoryview - min - next - object - oct - open - ord - pow - print - property - range - raw_input - reduce - reload - repr - reversed - round - set - setattr - slice - sorted - staticmethod - str - sum - super - tuple - type - unichr - unicode - vars - xrange - zip - - - None - self - True - False - NotImplemented - Ellipsis - __debug__ - __file__ - __name__ - __qualname__ - - - SIGNAL - SLOT - connect - - - - __new__ - __init__ - __del__ - __repr__ - __str__ - __lt__ - __le__ - __eq__ - __ne__ - __gt__ - __ge__ - __cmp__ - __rcmp__ - __hash__ - __bool__ - __nonzero__ - __unicode__ - __getattr__ - __setattr__ - __delattr__ - __getattribute__ - __get__ - __set__ - __delete__ - __call__ - __len__ - __length_hint__ - __getitem__ - __setitem__ - __delitem__ - __missing__ - __iter__ - __reversed__ - __contains__ - __getslice__ - __setslice__ - __delslice__ - __add__ - __sub__ - __mul__ - __matmul__ - __floordiv__ - __mod__ - __divmod__ - __pow__ - __lshift__ - __rshift__ - __and__ - __xor__ - __or__ - __div__ - __truediv__ - __radd__ - __rsub__ - __rmul__ - __rmatmul__ - __rdiv__ - __rtruediv__ - __rfloordiv__ - __rmod__ - __rdivmod__ - __rpow__ - __rlshift__ - __rrshift__ - __rand__ - __rxor__ - __ror__ - __iadd__ - __isub__ - __imul__ - __imatmul__ - __idiv__ - __itruediv__ - __ifloordiv__ - __imod__ - __ipow__ - __ilshift__ - __irshift__ - __iand__ - __ixor__ - __ior__ - __neg__ - __pos__ - __abs__ - __invert__ - __complex__ - __int__ - __long__ - __float__ - __oct__ - __hex__ - __index__ - __round__ - __trunc__ - __floor__ - __ceil__ - __coerce__ - __enter__ - __exit__ - __match_args__ - __bytes__ - __format__ - __next__ - __dir__ - __await__ - __aiter__ - __anext__ - __aenter__ - __aexit__ - __slots__ - __init_subclass__ - __set_name__ - __prepare__ - __instancecheck__ - __subclasscheck__ - __class_getitem__ - - - - ArithmeticError - AssertionError - AttributeError - BaseException - BlockingIOError - BrokenPipeError - BufferError - BytesWarning - ChildProcessError - ConnectionAbortedError - ConnectionError - ConnectionRefusedError - ConnectionResetError - DeprecationWarning - EnvironmentError - EOFError - EncodingWarning - Exception - FileExistsError - FileNotFoundError - FloatingPointError - FutureWarning - GeneratorExit - ImportError - ImportWarning - IndentationError - IndexError - InterruptedError - IOError - IsADirectoryError - KeyboardInterrupt - KeyError - LookupError - MemoryError - ModuleNotFoundError - NameError - NotADirectoryError - NotImplementedError - OSError - OverflowError - PendingDeprecationWarning - PermissionError - ProcessLookupError - RecursionError - ReferenceError - ResourceWarning - RuntimeError - RuntimeWarning - StandardError - StopAsyncIteration - StopIteration - SyntaxError - SyntaxWarning - SystemError - SystemExit - TabError - TimeoutError - TypeError - UnboundLocalError - UnicodeDecodeError - UnicodeEncodeError - UnicodeError - UnicodeTranslateError - UnicodeWarning - UserWarning - ValueError - Warning - WindowsError - ZeroDivisionError - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -