Hello community,
here is the log from the commit of package syntax-highlighting for
openSUSE:Leap:15.2 checked in at 2020-05-12 11:39:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/syntax-highlighting (Old)
and /work/SRC/openSUSE:Leap:15.2/.syntax-highlighting.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "syntax-highlighting"
Tue May 12 11:39:31 2020 rev:54 rq:802218 version:5.70.0
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/syntax-highlighting/syntax-highlighting.changes
2020-04-21 19:06:41.367887039 +0200
+++
/work/SRC/openSUSE:Leap:15.2/.syntax-highlighting.new.2738/syntax-highlighting.changes
2020-05-12 11:40:04.696712120 +0200
@@ -1,0 +2,14 @@
+Sun May 3 09:40:22 UTC 2020 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.70.0
+ * New feature release
+ * For more details please see:
+ * https://kde.org/announcements/kde-frameworks-5.70.0
+- Changes since 5.69.0:
+ * debchangelog: add Groovy Gorilla
+ * fix unit test refs
+ * Updated test file for Logtalk syntax highlighting
+ * Update Logtalk language syntax support
+ * TypeScript: add the "awaited" type operator
+
+-------------------------------------------------------------------
Old:
----
syntax-highlighting-5.69.0.tar.xz
syntax-highlighting-5.69.0.tar.xz.sig
New:
----
syntax-highlighting-5.70.0.tar.xz
syntax-highlighting-5.70.0.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ syntax-highlighting.spec ++++++
--- /var/tmp/diff_new_pack.yimT7A/_old 2020-05-12 11:40:05.168713112 +0200
+++ /var/tmp/diff_new_pack.yimT7A/_new 2020-05-12 11:40:05.168713112 +0200
@@ -17,14 +17,14 @@
%define lname libKF5SyntaxHighlighting5
-%define _tar_path 5.69
+%define _tar_path 5.70
# Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33)
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} |
awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: syntax-highlighting
-Version: 5.69.0
+Version: 5.70.0
Release: 0
Summary: Syntax highlighting engine and library
License: LGPL-2.1-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND
GPL-3.0-only AND MIT AND BSD-3-Clause AND Artistic-1.0
++++++ syntax-highlighting-5.69.0.tar.xz -> syntax-highlighting-5.70.0.tar.xz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/syntax-highlighting-5.69.0/CMakeLists.txt
new/syntax-highlighting-5.70.0/CMakeLists.txt
--- old/syntax-highlighting-5.69.0/CMakeLists.txt 2020-04-05
01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/CMakeLists.txt 2020-05-03
00:25:57.000000000 +0200
@@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 3.5)
-set(KF5_VERSION "5.69.0")
+set(KF5_VERSION "5.70.0")
project(KSyntaxHighlighting VERSION ${KF5_VERSION})
-find_package(ECM 5.69.0 REQUIRED NO_MODULE)
+find_package(ECM 5.70.0 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
if(POLICY CMP0063)
cmake_policy(SET CMP0063 NEW)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/autotests/folding/highlight.lgt.fold
new/syntax-highlighting-5.70.0/autotests/folding/highlight.lgt.fold
--- old/syntax-highlighting-5.69.0/autotests/folding/highlight.lgt.fold
2020-04-05 01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/autotests/folding/highlight.lgt.fold
2020-05-03 00:25:57.000000000 +0200
@@ -20,7 +20,7 @@
% compilation
:- else.
% directives
-:- <endfold id='3'>endif.</endfold id='3'>
+:- <endfold id='3'>endif</endfold id='3'>.
:- initialization(Goal).
@@ -37,17 +37,22 @@
extends(parent)).
:- info([
- version is 1.43,
+ version is 1:47:0,
author is 'Paulo Moura',
- date is 2018/08/03,
+ date is 2019-09-18,
comment is 'Sample prototype for testing syntax coloring.'
]).
:- built_in.
:- threaded.
:- dynamic.
+
:- initialization(some_goal(X, Y)).
+ :- uses([
+ foobar as fb
+ ]).
+
:- alias(set, [member/2 as set_member/2]).
:- alias(words, [singular//0 as peculiar//0]).
@@ -134,10 +139,15 @@
multi_threading :-
threaded(Goals),
threaded_call(Goal),
+ threaded_call(Goal, Tag),
threaded_once(Goal),
+ threaded_once(Goal, Tag),
threaded_ignore(Goal),
threaded_exit(Goal),
+ threaded_exit(Goal, Tag),
threaded_peek(Goal),
+ threaded_peek(Goal, Tag),
+ threaded_cancel(Tag),
threaded_wait(Notification),
threaded_notify(Notification).
@@ -310,10 +320,10 @@
numbervars(Term, Start, End),
term_variables(Term, Variables).
- arithemtic_evaluation :-
+ arithmetic_evaluation :-
X is Expression.
- arithemtic_comparison :-
+ arithmetic_comparison :-
Exp1 =:= Exp2,
Exp1 =\= Exp2,
Exp1 < Exp2,
@@ -399,12 +409,20 @@
escape_sequences :-
write('Quoted atom with a quote ('') inside.'),
+ write('Quoted atom with a quote (\') inside using a control
escape sequence.'),
write('Quoted atom with a backslash (\\) inside.'),
write('Quoted atom with control escape sequences: \a \b \r \f
\t \n \v'),
write('Quoted atom with an octal escape sequence: \123\.'),
write('Quoted atom with an hexadecimal escape sequence:
\x123f\.').
-:- <endfold id='4'>end_object.</endfold id='4'>
+ % nothing in the following predicate definition should be highlighted
+ sort :-
+ forall,
+ object,
+ write,
+ number.
+
+:- <endfold id='4'>end_object</endfold id='4'>.
:- <beginfold id='4'>object</beginfold id='4'>(class,
@@ -413,7 +431,7 @@
instantiates(metaclass),
specializes(superclass)).
-:- <endfold id='4'>end_object.</endfold id='4'>
+:- <endfold id='4'>end_object</endfold id='4'>.
:- <beginfold id='4'>object</beginfold id='4'>(parametric(Parameter, "String",
33.78),
@@ -421,20 +439,20 @@
imports(category),
extends(parent(Parameter))).
-:- <endfold id='4'>end_object.</endfold id='4'>
+:- <endfold id='4'>end_object</endfold id='4'>.
:- <beginfold id='4'>category</beginfold id='4'>(category,
implements(protocol),
extends(other_category)).
-:- <endfold id='4'>end_category.</endfold id='4'>
+:- <endfold id='4'>end_category</endfold id='4'>.
:- <beginfold id='4'>protocol</beginfold id='4'>(extended,
extends(minimal)).
-:- <endfold id='4'>end_protocol.</endfold id='4'>
+:- <endfold id='4'>end_protocol</endfold id='4'>.
:- module(module, [foo/1, bar/2]).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/autotests/folding/test.ts.fold
new/syntax-highlighting-5.70.0/autotests/folding/test.ts.fold
--- old/syntax-highlighting-5.69.0/autotests/folding/test.ts.fold
2020-04-05 01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/autotests/folding/test.ts.fold
2020-05-03 00:25:57.000000000 +0200
@@ -278,3 +278,12 @@
export <beginfold id='1'>{</beginfold id='1'> k as m, l <endfold
id='1'>}</endfold id='1'> from "AnotherModule";
export type <beginfold id='1'>{</beginfold id='1'> T <endfold
id='1'>}</endfold id='1'>;
export type <beginfold id='1'>{</beginfold id='1'> U <endfold
id='1'>}</endfold id='1'> from "AnotherModule";
+
+// 'awaited' type operator: https://github.com/microsoft/TypeScript/pull/35998
+let v1: awaited number;
+let v2: awaited Promise<number>;
+function f7<U>() <beginfold id='1'>{</beginfold id='1'>
+ let v0: awaited U;
+ let v1: awaited Promise<U>;
+
+<endfold id='1'>}</endfold id='1'>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/autotests/html/highlight.lgt.html
new/syntax-highlighting-5.70.0/autotests/html/highlight.lgt.html
--- old/syntax-highlighting-5.69.0/autotests/html/highlight.lgt.html
2020-04-05 01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/autotests/html/highlight.lgt.html
2020-05-03 00:25:57.000000000 +0200
@@ -24,9 +24,9 @@
<span style="color:#898887;">% conditional</span>
:-<span style="font-weight:bold;"> elif</span>(<span
style="color:#006e28;">Goal</span>).
<span style="color:#898887;">% compilation</span>
-:-<span style="font-weight:bold;"> else.</span>
+:-<span style="font-weight:bold;"> else</span>.
<span style="color:#898887;">% directives</span>
-:-<span style="font-weight:bold;"> endif.</span>
+:-<span style="font-weight:bold;"> endif</span>.
:-<span style="font-weight:bold;"> initialization</span>(<span
style="color:#006e28;">Goal</span>).
@@ -43,17 +43,22 @@
<span style="font-weight:bold;">extends</span>(parent)).
:-<span style="font-weight:bold;"> info</span>([
- version <span style="color:#0057ae;">is</span> <span
style="color:#b08000;">1.43</span>,
+ version <span style="color:#0057ae;">is</span> <span
style="color:#b08000;">1</span><span style="color:#0057ae;">:</span><span
style="color:#b08000;">47</span><span style="color:#0057ae;">:</span><span
style="color:#b08000;">0</span>,
author <span style="color:#0057ae;">is</span> <span
style="color:#bf0303;">'Paulo Moura'</span>,
- date <span style="color:#0057ae;">is</span> <span
style="color:#b08000;">2018</span><span style="color:#0057ae;">/</span><span
style="color:#b08000;">08</span><span style="color:#0057ae;">/</span><span
style="color:#b08000;">03</span>,
+ date <span style="color:#0057ae;">is</span> <span
style="color:#b08000;">2019</span><span style="color:#0057ae;">-</span><span
style="color:#b08000;">09</span><span style="color:#0057ae;">-</span><span
style="color:#b08000;">18</span>,
comment <span style="color:#0057ae;">is</span> <span
style="color:#bf0303;">'Sample prototype for testing syntax coloring.'</span>
]).
- :-<span style="font-weight:bold;"> built_in.</span>
- :-<span style="font-weight:bold;"> threaded.</span>
- :-<span style="font-weight:bold;"> dynamic.</span>
+ :-<span style="font-weight:bold;"> built_in</span>.
+ :-<span style="font-weight:bold;"> threaded</span>.
+ :-<span style="font-weight:bold;"> dynamic</span>.
+
:-<span style="font-weight:bold;">
initialization</span>(some_goal(<span style="color:#006e28;">X</span>, <span
style="color:#006e28;">Y</span>)).
+ :-<span style="font-weight:bold;"> uses</span>([
+ foobar <span style="color:#0057ae;">as</span> fb
+ ]).
+
:-<span style="font-weight:bold;"> alias</span>(set, [member<span
style="color:#0057ae;">/</span><span style="color:#b08000;">2</span> <span
style="color:#0057ae;">as</span> set_member<span
style="color:#0057ae;">/</span><span style="color:#b08000;">2</span>]).
:-<span style="font-weight:bold;"> alias</span>(words, [singular<span
style="color:#0057ae;">//</span><span style="color:#b08000;">0</span> <span
style="color:#0057ae;">as</span> peculiar<span
style="color:#0057ae;">//</span><span style="color:#b08000;">0</span>]).
@@ -140,10 +145,15 @@
multi_threading <span style="color:#0057ae;">:-</span>
<span style="color:#644a9b;">threaded</span>(<span
style="color:#006e28;">Goals</span>),
<span style="color:#644a9b;">threaded_call</span>(<span
style="color:#006e28;">Goal</span>),
+ <span style="color:#644a9b;">threaded_call</span>(<span
style="color:#006e28;">Goal</span>, <span style="color:#006e28;">Tag</span>),
<span style="color:#644a9b;">threaded_once</span>(<span
style="color:#006e28;">Goal</span>),
+ <span style="color:#644a9b;">threaded_once</span>(<span
style="color:#006e28;">Goal</span>, <span style="color:#006e28;">Tag</span>),
<span style="color:#644a9b;">threaded_ignore</span>(<span
style="color:#006e28;">Goal</span>),
<span style="color:#644a9b;">threaded_exit</span>(<span
style="color:#006e28;">Goal</span>),
+ <span style="color:#644a9b;">threaded_exit</span>(<span
style="color:#006e28;">Goal</span>, <span style="color:#006e28;">Tag</span>),
<span style="color:#644a9b;">threaded_peek</span>(<span
style="color:#006e28;">Goal</span>),
+ <span style="color:#644a9b;">threaded_peek</span>(<span
style="color:#006e28;">Goal</span>, <span style="color:#006e28;">Tag</span>),
+ <span style="color:#644a9b;">threaded_cancel</span>(<span
style="color:#006e28;">Tag</span>),
<span style="color:#644a9b;">threaded_wait</span>(<span
style="color:#006e28;">Notification</span>),
<span style="color:#644a9b;">threaded_notify</span>(<span
style="color:#006e28;">Notification</span>).
@@ -316,10 +326,10 @@
<span style="color:#644a9b;">numbervars</span>(<span
style="color:#006e28;">Term</span>, <span style="color:#006e28;">Start</span>,
<span style="color:#006e28;">End</span>),
<span style="color:#644a9b;">term_variables</span>(<span
style="color:#006e28;">Term</span>, <span
style="color:#006e28;">Variables</span>).
- arithemtic_evaluation <span style="color:#0057ae;">:-</span>
+ arithmetic_evaluation <span style="color:#0057ae;">:-</span>
<span style="color:#006e28;">X</span> <span
style="color:#0057ae;">is</span> <span style="color:#006e28;">Expression</span>.
- arithemtic_comparison <span style="color:#0057ae;">:-</span>
+ arithmetic_comparison <span style="color:#0057ae;">:-</span>
<span style="color:#006e28;">Exp1</span> <span
style="color:#0057ae;">=:=</span> <span style="color:#006e28;">Exp2</span>,
<span style="color:#006e28;">Exp1</span> <span
style="color:#0057ae;">=\=</span> <span style="color:#006e28;">Exp2</span>,
<span style="color:#006e28;">Exp1</span> <span
style="color:#0057ae;"><</span> <span style="color:#006e28;">Exp2</span>,
@@ -405,12 +415,20 @@
escape_sequences <span style="color:#0057ae;">:-</span>
<span style="color:#644a9b;">write</span>(<span
style="color:#bf0303;">'Quoted atom with a quote ('') inside.'</span>),
- <span style="color:#644a9b;">write</span>(<span
style="color:#bf0303;">'Quoted atom with a backslash (\\) inside.'</span>),
- <span style="color:#644a9b;">write</span>(<span
style="color:#bf0303;">'Quoted atom with control escape sequences: \a \b \r \f
\t \n \v'</span>),
- <span style="color:#644a9b;">write</span>(<span
style="color:#bf0303;">'Quoted atom with an octal escape sequence:
\123\.'</span>),
- <span style="color:#644a9b;">write</span>(<span
style="color:#bf0303;">'Quoted atom with an hexadecimal escape sequence:
\x123f\.'</span>).
+ <span style="color:#644a9b;">write</span>(<span
style="color:#bf0303;">'Quoted atom with a quote (</span><span
style="color:#3daee9;">\'</span><span style="color:#bf0303;">) inside using a
control escape sequence.'</span>),
+ <span style="color:#644a9b;">write</span>(<span
style="color:#bf0303;">'Quoted atom with a backslash (</span><span
style="color:#3daee9;">\\</span><span style="color:#bf0303;">) inside.'</span>),
+ <span style="color:#644a9b;">write</span>(<span
style="color:#bf0303;">'Quoted atom with control escape sequences: </span><span
style="color:#3daee9;">\a</span><span style="color:#bf0303;"> </span><span
style="color:#3daee9;">\b</span><span style="color:#bf0303;"> </span><span
style="color:#3daee9;">\r</span><span style="color:#bf0303;"> </span><span
style="color:#3daee9;">\f</span><span style="color:#bf0303;"> </span><span
style="color:#3daee9;">\t</span><span style="color:#bf0303;"> </span><span
style="color:#3daee9;">\n</span><span style="color:#bf0303;"> </span><span
style="color:#3daee9;">\v</span><span style="color:#bf0303;">'</span>),
+ <span style="color:#644a9b;">write</span>(<span
style="color:#bf0303;">'Quoted atom with an octal escape sequence: </span><span
style="color:#3daee9;">\123\</span><span style="color:#bf0303;">.'</span>),
+ <span style="color:#644a9b;">write</span>(<span
style="color:#bf0303;">'Quoted atom with an hexadecimal escape sequence:
</span><span style="color:#3daee9;">\x123f\</span><span
style="color:#bf0303;">.'</span>).
+
+ <span style="color:#898887;">% nothing in the following predicate
definition should be highlighted</span>
+ sort <span style="color:#0057ae;">:-</span>
+ forall,
+ object,
+ write,
+ number.
-:-<span style="font-weight:bold;"> end_object.</span>
+:-<span style="font-weight:bold;"> end_object</span>.
:-<span style="font-weight:bold;"> object</span>(class,
@@ -419,7 +437,7 @@
<span style="font-weight:bold;">instantiates</span>(metaclass),
<span style="font-weight:bold;">specializes</span>(superclass)).
-:-<span style="font-weight:bold;"> end_object.</span>
+:-<span style="font-weight:bold;"> end_object</span>.
:-<span style="font-weight:bold;"> object</span>(parametric(<span
style="color:#006e28;">Parameter</span>, <span
style="color:#bf0303;">"String"</span>, <span
style="color:#b08000;">33.78</span>),
@@ -427,20 +445,20 @@
<span style="font-weight:bold;">imports</span>(category),
<span style="font-weight:bold;">extends</span>(parent(<span
style="color:#006e28;">Parameter</span>))).
-:-<span style="font-weight:bold;"> end_object.</span>
+:-<span style="font-weight:bold;"> end_object</span>.
:-<span style="font-weight:bold;"> category</span>(category,
<span style="font-weight:bold;">implements</span>(protocol),
<span style="font-weight:bold;">extends</span>(other_category)).
-:-<span style="font-weight:bold;"> end_category.</span>
+:-<span style="font-weight:bold;"> end_category</span>.
:-<span style="font-weight:bold;"> protocol</span>(extended,
<span style="font-weight:bold;">extends</span>(minimal)).
-:-<span style="font-weight:bold;"> end_protocol.</span>
+:-<span style="font-weight:bold;"> end_protocol</span>.
:-<span style="font-weight:bold;"> module</span>(module, [foo<span
style="color:#0057ae;">/</span><span style="color:#b08000;">1</span>, bar<span
style="color:#0057ae;">/</span><span style="color:#b08000;">2</span>]).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/autotests/html/test.ts.html
new/syntax-highlighting-5.70.0/autotests/html/test.ts.html
--- old/syntax-highlighting-5.69.0/autotests/html/test.ts.html 2020-04-05
01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/autotests/html/test.ts.html 2020-05-03
00:25:57.000000000 +0200
@@ -284,4 +284,13 @@
<span style="color:#ff5500;">export</span> { k <span
style="color:#ff5500;">as</span> m, l } <span
style="color:#ff5500;">from</span> <span
style="color:#bf0303;">"AnotherModule"</span>;
<span style="color:#ff5500;">export type</span> { T };
<span style="color:#ff5500;">export type</span> { U } <span
style="color:#ff5500;">from</span> <span
style="color:#bf0303;">"AnotherModule"</span>;
+
+<span style="color:#898887;">// 'awaited' type operator:
https://github.com/microsoft/TypeScript/pull/35998</span>
+<span style="font-weight:bold;font-style:italic;">let</span> v1: <span
style="font-weight:bold;">awaited</span> <span
style="color:#0057ae;">number</span>;
+<span style="font-weight:bold;font-style:italic;">let</span> v2: <span
style="font-weight:bold;">awaited</span> <span
style="color:#644a9b;font-weight:bold;">Promise</span><<span
style="color:#0057ae;">number</span>>;
+<span style="font-weight:bold;">function</span> <span
style="color:#644a9b;">f7</span><U>() {
+ <span style="font-weight:bold;font-style:italic;">let</span> v0: <span
style="font-weight:bold;">awaited</span> U;
+ <span style="font-weight:bold;font-style:italic;">let</span> v1: <span
style="font-weight:bold;">awaited</span> <span
style="color:#644a9b;font-weight:bold;">Promise</span><U>;
+
+}
</pre></body></html>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/autotests/input/highlight.lgt
new/syntax-highlighting-5.70.0/autotests/input/highlight.lgt
--- old/syntax-highlighting-5.69.0/autotests/input/highlight.lgt
2020-04-05 01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/autotests/input/highlight.lgt
2020-05-03 00:25:57.000000000 +0200
@@ -37,17 +37,22 @@
extends(parent)).
:- info([
- version is 1.43,
+ version is 1:47:0,
author is 'Paulo Moura',
- date is 2018/08/03,
+ date is 2019-09-18,
comment is 'Sample prototype for testing syntax coloring.'
]).
:- built_in.
:- threaded.
:- dynamic.
+
:- initialization(some_goal(X, Y)).
+ :- uses([
+ foobar as fb
+ ]).
+
:- alias(set, [member/2 as set_member/2]).
:- alias(words, [singular//0 as peculiar//0]).
@@ -134,10 +139,15 @@
multi_threading :-
threaded(Goals),
threaded_call(Goal),
+ threaded_call(Goal, Tag),
threaded_once(Goal),
+ threaded_once(Goal, Tag),
threaded_ignore(Goal),
threaded_exit(Goal),
+ threaded_exit(Goal, Tag),
threaded_peek(Goal),
+ threaded_peek(Goal, Tag),
+ threaded_cancel(Tag),
threaded_wait(Notification),
threaded_notify(Notification).
@@ -310,10 +320,10 @@
numbervars(Term, Start, End),
term_variables(Term, Variables).
- arithemtic_evaluation :-
+ arithmetic_evaluation :-
X is Expression.
- arithemtic_comparison :-
+ arithmetic_comparison :-
Exp1 =:= Exp2,
Exp1 =\= Exp2,
Exp1 < Exp2,
@@ -399,11 +409,19 @@
escape_sequences :-
write('Quoted atom with a quote ('') inside.'),
+ write('Quoted atom with a quote (\') inside using a control
escape sequence.'),
write('Quoted atom with a backslash (\\) inside.'),
write('Quoted atom with control escape sequences: \a \b \r \f
\t \n \v'),
write('Quoted atom with an octal escape sequence: \123\.'),
write('Quoted atom with an hexadecimal escape sequence:
\x123f\.').
+ % nothing in the following predicate definition should be highlighted
+ sort :-
+ forall,
+ object,
+ write,
+ number.
+
:- end_object.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/syntax-highlighting-5.69.0/autotests/input/test.ts
new/syntax-highlighting-5.70.0/autotests/input/test.ts
--- old/syntax-highlighting-5.69.0/autotests/input/test.ts 2020-04-05
01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/autotests/input/test.ts 2020-05-03
00:25:57.000000000 +0200
@@ -278,3 +278,12 @@
export { k as m, l } from "AnotherModule";
export type { T };
export type { U } from "AnotherModule";
+
+// 'awaited' type operator: https://github.com/microsoft/TypeScript/pull/35998
+let v1: awaited number;
+let v2: awaited Promise<number>;
+function f7<U>() {
+ let v0: awaited U;
+ let v1: awaited Promise<U>;
+
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/autotests/reference/highlight.lgt.ref
new/syntax-highlighting-5.70.0/autotests/reference/highlight.lgt.ref
--- old/syntax-highlighting-5.69.0/autotests/reference/highlight.lgt.ref
2020-04-05 01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/autotests/reference/highlight.lgt.ref
2020-05-03 00:25:57.000000000 +0200
@@ -18,9 +18,9 @@
<Normal> </Normal><Comment>% conditional</Comment><br/>
<Normal>:-</Normal><Directive>
elif</Directive><Normal>(</Normal><Variable>Goal</Variable><Normal>).</Normal><br/>
<Normal> </Normal><Comment>% compilation</Comment><br/>
-<Normal>:-</Normal><Directive> else.</Directive><br/>
+<Normal>:-</Normal><Directive> else</Directive><Normal>.</Normal><br/>
<Normal> </Normal><Comment>% directives</Comment><br/>
-<Normal>:-</Normal><Directive> endif.</Directive><br/>
+<Normal>:-</Normal><Directive> endif</Directive><Normal>.</Normal><br/>
<Normal></Normal><br/>
<Normal></Normal><br/>
<Normal>:-</Normal><Directive>
initialization</Directive><Normal>(</Normal><Variable>Goal</Variable><Normal>).</Normal><br/>
@@ -37,17 +37,22 @@
<Normal>
</Normal><Directive>extends</Directive><Normal>(parent)).</Normal><br/>
<Normal></Normal><br/>
<Normal> :-</Normal><Directive> info</Directive><Normal>([</Normal><br/>
-<Normal> version </Normal><Operator>is</Operator><Normal>
</Normal><Number>1.43</Number><Normal>,</Normal><br/>
+<Normal> version </Normal><Operator>is</Operator><Normal>
</Normal><Number>1</Number><Operator>:</Operator><Number>47</Number><Operator>:</Operator><Number>0</Number><Normal>,</Normal><br/>
<Normal> author </Normal><Operator>is</Operator><Normal>
</Normal><String>'Paulo Moura'</String><Normal>,</Normal><br/>
-<Normal> date </Normal><Operator>is</Operator><Normal>
</Normal><Number>2018</Number><Operator>/</Operator><Number>08</Number><Operator>/</Operator><Number>03</Number><Normal>,</Normal><br/>
+<Normal> date </Normal><Operator>is</Operator><Normal>
</Normal><Number>2019</Number><Operator>-</Operator><Number>09</Number><Operator>-</Operator><Number>18</Number><Normal>,</Normal><br/>
<Normal> comment </Normal><Operator>is</Operator><Normal>
</Normal><String>'Sample prototype for testing syntax coloring.'</String><br/>
<Normal> ]).</Normal><br/>
<Normal></Normal><br/>
-<Normal> :-</Normal><Directive> built_in.</Directive><br/>
-<Normal> :-</Normal><Directive> threaded.</Directive><br/>
-<Normal> :-</Normal><Directive> dynamic.</Directive><br/>
+<Normal> :-</Normal><Directive>
built_in</Directive><Normal>.</Normal><br/>
+<Normal> :-</Normal><Directive>
threaded</Directive><Normal>.</Normal><br/>
+<Normal> :-</Normal><Directive>
dynamic</Directive><Normal>.</Normal><br/>
+<Normal></Normal><br/>
<Normal> :-</Normal><Directive>
initialization</Directive><Normal>(some_goal(</Normal><Variable>X</Variable><Normal>,
</Normal><Variable>Y</Variable><Normal>)).</Normal><br/>
<Normal></Normal><br/>
+<Normal> :-</Normal><Directive> uses</Directive><Normal>([</Normal><br/>
+<Normal> foobar </Normal><Operator>as</Operator><Normal>
fb</Normal><br/>
+<Normal> ]).</Normal><br/>
+<Normal></Normal><br/>
<Normal> :-</Normal><Directive> alias</Directive><Normal>(set,
[member</Normal><Operator>/</Operator><Number>2</Number><Normal>
</Normal><Operator>as</Operator><Normal>
set_member</Normal><Operator>/</Operator><Number>2</Number><Normal>]).</Normal><br/>
<Normal> :-</Normal><Directive> alias</Directive><Normal>(words,
[singular</Normal><Operator>//</Operator><Number>0</Number><Normal>
</Normal><Operator>as</Operator><Normal>
peculiar</Normal><Operator>//</Operator><Number>0</Number><Normal>]).</Normal><br/>
<Normal></Normal><br/>
@@ -134,10 +139,15 @@
<Normal> multi_threading </Normal><Operator>:-</Operator><br/>
<Normal>
</Normal><Built-in>threaded</Built-in><Normal>(</Normal><Variable>Goals</Variable><Normal>),</Normal><br/>
<Normal>
</Normal><Built-in>threaded_call</Built-in><Normal>(</Normal><Variable>Goal</Variable><Normal>),</Normal><br/>
+<Normal>
</Normal><Built-in>threaded_call</Built-in><Normal>(</Normal><Variable>Goal</Variable><Normal>,
</Normal><Variable>Tag</Variable><Normal>),</Normal><br/>
<Normal>
</Normal><Built-in>threaded_once</Built-in><Normal>(</Normal><Variable>Goal</Variable><Normal>),</Normal><br/>
+<Normal>
</Normal><Built-in>threaded_once</Built-in><Normal>(</Normal><Variable>Goal</Variable><Normal>,
</Normal><Variable>Tag</Variable><Normal>),</Normal><br/>
<Normal>
</Normal><Built-in>threaded_ignore</Built-in><Normal>(</Normal><Variable>Goal</Variable><Normal>),</Normal><br/>
<Normal>
</Normal><Built-in>threaded_exit</Built-in><Normal>(</Normal><Variable>Goal</Variable><Normal>),</Normal><br/>
+<Normal>
</Normal><Built-in>threaded_exit</Built-in><Normal>(</Normal><Variable>Goal</Variable><Normal>,
</Normal><Variable>Tag</Variable><Normal>),</Normal><br/>
<Normal>
</Normal><Built-in>threaded_peek</Built-in><Normal>(</Normal><Variable>Goal</Variable><Normal>),</Normal><br/>
+<Normal>
</Normal><Built-in>threaded_peek</Built-in><Normal>(</Normal><Variable>Goal</Variable><Normal>,
</Normal><Variable>Tag</Variable><Normal>),</Normal><br/>
+<Normal>
</Normal><Built-in>threaded_cancel</Built-in><Normal>(</Normal><Variable>Tag</Variable><Normal>),</Normal><br/>
<Normal>
</Normal><Built-in>threaded_wait</Built-in><Normal>(</Normal><Variable>Notification</Variable><Normal>),</Normal><br/>
<Normal>
</Normal><Built-in>threaded_notify</Built-in><Normal>(</Normal><Variable>Notification</Variable><Normal>).</Normal><br/>
<Normal></Normal><br/>
@@ -310,10 +320,10 @@
<Normal>
</Normal><Built-in>numbervars</Built-in><Normal>(</Normal><Variable>Term</Variable><Normal>,
</Normal><Variable>Start</Variable><Normal>,
</Normal><Variable>End</Variable><Normal>),</Normal><br/>
<Normal>
</Normal><Built-in>term_variables</Built-in><Normal>(</Normal><Variable>Term</Variable><Normal>,
</Normal><Variable>Variables</Variable><Normal>).</Normal><br/>
<Normal></Normal><br/>
-<Normal> arithemtic_evaluation </Normal><Operator>:-</Operator><br/>
+<Normal> arithmetic_evaluation </Normal><Operator>:-</Operator><br/>
<Normal> </Normal><Variable>X</Variable><Normal>
</Normal><Operator>is</Operator><Normal>
</Normal><Variable>Expression</Variable><Normal>.</Normal><br/>
<Normal></Normal><br/>
-<Normal> arithemtic_comparison </Normal><Operator>:-</Operator><br/>
+<Normal> arithmetic_comparison </Normal><Operator>:-</Operator><br/>
<Normal> </Normal><Variable>Exp1</Variable><Normal>
</Normal><Operator>=:=</Operator><Normal>
</Normal><Variable>Exp2</Variable><Normal>,</Normal><br/>
<Normal> </Normal><Variable>Exp1</Variable><Normal>
</Normal><Operator>=\=</Operator><Normal>
</Normal><Variable>Exp2</Variable><Normal>,</Normal><br/>
<Normal> </Normal><Variable>Exp1</Variable><Normal>
</Normal><Operator><</Operator><Normal>
</Normal><Variable>Exp2</Variable><Normal>,</Normal><br/>
@@ -399,12 +409,20 @@
<Normal></Normal><br/>
<Normal> escape_sequences </Normal><Operator>:-</Operator><br/>
<Normal>
</Normal><Built-in>write</Built-in><Normal>(</Normal><String>'Quoted atom with
a quote ('') inside.'</String><Normal>),</Normal><br/>
-<Normal>
</Normal><Built-in>write</Built-in><Normal>(</Normal><String>'Quoted atom with
a backslash (\\) inside.'</String><Normal>),</Normal><br/>
-<Normal>
</Normal><Built-in>write</Built-in><Normal>(</Normal><String>'Quoted atom with
control escape sequences: \a \b \r \f \t \n \v'</String><Normal>),</Normal><br/>
-<Normal>
</Normal><Built-in>write</Built-in><Normal>(</Normal><String>'Quoted atom with
an octal escape sequence: \123\.'</String><Normal>),</Normal><br/>
-<Normal>
</Normal><Built-in>write</Built-in><Normal>(</Normal><String>'Quoted atom with
an hexadecimal escape sequence: \x123f\.'</String><Normal>).</Normal><br/>
+<Normal>
</Normal><Built-in>write</Built-in><Normal>(</Normal><String>'Quoted atom with
a quote (</String><String Char>\'</String Char><String>) inside using a control
escape sequence.'</String><Normal>),</Normal><br/>
+<Normal>
</Normal><Built-in>write</Built-in><Normal>(</Normal><String>'Quoted atom with
a backslash (</String><String Char>\\</String Char><String>)
inside.'</String><Normal>),</Normal><br/>
+<Normal>
</Normal><Built-in>write</Built-in><Normal>(</Normal><String>'Quoted atom with
control escape sequences: </String><String Char>\a</String Char><String>
</String><String Char>\b</String Char><String> </String><String Char>\r</String
Char><String> </String><String Char>\f</String Char><String> </String><String
Char>\t</String Char><String> </String><String Char>\n</String Char><String>
</String><String Char>\v</String Char><String>'</String><Normal>),</Normal><br/>
+<Normal>
</Normal><Built-in>write</Built-in><Normal>(</Normal><String>'Quoted atom with
an octal escape sequence: </String><String Char>\123\</String
Char><String>.'</String><Normal>),</Normal><br/>
+<Normal>
</Normal><Built-in>write</Built-in><Normal>(</Normal><String>'Quoted atom with
an hexadecimal escape sequence: </String><String Char>\x123f\</String
Char><String>.'</String><Normal>).</Normal><br/>
+<Normal></Normal><br/>
+<Normal> </Normal><Comment>% nothing in the following predicate
definition should be highlighted</Comment><br/>
+<Normal> sort </Normal><Operator>:-</Operator><br/>
+<Normal> forall,</Normal><br/>
+<Normal> object,</Normal><br/>
+<Normal> write,</Normal><br/>
+<Normal> number.</Normal><br/>
<Normal></Normal><br/>
-<Normal>:-</Normal><Directive> end_object.</Directive><br/>
+<Normal>:-</Normal><Directive> end_object</Directive><Normal>.</Normal><br/>
<Normal></Normal><br/>
<Normal></Normal><br/>
<Normal>:-</Normal><Directive> object</Directive><Normal>(class,</Normal><br/>
@@ -413,7 +431,7 @@
<Normal>
</Normal><Directive>instantiates</Directive><Normal>(metaclass),</Normal><br/>
<Normal>
</Normal><Directive>specializes</Directive><Normal>(superclass)).</Normal><br/>
<Normal></Normal><br/>
-<Normal>:-</Normal><Directive> end_object.</Directive><br/>
+<Normal>:-</Normal><Directive> end_object</Directive><Normal>.</Normal><br/>
<Normal></Normal><br/>
<Normal></Normal><br/>
<Normal>:-</Normal><Directive>
object</Directive><Normal>(parametric(</Normal><Variable>Parameter</Variable><Normal>,
</Normal><String>"String"</String><Normal>,
</Normal><Number>33.78</Number><Normal>),</Normal><br/>
@@ -421,20 +439,20 @@
<Normal>
</Normal><Directive>imports</Directive><Normal>(category),</Normal><br/>
<Normal>
</Normal><Directive>extends</Directive><Normal>(parent(</Normal><Variable>Parameter</Variable><Normal>))).</Normal><br/>
<Normal></Normal><br/>
-<Normal>:-</Normal><Directive> end_object.</Directive><br/>
+<Normal>:-</Normal><Directive> end_object</Directive><Normal>.</Normal><br/>
<Normal></Normal><br/>
<Normal></Normal><br/>
<Normal>:-</Normal><Directive>
category</Directive><Normal>(category,</Normal><br/>
<Normal>
</Normal><Directive>implements</Directive><Normal>(protocol),</Normal><br/>
<Normal>
</Normal><Directive>extends</Directive><Normal>(other_category)).</Normal><br/>
<Normal></Normal><br/>
-<Normal>:-</Normal><Directive> end_category.</Directive><br/>
+<Normal>:-</Normal><Directive> end_category</Directive><Normal>.</Normal><br/>
<Normal></Normal><br/>
<Normal></Normal><br/>
<Normal>:-</Normal><Directive>
protocol</Directive><Normal>(extended,</Normal><br/>
<Normal>
</Normal><Directive>extends</Directive><Normal>(minimal)).</Normal><br/>
<Normal></Normal><br/>
-<Normal>:-</Normal><Directive> end_protocol.</Directive><br/>
+<Normal>:-</Normal><Directive> end_protocol</Directive><Normal>.</Normal><br/>
<Normal></Normal><br/>
<Normal></Normal><br/>
<Normal>:-</Normal><Directive> module</Directive><Normal>(module,
[foo</Normal><Operator>/</Operator><Number>1</Number><Normal>,
bar</Normal><Operator>/</Operator><Number>2</Number><Normal>]).</Normal><br/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/autotests/reference/test.ts.ref
new/syntax-highlighting-5.70.0/autotests/reference/test.ts.ref
--- old/syntax-highlighting-5.69.0/autotests/reference/test.ts.ref
2020-04-05 01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/autotests/reference/test.ts.ref
2020-05-03 00:25:57.000000000 +0200
@@ -278,3 +278,12 @@
<Module>export</Module><Normal Text> { </Normal Text><Normal Text>k </Normal
Text><Module>as</Module><Normal Text> </Normal Text><Normal Text>m</Normal
Text><Symbol>,</Symbol><Normal Text> </Normal Text><Normal Text>l </Normal
Text><Normal Text>} </Normal Text><Module>from</Module><Normal Text> </Normal
Text><String>"AnotherModule"</String><Symbol>;</Symbol><br/>
<Module>export type</Module><Normal Text> { </Normal Text><Normal Text>T
</Normal Text><Normal Text>}</Normal Text><Symbol>;</Symbol><br/>
<Module>export type</Module><Normal Text> { </Normal Text><Normal Text>U
</Normal Text><Normal Text>} </Normal Text><Module>from</Module><Normal Text>
</Normal Text><String>"AnotherModule"</String><Symbol>;</Symbol><br/>
+<Normal Text></Normal Text><br/>
+<Comment>// 'awaited' type operator:
https://github.com/microsoft/TypeScript/pull/35998</Comment><br/>
+<Reserved>let</Reserved><Normal Text> </Normal
Text><Parameter>v1</Parameter><Symbol>:</Symbol><Normal Text> </Normal
Text><Keyword>awaited</Keyword><Normal Text> </Normal
Text><Types>number</Types><Symbol>;</Symbol><br/>
+<Reserved>let</Reserved><Normal Text> </Normal
Text><Parameter>v2</Parameter><Symbol>:</Symbol><Normal Text> </Normal
Text><Keyword>awaited</Keyword><Normal Text> </Normal Text><Built-in
Objects>Promise</Built-in
Objects><Symbol><</Symbol><Types>number</Types><Symbol>></Symbol><Symbol>;</Symbol><br/>
+<Keyword>function</Keyword><Normal Text> </Normal Text><Function
Declaration>f7</Function Declaration><Symbol><</Symbol><Normal Text>U</Normal
Text><Symbol>></Symbol><Normal Text>() {</Normal Text><br/>
+<Normal Text> </Normal Text><Reserved>let</Reserved><Normal Text> </Normal
Text><Parameter>v0</Parameter><Symbol>:</Symbol><Normal Text> </Normal
Text><Keyword>awaited</Keyword><Normal Text> </Normal Text><Normal
Text>U</Normal Text><Symbol>;</Symbol><br/>
+<Normal Text> </Normal Text><Reserved>let</Reserved><Normal Text> </Normal
Text><Parameter>v1</Parameter><Symbol>:</Symbol><Normal Text> </Normal
Text><Keyword>awaited</Keyword><Normal Text> </Normal Text><Built-in
Objects>Promise</Built-in Objects><Symbol><</Symbol><Normal Text>U</Normal
Text><Symbol>></Symbol><Symbol>;</Symbol><br/>
+<Normal Text></Normal Text><br/>
+<Normal Text>}</Normal Text><br/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/data/syntax/debianchangelog.xml
new/syntax-highlighting-5.70.0/data/syntax/debianchangelog.xml
--- old/syntax-highlighting-5.69.0/data/syntax/debianchangelog.xml
2020-04-05 01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/data/syntax/debianchangelog.xml
2020-05-03 00:25:57.000000000 +0200
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
-<language name="Debian Changelog" version="9" kateversion="2.4"
section="Other" extensions="" mimetype="">
+<language name="Debian Changelog" version="10" kateversion="2.4"
section="Other" extensions="" mimetype="">
<highlighting>
<list name="keywords">
<item>urgency</item>
@@ -207,6 +207,11 @@
<item>focal-proposed</item>
<item>focal-updates</item>
<item>focal-backports</item>
+ <item>groovy</item>
+ <item>groovy-security</item>
+ <item>groovy-proposed</item>
+ <item>groovy-updates</item>
+ <item>groovy-backports</item>
</list>
<list name="urgencies">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/syntax-highlighting-5.69.0/data/syntax/logtalk.xml
new/syntax-highlighting-5.70.0/data/syntax/logtalk.xml
--- old/syntax-highlighting-5.69.0/data/syntax/logtalk.xml 2020-04-05
01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/data/syntax/logtalk.xml 2020-05-03
00:25:57.000000000 +0200
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
-<language name="Logtalk" version="3" kateversion="2.4" section="Sources"
extensions="*.lgt;.logtalk" mimetype="text/x-logtalk" author="Paulo Moura
([email protected])" license="Apache License 2.0">
+<language name="Logtalk" version="4" kateversion="2.4" section="Sources"
extensions="*.lgt;.logtalk" mimetype="text/x-logtalk" author="Paulo Moura
([email protected])" license="Apache License 2.0">
<highlighting>
@@ -45,7 +45,7 @@
<!-- All solutions -->
<RegExpr String =
"\b((bag|set)of|f(ind|or)all)(?=[(])" attribute = "Built-in" context = "#stay"
/>
<!-- Multi-threading predicates -->
- <RegExpr String =
"\bthreaded(_(call|once|ignore|exit|peek|wait|notify))?(?=[(])" attribute =
"Built-in" context = "#stay" />
+ <RegExpr String =
"\bthreaded(_(ca(ll|ncel)|once|ignore|exit|peek|wait|notify))?(?=[(])"
attribute = "Built-in" context = "#stay" />
<!-- Engine predicates -->
<RegExpr String =
"\bthreaded_engine(_(create|destroy|self|next|next_reified|yield|post|fetch))?(?=[(])"
attribute = "Built-in" context = "#stay" />
<!-- Term unification -->
@@ -167,19 +167,19 @@
<context name = "directive" attribute = "Directive"
lineEndContext = "#stay" >
<!-- Conditional compilation directives -->
<RegExpr String = "\bif(?=[(])" attribute =
"Directive" context = "#pop" beginRegion = "CC" />
- <RegExpr String = "\bendif[.]" attribute =
"Directive" context = "#pop" endRegion = "CC" />
+ <RegExpr String = "\bendif(?=[.])" attribute =
"Directive" context = "#pop" endRegion = "CC" />
<RegExpr String = "\belif(?=[(])" attribute =
"Directive" context = "#pop"/>
- <RegExpr String = "\belse[.]" attribute =
"Directive" context = "#pop" />
+ <RegExpr String = "\belse(?=[.])" attribute =
"Directive" context = "#pop" />
<!-- Entity directives -->
<RegExpr String =
"\b(category|object|protocol)(?=[(])" attribute = "Directive" context =
"entityrelations" beginRegion = "Entity" />
- <RegExpr String =
"\bend_(category|object|protocol)[.]" attribute = "Directive" context = "#pop"
endRegion = "Entity" />
+ <RegExpr String =
"\bend_(category|object|protocol)(?=[.])" attribute = "Directive" context =
"#pop" endRegion = "Entity" />
<RegExpr String = "\bmodule(?=[(])" attribute =
"Directive" context = "#pop"/>
<!-- Predicate scope directives -->
<RegExpr String =
"\bp(ublic|r(otected|ivate))(?=[(])" attribute = "Directive" context = "#pop" />
<!-- Other directives -->
<RegExpr String =
"\be(n(coding|sure_loaded)|xport)(?=[(])" attribute = "Directive" context =
"#pop" />
<RegExpr String =
"\bin(clude|itialization|fo)(?=[(])" attribute = "Directive" context = "#pop" />
- <RegExpr String =
"\b(built_in|dynamic|synchronized|threaded)[.]" attribute = "Directive" context
= "#pop" />
+ <RegExpr String =
"\b(built_in|dynamic|synchronized|threaded)(?=[.])" attribute = "Directive"
context = "#pop" />
<RegExpr String =
"\b(alias|d(ynamic|iscontiguous)|m(eta_(non_terminal|predicate)|ode|ultifile)|s(et_(logtalk|prolog)_flag|ynchronized))(?=[(])"
attribute = "Directive" context = "#pop" />
<RegExpr String = "\bop(?=[(])" attribute =
"Directive" context = "#pop" />
<RegExpr String =
"\b(c(alls|oinductive)|reexport|use(s|_module))(?=[(])" attribute = "Directive"
context = "#pop" />
@@ -219,6 +219,9 @@
</context>
<context name = "atom" attribute = "String"
lineEndContext = "#stay" >
+ <RegExpr attribute="String Char"
context="#stay" String="\\x[a-fA-F0-9]+\\"/>
+ <RegExpr attribute="String Char"
context="#stay" String="\\[0-7]+\\"/>
+ <HlCStringChar attribute="String Char"
context="#stay"/>
<DetectChar char = "'" attribute = "String"
context = "#pop" />
</context>
@@ -231,7 +234,8 @@
<itemData name = "Operator" defStyleNum = "dsDataType"
/>
<itemData name = "Comment" defStyleNum = "dsComment" />
<itemData name = "Number" defStyleNum = "dsDecVal" />
- <itemData name = "String" defStyleNum = "dsString" />
+ <itemData name = "String" defStyleNum = "dsString" />
+ <itemData name="String Char"
defStyleNum="dsSpecialChar" spellChecking="false"/>
<itemData name = "Variable" defStyleNum = "dsOthers" />
</itemDatas>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/data/syntax/typescript.xml
new/syntax-highlighting-5.70.0/data/syntax/typescript.xml
--- old/syntax-highlighting-5.69.0/data/syntax/typescript.xml 2020-04-05
01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/data/syntax/typescript.xml 2020-05-03
00:25:57.000000000 +0200
@@ -42,6 +42,7 @@
Attributes: path, types, no-default-lib, name
Change log:
+ * v10 [2020-04-13]: Add the 'awaited' type operator.
* v9 [2020-02-23]: Add private-named instance fields and type-only
imports/exports.
Improve conditional expressions.
* v8 [2019-12-12]: Add "bigint" primitive type.
@@ -59,7 +60,7 @@
-->
<language name="TypeScript"
- version="9"
+ version="10"
kateversion="5.53"
section="Scripts"
extensions="*.ts"
@@ -112,7 +113,8 @@
<list name="types_operator_expression">
<item>keyof</item>
<item>infer</item>
- <!-- Also: is, typeof -->
+ <item>awaited</item>
+ <!-- Also: typeof, readonly -->
</list>
<!-- Datatypes & Primitive Types -->
<list name="types">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/po/en_GB/syntaxhighlighting5_qt.po
new/syntax-highlighting-5.70.0/po/en_GB/syntaxhighlighting5_qt.po
--- old/syntax-highlighting-5.69.0/po/en_GB/syntaxhighlighting5_qt.po
2020-04-05 01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/po/en_GB/syntaxhighlighting5_qt.po
2020-05-03 00:25:57.000000000 +0200
@@ -13,7 +13,7 @@
"POT-Creation-Date: 2016-09-08 07:30+0000\n"
"PO-Revision-Date: 2020-03-30 20:01+0100\n"
"Last-Translator: Steve Allewell <[email protected]>\n"
-"Language-Team: British English <[email protected]>\n"
+"Language-Team: British English <[email protected]>\n"
"Language: en_GB\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/po/fr/syntaxhighlighting5_qt.po
new/syntax-highlighting-5.70.0/po/fr/syntaxhighlighting5_qt.po
--- old/syntax-highlighting-5.69.0/po/fr/syntaxhighlighting5_qt.po
2020-04-05 01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/po/fr/syntaxhighlighting5_qt.po
2020-05-03 00:25:57.000000000 +0200
@@ -24,7 +24,7 @@
"Project-Id-Version: katepart4\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2016-09-08 07:30+0000\n"
-"PO-Revision-Date: 2020-03-22 18:27+0800\n"
+"PO-Revision-Date: 2020-04-26 10:13+0800\n"
"Last-Translator: Simon Depiets <[email protected]>\n"
"Language-Team: French <[email protected]>\n"
"Language: fr\n"
@@ -488,7 +488,7 @@
msgctxt "Language|"
msgid "InnoSetup"
-msgstr ""
+msgstr "InnoSetup"
msgctxt "Language|"
msgid "Intel HEX"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/po/id/syntaxhighlighting5_qt.po
new/syntax-highlighting-5.70.0/po/id/syntaxhighlighting5_qt.po
--- old/syntax-highlighting-5.69.0/po/id/syntaxhighlighting5_qt.po
2020-04-05 01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/po/id/syntaxhighlighting5_qt.po
2020-05-03 00:25:57.000000000 +0200
@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
-"PO-Revision-Date: 2020-02-24 21:10+0700\n"
+"PO-Revision-Date: 2020-04-29 20:14+0700\n"
"Last-Translator: Wantoyo <[email protected]>\n"
"Language-Team: Indonesian <[email protected]>\n"
"Language: id\n"
@@ -463,7 +463,7 @@
msgctxt "Language|"
msgid "InnoSetup"
-msgstr ""
+msgstr "InnoSetup"
msgctxt "Language|"
msgid "Intel HEX"
@@ -759,7 +759,7 @@
msgctxt "Language|"
msgid "Overpass QL"
-msgstr ""
+msgstr "Overpass QL"
msgctxt "Language|"
msgid "Pango"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/po/ru/syntaxhighlighting5_qt.po
new/syntax-highlighting-5.70.0/po/ru/syntaxhighlighting5_qt.po
--- old/syntax-highlighting-5.69.0/po/ru/syntaxhighlighting5_qt.po
2020-04-05 01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/po/ru/syntaxhighlighting5_qt.po
2020-05-03 00:25:57.000000000 +0200
@@ -17,7 +17,7 @@
"Project-Id-Version: katepart4\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2016-09-08 07:30+0000\n"
-"PO-Revision-Date: 2020-03-17 21:12+0300\n"
+"PO-Revision-Date: 2020-04-11 11:41+0300\n"
"Last-Translator: Alexander Yavorsky <[email protected]>\n"
"Language-Team: Russian <[email protected]>\n"
"Language: ru\n"
@@ -459,7 +459,7 @@
msgctxt "Language|"
msgid "Hunspell Dictionary File"
-msgstr "Словарь Hunspell"
+msgstr " Словарь Hunspell"
msgctxt "Language|"
msgid "Quake Script"
@@ -483,7 +483,7 @@
msgctxt "Language|"
msgid "InnoSetup"
-msgstr ""
+msgstr "InnoSetup"
msgctxt "Language|"
msgid "Intel HEX"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/syntax-highlighting-5.69.0/po/sk/syntaxhighlighting5_qt.po
new/syntax-highlighting-5.70.0/po/sk/syntaxhighlighting5_qt.po
--- old/syntax-highlighting-5.69.0/po/sk/syntaxhighlighting5_qt.po
2020-04-05 01:08:09.000000000 +0200
+++ new/syntax-highlighting-5.70.0/po/sk/syntaxhighlighting5_qt.po
2020-05-03 00:25:57.000000000 +0200
@@ -7,14 +7,14 @@
"Project-Id-Version: syntaxhighlighting\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2015-02-15 09:01+0000\n"
-"PO-Revision-Date: 2020-03-17 18:25+0100\n"
+"PO-Revision-Date: 2020-04-11 10:59+0200\n"
"Last-Translator: Matej Mrenica <[email protected]>\n"
"Language-Team: Slovak <[email protected]>\n"
"Language: sk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 19.12.3\n"
+"X-Generator: Lokalize 20.03.90\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Qt-Contexts: true\n"
@@ -468,7 +468,7 @@
msgctxt "Language|"
msgid "InnoSetup"
-msgstr ""
+msgstr "InnoSetup"
msgctxt "Language|"
msgid "Intel HEX"