Fwd: [frameworks-syntax-highlighting] [Bug 386827] Errors in syntax definitions

Dominik Haumann dhaumann at kde.org
Sun Dec 3 15:27:30 UTC 2017


Hi all,

I just added many compile-time checks to the syntax highlighting indexer.
As result, compiling the syntax-highlighting framework now raises many
warnings. Would be nice if we could get these fixed until next 5.42 release.

Greetings
Dominik


---------- Forwarded message ----------
From: Dominik Haumann <bugzilla_noreply at kde.org>
Date: Sun, Dec 3, 2017 at 4:24 PM
Subject: [frameworks-syntax-highlighting] [Bug 386827] Errors in
syntax definitions
To: dhaumann at kde.org


https://bugs.kde.org/show_bug.cgi?id=386827

Dominik Haumann <dhaumann at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #5 from Dominik Haumann <dhaumann at kde.org> ---
The following checks are now in the KSyntaxHighlighting Framework 5.42:

- Validate that for all attributes an itemData exists
  https://phabricator.kde.org/R216:2b8b664e15c0dd2945458d9373f2324e0c69056e

- Highlighting indexer: Check DetectChar and Detect2Chars
  https://phabricator.kde.org/R216:9d30439abda876601d8b6bb1ba2785b9d49e88a8

- Highlighting Indexer: Check for duplicate itemDatas
  https://phabricator.kde.org/R216:6b7cd0c8735aecf543abf54bf8dcabb783ce6b98

- Highlighting Indexer: Warn about duplicate contexts
  https://phabricator.kde.org/R216:621e282acbcb98d486e61f3d65d3293bf342489d

- Highlighting Indexer: Check keyword lists
  https://phabricator.kde.org/R216:463dfc78b4be7b11150420c076a8582be8b98607

- Try detecting unused contexts
  https://phabricator.kde.org/R216:cd7f2837aad12f18b908e7e733a891ed71fdd400

That is, the highlighting indexer has a lot of checks now, and currently raises
many many warnings. These should be fixed until the next 5.42 release.

--
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the KWrite-Devel mailing list